@kensio/yulin 1.18.2 → 1.19.1

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 (559) 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 +5 -0
  15. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js.map +1 -1
  16. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.d.ts +5 -4
  17. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.d.ts.map +1 -1
  18. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.js +5 -4
  19. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.js.map +1 -1
  20. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-mfa.d.ts +13 -0
  21. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-mfa.d.ts.map +1 -1
  22. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-mfa.js +30 -1
  23. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-mfa.js.map +1 -1
  24. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.d.ts.map +1 -1
  25. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js +9 -0
  26. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js.map +1 -1
  27. package/dist/service/cognito/command/auth/auth.command.d.ts +5 -0
  28. package/dist/service/cognito/command/auth/auth.command.d.ts.map +1 -1
  29. package/dist/service/cognito/command/auth/sim-cognito-answering-user.d.ts +22 -0
  30. package/dist/service/cognito/command/auth/sim-cognito-answering-user.d.ts.map +1 -0
  31. package/dist/service/cognito/command/auth/sim-cognito-answering-user.js +25 -0
  32. package/dist/service/cognito/command/auth/sim-cognito-answering-user.js.map +1 -0
  33. package/dist/service/cognito/command/auth/sim-cognito-auth-challenge.d.ts.map +1 -1
  34. package/dist/service/cognito/command/auth/sim-cognito-auth-challenge.js +9 -0
  35. package/dist/service/cognito/command/auth/sim-cognito-auth-challenge.js.map +1 -1
  36. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.d.ts +6 -0
  37. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.d.ts.map +1 -1
  38. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.js +23 -5
  39. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.js.map +1 -1
  40. package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.d.ts +7 -3
  41. package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.d.ts.map +1 -1
  42. package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.js +9 -3
  43. package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.js.map +1 -1
  44. package/dist/service/cognito/command/auth/sim-cognito-auth-flow.d.ts +6 -0
  45. package/dist/service/cognito/command/auth/sim-cognito-auth-flow.d.ts.map +1 -1
  46. package/dist/service/cognito/command/auth/sim-cognito-auth-flow.js +6 -0
  47. package/dist/service/cognito/command/auth/sim-cognito-auth-flow.js.map +1 -1
  48. package/dist/service/cognito/command/auth/sim-cognito-auth-flows.d.ts +8 -0
  49. package/dist/service/cognito/command/auth/sim-cognito-auth-flows.d.ts.map +1 -1
  50. package/dist/service/cognito/command/auth/sim-cognito-auth-flows.js +16 -2
  51. package/dist/service/cognito/command/auth/sim-cognito-auth-flows.js.map +1 -1
  52. package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.d.ts +7 -0
  53. package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.d.ts.map +1 -1
  54. package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.js +16 -0
  55. package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.js.map +1 -1
  56. package/dist/service/cognito/command/auth/sim-cognito-available-challenges.d.ts +35 -0
  57. package/dist/service/cognito/command/auth/sim-cognito-available-challenges.d.ts.map +1 -0
  58. package/dist/service/cognito/command/auth/sim-cognito-available-challenges.js +83 -0
  59. package/dist/service/cognito/command/auth/sim-cognito-available-challenges.js.map +1 -0
  60. package/dist/service/cognito/command/auth/sim-cognito-challenge-responses.d.ts +3 -0
  61. package/dist/service/cognito/command/auth/sim-cognito-challenge-responses.d.ts.map +1 -1
  62. package/dist/service/cognito/command/auth/sim-cognito-challenge-responses.js +18 -0
  63. package/dist/service/cognito/command/auth/sim-cognito-challenge-responses.js.map +1 -1
  64. package/dist/service/cognito/command/auth/sim-cognito-first-factor-challenge.d.ts +54 -0
  65. package/dist/service/cognito/command/auth/sim-cognito-first-factor-challenge.d.ts.map +1 -0
  66. package/dist/service/cognito/command/auth/sim-cognito-first-factor-challenge.js +87 -0
  67. package/dist/service/cognito/command/auth/sim-cognito-first-factor-challenge.js.map +1 -0
  68. package/dist/service/cognito/command/auth/sim-cognito-first-factor-response.d.ts +55 -0
  69. package/dist/service/cognito/command/auth/sim-cognito-first-factor-response.d.ts.map +1 -0
  70. package/dist/service/cognito/command/auth/sim-cognito-first-factor-response.js +64 -0
  71. package/dist/service/cognito/command/auth/sim-cognito-first-factor-response.js.map +1 -0
  72. package/dist/service/cognito/command/auth/sim-cognito-mfa-challenge.js +1 -1
  73. package/dist/service/cognito/command/auth/sim-cognito-mfa-challenge.js.map +1 -1
  74. package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.d.ts +2 -1
  75. package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.d.ts.map +1 -1
  76. package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.js +2 -2
  77. package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.js.map +1 -1
  78. package/dist/service/cognito/command/auth/sim-cognito-password-response.d.ts +31 -0
  79. package/dist/service/cognito/command/auth/sim-cognito-password-response.d.ts.map +1 -0
  80. package/dist/service/cognito/command/auth/sim-cognito-password-response.js +39 -0
  81. package/dist/service/cognito/command/auth/sim-cognito-password-response.js.map +1 -0
  82. package/dist/service/cognito/command/auth/sim-cognito-password-sign-in.js +1 -1
  83. package/dist/service/cognito/command/auth/sim-cognito-password-sign-in.js.map +1 -1
  84. package/dist/service/cognito/command/auth/sim-cognito-unsimulated-auth-options.d.ts.map +1 -1
  85. package/dist/service/cognito/command/auth/sim-cognito-unsimulated-auth-options.js +7 -2
  86. package/dist/service/cognito/command/auth/sim-cognito-unsimulated-auth-options.js.map +1 -1
  87. package/dist/service/cognito/command/auth/sim-cognito-user-auth-sign-in.d.ts +44 -0
  88. package/dist/service/cognito/command/auth/sim-cognito-user-auth-sign-in.d.ts.map +1 -0
  89. package/dist/service/cognito/command/auth/sim-cognito-user-auth-sign-in.js +62 -0
  90. package/dist/service/cognito/command/auth/sim-cognito-user-auth-sign-in.js.map +1 -0
  91. package/dist/service/cognito/command/auth/sim-cognito-web-authn-response.d.ts +30 -0
  92. package/dist/service/cognito/command/auth/sim-cognito-web-authn-response.d.ts.map +1 -0
  93. package/dist/service/cognito/command/auth/sim-cognito-web-authn-response.js +36 -0
  94. package/dist/service/cognito/command/auth/sim-cognito-web-authn-response.js.map +1 -0
  95. package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.d.ts.map +1 -1
  96. package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.js +0 -1
  97. package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.js.map +1 -1
  98. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.d.ts.map +1 -1
  99. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.js +1 -0
  100. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.js.map +1 -1
  101. package/dist/service/cognito/command/client/user-pool-client.command.d.ts +1 -0
  102. package/dist/service/cognito/command/client/user-pool-client.command.d.ts.map +1 -1
  103. package/dist/service/cognito/command/hosted/hosted-auth.command.d.ts +22 -0
  104. package/dist/service/cognito/command/hosted/hosted-auth.command.d.ts.map +1 -1
  105. package/dist/service/cognito/command/hosted/sim-cognito-authorize-endpoint.d.ts +4 -4
  106. package/dist/service/cognito/command/hosted/sim-cognito-authorize-endpoint.js +4 -4
  107. package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.d.ts +6 -0
  108. package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.d.ts.map +1 -1
  109. package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.js +2 -1
  110. package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.js.map +1 -1
  111. package/dist/service/cognito/command/hosted/sim-cognito-hosted-passkey-sign-in.d.ts +71 -0
  112. package/dist/service/cognito/command/hosted/sim-cognito-hosted-passkey-sign-in.d.ts.map +1 -0
  113. package/dist/service/cognito/command/hosted/sim-cognito-hosted-passkey-sign-in.js +76 -0
  114. package/dist/service/cognito/command/hosted/sim-cognito-hosted-passkey-sign-in.js.map +1 -0
  115. package/dist/service/cognito/command/hosted/sim-cognito-hosted-sign-in.d.ts +16 -7
  116. package/dist/service/cognito/command/hosted/sim-cognito-hosted-sign-in.d.ts.map +1 -1
  117. package/dist/service/cognito/command/hosted/sim-cognito-hosted-sign-in.js +26 -7
  118. package/dist/service/cognito/command/hosted/sim-cognito-hosted-sign-in.js.map +1 -1
  119. package/dist/service/cognito/command/sim-cognito-command.types.d.ts +1 -0
  120. package/dist/service/cognito/command/sim-cognito-command.types.d.ts.map +1 -1
  121. package/dist/service/cognito/command/sim-cognito-commands.d.ts +2 -0
  122. package/dist/service/cognito/command/sim-cognito-commands.d.ts.map +1 -1
  123. package/dist/service/cognito/command/sim-cognito-commands.js +9 -0
  124. package/dist/service/cognito/command/sim-cognito-commands.js.map +1 -1
  125. package/dist/service/cognito/command/sim-cognito-page.d.ts +10 -0
  126. package/dist/service/cognito/command/sim-cognito-page.d.ts.map +1 -1
  127. package/dist/service/cognito/command/sim-cognito-page.js +11 -7
  128. package/dist/service/cognito/command/sim-cognito-page.js.map +1 -1
  129. package/dist/service/cognito/command/user/sim-cognito-web-authn-commands.d.ts +49 -0
  130. package/dist/service/cognito/command/user/sim-cognito-web-authn-commands.d.ts.map +1 -0
  131. package/dist/service/cognito/command/user/sim-cognito-web-authn-commands.js +88 -0
  132. package/dist/service/cognito/command/user/sim-cognito-web-authn-commands.js.map +1 -0
  133. package/dist/service/cognito/command/user/web-authn.command.d.ts +87 -0
  134. package/dist/service/cognito/command/user/web-authn.command.d.ts.map +1 -0
  135. package/dist/service/cognito/command/user/web-authn.command.js +2 -0
  136. package/dist/service/cognito/command/user/web-authn.command.js.map +1 -0
  137. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-options.d.ts +4 -0
  138. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-options.d.ts.map +1 -1
  139. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-options.js +4 -1
  140. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-options.js.map +1 -1
  141. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.d.ts +5 -3
  142. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.d.ts.map +1 -1
  143. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.js +5 -4
  144. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.js.map +1 -1
  145. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.d.ts +4 -0
  146. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.d.ts.map +1 -1
  147. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.js +9 -1
  148. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.js.map +1 -1
  149. package/dist/service/cognito/command/user-pool/user-pool-mfa.command.d.ts +2 -3
  150. package/dist/service/cognito/command/user-pool/user-pool-mfa.command.d.ts.map +1 -1
  151. package/dist/service/cognito/error/sim-cognito-managed-login.error.d.ts +24 -0
  152. package/dist/service/cognito/error/sim-cognito-managed-login.error.d.ts.map +1 -1
  153. package/dist/service/cognito/error/sim-cognito-managed-login.error.js +37 -0
  154. package/dist/service/cognito/error/sim-cognito-managed-login.error.js.map +1 -1
  155. package/dist/service/cognito/error/sim-cognito-web-authn.error.d.ts +56 -0
  156. package/dist/service/cognito/error/sim-cognito-web-authn.error.d.ts.map +1 -0
  157. package/dist/service/cognito/error/sim-cognito-web-authn.error.js +66 -0
  158. package/dist/service/cognito/error/sim-cognito-web-authn.error.js.map +1 -0
  159. package/dist/service/cognito/index.d.ts +9 -1
  160. package/dist/service/cognito/index.d.ts.map +1 -1
  161. package/dist/service/cognito/index.js +7 -0
  162. package/dist/service/cognito/index.js.map +1 -1
  163. package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.d.ts +2 -2
  164. package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.d.ts.map +1 -1
  165. package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.js +4 -2
  166. package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.js.map +1 -1
  167. package/dist/service/cognito/sdk/sim-cognito-sdk-web-authn-routes.d.ts +11 -0
  168. package/dist/service/cognito/sdk/sim-cognito-sdk-web-authn-routes.d.ts.map +1 -0
  169. package/dist/service/cognito/sdk/sim-cognito-sdk-web-authn-routes.js +28 -0
  170. package/dist/service/cognito/sdk/sim-cognito-sdk-web-authn-routes.js.map +1 -0
  171. package/dist/service/cognito/serve/page/sim-cognito-managed-login.d.ts +4 -2
  172. package/dist/service/cognito/serve/page/sim-cognito-managed-login.d.ts.map +1 -1
  173. package/dist/service/cognito/serve/page/sim-cognito-managed-login.js +9 -3
  174. package/dist/service/cognito/serve/page/sim-cognito-managed-login.js.map +1 -1
  175. package/dist/service/cognito/serve/page/sim-cognito-passkey-page.d.ts +23 -0
  176. package/dist/service/cognito/serve/page/sim-cognito-passkey-page.d.ts.map +1 -0
  177. package/dist/service/cognito/serve/page/sim-cognito-passkey-page.js +36 -0
  178. package/dist/service/cognito/serve/page/sim-cognito-passkey-page.js.map +1 -0
  179. package/dist/service/cognito/serve/page/sim-cognito-sign-in-page.d.ts +13 -1
  180. package/dist/service/cognito/serve/page/sim-cognito-sign-in-page.d.ts.map +1 -1
  181. package/dist/service/cognito/serve/page/sim-cognito-sign-in-page.js +24 -2
  182. package/dist/service/cognito/serve/page/sim-cognito-sign-in-page.js.map +1 -1
  183. package/dist/service/cognito/sim-cognito-user-factors.d.ts +25 -0
  184. package/dist/service/cognito/sim-cognito-user-factors.d.ts.map +1 -1
  185. package/dist/service/cognito/sim-cognito-user-factors.js +37 -0
  186. package/dist/service/cognito/sim-cognito-user-factors.js.map +1 -1
  187. package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.d.ts +33 -2
  188. package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.d.ts.map +1 -1
  189. package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.js +27 -12
  190. package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.js.map +1 -1
  191. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.d.ts +5 -0
  192. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.d.ts.map +1 -1
  193. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.js +12 -0
  194. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.js.map +1 -1
  195. package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.d.ts +10 -0
  196. package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.d.ts.map +1 -1
  197. package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.js +14 -0
  198. package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.js.map +1 -1
  199. package/dist/service/cognito/user-pool/client/sim-cognito-auth-session-validity.d.ts +27 -0
  200. package/dist/service/cognito/user-pool/client/sim-cognito-auth-session-validity.d.ts.map +1 -0
  201. package/dist/service/cognito/user-pool/client/sim-cognito-auth-session-validity.js +55 -0
  202. package/dist/service/cognito/user-pool/client/sim-cognito-auth-session-validity.js.map +1 -0
  203. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.d.ts +6 -0
  204. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.d.ts.map +1 -1
  205. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.js +6 -0
  206. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.js.map +1 -1
  207. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.d.ts +6 -0
  208. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.d.ts.map +1 -1
  209. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.js +7 -0
  210. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.js.map +1 -1
  211. package/dist/service/cognito/user-pool/mfa/sim-cognito-relying-party.d.ts +16 -0
  212. package/dist/service/cognito/user-pool/mfa/sim-cognito-relying-party.d.ts.map +1 -0
  213. package/dist/service/cognito/user-pool/mfa/sim-cognito-relying-party.js +32 -0
  214. package/dist/service/cognito/user-pool/mfa/sim-cognito-relying-party.js.map +1 -0
  215. package/dist/service/cognito/user-pool/mfa/sim-cognito-user-pool-mfa.d.ts +16 -0
  216. package/dist/service/cognito/user-pool/mfa/sim-cognito-user-pool-mfa.d.ts.map +1 -1
  217. package/dist/service/cognito/user-pool/mfa/sim-cognito-user-pool-mfa.js +29 -0
  218. package/dist/service/cognito/user-pool/mfa/sim-cognito-user-pool-mfa.js.map +1 -1
  219. package/dist/service/cognito/user-pool/mfa/sim-cognito-web-authn-configuration.d.ts +46 -0
  220. package/dist/service/cognito/user-pool/mfa/sim-cognito-web-authn-configuration.d.ts.map +1 -0
  221. package/dist/service/cognito/user-pool/mfa/sim-cognito-web-authn-configuration.js +73 -0
  222. package/dist/service/cognito/user-pool/mfa/sim-cognito-web-authn-configuration.js.map +1 -0
  223. package/dist/service/cognito/user-pool/sim-cognito-password-policy.d.ts +1 -9
  224. package/dist/service/cognito/user-pool/sim-cognito-password-policy.d.ts.map +1 -1
  225. package/dist/service/cognito/user-pool/sim-cognito-password-policy.js.map +1 -1
  226. package/dist/service/cognito/user-pool/sim-cognito-sign-in-policy.d.ts +60 -0
  227. package/dist/service/cognito/user-pool/sim-cognito-sign-in-policy.d.ts.map +1 -0
  228. package/dist/service/cognito/user-pool/sim-cognito-sign-in-policy.js +100 -0
  229. package/dist/service/cognito/user-pool/sim-cognito-sign-in-policy.js.map +1 -0
  230. package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.d.ts +11 -1
  231. package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.d.ts.map +1 -1
  232. package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.js +12 -1
  233. package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.js.map +1 -1
  234. package/dist/service/cognito/user-pool/sim-cognito-user-pool.d.ts +48 -69
  235. package/dist/service/cognito/user-pool/sim-cognito-user-pool.d.ts.map +1 -1
  236. package/dist/service/cognito/user-pool/sim-cognito-user-pool.js +58 -73
  237. package/dist/service/cognito/user-pool/sim-cognito-user-pool.js.map +1 -1
  238. package/dist/service/cognito/user-pool/user/sim-cognito-user.d.ts +13 -18
  239. package/dist/service/cognito/user-pool/user/sim-cognito-user.d.ts.map +1 -1
  240. package/dist/service/cognito/user-pool/user/sim-cognito-user.js +23 -24
  241. package/dist/service/cognito/user-pool/user/sim-cognito-user.js.map +1 -1
  242. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-user-web-authn.d.ts +73 -0
  243. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-user-web-authn.d.ts.map +1 -0
  244. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-user-web-authn.js +113 -0
  245. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-user-web-authn.js.map +1 -0
  246. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-assertion.d.ts +22 -0
  247. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-assertion.d.ts.map +1 -0
  248. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-assertion.js +53 -0
  249. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-assertion.js.map +1 -0
  250. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-attested-key.d.ts +15 -0
  251. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-attested-key.d.ts.map +1 -0
  252. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-attested-key.js +68 -0
  253. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-attested-key.js.map +1 -0
  254. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-ceremony.d.ts +33 -0
  255. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-ceremony.d.ts.map +1 -0
  256. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-ceremony.js +67 -0
  257. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-ceremony.js.map +1 -0
  258. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-client-data.d.ts +24 -0
  259. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-client-data.d.ts.map +1 -0
  260. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-client-data.js +45 -0
  261. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-client-data.js.map +1 -0
  262. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-creation-options.d.ts +28 -0
  263. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-creation-options.d.ts.map +1 -0
  264. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-creation-options.js +41 -0
  265. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-creation-options.js.map +1 -0
  266. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-credential.d.ts +69 -0
  267. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-credential.d.ts.map +1 -0
  268. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-credential.js +69 -0
  269. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-credential.js.map +1 -0
  270. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-device.d.ts +39 -0
  271. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-device.d.ts.map +1 -0
  272. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-device.js +90 -0
  273. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-device.js.map +1 -0
  274. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-document.d.ts +111 -0
  275. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-document.d.ts.map +1 -0
  276. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-document.js +2 -0
  277. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-document.js.map +1 -0
  278. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-keys.d.ts +37 -0
  279. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-keys.d.ts.map +1 -0
  280. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-keys.js +39 -0
  281. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-keys.js.map +1 -0
  282. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-public-key.d.ts +21 -0
  283. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-public-key.d.ts.map +1 -0
  284. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-public-key.js +45 -0
  285. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-public-key.js.map +1 -0
  286. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-signing.d.ts +52 -0
  287. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-signing.d.ts.map +1 -0
  288. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-signing.js +98 -0
  289. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-signing.js.map +1 -0
  290. package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-path.d.ts +5 -4
  291. package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-path.d.ts.map +1 -1
  292. package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-path.js +17 -4
  293. package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-path.js.map +1 -1
  294. package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-request.d.ts +8 -1
  295. package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-request.d.ts.map +1 -1
  296. package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-request.js +10 -3
  297. package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-request.js.map +1 -1
  298. package/dist/service/iam/sigv4/sim-iam-sigv4-signature-check.js +1 -1
  299. package/dist/service/iam/sigv4/sim-iam-sigv4-signature-check.js.map +1 -1
  300. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-creator.d.ts +26 -0
  301. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-creator.d.ts.map +1 -0
  302. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-creator.js +32 -0
  303. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-creator.js.map +1 -0
  304. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-properties.d.ts +40 -0
  305. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-properties.d.ts.map +1 -0
  306. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-properties.js +42 -0
  307. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-properties.js.map +1 -0
  308. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-property-rules.d.ts +12 -0
  309. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-property-rules.d.ts.map +1 -0
  310. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-property-rules.js +26 -0
  311. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-property-rules.js.map +1 -0
  312. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-remover.d.ts +13 -0
  313. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-remover.d.ts.map +1 -0
  314. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-remover.js +20 -0
  315. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-remover.js.map +1 -0
  316. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-destinations.d.ts +26 -0
  317. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-destinations.d.ts.map +1 -0
  318. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-destinations.js +47 -0
  319. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-destinations.js.map +1 -0
  320. package/dist/service/lambda/cfn/function/sim-cfn-lambda-dead-letter-parser.d.ts +20 -0
  321. package/dist/service/lambda/cfn/function/sim-cfn-lambda-dead-letter-parser.d.ts.map +1 -0
  322. package/dist/service/lambda/cfn/function/sim-cfn-lambda-dead-letter-parser.js +29 -0
  323. package/dist/service/lambda/cfn/function/sim-cfn-lambda-dead-letter-parser.js.map +1 -0
  324. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.d.ts +3 -0
  325. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.d.ts.map +1 -1
  326. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.js +4 -0
  327. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.js.map +1 -1
  328. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-deleter.d.ts.map +1 -1
  329. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-deleter.js +5 -0
  330. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-deleter.js.map +1 -1
  331. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.d.ts +1 -0
  332. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.d.ts.map +1 -1
  333. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.js +8 -0
  334. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.js.map +1 -1
  335. package/dist/service/lambda/cfn/sim-cfn-lambda-target-arn.d.ts +35 -0
  336. package/dist/service/lambda/cfn/sim-cfn-lambda-target-arn.d.ts.map +1 -0
  337. package/dist/service/lambda/cfn/sim-cfn-lambda-target-arn.js +73 -0
  338. package/dist/service/lambda/cfn/sim-cfn-lambda-target-arn.js.map +1 -0
  339. package/dist/service/lambda/command/create-function/create-function-input.d.ts +1 -0
  340. package/dist/service/lambda/command/create-function/create-function-input.d.ts.map +1 -1
  341. package/dist/service/lambda/command/create-function/create-function-input.js +2 -0
  342. package/dist/service/lambda/command/create-function/create-function-input.js.map +1 -1
  343. package/dist/service/lambda/command/create-function/create-function.command.d.ts +2 -0
  344. package/dist/service/lambda/command/create-function/create-function.command.d.ts.map +1 -1
  345. package/dist/service/lambda/command/delete-function/delete-function.handler.d.ts +5 -1
  346. package/dist/service/lambda/command/delete-function/delete-function.handler.d.ts.map +1 -1
  347. package/dist/service/lambda/command/delete-function/delete-function.handler.js +5 -1
  348. package/dist/service/lambda/command/delete-function/delete-function.handler.js.map +1 -1
  349. package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.command.d.ts +24 -0
  350. package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.command.d.ts.map +1 -0
  351. package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.command.js +5 -0
  352. package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.command.js.map +1 -0
  353. package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.handler.d.ts +24 -0
  354. package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.handler.d.ts.map +1 -0
  355. package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.handler.js +27 -0
  356. package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.handler.js.map +1 -0
  357. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-authorizer.d.ts +29 -0
  358. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-authorizer.d.ts.map +1 -0
  359. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-authorizer.js +39 -0
  360. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-authorizer.js.map +1 -0
  361. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-input.d.ts +32 -0
  362. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-input.d.ts.map +1 -0
  363. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-input.js +62 -0
  364. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-input.js.map +1 -0
  365. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-request.d.ts +49 -0
  366. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-request.d.ts.map +1 -0
  367. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-request.js +44 -0
  368. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-request.js.map +1 -0
  369. package/dist/service/lambda/command/event-invoke-config/sim-lambda-event-invoke-config-commands.d.ts +49 -0
  370. package/dist/service/lambda/command/event-invoke-config/sim-lambda-event-invoke-config-commands.d.ts.map +1 -0
  371. package/dist/service/lambda/command/event-invoke-config/sim-lambda-event-invoke-config-commands.js +49 -0
  372. package/dist/service/lambda/command/event-invoke-config/sim-lambda-event-invoke-config-commands.js.map +1 -0
  373. package/dist/service/lambda/command/function/sim-lambda-function-commands.d.ts +4 -0
  374. package/dist/service/lambda/command/function/sim-lambda-function-commands.d.ts.map +1 -1
  375. package/dist/service/lambda/command/function/sim-lambda-function-commands.js.map +1 -1
  376. package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.command.d.ts +25 -0
  377. package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.command.d.ts.map +1 -0
  378. package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.command.js +5 -0
  379. package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.command.js.map +1 -0
  380. package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.handler.d.ts +23 -0
  381. package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.handler.d.ts.map +1 -0
  382. package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.handler.js +27 -0
  383. package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.handler.js.map +1 -0
  384. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation-settings.d.ts +31 -0
  385. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation-settings.d.ts.map +1 -0
  386. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation-settings.js +24 -0
  387. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation-settings.js.map +1 -0
  388. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation.d.ts +43 -0
  389. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation.d.ts.map +1 -0
  390. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation.js +64 -0
  391. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation.js.map +1 -0
  392. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocations.d.ts +26 -0
  393. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocations.d.ts.map +1 -0
  394. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocations.js +33 -0
  395. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocations.js.map +1 -0
  396. package/dist/service/lambda/command/invoke/async/sim-lambda-async-outcome.d.ts +63 -0
  397. package/dist/service/lambda/command/invoke/async/sim-lambda-async-outcome.d.ts.map +1 -0
  398. package/dist/service/lambda/command/invoke/async/sim-lambda-async-outcome.js +88 -0
  399. package/dist/service/lambda/command/invoke/async/sim-lambda-async-outcome.js.map +1 -0
  400. package/dist/service/lambda/command/invoke/invoke-dispatcher.d.ts +10 -3
  401. package/dist/service/lambda/command/invoke/invoke-dispatcher.d.ts.map +1 -1
  402. package/dist/service/lambda/command/invoke/invoke-dispatcher.js +16 -17
  403. package/dist/service/lambda/command/invoke/invoke-dispatcher.js.map +1 -1
  404. package/dist/service/lambda/command/invoke/invoke-payload.d.ts +16 -0
  405. package/dist/service/lambda/command/invoke/invoke-payload.d.ts.map +1 -1
  406. package/dist/service/lambda/command/invoke/invoke-payload.js +14 -4
  407. package/dist/service/lambda/command/invoke/invoke-payload.js.map +1 -1
  408. package/dist/service/lambda/command/invoke/invoke.handler.d.ts +4 -0
  409. package/dist/service/lambda/command/invoke/invoke.handler.d.ts.map +1 -1
  410. package/dist/service/lambda/command/invoke/invoke.handler.js +6 -2
  411. package/dist/service/lambda/command/invoke/invoke.handler.js.map +1 -1
  412. package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.command.d.ts +28 -0
  413. package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.command.d.ts.map +1 -0
  414. package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.command.js +5 -0
  415. package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.command.js.map +1 -0
  416. package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.handler.d.ts +23 -0
  417. package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.handler.d.ts.map +1 -0
  418. package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.handler.js +31 -0
  419. package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.handler.js.map +1 -0
  420. package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.command.d.ts +31 -0
  421. package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.command.d.ts.map +1 -0
  422. package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.command.js +5 -0
  423. package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.command.js.map +1 -0
  424. package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.handler.d.ts +24 -0
  425. package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.handler.d.ts.map +1 -0
  426. package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.handler.js +32 -0
  427. package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.handler.js.map +1 -0
  428. package/dist/service/lambda/command/sim-lambda-command.types.d.ts +5 -0
  429. package/dist/service/lambda/command/sim-lambda-command.types.d.ts.map +1 -1
  430. package/dist/service/lambda/command/update-function-configuration/update-function-configuration-input.d.ts.map +1 -1
  431. package/dist/service/lambda/command/update-function-configuration/update-function-configuration-input.js +2 -0
  432. package/dist/service/lambda/command/update-function-configuration/update-function-configuration-input.js.map +1 -1
  433. package/dist/service/lambda/command/update-function-configuration/update-function-configuration.command.d.ts +6 -4
  434. package/dist/service/lambda/command/update-function-configuration/update-function-configuration.command.d.ts.map +1 -1
  435. package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.command.d.ts +30 -0
  436. package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.command.d.ts.map +1 -0
  437. package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.command.js +5 -0
  438. package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.command.js.map +1 -0
  439. package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.handler.d.ts +25 -0
  440. package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.handler.d.ts.map +1 -0
  441. package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.handler.js +33 -0
  442. package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.handler.js.map +1 -0
  443. package/dist/service/lambda/destination/deliver/sim-lambda-destination-bus.d.ts +16 -0
  444. package/dist/service/lambda/destination/deliver/sim-lambda-destination-bus.d.ts.map +1 -0
  445. package/dist/service/lambda/destination/deliver/sim-lambda-destination-bus.js +31 -0
  446. package/dist/service/lambda/destination/deliver/sim-lambda-destination-bus.js.map +1 -0
  447. package/dist/service/lambda/destination/deliver/sim-lambda-destination-function.d.ts +13 -0
  448. package/dist/service/lambda/destination/deliver/sim-lambda-destination-function.d.ts.map +1 -0
  449. package/dist/service/lambda/destination/deliver/sim-lambda-destination-function.js +25 -0
  450. package/dist/service/lambda/destination/deliver/sim-lambda-destination-function.js.map +1 -0
  451. package/dist/service/lambda/destination/deliver/sim-lambda-destination-queue.d.ts +15 -0
  452. package/dist/service/lambda/destination/deliver/sim-lambda-destination-queue.d.ts.map +1 -0
  453. package/dist/service/lambda/destination/deliver/sim-lambda-destination-queue.js +25 -0
  454. package/dist/service/lambda/destination/deliver/sim-lambda-destination-queue.js.map +1 -0
  455. package/dist/service/lambda/destination/deliver/sim-lambda-destination-send.d.ts +15 -0
  456. package/dist/service/lambda/destination/deliver/sim-lambda-destination-send.d.ts.map +1 -0
  457. package/dist/service/lambda/destination/deliver/sim-lambda-destination-send.js +2 -0
  458. package/dist/service/lambda/destination/deliver/sim-lambda-destination-send.js.map +1 -0
  459. package/dist/service/lambda/destination/deliver/sim-lambda-destination-topic.d.ts +15 -0
  460. package/dist/service/lambda/destination/deliver/sim-lambda-destination-topic.d.ts.map +1 -0
  461. package/dist/service/lambda/destination/deliver/sim-lambda-destination-topic.js +23 -0
  462. package/dist/service/lambda/destination/deliver/sim-lambda-destination-topic.js.map +1 -0
  463. package/dist/service/lambda/destination/sim-aws-lambda-destinations.d.ts +38 -0
  464. package/dist/service/lambda/destination/sim-aws-lambda-destinations.d.ts.map +1 -0
  465. package/dist/service/lambda/destination/sim-aws-lambda-destinations.js +78 -0
  466. package/dist/service/lambda/destination/sim-aws-lambda-destinations.js.map +1 -0
  467. package/dist/service/lambda/destination/sim-lambda-destination-arn.d.ts +53 -0
  468. package/dist/service/lambda/destination/sim-lambda-destination-arn.d.ts.map +1 -0
  469. package/dist/service/lambda/destination/sim-lambda-destination-arn.js +122 -0
  470. package/dist/service/lambda/destination/sim-lambda-destination-arn.js.map +1 -0
  471. package/dist/service/lambda/destination/sim-lambda-destination-record.d.ts +53 -0
  472. package/dist/service/lambda/destination/sim-lambda-destination-record.d.ts.map +1 -0
  473. package/dist/service/lambda/destination/sim-lambda-destination-record.js +26 -0
  474. package/dist/service/lambda/destination/sim-lambda-destination-record.js.map +1 -0
  475. package/dist/service/lambda/destination/sim-lambda-destination-targets.d.ts +49 -0
  476. package/dist/service/lambda/destination/sim-lambda-destination-targets.d.ts.map +1 -0
  477. package/dist/service/lambda/destination/sim-lambda-destination-targets.js +25 -0
  478. package/dist/service/lambda/destination/sim-lambda-destination-targets.js.map +1 -0
  479. package/dist/service/lambda/function/event-invoke/lambda-dead-letter-target.d.ts +17 -0
  480. package/dist/service/lambda/function/event-invoke/lambda-dead-letter-target.d.ts.map +1 -0
  481. package/dist/service/lambda/function/event-invoke/lambda-dead-letter-target.js +26 -0
  482. package/dist/service/lambda/function/event-invoke/lambda-dead-letter-target.js.map +1 -0
  483. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config-store.d.ts +58 -0
  484. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config-store.d.ts.map +1 -0
  485. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config-store.js +86 -0
  486. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config-store.js.map +1 -0
  487. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config.d.ts +117 -0
  488. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config.d.ts.map +1 -0
  489. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config.js +37 -0
  490. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config.js.map +1 -0
  491. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-settings.d.ts +35 -0
  492. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-settings.d.ts.map +1 -0
  493. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-settings.js +70 -0
  494. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-settings.js.map +1 -0
  495. package/dist/service/lambda/function/sim-lambda-function-configuration.d.ts +3 -0
  496. package/dist/service/lambda/function/sim-lambda-function-configuration.d.ts.map +1 -1
  497. package/dist/service/lambda/function/sim-lambda-function-configuration.factory.d.ts +11 -0
  498. package/dist/service/lambda/function/sim-lambda-function-configuration.factory.d.ts.map +1 -0
  499. package/dist/service/lambda/function/sim-lambda-function-configuration.factory.js +27 -0
  500. package/dist/service/lambda/function/sim-lambda-function-configuration.factory.js.map +1 -0
  501. package/dist/service/lambda/function/sim-lambda-function-reconfiguration.d.ts +5 -0
  502. package/dist/service/lambda/function/sim-lambda-function-reconfiguration.d.ts.map +1 -1
  503. package/dist/service/lambda/function/sim-lambda-function-reconfiguration.js +12 -0
  504. package/dist/service/lambda/function/sim-lambda-function-reconfiguration.js.map +1 -1
  505. package/dist/service/lambda/function/sim-lambda-function.d.ts +2 -0
  506. package/dist/service/lambda/function/sim-lambda-function.d.ts.map +1 -1
  507. package/dist/service/lambda/function/sim-lambda-function.js +7 -14
  508. package/dist/service/lambda/function/sim-lambda-function.js.map +1 -1
  509. package/dist/service/lambda/function/sim-lambda-function.type.d.ts +5 -0
  510. package/dist/service/lambda/function/sim-lambda-function.type.d.ts.map +1 -1
  511. package/dist/service/lambda/index.d.ts +2 -0
  512. package/dist/service/lambda/index.d.ts.map +1 -1
  513. package/dist/service/lambda/sdk/sim-lambda-event-invoke-config-routes.d.ts +10 -0
  514. package/dist/service/lambda/sdk/sim-lambda-event-invoke-config-routes.d.ts.map +1 -0
  515. package/dist/service/lambda/sdk/sim-lambda-event-invoke-config-routes.js +32 -0
  516. package/dist/service/lambda/sdk/sim-lambda-event-invoke-config-routes.js.map +1 -0
  517. package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.d.ts.map +1 -1
  518. package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.js +2 -0
  519. package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.js.map +1 -1
  520. package/dist/service/lambda/sim-lambda-commands.d.ts +11 -0
  521. package/dist/service/lambda/sim-lambda-commands.d.ts.map +1 -1
  522. package/dist/service/lambda/sim-lambda-commands.js +17 -1
  523. package/dist/service/lambda/sim-lambda-commands.js.map +1 -1
  524. package/dist/service/lambda/sim-lambda-event-invoke-operations.d.ts +23 -0
  525. package/dist/service/lambda/sim-lambda-event-invoke-operations.d.ts.map +1 -0
  526. package/dist/service/lambda/sim-lambda-event-invoke-operations.js +31 -0
  527. package/dist/service/lambda/sim-lambda-event-invoke-operations.js.map +1 -0
  528. package/dist/service/lambda/sim-lambda-inspection.d.ts +9 -0
  529. package/dist/service/lambda/sim-lambda-inspection.d.ts.map +1 -1
  530. package/dist/service/lambda/sim-lambda-inspection.js +13 -0
  531. package/dist/service/lambda/sim-lambda-inspection.js.map +1 -1
  532. package/dist/service/lambda/sim-lambda-request-options.d.ts +8 -0
  533. package/dist/service/lambda/sim-lambda-request-options.d.ts.map +1 -0
  534. package/dist/service/lambda/sim-lambda-request-options.js +2 -0
  535. package/dist/service/lambda/sim-lambda-request-options.js.map +1 -0
  536. package/dist/service/lambda/sim-lambda.d.ts +6 -7
  537. package/dist/service/lambda/sim-lambda.d.ts.map +1 -1
  538. package/dist/service/lambda/sim-lambda.js +4 -3
  539. package/dist/service/lambda/sim-lambda.js.map +1 -1
  540. package/dist/service/s3/serve/api/sim-s3-api-object-input.d.ts +14 -0
  541. package/dist/service/s3/serve/api/sim-s3-api-object-input.d.ts.map +1 -1
  542. package/dist/service/s3/serve/api/sim-s3-api-object-input.js +20 -0
  543. package/dist/service/s3/serve/api/sim-s3-api-object-input.js.map +1 -1
  544. package/dist/service/s3/serve/api/sim-s3-api-object-output.d.ts +14 -0
  545. package/dist/service/s3/serve/api/sim-s3-api-object-output.d.ts.map +1 -1
  546. package/dist/service/s3/serve/api/sim-s3-api-object-output.js +12 -0
  547. package/dist/service/s3/serve/api/sim-s3-api-object-output.js.map +1 -1
  548. package/dist/service/s3/serve/api/sim-s3-api-object-routes.d.ts.map +1 -1
  549. package/dist/service/s3/serve/api/sim-s3-api-object-routes.js +23 -1
  550. package/dist/service/s3/serve/api/sim-s3-api-object-routes.js.map +1 -1
  551. package/dist/service/s3/serve/api/sim-s3-api-output.d.ts.map +1 -1
  552. package/dist/service/s3/serve/api/sim-s3-api-output.js +7 -1
  553. package/dist/service/s3/serve/api/sim-s3-api-output.js.map +1 -1
  554. package/dist/service/s3/serve/api/sim-s3-api-route.type.d.ts +14 -3
  555. package/dist/service/s3/serve/api/sim-s3-api-route.type.d.ts.map +1 -1
  556. package/dist/service/s3/serve/api/sim-s3-api-routes.d.ts.map +1 -1
  557. package/dist/service/s3/serve/api/sim-s3-api-routes.js +2 -1
  558. package/dist/service/s3/serve/api/sim-s3-api-routes.js.map +1 -1
  559. package/package.json +1 -1
@@ -0,0 +1,49 @@
1
+ import { DeleteFunctionEventInvokeConfigCommandHandler } from "../delete-function-event-invoke-config/delete-function-event-invoke-config.handler.js";
2
+ import { GetFunctionEventInvokeConfigCommandHandler } from "../get-function-event-invoke-config/get-function-event-invoke-config.handler.js";
3
+ import { ListFunctionEventInvokeConfigsCommandHandler } from "../list-function-event-invoke-configs/list-function-event-invoke-configs.handler.js";
4
+ import { PutFunctionEventInvokeConfigCommandHandler } from "../put-function-event-invoke-config/put-function-event-invoke-config.handler.js";
5
+ import { UpdateFunctionEventInvokeConfigCommandHandler } from "../update-function-event-invoke-config/update-function-event-invoke-config.handler.js";
6
+ /**
7
+ * The event invoke config commands of one simulated Lambda scope.
8
+ *
9
+ * These five commands share the same collaborators and differ only in the
10
+ * handler they run, so grouping them here keeps the SimLambda facade a thin
11
+ * delegation rather than five near-identical wiring blocks.
12
+ */
13
+ export class SimLambdaEventInvokeConfigCommands {
14
+ properties;
15
+ constructor(properties) {
16
+ this.properties = properties;
17
+ }
18
+ /**
19
+ * Write a function's whole event invoke config.
20
+ */
21
+ async put(command, options) {
22
+ return await new PutFunctionEventInvokeConfigCommandHandler(this.properties).handle(command, options);
23
+ }
24
+ /**
25
+ * Read a function's event invoke config.
26
+ */
27
+ async get(command, options) {
28
+ return await new GetFunctionEventInvokeConfigCommandHandler(this.properties).handle(command, options);
29
+ }
30
+ /**
31
+ * Change part of a function's event invoke config.
32
+ */
33
+ async update(command, options) {
34
+ return await new UpdateFunctionEventInvokeConfigCommandHandler(this.properties).handle(command, options);
35
+ }
36
+ /**
37
+ * Delete a function's event invoke config.
38
+ */
39
+ async delete(command, options) {
40
+ return await new DeleteFunctionEventInvokeConfigCommandHandler(this.properties).handle(command, options);
41
+ }
42
+ /**
43
+ * List every event invoke config a function holds.
44
+ */
45
+ async list(command, options) {
46
+ return await new ListFunctionEventInvokeConfigsCommandHandler(this.properties).handle(command, options);
47
+ }
48
+ }
49
+ //# sourceMappingURL=sim-lambda-event-invoke-config-commands.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-event-invoke-config-commands.js","sourceRoot":"","sources":["../../../../../src/service/lambda/command/event-invoke-config/sim-lambda-event-invoke-config-commands.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,6CAA6C,EAAE,MAAM,uFAAuF,CAAC;AAKtJ,OAAO,EAAE,0CAA0C,EAAE,MAAM,iFAAiF,CAAC;AAK7I,OAAO,EAAE,4CAA4C,EAAE,MAAM,qFAAqF,CAAC;AAKnJ,OAAO,EAAE,0CAA0C,EAAE,MAAM,iFAAiF,CAAC;AAK7I,OAAO,EAAE,6CAA6C,EAAE,MAAM,uFAAuF,CAAC;AActJ;;;;;;GAMG;AACH,MAAM,OAAO,kCAAkC;IAC5B,UAAU,CAA+C;IAE1E,YAAY,UAAwD;QAClE,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,GAAG,CACP,OAA+C,EAC/C,OAAyC;QAEzC,OAAO,MAAM,IAAI,0CAA0C,CACzD,IAAI,CAAC,UAAU,CAChB,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC7B,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,GAAG,CACP,OAA+C,EAC/C,OAAyC;QAEzC,OAAO,MAAM,IAAI,0CAA0C,CACzD,IAAI,CAAC,UAAU,CAChB,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC7B,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,MAAM,CACV,OAAkD,EAClD,OAAyC;QAEzC,OAAO,MAAM,IAAI,6CAA6C,CAC5D,IAAI,CAAC,UAAU,CAChB,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC7B,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,MAAM,CACV,OAAkD,EAClD,OAAyC;QAEzC,OAAO,MAAM,IAAI,6CAA6C,CAC5D,IAAI,CAAC,UAAU,CAChB,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC7B,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,IAAI,CACR,OAAiD,EACjD,OAAyC;QAEzC,OAAO,MAAM,IAAI,4CAA4C,CAC3D,IAAI,CAAC,UAAU,CAChB,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC7B,CAAC;CACF"}
@@ -8,7 +8,9 @@ import type { SimLambdaCodeStore } from "../../function/code/store/sim-lambda-co
8
8
  import type { SimLambdaVmSdkModuleProvider } from "../../function/code/vm/sdk/sim-lambda-vm-sdk-module-provider.js";
9
9
  import type { SimLogsServiceWriter } from "../../../logs/write/sim-logs-service-writer.js";
10
10
  import type { SimLambdaOutboundHttp } from "../../function/outbound/sim-lambda-outbound-http.js";
11
+ import type { SimLambdaDestinationTargets } from "../../destination/sim-lambda-destination-targets.js";
11
12
  import type { SimLambdaEnvironmentConflicts } from "../../function/environment/sim-lambda-environment-conflicts.js";
13
+ import type { SimLambdaEventInvokeConfigStore } from "../../function/event-invoke/sim-lambda-event-invoke-config-store.js";
12
14
  import type { SimLambdaFunctionMap } from "../../function/sim-lambda-function.js";
13
15
  import type { SimLambdaFunctionLookup } from "../../function/url/sim-lambda-function-lookup.js";
14
16
  import type { SimLambdaFunctionUrlStore } from "../../function/url/sim-lambda-function-url-store.js";
@@ -30,6 +32,8 @@ interface SimLambdaFunctionCommandsProperties {
30
32
  readonly functionUrls: SimLambdaFunctionUrlStore;
31
33
  readonly versions: SimLambdaFunctionVersionStore;
32
34
  readonly environmentConflicts: SimLambdaEnvironmentConflicts;
35
+ readonly eventInvokeConfigs: SimLambdaEventInvokeConfigStore;
36
+ readonly destinations: SimLambdaDestinationTargets;
33
37
  readonly codeStore?: SimLambdaCodeStore | undefined;
34
38
  readonly containerImages?: SimLambdaContainerImages | undefined;
35
39
  readonly vmSdkModuleProvider?: SimLambdaVmSdkModuleProvider | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"sim-lambda-function-commands.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/command/function/sim-lambda-function-commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+CAA+C,CAAC;AACtF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AAC7F,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wDAAwD,CAAC;AACtG,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,0DAA0D,CAAC;AACzG,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AAC7F,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,iEAAiE,CAAC;AACpH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AAC3F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qDAAqD,CAAC;AACjG,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gEAAgE,CAAC;AACpH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAClF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kDAAkD,CAAC;AAChG,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qDAAqD,CAAC;AACr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I,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;IACjD,QAAQ,CAAC,YAAY,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;CAC3D;AAED,UAAU,+BAA+B;IACvC,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC;AAED;;;;;;GAMG;AACH,qBAAa,yBAAyB;IACpC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAsC;IAEjE,YAAY,UAAU,EAAE,mCAAmC,EAE1D;IAED;;OAEG;IACG,MAAM,CACV,OAAO,EAAE,wBAAwB,EACjC,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,8BAA8B,CAAC,CAKzC;IAED;;OAEG;IACG,GAAG,CACP,OAAO,EAAE,qBAAqB,EAC9B,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,2BAA2B,CAAC,CAKtC;IAED;;OAEG;IACG,UAAU,CACd,OAAO,EAAE,4BAA4B,EACrC,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,kCAAkC,CAAC,CAwB7C;IAED;;OAEG;IACG,mBAAmB,CACvB,OAAO,EAAE,qCAAqC,EAC9C,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,2CAA2C,CAAC,CActD;IAED;;OAEG;IACG,IAAI,CACR,OAAO,EAAE,uBAAuB,EAChC,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,6BAA6B,CAAC,CAKxC;IAED;;OAEG;IACG,MAAM,CACV,OAAO,EAAE,wBAAwB,EACjC,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,8BAA8B,CAAC,CAKzC;IAED;;OAEG;IACG,MAAM,CACV,OAAO,EAAE,gBAAgB,EACzB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,sBAAsB,CAAC,CAKjC;CACF"}
1
+ {"version":3,"file":"sim-lambda-function-commands.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/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,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC;AAED;;;;;;GAMG;AACH,qBAAa,yBAAyB;IACpC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAsC;IAEjE,YAAY,UAAU,EAAE,mCAAmC,EAE1D;IAED;;OAEG;IACG,MAAM,CACV,OAAO,EAAE,wBAAwB,EACjC,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,8BAA8B,CAAC,CAKzC;IAED;;OAEG;IACG,GAAG,CACP,OAAO,EAAE,qBAAqB,EAC9B,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,2BAA2B,CAAC,CAKtC;IAED;;OAEG;IACG,UAAU,CACd,OAAO,EAAE,4BAA4B,EACrC,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,kCAAkC,CAAC,CAwB7C;IAED;;OAEG;IACG,mBAAmB,CACvB,OAAO,EAAE,qCAAqC,EAC9C,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,2CAA2C,CAAC,CActD;IAED;;OAEG;IACG,IAAI,CACR,OAAO,EAAE,uBAAuB,EAChC,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,6BAA6B,CAAC,CAKxC;IAED;;OAEG;IACG,MAAM,CACV,OAAO,EAAE,wBAAwB,EACjC,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,8BAA8B,CAAC,CAKzC;IAED;;OAEG;IACG,MAAM,CACV,OAAO,EAAE,gBAAgB,EACzB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,sBAAsB,CAAC,CAKjC;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"sim-lambda-function-commands.js","sourceRoot":"","sources":["../../../../../src/service/lambda/command/function/sim-lambda-function-commands.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAK7F,OAAO,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,C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ED;;OAEG;IACH,KAAK,CAAC,mBAAmB,CACvB,OAA8C,EAC9C,OAAyC;QAEzC,MAAM,EAAE,cAAc,EAAE,SAAS,EAAE,GAAG,EAAE,UAAU,EAAE,oBAAoB,EAAE,GACxE,IAAI,CAAC,UAAU,CAAC;QAElB,OAAO,MAAM,IAAI,yCAAyC,CAAC;YACzD,uEAAuE;YACvE,uEAAuE;YACvE,iDAAiD;YACjD,SAAS,EAAE,cAAc;YACzB,WAAW,EAAE,SAAS;YACtB,GAAG;YACH,UAAU;YACV,oBAAoB;SACrB,CAAC,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC9B,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,IAAI,CACR,OAAgC,EAChC,OAAyC;QAEzC,OAAO,MAAM,IAAI,2BAA2B,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,MAAM,CAClE,OAAO,EACP,OAAO,CACR,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,MAAM,CACV,OAAiC,EACjC,OAAyC;QAEzC,OAAO,MAAM,IAAI,4BAA4B,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,MAAM,CACnE,OAAO,EACP,OAAO,CACR,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,MAAM,CACV,OAAyB,EACzB,OAAyC;QAEzC,OAAO,MAAM,IAAI,oBAAoB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,MAAM,CAC3D,OAAO,EACP,OAAO,CACR,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"sim-lambda-function-commands.js","sourceRoot":"","sources":["../../../../../src/service/lambda/command/function/sim-lambda-function-commands.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAK7F,OAAO,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAK7F,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;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yC;QAEzC,MAAM,EAAE,cAAc,EAAE,SAAS,EAAE,GAAG,EAAE,UAAU,EAAE,oBAAoB,EAAE,GACxE,IAAI,CAAC,UAAU,CAAC;QAElB,OAAO,MAAM,IAAI,yCAAyC,CAAC;YACzD,uEAAuE;YACvE,uEAAuE;YACvE,iDAAiD;YACjD,SAAS,EAAE,cAAc;YACzB,WAAW,EAAE,SAAS;YACtB,GAAG;YACH,UAAU;YACV,oBAAoB;SACrB,CAAC,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC9B,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,IAAI,CACR,OAAgC,EAChC,OAAyC;QAEzC,OAAO,MAAM,IAAI,2BAA2B,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,MAAM,CAClE,OAAO,EACP,OAAO,CACR,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,MAAM,CACV,OAAiC,EACjC,OAAyC;QAEzC,OAAO,MAAM,IAAI,4BAA4B,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,MAAM,CACnE,OAAO,EACP,OAAO,CACR,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,MAAM,CACV,OAAyB,EACzB,OAAyC;QAEzC,OAAO,MAAM,IAAI,oBAAoB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,MAAM,CAC3D,OAAO,EACP,OAAO,CACR,CAAC;IACJ,CAAC;CACF"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/GetFunctionEventInvokeConfigCommand/
3
+ */
4
+ import type { SimResponseMetadata } from "../../../aws/metadata/response-metadata.type.js";
5
+ import type { SimLambdaEventInvokeConfiguration } from "../../function/event-invoke/sim-lambda-event-invoke-config.js";
6
+ /**
7
+ * Minimal structural sim Lambda GetFunctionEventInvokeConfig command.
8
+ */
9
+ export interface SimGetFunctionEventInvokeConfigCommand {
10
+ readonly input: SimGetFunctionEventInvokeConfigCommandInput;
11
+ }
12
+ /**
13
+ * Minimal structural sim Lambda GetFunctionEventInvokeConfig input.
14
+ */
15
+ export interface SimGetFunctionEventInvokeConfigCommandInput {
16
+ readonly FunctionName?: string | undefined;
17
+ readonly Qualifier?: string | undefined;
18
+ }
19
+ /**
20
+ * Minimal structural sim Lambda GetFunctionEventInvokeConfig output.
21
+ */
22
+ export interface SimGetFunctionEventInvokeConfigCommandOutput extends SimLambdaEventInvokeConfiguration {
23
+ readonly $metadata: SimResponseMetadata;
24
+ }
25
+ //# sourceMappingURL=get-function-event-invoke-config.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-function-event-invoke-config.command.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.command.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,+DAA+D,CAAC;AAEvH;;GAEG;AACH,MAAM,WAAW,sCAAsC;IACrD,QAAQ,CAAC,KAAK,EAAE,2CAA2C,CAAC;CAC7D;AAED;;GAEG;AACH,MAAM,WAAW,2CAA2C;IAC1D,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3C,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACzC;AAED;;GAEG;AACH,MAAM,WAAW,4CAA6C,SAAQ,iCAAiC;IACrG,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/GetFunctionEventInvokeConfigCommand/
3
+ */
4
+ export {};
5
+ //# sourceMappingURL=get-function-event-invoke-config.command.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-function-event-invoke-config.command.js","sourceRoot":"","sources":["../../../../../src/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.command.ts"],"names":[],"mappings":"AAAA;;GAEG"}
@@ -0,0 +1,23 @@
1
+ import type { CommandHandler } from "../../../../command/command-handler.js";
2
+ import type { SimLambdaEventInvokeConfigStore } from "../../function/event-invoke/sim-lambda-event-invoke-config-store.js";
3
+ import { type EventInvokeConfigCommandOptions, type EventInvokeConfigCommandProperties } from "../event-invoke-config/event-invoke-config-request.js";
4
+ import type { SimGetFunctionEventInvokeConfigCommand, SimGetFunctionEventInvokeConfigCommandOutput } from "./get-function-event-invoke-config.command.js";
5
+ interface GetFunctionEventInvokeConfigCommandHandlerProperties extends EventInvokeConfigCommandProperties {
6
+ readonly eventInvokeConfigs: SimLambdaEventInvokeConfigStore;
7
+ }
8
+ /**
9
+ * Simulated Lambda GetFunctionEventInvokeConfigCommand handler.
10
+ *
11
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/GetFunctionEventInvokeConfigCommand/
12
+ */
13
+ export declare class GetFunctionEventInvokeConfigCommandHandler implements CommandHandler<SimGetFunctionEventInvokeConfigCommand, SimGetFunctionEventInvokeConfigCommandOutput> {
14
+ private readonly eventInvokeConfigs;
15
+ private readonly request;
16
+ constructor(properties: GetFunctionEventInvokeConfigCommandHandlerProperties);
17
+ /**
18
+ * Read a function's event invoke config.
19
+ */
20
+ handle(command: SimGetFunctionEventInvokeConfigCommand, options?: EventInvokeConfigCommandOptions): Promise<SimGetFunctionEventInvokeConfigCommandOutput>;
21
+ }
22
+ export {};
23
+ //# sourceMappingURL=get-function-event-invoke-config.handler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-function-event-invoke-config.handler.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,qEAAqE,CAAC;AAE3H,OAAO,EACL,KAAK,+BAA+B,EACpC,KAAK,kCAAkC,EAExC,MAAM,uDAAuD,CAAC;AAC/D,OAAO,KAAK,EACV,sCAAsC,EACtC,4CAA4C,EAC7C,MAAM,+CAA+C,CAAC;AAEvD,UAAU,oDAAqD,SAAQ,kCAAkC;IACvG,QAAQ,CAAC,kBAAkB,EAAE,+BAA+B,CAAC;CAC9D;AAED;;;;GAIG;AACH,qBAAa,0CAA2C,YAAW,cAAc,CAC/E,sCAAsC,EACtC,4CAA4C,CAC7C;IACC,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAkC;IACrE,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA2B;IAEnD,YACE,UAAU,EAAE,oDAAoD,EAOjE;IAED;;OAEG;IACG,MAAM,CACV,OAAO,EAAE,sCAAsC,EAC/C,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,4CAA4C,CAAC,CAYvD;CACF"}
@@ -0,0 +1,27 @@
1
+ import { simLambdaEventInvokeConfiguration } from "../../function/event-invoke/sim-lambda-event-invoke-settings.js";
2
+ import { EventInvokeConfigRequest, } from "../event-invoke-config/event-invoke-config-request.js";
3
+ /**
4
+ * Simulated Lambda GetFunctionEventInvokeConfigCommand handler.
5
+ *
6
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/GetFunctionEventInvokeConfigCommand/
7
+ */
8
+ export class GetFunctionEventInvokeConfigCommandHandler {
9
+ eventInvokeConfigs;
10
+ request;
11
+ constructor(properties) {
12
+ this.eventInvokeConfigs = properties.eventInvokeConfigs;
13
+ this.request = new EventInvokeConfigRequest({
14
+ ...properties,
15
+ action: "lambda:GetFunctionEventInvokeConfig",
16
+ });
17
+ }
18
+ /**
19
+ * Read a function's event invoke config.
20
+ */
21
+ async handle(command, options) {
22
+ const resolved = await this.request.resolve(command.input, "GetFunctionEventInvokeConfigCommand", options);
23
+ const config = this.eventInvokeConfigs.require(resolved, resolved.functionArn);
24
+ return { $metadata: {}, ...simLambdaEventInvokeConfiguration(config) };
25
+ }
26
+ }
27
+ //# sourceMappingURL=get-function-event-invoke-config.handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-function-event-invoke-config.handler.js","sourceRoot":"","sources":["../../../../../src/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iCAAiC,EAAE,MAAM,iEAAiE,CAAC;AACpH,OAAO,EAGL,wBAAwB,GACzB,MAAM,uDAAuD,CAAC;AAU/D;;;;GAIG;AACH,MAAM,OAAO,0CAA0C;IAIpC,kBAAkB,CAAkC;IACpD,OAAO,CAA2B;IAEnD,YACE,UAAgE;QAEhE,IAAI,CAAC,kBAAkB,GAAG,UAAU,CAAC,kBAAkB,CAAC;QACxD,IAAI,CAAC,OAAO,GAAG,IAAI,wBAAwB,CAAC;YAC1C,GAAG,UAAU;YACb,MAAM,EAAE,qCAAqC;SAC9C,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,MAAM,CACV,OAA+C,EAC/C,OAAyC;QAEzC,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,OAAO,CACzC,OAAO,CAAC,KAAK,EACb,qCAAqC,EACrC,OAAO,CACR,CAAC;QACF,MAAM,MAAM,GAAG,IAAI,CAAC,kBAAkB,CAAC,OAAO,CAC5C,QAAQ,EACR,QAAQ,CAAC,WAAW,CACrB,CAAC;QAEF,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,GAAG,iCAAiC,CAAC,MAAM,CAAC,EAAE,CAAC;IACzE,CAAC;CACF"}
@@ -0,0 +1,31 @@
1
+ import type { SimLambdaEventInvokeConfigStore } from "../../../function/event-invoke/sim-lambda-event-invoke-config-store.js";
2
+ import type { SimLambdaEventInvokeSettings } from "../../../function/event-invoke/sim-lambda-event-invoke-config.js";
3
+ import type { SimLambdaFunction } from "../../../function/sim-lambda-function.js";
4
+ /**
5
+ * Everything one asynchronous invocation needs to know about how its function
6
+ * handles failure.
7
+ */
8
+ export interface SimLambdaAsyncInvocationSettings extends SimLambdaEventInvokeSettings {
9
+ readonly deadLetterArn?: string | undefined;
10
+ }
11
+ interface SimLambdaAsyncInvocationSettingsProperties {
12
+ readonly simFunction: SimLambdaFunction;
13
+ readonly qualifier: string | undefined;
14
+ readonly configs: SimLambdaEventInvokeConfigStore | undefined;
15
+ }
16
+ /**
17
+ * Read what an invocation should do from the function and the event invoke
18
+ * config the qualifier it ran under holds.
19
+ *
20
+ * A qualified invocation uses the config of the version or alias it named, and
21
+ * falls back to the function's own where that qualifier has none, so a
22
+ * function configured once behaves the same however it is addressed. A
23
+ * function with no config at all is retried the default number of times and
24
+ * sends its results nowhere.
25
+ *
26
+ * The dead-letter target comes from the function itself, since that is where
27
+ * AWS keeps it.
28
+ */
29
+ export declare function simLambdaAsyncInvocationSettings(properties: SimLambdaAsyncInvocationSettingsProperties): SimLambdaAsyncInvocationSettings;
30
+ export {};
31
+ //# sourceMappingURL=sim-lambda-async-invocation-settings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-async-invocation-settings.d.ts","sourceRoot":"","sources":["../../../../../../src/service/lambda/command/invoke/async/sim-lambda-async-invocation-settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,wEAAwE,CAAC;AAC9H,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,kEAAkE,CAAC;AAErH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAElF;;;GAGG;AACH,MAAM,WAAW,gCAAiC,SAAQ,4BAA4B;IACpF,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7C;AAED,UAAU,0CAA0C;IAClD,QAAQ,CAAC,WAAW,EAAE,iBAAiB,CAAC;IACxC,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,QAAQ,CAAC,OAAO,EAAE,+BAA+B,GAAG,SAAS,CAAC;CAC/D;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,0CAA0C,GACrD,gCAAgC,CAUlC"}
@@ -0,0 +1,24 @@
1
+ import { defaultSimLambdaEventInvokeSettings } from "../../../function/event-invoke/sim-lambda-event-invoke-settings.js";
2
+ /**
3
+ * Read what an invocation should do from the function and the event invoke
4
+ * config the qualifier it ran under holds.
5
+ *
6
+ * A qualified invocation uses the config of the version or alias it named, and
7
+ * falls back to the function's own where that qualifier has none, so a
8
+ * function configured once behaves the same however it is addressed. A
9
+ * function with no config at all is retried the default number of times and
10
+ * sends its results nowhere.
11
+ *
12
+ * The dead-letter target comes from the function itself, since that is where
13
+ * AWS keeps it.
14
+ */
15
+ export function simLambdaAsyncInvocationSettings(properties) {
16
+ const { simFunction, qualifier, configs } = properties;
17
+ const functionName = simFunction.name;
18
+ const config = configs?.get({ functionName, qualifier }) ?? configs?.get({ functionName });
19
+ return {
20
+ ...(config?.settings ?? defaultSimLambdaEventInvokeSettings()),
21
+ deadLetterArn: simFunction.deadLetterTargetArn,
22
+ };
23
+ }
24
+ //# sourceMappingURL=sim-lambda-async-invocation-settings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-async-invocation-settings.js","sourceRoot":"","sources":["../../../../../../src/service/lambda/command/invoke/async/sim-lambda-async-invocation-settings.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mCAAmC,EAAE,MAAM,oEAAoE,CAAC;AAiBzH;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,gCAAgC,CAC9C,UAAsD;IAEtD,MAAM,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,UAAU,CAAC;IACvD,MAAM,YAAY,GAAG,WAAW,CAAC,IAAI,CAAC;IACtC,MAAM,MAAM,GACV,OAAO,EAAE,GAAG,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC,IAAI,OAAO,EAAE,GAAG,CAAC,EAAE,YAAY,EAAE,CAAC,CAAC;IAE9E,OAAO;QACL,GAAG,CAAC,MAAM,EAAE,QAAQ,IAAI,mCAAmC,EAAE,CAAC;QAC9D,aAAa,EAAE,WAAW,CAAC,mBAAmB;KAC/C,CAAC;AACJ,CAAC"}
@@ -0,0 +1,43 @@
1
+ import type { BackgroundScheduler } from "../../../../../util/background/background.js";
2
+ import type { SimLambdaDestinationTargets } from "../../../destination/sim-lambda-destination-targets.js";
3
+ import type { SimLambdaFunction } from "../../../function/sim-lambda-function.js";
4
+ import type { SimLambdaAsyncInvocationSettings } from "./sim-lambda-async-invocation-settings.js";
5
+ interface SimLambdaAsyncInvocationProperties {
6
+ readonly simFunction: SimLambdaFunction;
7
+ readonly event: unknown;
8
+ readonly settings: SimLambdaAsyncInvocationSettings;
9
+ readonly background: BackgroundScheduler;
10
+ readonly destinations: SimLambdaDestinationTargets;
11
+ }
12
+ /**
13
+ * One asynchronous invocation of a simulated Lambda function, from the first
14
+ * attempt to wherever its result ends up.
15
+ *
16
+ * A handler error is kept from the caller, as real Lambda keeps it: nobody is
17
+ * waiting on an Event invocation. Retries wait on the simulated clock, so a
18
+ * test is in charge of when they happen.
19
+ */
20
+ export declare class SimLambdaAsyncInvocation {
21
+ private readonly properties;
22
+ private readonly outcomes;
23
+ private readonly startedAt;
24
+ private attemptCount;
25
+ constructor(properties: SimLambdaAsyncInvocationProperties);
26
+ /**
27
+ * Accept the invocation and let it run behind the caller.
28
+ */
29
+ start(): void;
30
+ private attempt;
31
+ /**
32
+ * Retry the attempt that threw, or give up where the last one has been
33
+ * made.
34
+ */
35
+ private failed;
36
+ /**
37
+ * Give up on the invocation, telling its failure destination why and
38
+ * dead-lettering the event.
39
+ */
40
+ private abandon;
41
+ }
42
+ export {};
43
+ //# sourceMappingURL=sim-lambda-async-invocation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-async-invocation.d.ts","sourceRoot":"","sources":["../../../../../../src/service/lambda/command/invoke/async/sim-lambda-async-invocation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,wDAAwD,CAAC;AAK1G,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAClF,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,2CAA2C,CAAC;AAOlG,UAAU,kCAAkC;IAC1C,QAAQ,CAAC,WAAW,EAAE,iBAAiB,CAAC;IACxC,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,QAAQ,EAAE,gCAAgC,CAAC;IACpD,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;IACzC,QAAQ,CAAC,YAAY,EAAE,2BAA2B,CAAC;CACpD;AAED;;;;;;;GAOG;AACH,qBAAa,wBAAwB;IACnC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAqC;IAChE,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAgC;IACzD,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAO;IACjC,OAAO,CAAC,YAAY,CAAK;IAEzB,YAAY,UAAU,EAAE,kCAAkC,EAIzD;IAED;;OAEG;IACH,KAAK,IAAI,IAAI,CAIZ;YAEa,OAAO;IAcrB;;;OAGG;YACW,MAAM;IAkBpB;;;OAGG;YACW,OAAO;CAUtB"}
@@ -0,0 +1,64 @@
1
+ import { simLambdaEventTooOld, simLambdaRetryDueTime, } from "../../../function/event-invoke/sim-lambda-event-invoke-settings.js";
2
+ import { simLambdaAbandonedOutcome, SimLambdaAsyncOutcomeDelivery, simLambdaSuccessOutcome, } from "./sim-lambda-async-outcome.js";
3
+ /**
4
+ * One asynchronous invocation of a simulated Lambda function, from the first
5
+ * attempt to wherever its result ends up.
6
+ *
7
+ * A handler error is kept from the caller, as real Lambda keeps it: nobody is
8
+ * waiting on an Event invocation. Retries wait on the simulated clock, so a
9
+ * test is in charge of when they happen.
10
+ */
11
+ export class SimLambdaAsyncInvocation {
12
+ properties;
13
+ outcomes;
14
+ startedAt;
15
+ attemptCount = 0;
16
+ constructor(properties) {
17
+ this.properties = properties;
18
+ this.startedAt = properties.background.now();
19
+ this.outcomes = new SimLambdaAsyncOutcomeDelivery(properties);
20
+ }
21
+ /**
22
+ * Accept the invocation and let it run behind the caller.
23
+ */
24
+ start() {
25
+ this.properties.background.schedule(async () => {
26
+ await this.attempt();
27
+ });
28
+ }
29
+ async attempt() {
30
+ const { simFunction, event } = this.properties;
31
+ this.attemptCount += 1;
32
+ try {
33
+ await this.outcomes.deliver(simLambdaSuccessOutcome(await simFunction.invoke(event)), this.attemptCount);
34
+ }
35
+ catch (error) {
36
+ await this.failed(error);
37
+ }
38
+ }
39
+ /**
40
+ * Retry the attempt that threw, or give up where the last one has been
41
+ * made.
42
+ */
43
+ async failed(error) {
44
+ const { background, settings } = this.properties;
45
+ if (this.attemptCount > settings.maximumRetryAttempts) {
46
+ await this.abandon(error, "RetriesExhausted");
47
+ return;
48
+ }
49
+ background.scheduleAt(simLambdaRetryDueTime(background.now(), this.attemptCount), async () => {
50
+ await (simLambdaEventTooOld(this.startedAt, background.now(), settings)
51
+ ? this.abandon(error, "EventAgeExceeded")
52
+ : this.attempt());
53
+ });
54
+ }
55
+ /**
56
+ * Give up on the invocation, telling its failure destination why and
57
+ * dead-lettering the event.
58
+ */
59
+ async abandon(error, condition) {
60
+ await this.outcomes.deliver(simLambdaAbandonedOutcome(error, condition), this.attemptCount);
61
+ await this.outcomes.deadLetter();
62
+ }
63
+ }
64
+ //# sourceMappingURL=sim-lambda-async-invocation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-async-invocation.js","sourceRoot":"","sources":["../../../../../../src/service/lambda/command/invoke/async/sim-lambda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AAC,UAAU,CAAC;QAEjD,IAAI,IAAI,CAAC,YAAY,GAAG,QAAQ,CAAC,oBAAoB,EAAE,CAAC;YACtD,MAAM,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,kBAAkB,CAAC,CAAC;YAC9C,OAAO;QACT,CAAC;QAED,UAAU,CAAC,UAAU,CACnB,qBAAqB,CAAC,UAAU,CAAC,GAAG,EAAE,EAAE,IAAI,CAAC,YAAY,CAAC,EAC1D,KAAK,IAAI,EAAE;YACT,MAAM,CAAC,oBAAoB,CAAC,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,GAAG,EAAE,EAAE,QAAQ,CAAC;gBACrE,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,kBAAkB,CAAC;gBACzC,CAAC,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;QACtB,CAAC,CACF,CAAC;IACJ,CAAC;IAED;;;OAGG;IACK,KAAK,CAAC,OAAO,CACnB,KAAc,EACd,SAAkD;QAElD,MAAM,IAAI,CAAC,QAAQ,CAAC,OAAO,CACzB,yBAAyB,CAAC,KAAK,EAAE,SAAS,CAAC,EAC3C,IAAI,CAAC,YAAY,CAClB,CAAC;QACF,MAAM,IAAI,CAAC,QAAQ,CAAC,UAAU,EAAE,CAAC;IACnC,CAAC;CACF"}
@@ -0,0 +1,26 @@
1
+ import type { BackgroundScheduler } from "../../../../../util/background/background.js";
2
+ import type { SimLambdaDestinationTargets } from "../../../destination/sim-lambda-destination-targets.js";
3
+ import type { SimLambdaEventInvokeConfigStore } from "../../../function/event-invoke/sim-lambda-event-invoke-config-store.js";
4
+ import type { SimLambdaFunction } from "../../../function/sim-lambda-function.js";
5
+ interface SimLambdaAsyncInvocationsProperties {
6
+ readonly background: BackgroundScheduler;
7
+ readonly destinations: SimLambdaDestinationTargets;
8
+ readonly eventInvokeConfigs: SimLambdaEventInvokeConfigStore | undefined;
9
+ }
10
+ /**
11
+ * Where an accepted Event invocation goes to be run.
12
+ *
13
+ * The retry and destination settings are read at the moment the invocation
14
+ * starts, so a config written afterwards leaves an invocation already running
15
+ * under the one it began with.
16
+ */
17
+ export declare class SimLambdaAsyncInvocations {
18
+ private readonly properties;
19
+ constructor(properties: SimLambdaAsyncInvocationsProperties);
20
+ /**
21
+ * Start one asynchronous invocation behind the caller who asked for it.
22
+ */
23
+ start(simFunction: SimLambdaFunction, event: unknown, qualifier: string | undefined): void;
24
+ }
25
+ export {};
26
+ //# sourceMappingURL=sim-lambda-async-invocations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-async-invocations.d.ts","sourceRoot":"","sources":["../../../../../../src/service/lambda/command/invoke/async/sim-lambda-async-invocations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,wDAAwD,CAAC;AAC1G,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,wEAAwE,CAAC;AAC9H,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAIlF,UAAU,mCAAmC;IAC3C,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;IACzC,QAAQ,CAAC,YAAY,EAAE,2BAA2B,CAAC;IACnD,QAAQ,CAAC,kBAAkB,EAAE,+BAA+B,GAAG,SAAS,CAAC;CAC1E;AAED;;;;;;GAMG;AACH,qBAAa,yBAAyB;IACpC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAsC;IAEjE,YAAY,UAAU,EAAE,mCAAmC,EAE1D;IAED;;OAEG;IACH,KAAK,CACH,WAAW,EAAE,iBAAiB,EAC9B,KAAK,EAAE,OAAO,EACd,SAAS,EAAE,MAAM,GAAG,SAAS,GAC5B,IAAI,CAcN;CACF"}
@@ -0,0 +1,33 @@
1
+ import { SimLambdaAsyncInvocation } from "./sim-lambda-async-invocation.js";
2
+ import { simLambdaAsyncInvocationSettings } from "./sim-lambda-async-invocation-settings.js";
3
+ /**
4
+ * Where an accepted Event invocation goes to be run.
5
+ *
6
+ * The retry and destination settings are read at the moment the invocation
7
+ * starts, so a config written afterwards leaves an invocation already running
8
+ * under the one it began with.
9
+ */
10
+ export class SimLambdaAsyncInvocations {
11
+ properties;
12
+ constructor(properties) {
13
+ this.properties = properties;
14
+ }
15
+ /**
16
+ * Start one asynchronous invocation behind the caller who asked for it.
17
+ */
18
+ start(simFunction, event, qualifier) {
19
+ const { background, destinations, eventInvokeConfigs } = this.properties;
20
+ new SimLambdaAsyncInvocation({
21
+ simFunction,
22
+ event,
23
+ settings: simLambdaAsyncInvocationSettings({
24
+ simFunction,
25
+ qualifier,
26
+ configs: eventInvokeConfigs,
27
+ }),
28
+ background,
29
+ destinations,
30
+ }).start();
31
+ }
32
+ }
33
+ //# sourceMappingURL=sim-lambda-async-invocations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-async-invocations.js","sourceRoot":"","sources":["../../../../../../src/service/lambda/command/invoke/async/sim-lambda-async-invocations.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,EAAE,gCAAgC,EAAE,MAAM,2CAA2C,CAAC;AAQ7F;;;;;;GAMG;AACH,MAAM,OAAO,yBAAyB;IACnB,UAAU,CAAsC;IAEjE,YAAY,UAA+C;QACzD,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;IAED;;OAEG;IACH,KAAK,CACH,WAA8B,EAC9B,KAAc,EACd,SAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,kBAAkB,EAAE,GAAG,IAAI,CAAC,UAAU,CAAC;QAEzE,IAAI,wBAAwB,CAAC;YAC3B,WAAW;YACX,KAAK;YACL,QAAQ,EAAE,gCAAgC,CAAC;gBACzC,WAAW;gBACX,SAAS;gBACT,OAAO,EAAE,kBAAkB;aAC5B,CAAC;YACF,UAAU;YACV,YAAY;SACb,CAAC,CAAC,KAAK,EAAE,CAAC;IACb,CAAC;CACF"}
@@ -0,0 +1,63 @@
1
+ import type { SimClock } from "../../../../../util/clock/sim-clock.js";
2
+ import type { SimLambdaDestinationTargets } from "../../../destination/sim-lambda-destination-targets.js";
3
+ import type { SimLambdaInvocationCondition } from "../../../function/event-invoke/sim-lambda-event-invoke-config.js";
4
+ import type { SimLambdaFunction } from "../../../function/sim-lambda-function.js";
5
+ import type { SimLambdaAsyncInvocationSettings } from "./sim-lambda-async-invocation-settings.js";
6
+ /**
7
+ * How one asynchronous invocation ended.
8
+ */
9
+ export interface SimLambdaAsyncOutcome {
10
+ readonly condition: SimLambdaInvocationCondition;
11
+ readonly responsePayload: unknown;
12
+ readonly functionError?: string | undefined;
13
+ /**
14
+ * Whether an attempt ran to produce this. An event abandoned for age never
15
+ * reached one, so it carries no response context.
16
+ */
17
+ readonly ran: boolean;
18
+ }
19
+ /**
20
+ * The outcome of an invocation whose handler returned.
21
+ */
22
+ export declare function simLambdaSuccessOutcome(result: unknown): SimLambdaAsyncOutcome;
23
+ /**
24
+ * The outcome of an invocation nobody is waiting on any more.
25
+ *
26
+ * An event given up on for age never reached a final attempt, so it reports no
27
+ * error and carries no response context.
28
+ */
29
+ export declare function simLambdaAbandonedOutcome(error: unknown, condition: "RetriesExhausted" | "EventAgeExceeded"): SimLambdaAsyncOutcome;
30
+ interface SimLambdaAsyncOutcomeDeliveryProperties {
31
+ readonly simFunction: SimLambdaFunction;
32
+ readonly settings: SimLambdaAsyncInvocationSettings;
33
+ readonly destinations: SimLambdaDestinationTargets;
34
+ readonly background: SimClock;
35
+ readonly event: unknown;
36
+ }
37
+ /**
38
+ * Where one asynchronous invocation's outcome is sent.
39
+ *
40
+ * A destination that cannot be delivered to is left to reach whoever advanced
41
+ * the clock, since a record that silently goes nowhere is the harder failure
42
+ * to find.
43
+ */
44
+ export declare class SimLambdaAsyncOutcomeDelivery {
45
+ /**
46
+ * The id every record of this invocation carries, which is the one AWS gives
47
+ * the request rather than one per attempt.
48
+ */
49
+ private readonly requestId;
50
+ private readonly properties;
51
+ constructor(properties: SimLambdaAsyncOutcomeDeliveryProperties);
52
+ /**
53
+ * Send the outcome to the destination it belongs to, if there is one.
54
+ */
55
+ deliver(outcome: SimLambdaAsyncOutcome, attemptCount: number): Promise<void>;
56
+ /**
57
+ * Send the invoked event to the function's dead-letter target, if it has
58
+ * one.
59
+ */
60
+ deadLetter(): Promise<void>;
61
+ }
62
+ export {};
63
+ //# sourceMappingURL=sim-lambda-async-outcome.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-async-outcome.d.ts","sourceRoot":"","sources":["../../../../../../src/service/lambda/command/invoke/async/sim-lambda-async-outcome.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAIvE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,wDAAwD,CAAC;AAC1G,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,kEAAkE,CAAC;AACrH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAClF,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,2CAA2C,CAAC;AAElG;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,SAAS,EAAE,4BAA4B,CAAC;IACjD,QAAQ,CAAC,eAAe,EAAE,OAAO,CAAC;IAClC,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE5C;;;OAGG;IACH,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC;CACvB;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,OAAO,GACd,qBAAqB,CAMvB;AAED;;;;;GAKG;AACH,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,OAAO,EACd,SAAS,EAAE,kBAAkB,GAAG,kBAAkB,GACjD,qBAAqB,CASvB;AAED,UAAU,uCAAuC;IAC/C,QAAQ,CAAC,WAAW,EAAE,iBAAiB,CAAC;IACxC,QAAQ,CAAC,QAAQ,EAAE,gCAAgC,CAAC;IACpD,QAAQ,CAAC,YAAY,EAAE,2BAA2B,CAAC;IACnD,QAAQ,CAAC,UAAU,EAAE,QAAQ,CAAC;IAC9B,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;CACzB;AAED;;;;;;GAMG;AACH,qBAAa,6BAA6B;IACxC;;;OAGG;IACH,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAgB;IAE1C,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA0C;IAErE,YAAY,UAAU,EAAE,uCAAuC,EAE9D;IAED;;OAEG;IACG,OAAO,CACX,OAAO,EAAE,qBAAqB,EAC9B,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,IAAI,CAAC,CAwBf;IAED;;;OAGG;IACG,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC,CAYhC;CACF"}
@@ -0,0 +1,88 @@
1
+ import { randomUUID } from "node:crypto";
2
+ import { SimLambdaDestinationArn } from "../../../destination/sim-lambda-destination-arn.js";
3
+ import { functionErrorDocument } from "../invoke-payload.js";
4
+ import { makeSimLambdaDestinationRecord } from "../../../destination/sim-lambda-destination-record.js";
5
+ /**
6
+ * The outcome of an invocation whose handler returned.
7
+ */
8
+ export function simLambdaSuccessOutcome(result) {
9
+ return {
10
+ condition: "Success",
11
+ responsePayload: result ?? null,
12
+ ran: true,
13
+ };
14
+ }
15
+ /**
16
+ * The outcome of an invocation nobody is waiting on any more.
17
+ *
18
+ * An event given up on for age never reached a final attempt, so it reports no
19
+ * error and carries no response context.
20
+ */
21
+ export function simLambdaAbandonedOutcome(error, condition) {
22
+ const ran = condition === "RetriesExhausted";
23
+ return {
24
+ condition,
25
+ responsePayload: ran ? functionErrorDocument(error) : null,
26
+ functionError: ran ? "Unhandled" : undefined,
27
+ ran,
28
+ };
29
+ }
30
+ /**
31
+ * Where one asynchronous invocation's outcome is sent.
32
+ *
33
+ * A destination that cannot be delivered to is left to reach whoever advanced
34
+ * the clock, since a record that silently goes nowhere is the harder failure
35
+ * to find.
36
+ */
37
+ export class SimLambdaAsyncOutcomeDelivery {
38
+ /**
39
+ * The id every record of this invocation carries, which is the one AWS gives
40
+ * the request rather than one per attempt.
41
+ */
42
+ requestId = randomUUID();
43
+ properties;
44
+ constructor(properties) {
45
+ this.properties = properties;
46
+ }
47
+ /**
48
+ * Send the outcome to the destination it belongs to, if there is one.
49
+ */
50
+ async deliver(outcome, attemptCount) {
51
+ const { simFunction, settings, destinations, event } = this.properties;
52
+ const destination = outcome.condition === "Success"
53
+ ? settings.onSuccessArn
54
+ : settings.onFailureArn;
55
+ if (destination === undefined) {
56
+ return;
57
+ }
58
+ await destinations.deliver({
59
+ destinationArn: SimLambdaDestinationArn.of(destination),
60
+ sourceFunctionArn: simFunction.arn,
61
+ record: makeSimLambdaDestinationRecord({
62
+ requestId: this.requestId,
63
+ functionArn: simFunction.arn,
64
+ executedVersion: simFunction.version,
65
+ approximateInvokeCount: attemptCount,
66
+ requestPayload: event,
67
+ timestamp: this.properties.background.now(),
68
+ ...outcome,
69
+ }),
70
+ });
71
+ }
72
+ /**
73
+ * Send the invoked event to the function's dead-letter target, if it has
74
+ * one.
75
+ */
76
+ async deadLetter() {
77
+ const { simFunction, settings, destinations, event } = this.properties;
78
+ if (settings.deadLetterArn === undefined) {
79
+ return;
80
+ }
81
+ await destinations.deadLetter({
82
+ targetArn: SimLambdaDestinationArn.of(settings.deadLetterArn),
83
+ payload: event,
84
+ sourceFunctionArn: simFunction.arn,
85
+ });
86
+ }
87
+ }
88
+ //# sourceMappingURL=sim-lambda-async-outcome.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-async-outcome.js","sourceRoot":"","sources":["../../../../../../src/service/lambda/command/invoke/async/sim-lambda-async-outcome.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;A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