@kensio/yulin 1.18.1 → 1.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (799) hide show
  1. package/dist/sdk/wire/sim-sdk-wire-operation.d.ts +15 -0
  2. package/dist/sdk/wire/sim-sdk-wire-operation.d.ts.map +1 -1
  3. package/dist/sdk/wire/sim-sdk-wire-operation.js +54 -2
  4. package/dist/sdk/wire/sim-sdk-wire-operation.js.map +1 -1
  5. package/dist/serve/http/api/sim-aws-api-endpoint.d.ts +3 -0
  6. package/dist/serve/http/api/sim-aws-api-endpoint.d.ts.map +1 -1
  7. package/dist/serve/http/api/sim-aws-api-endpoint.js +10 -2
  8. package/dist/serve/http/api/sim-aws-api-endpoint.js.map +1 -1
  9. package/dist/service/aws/factory/sim-aws-lambda-collaborators.d.ts +6 -0
  10. package/dist/service/aws/factory/sim-aws-lambda-collaborators.d.ts.map +1 -1
  11. package/dist/service/aws/factory/sim-aws-lambda-collaborators.js +6 -0
  12. package/dist/service/aws/factory/sim-aws-lambda-collaborators.js.map +1 -1
  13. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.d.ts.map +1 -1
  14. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js +15 -0
  15. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js.map +1 -1
  16. package/dist/service/cognito/cfn/client/sim-cfn-cognito-refresh-token-rotation.d.ts +27 -0
  17. package/dist/service/cognito/cfn/client/sim-cfn-cognito-refresh-token-rotation.d.ts.map +1 -0
  18. package/dist/service/cognito/cfn/client/sim-cfn-cognito-refresh-token-rotation.js +35 -0
  19. package/dist/service/cognito/cfn/client/sim-cfn-cognito-refresh-token-rotation.js.map +1 -0
  20. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.d.ts +5 -4
  21. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.d.ts.map +1 -1
  22. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.js +5 -4
  23. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.js.map +1 -1
  24. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-mfa.d.ts +13 -0
  25. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-mfa.d.ts.map +1 -1
  26. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-mfa.js +30 -1
  27. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-mfa.js.map +1 -1
  28. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.d.ts.map +1 -1
  29. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js +9 -0
  30. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js.map +1 -1
  31. package/dist/service/cognito/command/auth/auth.command.d.ts +36 -0
  32. package/dist/service/cognito/command/auth/auth.command.d.ts.map +1 -1
  33. package/dist/service/cognito/command/auth/sim-cognito-answering-user.d.ts +22 -0
  34. package/dist/service/cognito/command/auth/sim-cognito-answering-user.d.ts.map +1 -0
  35. package/dist/service/cognito/command/auth/sim-cognito-answering-user.js +25 -0
  36. package/dist/service/cognito/command/auth/sim-cognito-answering-user.js.map +1 -0
  37. package/dist/service/cognito/command/auth/sim-cognito-auth-challenge.d.ts.map +1 -1
  38. package/dist/service/cognito/command/auth/sim-cognito-auth-challenge.js +9 -0
  39. package/dist/service/cognito/command/auth/sim-cognito-auth-challenge.js.map +1 -1
  40. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.d.ts +8 -0
  41. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.d.ts.map +1 -1
  42. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.js +35 -5
  43. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.js.map +1 -1
  44. package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.d.ts +7 -3
  45. package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.d.ts.map +1 -1
  46. package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.js +9 -3
  47. package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.js.map +1 -1
  48. package/dist/service/cognito/command/auth/sim-cognito-auth-flow.d.ts +6 -0
  49. package/dist/service/cognito/command/auth/sim-cognito-auth-flow.d.ts.map +1 -1
  50. package/dist/service/cognito/command/auth/sim-cognito-auth-flow.js +6 -0
  51. package/dist/service/cognito/command/auth/sim-cognito-auth-flow.js.map +1 -1
  52. package/dist/service/cognito/command/auth/sim-cognito-auth-flows.d.ts +8 -0
  53. package/dist/service/cognito/command/auth/sim-cognito-auth-flows.d.ts.map +1 -1
  54. package/dist/service/cognito/command/auth/sim-cognito-auth-flows.js +16 -2
  55. package/dist/service/cognito/command/auth/sim-cognito-auth-flows.js.map +1 -1
  56. package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.d.ts +7 -0
  57. package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.d.ts.map +1 -1
  58. package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.js +16 -0
  59. package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.js.map +1 -1
  60. package/dist/service/cognito/command/auth/sim-cognito-available-challenges.d.ts +35 -0
  61. package/dist/service/cognito/command/auth/sim-cognito-available-challenges.d.ts.map +1 -0
  62. package/dist/service/cognito/command/auth/sim-cognito-available-challenges.js +83 -0
  63. package/dist/service/cognito/command/auth/sim-cognito-available-challenges.js.map +1 -0
  64. package/dist/service/cognito/command/auth/sim-cognito-challenge-responses.d.ts +3 -0
  65. package/dist/service/cognito/command/auth/sim-cognito-challenge-responses.d.ts.map +1 -1
  66. package/dist/service/cognito/command/auth/sim-cognito-challenge-responses.js +18 -0
  67. package/dist/service/cognito/command/auth/sim-cognito-challenge-responses.js.map +1 -1
  68. package/dist/service/cognito/command/auth/sim-cognito-first-factor-challenge.d.ts +54 -0
  69. package/dist/service/cognito/command/auth/sim-cognito-first-factor-challenge.d.ts.map +1 -0
  70. package/dist/service/cognito/command/auth/sim-cognito-first-factor-challenge.js +87 -0
  71. package/dist/service/cognito/command/auth/sim-cognito-first-factor-challenge.js.map +1 -0
  72. package/dist/service/cognito/command/auth/sim-cognito-first-factor-response.d.ts +55 -0
  73. package/dist/service/cognito/command/auth/sim-cognito-first-factor-response.d.ts.map +1 -0
  74. package/dist/service/cognito/command/auth/sim-cognito-first-factor-response.js +64 -0
  75. package/dist/service/cognito/command/auth/sim-cognito-first-factor-response.js.map +1 -0
  76. package/dist/service/cognito/command/auth/sim-cognito-get-tokens-from-refresh-token.d.ts +35 -0
  77. package/dist/service/cognito/command/auth/sim-cognito-get-tokens-from-refresh-token.d.ts.map +1 -0
  78. package/dist/service/cognito/command/auth/sim-cognito-get-tokens-from-refresh-token.js +51 -0
  79. package/dist/service/cognito/command/auth/sim-cognito-get-tokens-from-refresh-token.js.map +1 -0
  80. package/dist/service/cognito/command/auth/sim-cognito-mfa-challenge.js +1 -1
  81. package/dist/service/cognito/command/auth/sim-cognito-mfa-challenge.js.map +1 -1
  82. package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.d.ts +2 -1
  83. package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.d.ts.map +1 -1
  84. package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.js +2 -2
  85. package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.js.map +1 -1
  86. package/dist/service/cognito/command/auth/sim-cognito-password-response.d.ts +31 -0
  87. package/dist/service/cognito/command/auth/sim-cognito-password-response.d.ts.map +1 -0
  88. package/dist/service/cognito/command/auth/sim-cognito-password-response.js +39 -0
  89. package/dist/service/cognito/command/auth/sim-cognito-password-response.js.map +1 -0
  90. package/dist/service/cognito/command/auth/sim-cognito-password-sign-in.js +1 -1
  91. package/dist/service/cognito/command/auth/sim-cognito-password-sign-in.js.map +1 -1
  92. package/dist/service/cognito/command/auth/sim-cognito-refresh-sign-in.d.ts +3 -8
  93. package/dist/service/cognito/command/auth/sim-cognito-refresh-sign-in.d.ts.map +1 -1
  94. package/dist/service/cognito/command/auth/sim-cognito-refresh-sign-in.js +24 -17
  95. package/dist/service/cognito/command/auth/sim-cognito-refresh-sign-in.js.map +1 -1
  96. package/dist/service/cognito/command/auth/sim-cognito-refreshed-tokens.d.ts +56 -0
  97. package/dist/service/cognito/command/auth/sim-cognito-refreshed-tokens.d.ts.map +1 -0
  98. package/dist/service/cognito/command/auth/sim-cognito-refreshed-tokens.js +50 -0
  99. package/dist/service/cognito/command/auth/sim-cognito-refreshed-tokens.js.map +1 -0
  100. package/dist/service/cognito/command/auth/sim-cognito-unsimulated-auth-options.d.ts.map +1 -1
  101. package/dist/service/cognito/command/auth/sim-cognito-unsimulated-auth-options.js +7 -2
  102. package/dist/service/cognito/command/auth/sim-cognito-unsimulated-auth-options.js.map +1 -1
  103. package/dist/service/cognito/command/auth/sim-cognito-user-auth-sign-in.d.ts +44 -0
  104. package/dist/service/cognito/command/auth/sim-cognito-user-auth-sign-in.d.ts.map +1 -0
  105. package/dist/service/cognito/command/auth/sim-cognito-user-auth-sign-in.js +62 -0
  106. package/dist/service/cognito/command/auth/sim-cognito-user-auth-sign-in.js.map +1 -0
  107. package/dist/service/cognito/command/auth/sim-cognito-web-authn-response.d.ts +30 -0
  108. package/dist/service/cognito/command/auth/sim-cognito-web-authn-response.d.ts.map +1 -0
  109. package/dist/service/cognito/command/auth/sim-cognito-web-authn-response.js +36 -0
  110. package/dist/service/cognito/command/auth/sim-cognito-web-authn-response.js.map +1 -0
  111. package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.d.ts.map +1 -1
  112. package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.js +0 -2
  113. package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.js.map +1 -1
  114. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.d.ts +4 -3
  115. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.d.ts.map +1 -1
  116. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.js +6 -3
  117. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.js.map +1 -1
  118. package/dist/service/cognito/command/client/user-pool-client.command.d.ts +4 -1
  119. package/dist/service/cognito/command/client/user-pool-client.command.d.ts.map +1 -1
  120. package/dist/service/cognito/command/hosted/hosted-auth.command.d.ts +22 -0
  121. package/dist/service/cognito/command/hosted/hosted-auth.command.d.ts.map +1 -1
  122. package/dist/service/cognito/command/hosted/sim-cognito-authorize-endpoint.d.ts +4 -4
  123. package/dist/service/cognito/command/hosted/sim-cognito-authorize-endpoint.js +4 -4
  124. package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.d.ts +6 -0
  125. package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.d.ts.map +1 -1
  126. package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.js +2 -1
  127. package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.js.map +1 -1
  128. package/dist/service/cognito/command/hosted/sim-cognito-hosted-passkey-sign-in.d.ts +65 -0
  129. package/dist/service/cognito/command/hosted/sim-cognito-hosted-passkey-sign-in.d.ts.map +1 -0
  130. package/dist/service/cognito/command/hosted/sim-cognito-hosted-passkey-sign-in.js +71 -0
  131. package/dist/service/cognito/command/hosted/sim-cognito-hosted-passkey-sign-in.js.map +1 -0
  132. package/dist/service/cognito/command/hosted/sim-cognito-hosted-sign-in.d.ts +16 -7
  133. package/dist/service/cognito/command/hosted/sim-cognito-hosted-sign-in.d.ts.map +1 -1
  134. package/dist/service/cognito/command/hosted/sim-cognito-hosted-sign-in.js +26 -7
  135. package/dist/service/cognito/command/hosted/sim-cognito-hosted-sign-in.js.map +1 -1
  136. package/dist/service/cognito/command/hosted/sim-cognito-presented-grant.js +1 -1
  137. package/dist/service/cognito/command/hosted/sim-cognito-presented-grant.js.map +1 -1
  138. package/dist/service/cognito/command/hosted/sim-cognito-token-grants.d.ts +3 -3
  139. package/dist/service/cognito/command/hosted/sim-cognito-token-grants.d.ts.map +1 -1
  140. package/dist/service/cognito/command/hosted/sim-cognito-token-grants.js +5 -4
  141. package/dist/service/cognito/command/hosted/sim-cognito-token-grants.js.map +1 -1
  142. package/dist/service/cognito/command/sim-cognito-command.types.d.ts +2 -1
  143. package/dist/service/cognito/command/sim-cognito-command.types.d.ts.map +1 -1
  144. package/dist/service/cognito/command/sim-cognito-commands.d.ts +2 -0
  145. package/dist/service/cognito/command/sim-cognito-commands.d.ts.map +1 -1
  146. package/dist/service/cognito/command/sim-cognito-commands.js +9 -0
  147. package/dist/service/cognito/command/sim-cognito-commands.js.map +1 -1
  148. package/dist/service/cognito/command/sim-cognito-page.d.ts +10 -0
  149. package/dist/service/cognito/command/sim-cognito-page.d.ts.map +1 -1
  150. package/dist/service/cognito/command/sim-cognito-page.js +11 -7
  151. package/dist/service/cognito/command/sim-cognito-page.js.map +1 -1
  152. package/dist/service/cognito/command/user/sim-cognito-web-authn-commands.d.ts +49 -0
  153. package/dist/service/cognito/command/user/sim-cognito-web-authn-commands.d.ts.map +1 -0
  154. package/dist/service/cognito/command/user/sim-cognito-web-authn-commands.js +88 -0
  155. package/dist/service/cognito/command/user/sim-cognito-web-authn-commands.js.map +1 -0
  156. package/dist/service/cognito/command/user/web-authn.command.d.ts +87 -0
  157. package/dist/service/cognito/command/user/web-authn.command.d.ts.map +1 -0
  158. package/dist/service/cognito/command/user/web-authn.command.js +2 -0
  159. package/dist/service/cognito/command/user/web-authn.command.js.map +1 -0
  160. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-options.d.ts +4 -0
  161. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-options.d.ts.map +1 -1
  162. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-options.js +4 -1
  163. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-options.js.map +1 -1
  164. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.d.ts +5 -3
  165. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.d.ts.map +1 -1
  166. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.js +5 -4
  167. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.js.map +1 -1
  168. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.d.ts +4 -0
  169. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.d.ts.map +1 -1
  170. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.js +9 -1
  171. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.js.map +1 -1
  172. package/dist/service/cognito/command/user-pool/user-pool-mfa.command.d.ts +2 -3
  173. package/dist/service/cognito/command/user-pool/user-pool-mfa.command.d.ts.map +1 -1
  174. package/dist/service/cognito/error/sim-cognito-managed-login.error.d.ts +24 -0
  175. package/dist/service/cognito/error/sim-cognito-managed-login.error.d.ts.map +1 -1
  176. package/dist/service/cognito/error/sim-cognito-managed-login.error.js +37 -0
  177. package/dist/service/cognito/error/sim-cognito-managed-login.error.js.map +1 -1
  178. package/dist/service/cognito/error/sim-cognito-web-authn.error.d.ts +56 -0
  179. package/dist/service/cognito/error/sim-cognito-web-authn.error.d.ts.map +1 -0
  180. package/dist/service/cognito/error/sim-cognito-web-authn.error.js +66 -0
  181. package/dist/service/cognito/error/sim-cognito-web-authn.error.js.map +1 -0
  182. package/dist/service/cognito/index.d.ts +10 -1
  183. package/dist/service/cognito/index.d.ts.map +1 -1
  184. package/dist/service/cognito/index.js +8 -0
  185. package/dist/service/cognito/index.js.map +1 -1
  186. package/dist/service/cognito/sdk/sim-cognito-sdk-auth-routes.d.ts.map +1 -1
  187. package/dist/service/cognito/sdk/sim-cognito-sdk-auth-routes.js +4 -0
  188. package/dist/service/cognito/sdk/sim-cognito-sdk-auth-routes.js.map +1 -1
  189. package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.d.ts +2 -2
  190. package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.d.ts.map +1 -1
  191. package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.js +4 -2
  192. package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.js.map +1 -1
  193. package/dist/service/cognito/sdk/sim-cognito-sdk-web-authn-routes.d.ts +11 -0
  194. package/dist/service/cognito/sdk/sim-cognito-sdk-web-authn-routes.d.ts.map +1 -0
  195. package/dist/service/cognito/sdk/sim-cognito-sdk-web-authn-routes.js +28 -0
  196. package/dist/service/cognito/sdk/sim-cognito-sdk-web-authn-routes.js.map +1 -0
  197. package/dist/service/cognito/serve/page/sim-cognito-managed-login.d.ts +4 -2
  198. package/dist/service/cognito/serve/page/sim-cognito-managed-login.d.ts.map +1 -1
  199. package/dist/service/cognito/serve/page/sim-cognito-managed-login.js +9 -3
  200. package/dist/service/cognito/serve/page/sim-cognito-managed-login.js.map +1 -1
  201. package/dist/service/cognito/serve/page/sim-cognito-passkey-page.d.ts +23 -0
  202. package/dist/service/cognito/serve/page/sim-cognito-passkey-page.d.ts.map +1 -0
  203. package/dist/service/cognito/serve/page/sim-cognito-passkey-page.js +36 -0
  204. package/dist/service/cognito/serve/page/sim-cognito-passkey-page.js.map +1 -0
  205. package/dist/service/cognito/serve/page/sim-cognito-sign-in-page.d.ts +13 -1
  206. package/dist/service/cognito/serve/page/sim-cognito-sign-in-page.d.ts.map +1 -1
  207. package/dist/service/cognito/serve/page/sim-cognito-sign-in-page.js +24 -2
  208. package/dist/service/cognito/serve/page/sim-cognito-sign-in-page.js.map +1 -1
  209. package/dist/service/cognito/sim-cognito-authentication.d.ts +8 -0
  210. package/dist/service/cognito/sim-cognito-authentication.d.ts.map +1 -1
  211. package/dist/service/cognito/sim-cognito-authentication.js +11 -0
  212. package/dist/service/cognito/sim-cognito-authentication.js.map +1 -1
  213. package/dist/service/cognito/sim-cognito-user-factors.d.ts +25 -0
  214. package/dist/service/cognito/sim-cognito-user-factors.d.ts.map +1 -1
  215. package/dist/service/cognito/sim-cognito-user-factors.js +37 -0
  216. package/dist/service/cognito/sim-cognito-user-factors.js.map +1 -1
  217. package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.d.ts +33 -2
  218. package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.d.ts.map +1 -1
  219. package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.js +27 -12
  220. package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.js.map +1 -1
  221. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.d.ts +11 -1
  222. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.d.ts.map +1 -1
  223. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.js +17 -2
  224. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.js.map +1 -1
  225. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.d.ts +41 -0
  226. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.d.ts.map +1 -1
  227. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.js +62 -0
  228. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.js.map +1 -1
  229. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.d.ts +10 -0
  230. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.d.ts.map +1 -1
  231. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.js +19 -0
  232. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.js.map +1 -1
  233. package/dist/service/cognito/user-pool/auth/sim-cognito-refresh-token-input.d.ts +11 -0
  234. package/dist/service/cognito/user-pool/auth/sim-cognito-refresh-token-input.d.ts.map +1 -0
  235. package/dist/service/cognito/user-pool/auth/sim-cognito-refresh-token-input.js +17 -0
  236. package/dist/service/cognito/user-pool/auth/sim-cognito-refresh-token-input.js.map +1 -0
  237. package/dist/service/cognito/user-pool/auth/sim-cognito-refreshable-session.factory.d.ts +61 -0
  238. package/dist/service/cognito/user-pool/auth/sim-cognito-refreshable-session.factory.d.ts.map +1 -0
  239. package/dist/service/cognito/user-pool/auth/sim-cognito-refreshable-session.factory.js +80 -0
  240. package/dist/service/cognito/user-pool/auth/sim-cognito-refreshable-session.factory.js.map +1 -0
  241. package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.d.ts +10 -0
  242. package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.d.ts.map +1 -1
  243. package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.js +14 -0
  244. package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.js.map +1 -1
  245. package/dist/service/cognito/user-pool/client/sim-cognito-auth-session-validity.d.ts +27 -0
  246. package/dist/service/cognito/user-pool/client/sim-cognito-auth-session-validity.d.ts.map +1 -0
  247. package/dist/service/cognito/user-pool/client/sim-cognito-auth-session-validity.js +55 -0
  248. package/dist/service/cognito/user-pool/client/sim-cognito-auth-session-validity.js.map +1 -0
  249. package/dist/service/cognito/user-pool/client/sim-cognito-client-secret.d.ts +10 -0
  250. package/dist/service/cognito/user-pool/client/sim-cognito-client-secret.d.ts.map +1 -1
  251. package/dist/service/cognito/user-pool/client/sim-cognito-client-secret.js +22 -0
  252. package/dist/service/cognito/user-pool/client/sim-cognito-client-secret.js.map +1 -1
  253. package/dist/service/cognito/user-pool/client/sim-cognito-refresh-token-rotation.d.ts +48 -0
  254. package/dist/service/cognito/user-pool/client/sim-cognito-refresh-token-rotation.d.ts.map +1 -0
  255. package/dist/service/cognito/user-pool/client/sim-cognito-refresh-token-rotation.js +79 -0
  256. package/dist/service/cognito/user-pool/client/sim-cognito-refresh-token-rotation.js.map +1 -0
  257. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.d.ts +13 -0
  258. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.d.ts.map +1 -1
  259. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.js +13 -0
  260. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.js.map +1 -1
  261. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.d.ts +12 -0
  262. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.d.ts.map +1 -1
  263. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.js +14 -0
  264. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.js.map +1 -1
  265. package/dist/service/cognito/user-pool/mfa/sim-cognito-relying-party.d.ts +16 -0
  266. package/dist/service/cognito/user-pool/mfa/sim-cognito-relying-party.d.ts.map +1 -0
  267. package/dist/service/cognito/user-pool/mfa/sim-cognito-relying-party.js +32 -0
  268. package/dist/service/cognito/user-pool/mfa/sim-cognito-relying-party.js.map +1 -0
  269. package/dist/service/cognito/user-pool/mfa/sim-cognito-user-pool-mfa.d.ts +16 -0
  270. package/dist/service/cognito/user-pool/mfa/sim-cognito-user-pool-mfa.d.ts.map +1 -1
  271. package/dist/service/cognito/user-pool/mfa/sim-cognito-user-pool-mfa.js +29 -0
  272. package/dist/service/cognito/user-pool/mfa/sim-cognito-user-pool-mfa.js.map +1 -1
  273. package/dist/service/cognito/user-pool/mfa/sim-cognito-web-authn-configuration.d.ts +46 -0
  274. package/dist/service/cognito/user-pool/mfa/sim-cognito-web-authn-configuration.d.ts.map +1 -0
  275. package/dist/service/cognito/user-pool/mfa/sim-cognito-web-authn-configuration.js +73 -0
  276. package/dist/service/cognito/user-pool/mfa/sim-cognito-web-authn-configuration.js.map +1 -0
  277. package/dist/service/cognito/user-pool/sim-cognito-password-policy.d.ts +1 -9
  278. package/dist/service/cognito/user-pool/sim-cognito-password-policy.d.ts.map +1 -1
  279. package/dist/service/cognito/user-pool/sim-cognito-password-policy.js.map +1 -1
  280. package/dist/service/cognito/user-pool/sim-cognito-sign-in-policy.d.ts +60 -0
  281. package/dist/service/cognito/user-pool/sim-cognito-sign-in-policy.d.ts.map +1 -0
  282. package/dist/service/cognito/user-pool/sim-cognito-sign-in-policy.js +100 -0
  283. package/dist/service/cognito/user-pool/sim-cognito-sign-in-policy.js.map +1 -0
  284. package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.d.ts +11 -1
  285. package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.d.ts.map +1 -1
  286. package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.js +12 -1
  287. package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.js.map +1 -1
  288. package/dist/service/cognito/user-pool/sim-cognito-user-pool.d.ts +48 -69
  289. package/dist/service/cognito/user-pool/sim-cognito-user-pool.d.ts.map +1 -1
  290. package/dist/service/cognito/user-pool/sim-cognito-user-pool.js +58 -73
  291. package/dist/service/cognito/user-pool/sim-cognito-user-pool.js.map +1 -1
  292. package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.d.ts +34 -0
  293. package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.d.ts.map +1 -1
  294. package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.js +40 -1
  295. package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.js.map +1 -1
  296. package/dist/service/cognito/user-pool/user/sim-cognito-user.d.ts +13 -18
  297. package/dist/service/cognito/user-pool/user/sim-cognito-user.d.ts.map +1 -1
  298. package/dist/service/cognito/user-pool/user/sim-cognito-user.js +23 -24
  299. package/dist/service/cognito/user-pool/user/sim-cognito-user.js.map +1 -1
  300. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-user-web-authn.d.ts +73 -0
  301. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-user-web-authn.d.ts.map +1 -0
  302. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-user-web-authn.js +113 -0
  303. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-user-web-authn.js.map +1 -0
  304. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-assertion.d.ts +22 -0
  305. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-assertion.d.ts.map +1 -0
  306. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-assertion.js +53 -0
  307. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-assertion.js.map +1 -0
  308. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-attested-key.d.ts +15 -0
  309. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-attested-key.d.ts.map +1 -0
  310. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-attested-key.js +68 -0
  311. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-attested-key.js.map +1 -0
  312. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-ceremony.d.ts +33 -0
  313. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-ceremony.d.ts.map +1 -0
  314. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-ceremony.js +67 -0
  315. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-ceremony.js.map +1 -0
  316. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-client-data.d.ts +24 -0
  317. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-client-data.d.ts.map +1 -0
  318. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-client-data.js +45 -0
  319. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-client-data.js.map +1 -0
  320. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-creation-options.d.ts +28 -0
  321. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-creation-options.d.ts.map +1 -0
  322. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-creation-options.js +41 -0
  323. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-creation-options.js.map +1 -0
  324. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-credential.d.ts +69 -0
  325. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-credential.d.ts.map +1 -0
  326. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-credential.js +69 -0
  327. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-credential.js.map +1 -0
  328. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-device.d.ts +39 -0
  329. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-device.d.ts.map +1 -0
  330. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-device.js +90 -0
  331. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-device.js.map +1 -0
  332. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-document.d.ts +111 -0
  333. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-document.d.ts.map +1 -0
  334. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-document.js +2 -0
  335. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-document.js.map +1 -0
  336. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-keys.d.ts +37 -0
  337. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-keys.d.ts.map +1 -0
  338. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-keys.js +39 -0
  339. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-keys.js.map +1 -0
  340. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-public-key.d.ts +21 -0
  341. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-public-key.d.ts.map +1 -0
  342. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-public-key.js +45 -0
  343. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-public-key.js.map +1 -0
  344. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-signing.d.ts +52 -0
  345. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-signing.d.ts.map +1 -0
  346. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-signing.js +98 -0
  347. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-signing.js.map +1 -0
  348. package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-path.d.ts +5 -4
  349. package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-path.d.ts.map +1 -1
  350. package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-path.js +17 -4
  351. package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-path.js.map +1 -1
  352. package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-request.d.ts +8 -1
  353. package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-request.d.ts.map +1 -1
  354. package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-request.js +10 -3
  355. package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-request.js.map +1 -1
  356. package/dist/service/iam/sigv4/sim-iam-sigv4-signature-check.js +1 -1
  357. package/dist/service/iam/sigv4/sim-iam-sigv4-signature-check.js.map +1 -1
  358. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-creator.d.ts +26 -0
  359. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-creator.d.ts.map +1 -0
  360. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-creator.js +32 -0
  361. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-creator.js.map +1 -0
  362. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-properties.d.ts +40 -0
  363. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-properties.d.ts.map +1 -0
  364. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-properties.js +42 -0
  365. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-properties.js.map +1 -0
  366. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-property-rules.d.ts +12 -0
  367. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-property-rules.d.ts.map +1 -0
  368. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-property-rules.js +26 -0
  369. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-property-rules.js.map +1 -0
  370. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-remover.d.ts +13 -0
  371. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-remover.d.ts.map +1 -0
  372. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-remover.js +20 -0
  373. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-remover.js.map +1 -0
  374. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-destinations.d.ts +26 -0
  375. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-destinations.d.ts.map +1 -0
  376. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-destinations.js +47 -0
  377. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-destinations.js.map +1 -0
  378. package/dist/service/lambda/cfn/function/sim-cfn-lambda-dead-letter-parser.d.ts +20 -0
  379. package/dist/service/lambda/cfn/function/sim-cfn-lambda-dead-letter-parser.d.ts.map +1 -0
  380. package/dist/service/lambda/cfn/function/sim-cfn-lambda-dead-letter-parser.js +29 -0
  381. package/dist/service/lambda/cfn/function/sim-cfn-lambda-dead-letter-parser.js.map +1 -0
  382. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.d.ts +3 -0
  383. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.d.ts.map +1 -1
  384. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.js +4 -0
  385. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.js.map +1 -1
  386. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-deleter.d.ts.map +1 -1
  387. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-deleter.js +5 -0
  388. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-deleter.js.map +1 -1
  389. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.d.ts +1 -0
  390. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.d.ts.map +1 -1
  391. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.js +8 -0
  392. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.js.map +1 -1
  393. package/dist/service/lambda/cfn/sim-cfn-lambda-target-arn.d.ts +35 -0
  394. package/dist/service/lambda/cfn/sim-cfn-lambda-target-arn.d.ts.map +1 -0
  395. package/dist/service/lambda/cfn/sim-cfn-lambda-target-arn.js +73 -0
  396. package/dist/service/lambda/cfn/sim-cfn-lambda-target-arn.js.map +1 -0
  397. package/dist/service/lambda/command/create-function/create-function-input.d.ts +1 -0
  398. package/dist/service/lambda/command/create-function/create-function-input.d.ts.map +1 -1
  399. package/dist/service/lambda/command/create-function/create-function-input.js +3 -1
  400. package/dist/service/lambda/command/create-function/create-function-input.js.map +1 -1
  401. package/dist/service/lambda/command/create-function/create-function.command.d.ts +2 -0
  402. package/dist/service/lambda/command/create-function/create-function.command.d.ts.map +1 -1
  403. package/dist/service/lambda/command/delete-function/delete-function.handler.d.ts +5 -1
  404. package/dist/service/lambda/command/delete-function/delete-function.handler.d.ts.map +1 -1
  405. package/dist/service/lambda/command/delete-function/delete-function.handler.js +5 -1
  406. package/dist/service/lambda/command/delete-function/delete-function.handler.js.map +1 -1
  407. package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.command.d.ts +24 -0
  408. package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.command.d.ts.map +1 -0
  409. package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.command.js +5 -0
  410. package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.command.js.map +1 -0
  411. package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.handler.d.ts +24 -0
  412. package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.handler.d.ts.map +1 -0
  413. package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.handler.js +27 -0
  414. package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.handler.js.map +1 -0
  415. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-authorizer.d.ts +29 -0
  416. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-authorizer.d.ts.map +1 -0
  417. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-authorizer.js +39 -0
  418. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-authorizer.js.map +1 -0
  419. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-input.d.ts +32 -0
  420. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-input.d.ts.map +1 -0
  421. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-input.js +62 -0
  422. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-input.js.map +1 -0
  423. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-request.d.ts +49 -0
  424. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-request.d.ts.map +1 -0
  425. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-request.js +44 -0
  426. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-request.js.map +1 -0
  427. package/dist/service/lambda/command/event-invoke-config/sim-lambda-event-invoke-config-commands.d.ts +49 -0
  428. package/dist/service/lambda/command/event-invoke-config/sim-lambda-event-invoke-config-commands.d.ts.map +1 -0
  429. package/dist/service/lambda/command/event-invoke-config/sim-lambda-event-invoke-config-commands.js +49 -0
  430. package/dist/service/lambda/command/event-invoke-config/sim-lambda-event-invoke-config-commands.js.map +1 -0
  431. package/dist/service/lambda/command/function/sim-lambda-function-commands.d.ts +21 -0
  432. package/dist/service/lambda/command/function/sim-lambda-function-commands.d.ts.map +1 -1
  433. package/dist/service/lambda/command/function/sim-lambda-function-commands.js +43 -0
  434. package/dist/service/lambda/command/function/sim-lambda-function-commands.js.map +1 -1
  435. package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.command.d.ts +25 -0
  436. package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.command.d.ts.map +1 -0
  437. package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.command.js +5 -0
  438. package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.command.js.map +1 -0
  439. package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.handler.d.ts +23 -0
  440. package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.handler.d.ts.map +1 -0
  441. package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.handler.js +27 -0
  442. package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.handler.js.map +1 -0
  443. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation-settings.d.ts +31 -0
  444. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation-settings.d.ts.map +1 -0
  445. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation-settings.js +24 -0
  446. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation-settings.js.map +1 -0
  447. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation.d.ts +43 -0
  448. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation.d.ts.map +1 -0
  449. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation.js +64 -0
  450. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation.js.map +1 -0
  451. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocations.d.ts +26 -0
  452. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocations.d.ts.map +1 -0
  453. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocations.js +33 -0
  454. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocations.js.map +1 -0
  455. package/dist/service/lambda/command/invoke/async/sim-lambda-async-outcome.d.ts +63 -0
  456. package/dist/service/lambda/command/invoke/async/sim-lambda-async-outcome.d.ts.map +1 -0
  457. package/dist/service/lambda/command/invoke/async/sim-lambda-async-outcome.js +88 -0
  458. package/dist/service/lambda/command/invoke/async/sim-lambda-async-outcome.js.map +1 -0
  459. package/dist/service/lambda/command/invoke/invoke-dispatcher.d.ts +10 -3
  460. package/dist/service/lambda/command/invoke/invoke-dispatcher.d.ts.map +1 -1
  461. package/dist/service/lambda/command/invoke/invoke-dispatcher.js +16 -17
  462. package/dist/service/lambda/command/invoke/invoke-dispatcher.js.map +1 -1
  463. package/dist/service/lambda/command/invoke/invoke-payload.d.ts +16 -0
  464. package/dist/service/lambda/command/invoke/invoke-payload.d.ts.map +1 -1
  465. package/dist/service/lambda/command/invoke/invoke-payload.js +14 -4
  466. package/dist/service/lambda/command/invoke/invoke-payload.js.map +1 -1
  467. package/dist/service/lambda/command/invoke/invoke.handler.d.ts +4 -0
  468. package/dist/service/lambda/command/invoke/invoke.handler.d.ts.map +1 -1
  469. package/dist/service/lambda/command/invoke/invoke.handler.js +6 -2
  470. package/dist/service/lambda/command/invoke/invoke.handler.js.map +1 -1
  471. package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.command.d.ts +28 -0
  472. package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.command.d.ts.map +1 -0
  473. package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.command.js +5 -0
  474. package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.command.js.map +1 -0
  475. package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.handler.d.ts +23 -0
  476. package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.handler.d.ts.map +1 -0
  477. package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.handler.js +31 -0
  478. package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.handler.js.map +1 -0
  479. package/dist/service/lambda/command/list-functions/list-functions-authorizer.d.ts +31 -0
  480. package/dist/service/lambda/command/list-functions/list-functions-authorizer.d.ts.map +1 -0
  481. package/dist/service/lambda/command/list-functions/list-functions-authorizer.js +41 -0
  482. package/dist/service/lambda/command/list-functions/list-functions-authorizer.js.map +1 -0
  483. package/dist/service/lambda/command/list-functions/list-functions.command.d.ts +34 -0
  484. package/dist/service/lambda/command/list-functions/list-functions.command.d.ts.map +1 -0
  485. package/dist/service/lambda/command/list-functions/list-functions.command.js +5 -0
  486. package/dist/service/lambda/command/list-functions/list-functions.command.js.map +1 -0
  487. package/dist/service/lambda/command/list-functions/list-functions.handler.d.ts +35 -0
  488. package/dist/service/lambda/command/list-functions/list-functions.handler.d.ts.map +1 -0
  489. package/dist/service/lambda/command/list-functions/list-functions.handler.js +46 -0
  490. package/dist/service/lambda/command/list-functions/list-functions.handler.js.map +1 -0
  491. package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.command.d.ts +31 -0
  492. package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.command.d.ts.map +1 -0
  493. package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.command.js +5 -0
  494. package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.command.js.map +1 -0
  495. package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.handler.d.ts +24 -0
  496. package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.handler.d.ts.map +1 -0
  497. package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.handler.js +32 -0
  498. package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.handler.js.map +1 -0
  499. package/dist/service/lambda/command/sim-lambda-command.types.d.ts +8 -0
  500. package/dist/service/lambda/command/sim-lambda-command.types.d.ts.map +1 -1
  501. package/dist/service/lambda/command/update-function-code/update-function-code-authorizer.d.ts +27 -0
  502. package/dist/service/lambda/command/update-function-code/update-function-code-authorizer.d.ts.map +1 -0
  503. package/dist/service/lambda/command/update-function-code/update-function-code-authorizer.js +37 -0
  504. package/dist/service/lambda/command/update-function-code/update-function-code-authorizer.js.map +1 -0
  505. package/dist/service/lambda/command/update-function-code/update-function-code-input.d.ts +16 -0
  506. package/dist/service/lambda/command/update-function-code/update-function-code-input.d.ts.map +1 -0
  507. package/dist/service/lambda/command/update-function-code/update-function-code-input.js +30 -0
  508. package/dist/service/lambda/command/update-function-code/update-function-code-input.js.map +1 -0
  509. package/dist/service/lambda/command/update-function-code/update-function-code.command.d.ts +41 -0
  510. package/dist/service/lambda/command/update-function-code/update-function-code.command.d.ts.map +1 -0
  511. package/dist/service/lambda/command/update-function-code/update-function-code.command.js +5 -0
  512. package/dist/service/lambda/command/update-function-code/update-function-code.command.js.map +1 -0
  513. package/dist/service/lambda/command/update-function-code/update-function-code.handler.d.ts +52 -0
  514. package/dist/service/lambda/command/update-function-code/update-function-code.handler.d.ts.map +1 -0
  515. package/dist/service/lambda/command/update-function-code/update-function-code.handler.js +72 -0
  516. package/dist/service/lambda/command/update-function-code/update-function-code.handler.js.map +1 -0
  517. package/dist/service/lambda/command/update-function-configuration/update-function-configuration-authorizer.d.ts +28 -0
  518. package/dist/service/lambda/command/update-function-configuration/update-function-configuration-authorizer.d.ts.map +1 -0
  519. package/dist/service/lambda/command/update-function-configuration/update-function-configuration-authorizer.js +38 -0
  520. package/dist/service/lambda/command/update-function-configuration/update-function-configuration-authorizer.js.map +1 -0
  521. package/dist/service/lambda/command/update-function-configuration/update-function-configuration-input.d.ts +23 -0
  522. package/dist/service/lambda/command/update-function-configuration/update-function-configuration-input.d.ts.map +1 -0
  523. package/dist/service/lambda/command/update-function-configuration/update-function-configuration-input.js +31 -0
  524. package/dist/service/lambda/command/update-function-configuration/update-function-configuration-input.js.map +1 -0
  525. package/dist/service/lambda/command/update-function-configuration/update-function-configuration.command.d.ts +44 -0
  526. package/dist/service/lambda/command/update-function-configuration/update-function-configuration.command.d.ts.map +1 -0
  527. package/dist/service/lambda/command/update-function-configuration/update-function-configuration.command.js +5 -0
  528. package/dist/service/lambda/command/update-function-configuration/update-function-configuration.command.js.map +1 -0
  529. package/dist/service/lambda/command/update-function-configuration/update-function-configuration.handler.d.ts +50 -0
  530. package/dist/service/lambda/command/update-function-configuration/update-function-configuration.handler.d.ts.map +1 -0
  531. package/dist/service/lambda/command/update-function-configuration/update-function-configuration.handler.js +61 -0
  532. package/dist/service/lambda/command/update-function-configuration/update-function-configuration.handler.js.map +1 -0
  533. package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.command.d.ts +30 -0
  534. package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.command.d.ts.map +1 -0
  535. package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.command.js +5 -0
  536. package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.command.js.map +1 -0
  537. package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.handler.d.ts +25 -0
  538. package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.handler.d.ts.map +1 -0
  539. package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.handler.js +33 -0
  540. package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.handler.js.map +1 -0
  541. package/dist/service/lambda/destination/deliver/sim-lambda-destination-bus.d.ts +16 -0
  542. package/dist/service/lambda/destination/deliver/sim-lambda-destination-bus.d.ts.map +1 -0
  543. package/dist/service/lambda/destination/deliver/sim-lambda-destination-bus.js +31 -0
  544. package/dist/service/lambda/destination/deliver/sim-lambda-destination-bus.js.map +1 -0
  545. package/dist/service/lambda/destination/deliver/sim-lambda-destination-function.d.ts +13 -0
  546. package/dist/service/lambda/destination/deliver/sim-lambda-destination-function.d.ts.map +1 -0
  547. package/dist/service/lambda/destination/deliver/sim-lambda-destination-function.js +25 -0
  548. package/dist/service/lambda/destination/deliver/sim-lambda-destination-function.js.map +1 -0
  549. package/dist/service/lambda/destination/deliver/sim-lambda-destination-queue.d.ts +15 -0
  550. package/dist/service/lambda/destination/deliver/sim-lambda-destination-queue.d.ts.map +1 -0
  551. package/dist/service/lambda/destination/deliver/sim-lambda-destination-queue.js +25 -0
  552. package/dist/service/lambda/destination/deliver/sim-lambda-destination-queue.js.map +1 -0
  553. package/dist/service/lambda/destination/deliver/sim-lambda-destination-send.d.ts +15 -0
  554. package/dist/service/lambda/destination/deliver/sim-lambda-destination-send.d.ts.map +1 -0
  555. package/dist/service/lambda/destination/deliver/sim-lambda-destination-send.js +2 -0
  556. package/dist/service/lambda/destination/deliver/sim-lambda-destination-send.js.map +1 -0
  557. package/dist/service/lambda/destination/deliver/sim-lambda-destination-topic.d.ts +15 -0
  558. package/dist/service/lambda/destination/deliver/sim-lambda-destination-topic.d.ts.map +1 -0
  559. package/dist/service/lambda/destination/deliver/sim-lambda-destination-topic.js +23 -0
  560. package/dist/service/lambda/destination/deliver/sim-lambda-destination-topic.js.map +1 -0
  561. package/dist/service/lambda/destination/sim-aws-lambda-destinations.d.ts +38 -0
  562. package/dist/service/lambda/destination/sim-aws-lambda-destinations.d.ts.map +1 -0
  563. package/dist/service/lambda/destination/sim-aws-lambda-destinations.js +78 -0
  564. package/dist/service/lambda/destination/sim-aws-lambda-destinations.js.map +1 -0
  565. package/dist/service/lambda/destination/sim-lambda-destination-arn.d.ts +53 -0
  566. package/dist/service/lambda/destination/sim-lambda-destination-arn.d.ts.map +1 -0
  567. package/dist/service/lambda/destination/sim-lambda-destination-arn.js +122 -0
  568. package/dist/service/lambda/destination/sim-lambda-destination-arn.js.map +1 -0
  569. package/dist/service/lambda/destination/sim-lambda-destination-record.d.ts +53 -0
  570. package/dist/service/lambda/destination/sim-lambda-destination-record.d.ts.map +1 -0
  571. package/dist/service/lambda/destination/sim-lambda-destination-record.js +26 -0
  572. package/dist/service/lambda/destination/sim-lambda-destination-record.js.map +1 -0
  573. package/dist/service/lambda/destination/sim-lambda-destination-targets.d.ts +49 -0
  574. package/dist/service/lambda/destination/sim-lambda-destination-targets.d.ts.map +1 -0
  575. package/dist/service/lambda/destination/sim-lambda-destination-targets.js +25 -0
  576. package/dist/service/lambda/destination/sim-lambda-destination-targets.js.map +1 -0
  577. package/dist/service/lambda/function/code/lambda-code-source.d.ts +15 -2
  578. package/dist/service/lambda/function/code/lambda-code-source.d.ts.map +1 -1
  579. package/dist/service/lambda/function/code/lambda-code-source.js +19 -14
  580. package/dist/service/lambda/function/code/lambda-code-source.js.map +1 -1
  581. package/dist/service/lambda/function/code/sim-lambda-code-resolver.d.ts +6 -0
  582. package/dist/service/lambda/function/code/sim-lambda-code-resolver.d.ts.map +1 -1
  583. package/dist/service/lambda/function/code/sim-lambda-code-resolver.js.map +1 -1
  584. package/dist/service/lambda/function/code/sim-lambda-executable-code.d.ts +28 -0
  585. package/dist/service/lambda/function/code/sim-lambda-executable-code.d.ts.map +1 -1
  586. package/dist/service/lambda/function/code/sim-lambda-executable-code.js +10 -0
  587. package/dist/service/lambda/function/code/sim-lambda-executable-code.js.map +1 -1
  588. package/dist/service/lambda/function/code/sim-lambda-vm-zip-code-factory.d.ts.map +1 -1
  589. package/dist/service/lambda/function/code/sim-lambda-vm-zip-code-factory.js +2 -1
  590. package/dist/service/lambda/function/code/sim-lambda-vm-zip-code-factory.js.map +1 -1
  591. package/dist/service/lambda/function/code/sim-lambda-vm-zip-code.d.ts +11 -1
  592. package/dist/service/lambda/function/code/sim-lambda-vm-zip-code.d.ts.map +1 -1
  593. package/dist/service/lambda/function/code/sim-lambda-vm-zip-code.js +16 -0
  594. package/dist/service/lambda/function/code/sim-lambda-vm-zip-code.js.map +1 -1
  595. package/dist/service/lambda/{command/create-function/create-function-environment-names.d.ts → function/environment/lambda-environment-variable-names.d.ts} +1 -1
  596. package/dist/service/lambda/function/environment/lambda-environment-variable-names.d.ts.map +1 -0
  597. package/dist/service/lambda/{command/create-function/create-function-environment-names.js → function/environment/lambda-environment-variable-names.js} +1 -1
  598. package/dist/service/lambda/function/environment/lambda-environment-variable-names.js.map +1 -0
  599. package/dist/service/lambda/{command/create-function/create-function-environment.d.ts → function/environment/lambda-environment-variables.d.ts} +2 -2
  600. package/dist/service/lambda/function/environment/lambda-environment-variables.d.ts.map +1 -0
  601. package/dist/service/lambda/{command/create-function/create-function-environment.js → function/environment/lambda-environment-variables.js} +2 -2
  602. package/dist/service/lambda/function/environment/lambda-environment-variables.js.map +1 -0
  603. package/dist/service/lambda/function/environment/lambda-reserved-variable-names.d.ts.map +1 -0
  604. package/dist/service/lambda/function/environment/lambda-reserved-variable-names.js.map +1 -0
  605. package/dist/service/lambda/function/event-invoke/lambda-dead-letter-target.d.ts +17 -0
  606. package/dist/service/lambda/function/event-invoke/lambda-dead-letter-target.d.ts.map +1 -0
  607. package/dist/service/lambda/function/event-invoke/lambda-dead-letter-target.js +26 -0
  608. package/dist/service/lambda/function/event-invoke/lambda-dead-letter-target.js.map +1 -0
  609. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config-store.d.ts +58 -0
  610. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config-store.d.ts.map +1 -0
  611. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config-store.js +86 -0
  612. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config-store.js.map +1 -0
  613. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config.d.ts +117 -0
  614. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config.d.ts.map +1 -0
  615. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config.js +37 -0
  616. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config.js.map +1 -0
  617. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-settings.d.ts +35 -0
  618. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-settings.d.ts.map +1 -0
  619. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-settings.js +70 -0
  620. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-settings.js.map +1 -0
  621. package/dist/service/lambda/function/sim-lambda-function-configuration.d.ts +3 -0
  622. package/dist/service/lambda/function/sim-lambda-function-configuration.d.ts.map +1 -1
  623. package/dist/service/lambda/function/sim-lambda-function-configuration.factory.d.ts +11 -0
  624. package/dist/service/lambda/function/sim-lambda-function-configuration.factory.d.ts.map +1 -0
  625. package/dist/service/lambda/function/sim-lambda-function-configuration.factory.js +27 -0
  626. package/dist/service/lambda/function/sim-lambda-function-configuration.factory.js.map +1 -0
  627. package/dist/service/lambda/function/sim-lambda-function-reconfiguration.d.ts +40 -0
  628. package/dist/service/lambda/function/sim-lambda-function-reconfiguration.d.ts.map +1 -0
  629. package/dist/service/lambda/function/sim-lambda-function-reconfiguration.js +66 -0
  630. package/dist/service/lambda/function/sim-lambda-function-reconfiguration.js.map +1 -0
  631. package/dist/service/lambda/function/sim-lambda-function.d.ts +36 -56
  632. package/dist/service/lambda/function/sim-lambda-function.d.ts.map +1 -1
  633. package/dist/service/lambda/function/sim-lambda-function.js +50 -23
  634. package/dist/service/lambda/function/sim-lambda-function.js.map +1 -1
  635. package/dist/service/lambda/function/sim-lambda-function.type.d.ts +58 -0
  636. package/dist/service/lambda/function/sim-lambda-function.type.d.ts.map +1 -0
  637. package/dist/service/lambda/function/sim-lambda-function.type.js +2 -0
  638. package/dist/service/lambda/function/sim-lambda-function.type.js.map +1 -0
  639. package/dist/service/lambda/index.d.ts +2 -0
  640. package/dist/service/lambda/index.d.ts.map +1 -1
  641. package/dist/service/lambda/sdk/sim-lambda-event-invoke-config-routes.d.ts +10 -0
  642. package/dist/service/lambda/sdk/sim-lambda-event-invoke-config-routes.d.ts.map +1 -0
  643. package/dist/service/lambda/sdk/sim-lambda-event-invoke-config-routes.js +32 -0
  644. package/dist/service/lambda/sdk/sim-lambda-event-invoke-config-routes.js.map +1 -0
  645. package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.d.ts.map +1 -1
  646. package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.js +14 -0
  647. package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.js.map +1 -1
  648. package/dist/service/lambda/serve/api/sim-lambda-api-function-input.d.ts +27 -0
  649. package/dist/service/lambda/serve/api/sim-lambda-api-function-input.d.ts.map +1 -0
  650. package/dist/service/lambda/serve/api/sim-lambda-api-function-input.js +76 -0
  651. package/dist/service/lambda/serve/api/sim-lambda-api-function-input.js.map +1 -0
  652. package/dist/service/lambda/serve/api/sim-lambda-api-function-routes.d.ts.map +1 -1
  653. package/dist/service/lambda/serve/api/sim-lambda-api-function-routes.js +19 -58
  654. package/dist/service/lambda/serve/api/sim-lambda-api-function-routes.js.map +1 -1
  655. package/dist/service/lambda/sim-lambda-commands.d.ts +11 -0
  656. package/dist/service/lambda/sim-lambda-commands.d.ts.map +1 -1
  657. package/dist/service/lambda/sim-lambda-commands.js +18 -1
  658. package/dist/service/lambda/sim-lambda-commands.js.map +1 -1
  659. package/dist/service/lambda/sim-lambda-event-invoke-operations.d.ts +23 -0
  660. package/dist/service/lambda/sim-lambda-event-invoke-operations.d.ts.map +1 -0
  661. package/dist/service/lambda/sim-lambda-event-invoke-operations.js +31 -0
  662. package/dist/service/lambda/sim-lambda-event-invoke-operations.js.map +1 -0
  663. package/dist/service/lambda/sim-lambda-inspection.d.ts +9 -0
  664. package/dist/service/lambda/sim-lambda-inspection.d.ts.map +1 -1
  665. package/dist/service/lambda/sim-lambda-inspection.js +13 -0
  666. package/dist/service/lambda/sim-lambda-inspection.js.map +1 -1
  667. package/dist/service/lambda/sim-lambda-request-options.d.ts +8 -0
  668. package/dist/service/lambda/sim-lambda-request-options.d.ts.map +1 -0
  669. package/dist/service/lambda/sim-lambda-request-options.js +2 -0
  670. package/dist/service/lambda/sim-lambda-request-options.js.map +1 -0
  671. package/dist/service/lambda/sim-lambda.d.ts +12 -7
  672. package/dist/service/lambda/sim-lambda.d.ts.map +1 -1
  673. package/dist/service/lambda/sim-lambda.js +16 -3
  674. package/dist/service/lambda/sim-lambda.js.map +1 -1
  675. package/dist/service/s3/bucket/notification/sim-s3-notification-event.d.ts +1 -1
  676. package/dist/service/s3/bucket/notification/sim-s3-notification-event.d.ts.map +1 -1
  677. package/dist/service/s3/bucket/notification/sim-s3-notification-event.js +7 -1
  678. package/dist/service/s3/bucket/notification/sim-s3-notification-event.js.map +1 -1
  679. package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.d.ts.map +1 -1
  680. package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.js +0 -1
  681. package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.js.map +1 -1
  682. package/dist/service/s3/command/copy-object/copy-object-builder.d.ts +34 -0
  683. package/dist/service/s3/command/copy-object/copy-object-builder.d.ts.map +1 -0
  684. package/dist/service/s3/command/copy-object/copy-object-builder.js +40 -0
  685. package/dist/service/s3/command/copy-object/copy-object-builder.js.map +1 -0
  686. package/dist/service/s3/command/copy-object/copy-object-source.d.ts +37 -0
  687. package/dist/service/s3/command/copy-object/copy-object-source.d.ts.map +1 -0
  688. package/dist/service/s3/command/copy-object/copy-object-source.js +80 -0
  689. package/dist/service/s3/command/copy-object/copy-object-source.js.map +1 -0
  690. package/dist/service/s3/command/copy-object/copy-object.command.d.ts +41 -0
  691. package/dist/service/s3/command/copy-object/copy-object.command.d.ts.map +1 -0
  692. package/dist/service/s3/command/copy-object/copy-object.command.js +2 -0
  693. package/dist/service/s3/command/copy-object/copy-object.command.js.map +1 -0
  694. package/dist/service/s3/command/copy-object/copy-object.handler.d.ts +43 -0
  695. package/dist/service/s3/command/copy-object/copy-object.handler.d.ts.map +1 -0
  696. package/dist/service/s3/command/copy-object/copy-object.handler.js +76 -0
  697. package/dist/service/s3/command/copy-object/copy-object.handler.js.map +1 -0
  698. package/dist/service/s3/command/object/sim-s3-object-commands.d.ts +4 -0
  699. package/dist/service/s3/command/object/sim-s3-object-commands.d.ts.map +1 -1
  700. package/dist/service/s3/command/object/sim-s3-object-commands.js +7 -0
  701. package/dist/service/s3/command/object/sim-s3-object-commands.js.map +1 -1
  702. package/dist/service/s3/command/sim-s3-command.types.d.ts +1 -0
  703. package/dist/service/s3/command/sim-s3-command.types.d.ts.map +1 -1
  704. package/dist/service/s3/error/sim-s3.error.d.ts +11 -0
  705. package/dist/service/s3/error/sim-s3.error.d.ts.map +1 -1
  706. package/dist/service/s3/error/sim-s3.error.js +13 -0
  707. package/dist/service/s3/error/sim-s3.error.js.map +1 -1
  708. package/dist/service/s3/sdk/sim-s3-sdk-command-router.d.ts.map +1 -1
  709. package/dist/service/s3/sdk/sim-s3-sdk-command-router.js +4 -0
  710. package/dist/service/s3/sdk/sim-s3-sdk-command-router.js.map +1 -1
  711. package/dist/service/s3/serve/api/sim-s3-api-object-input.d.ts +14 -0
  712. package/dist/service/s3/serve/api/sim-s3-api-object-input.d.ts.map +1 -1
  713. package/dist/service/s3/serve/api/sim-s3-api-object-input.js +20 -0
  714. package/dist/service/s3/serve/api/sim-s3-api-object-input.js.map +1 -1
  715. package/dist/service/s3/serve/api/sim-s3-api-object-output.d.ts +14 -0
  716. package/dist/service/s3/serve/api/sim-s3-api-object-output.d.ts.map +1 -1
  717. package/dist/service/s3/serve/api/sim-s3-api-object-output.js +12 -0
  718. package/dist/service/s3/serve/api/sim-s3-api-object-output.js.map +1 -1
  719. package/dist/service/s3/serve/api/sim-s3-api-object-routes.d.ts.map +1 -1
  720. package/dist/service/s3/serve/api/sim-s3-api-object-routes.js +23 -1
  721. package/dist/service/s3/serve/api/sim-s3-api-object-routes.js.map +1 -1
  722. package/dist/service/s3/serve/api/sim-s3-api-output.d.ts.map +1 -1
  723. package/dist/service/s3/serve/api/sim-s3-api-output.js +7 -1
  724. package/dist/service/s3/serve/api/sim-s3-api-output.js.map +1 -1
  725. package/dist/service/s3/serve/api/sim-s3-api-route.type.d.ts +14 -3
  726. package/dist/service/s3/serve/api/sim-s3-api-route.type.d.ts.map +1 -1
  727. package/dist/service/s3/serve/api/sim-s3-api-routes.d.ts.map +1 -1
  728. package/dist/service/s3/serve/api/sim-s3-api-routes.js +2 -1
  729. package/dist/service/s3/serve/api/sim-s3-api-routes.js.map +1 -1
  730. package/dist/service/s3/sim-s3-operations.d.ts +2 -0
  731. package/dist/service/s3/sim-s3-operations.d.ts.map +1 -1
  732. package/dist/service/s3/sim-s3-operations.js +4 -0
  733. package/dist/service/s3/sim-s3-operations.js.map +1 -1
  734. package/dist/service/wafv2/command/web-acl/sim-wafv2-web-acl-commands.d.ts +2 -0
  735. package/dist/service/wafv2/command/web-acl/sim-wafv2-web-acl-commands.d.ts.map +1 -1
  736. package/dist/service/wafv2/command/web-acl/sim-wafv2-web-acl-commands.js +3 -0
  737. package/dist/service/wafv2/command/web-acl/sim-wafv2-web-acl-commands.js.map +1 -1
  738. package/dist/service/wafv2/index.d.ts +1 -0
  739. package/dist/service/wafv2/index.d.ts.map +1 -1
  740. package/dist/service/wafv2/index.js.map +1 -1
  741. package/dist/service/wafv2/managed/sim-waf-managed-group-statement.d.ts.map +1 -1
  742. package/dist/service/wafv2/managed/sim-waf-managed-group-statement.js +1 -0
  743. package/dist/service/wafv2/managed/sim-waf-managed-group-statement.js.map +1 -1
  744. package/dist/service/wafv2/sim-wafv2-commands.d.ts.map +1 -1
  745. package/dist/service/wafv2/sim-wafv2-commands.js +3 -0
  746. package/dist/service/wafv2/sim-wafv2-commands.js.map +1 -1
  747. package/dist/service/wafv2/sim-wafv2.d.ts.map +1 -1
  748. package/dist/service/wafv2/sim-wafv2.js +1 -0
  749. package/dist/service/wafv2/sim-wafv2.js.map +1 -1
  750. package/dist/service/wafv2/statement/sim-waf-rate-based-input.d.ts +49 -0
  751. package/dist/service/wafv2/statement/sim-waf-rate-based-input.d.ts.map +1 -0
  752. package/dist/service/wafv2/statement/sim-waf-rate-based-input.js +94 -0
  753. package/dist/service/wafv2/statement/sim-waf-rate-based-input.js.map +1 -0
  754. package/dist/service/wafv2/statement/sim-waf-rate-based.d.ts +22 -0
  755. package/dist/service/wafv2/statement/sim-waf-rate-based.d.ts.map +1 -0
  756. package/dist/service/wafv2/statement/sim-waf-rate-based.js +41 -0
  757. package/dist/service/wafv2/statement/sim-waf-rate-based.js.map +1 -0
  758. package/dist/service/wafv2/statement/sim-waf-rate-based.type.d.ts +18 -0
  759. package/dist/service/wafv2/statement/sim-waf-rate-based.type.d.ts.map +1 -0
  760. package/dist/service/wafv2/statement/sim-waf-rate-based.type.js +2 -0
  761. package/dist/service/wafv2/statement/sim-waf-rate-based.type.js.map +1 -0
  762. package/dist/service/wafv2/statement/sim-waf-rate-counter.d.ts +29 -0
  763. package/dist/service/wafv2/statement/sim-waf-rate-counter.d.ts.map +1 -0
  764. package/dist/service/wafv2/statement/sim-waf-rate-counter.js +35 -0
  765. package/dist/service/wafv2/statement/sim-waf-rate-counter.js.map +1 -0
  766. package/dist/service/wafv2/statement/sim-waf-statement.d.ts +6 -0
  767. package/dist/service/wafv2/statement/sim-waf-statement.d.ts.map +1 -1
  768. package/dist/service/wafv2/statement/sim-waf-statement.js +4 -0
  769. package/dist/service/wafv2/statement/sim-waf-statement.js.map +1 -1
  770. package/dist/service/wafv2/statement/sim-waf-statement.type.d.ts +2 -1
  771. package/dist/service/wafv2/statement/sim-waf-statement.type.d.ts.map +1 -1
  772. package/dist/service/wafv2/statement/sim-waf-unsimulated-rate-based.d.ts +10 -0
  773. package/dist/service/wafv2/statement/sim-waf-unsimulated-rate-based.d.ts.map +1 -0
  774. package/dist/service/wafv2/statement/sim-waf-unsimulated-rate-based.js +40 -0
  775. package/dist/service/wafv2/statement/sim-waf-unsimulated-rate-based.js.map +1 -0
  776. package/dist/service/wafv2/statement/sim-waf-unsimulated-statement.d.ts.map +1 -1
  777. package/dist/service/wafv2/statement/sim-waf-unsimulated-statement.js +0 -5
  778. package/dist/service/wafv2/statement/sim-waf-unsimulated-statement.js.map +1 -1
  779. package/dist/service/wafv2/web-acl/sim-waf-rule-evaluator.d.ts.map +1 -1
  780. package/dist/service/wafv2/web-acl/sim-waf-rule-evaluator.js +25 -2
  781. package/dist/service/wafv2/web-acl/sim-waf-rule-evaluator.js.map +1 -1
  782. package/dist/service/wafv2/web-acl/sim-waf-rule.type.d.ts +6 -0
  783. package/dist/service/wafv2/web-acl/sim-waf-rule.type.d.ts.map +1 -1
  784. package/dist/service/wafv2/web-acl/sim-waf-web-acl-capacity.d.ts.map +1 -1
  785. package/dist/service/wafv2/web-acl/sim-waf-web-acl-capacity.js +16 -1
  786. package/dist/service/wafv2/web-acl/sim-waf-web-acl-capacity.js.map +1 -1
  787. package/dist/util/clock/sim-clock-control.d.ts +8 -0
  788. package/dist/util/clock/sim-clock-control.d.ts.map +1 -1
  789. package/dist/util/clock/sim-clock-control.js +10 -1
  790. package/dist/util/clock/sim-clock-control.js.map +1 -1
  791. package/package.json +1 -1
  792. package/dist/service/lambda/command/create-function/create-function-environment-names.d.ts.map +0 -1
  793. package/dist/service/lambda/command/create-function/create-function-environment-names.js.map +0 -1
  794. package/dist/service/lambda/command/create-function/create-function-environment.d.ts.map +0 -1
  795. package/dist/service/lambda/command/create-function/create-function-environment.js.map +0 -1
  796. package/dist/service/lambda/command/create-function/lambda-reserved-variable-names.d.ts.map +0 -1
  797. package/dist/service/lambda/command/create-function/lambda-reserved-variable-names.js.map +0 -1
  798. /package/dist/service/lambda/{command/create-function → function/environment}/lambda-reserved-variable-names.d.ts +0 -0
  799. /package/dist/service/lambda/{command/create-function → function/environment}/lambda-reserved-variable-names.js +0 -0
@@ -0,0 +1,122 @@
1
+ import { SimLambdaInvalidParameterValueException } from "../error/sim-lambda.error.js";
2
+ /**
3
+ * The services an asynchronous invocation result can be sent to.
4
+ */
5
+ export const simLambdaDestinationServices = [
6
+ "sqs",
7
+ "sns",
8
+ "events",
9
+ "lambda",
10
+ ];
11
+ /**
12
+ * The fewest colon separated parts any destination ARN has.
13
+ */
14
+ const minimumArnParts = 6;
15
+ const destinationServices = new Set(simLambdaDestinationServices);
16
+ function isDestinationService(value) {
17
+ return destinationServices.has(value);
18
+ }
19
+ /**
20
+ * The ARN of somewhere an asynchronous invocation result is sent.
21
+ *
22
+ * Destination ARNs are read here rather than by `parseSimArn`, because the four
23
+ * services write their resource part three ways. A queue and a topic put the
24
+ * name straight after the Account, a function writes `function:<name>`, and an
25
+ * event bus writes `event-bus/<name>`.
26
+ */
27
+ export class SimLambdaDestinationArn {
28
+ value;
29
+ service;
30
+ regionName;
31
+ accountId;
32
+ /**
33
+ * The resource part of the ARN, with no type separator taken off it.
34
+ */
35
+ resource;
36
+ constructor(properties) {
37
+ this.value = properties.value;
38
+ this.service = properties.service;
39
+ this.regionName = properties.regionName;
40
+ this.accountId = properties.accountId;
41
+ this.resource = properties.resource;
42
+ }
43
+ /**
44
+ * Read a destination ARN, refusing one this simulation cannot send to.
45
+ *
46
+ * A destination naming an unsimulated service is refused when the config is
47
+ * written rather than when an invocation first fails, so a function that
48
+ * could never deliver says so at the point it was set up.
49
+ */
50
+ static of(value) {
51
+ const parts = value.split(":");
52
+ const [prefix, partition, service, regionName, accountId] = parts;
53
+ const resource = parts.slice(minimumArnParts - 1).join(":");
54
+ if (prefix !== "arn" ||
55
+ partition !== "aws" ||
56
+ service === undefined ||
57
+ regionName === undefined ||
58
+ regionName === "" ||
59
+ accountId === undefined ||
60
+ accountId === "" ||
61
+ resource === "" ||
62
+ parts.length < minimumArnParts) {
63
+ throw new SimLambdaInvalidParameterValueException(`The destination ARN ${value} is not an ARN.`);
64
+ }
65
+ if (!isDestinationService(service)) {
66
+ throw new SimLambdaInvalidParameterValueException(`The destination ARN ${value} names ${service}, and a simulated ` +
67
+ "Lambda invocation result is sent to " +
68
+ `${simLambdaDestinationServices.join(", ")} destinations only.`);
69
+ }
70
+ const arn = new this({
71
+ value,
72
+ service,
73
+ regionName: regionName,
74
+ accountId: accountId,
75
+ resource,
76
+ });
77
+ this.refuseUnnamedResource(arn);
78
+ return arn;
79
+ }
80
+ /**
81
+ * Refuse an ARN of the right service that names nothing in it.
82
+ */
83
+ static refuseUnnamedResource(arn) {
84
+ if (arn.service === "lambda" && arn.functionName === "") {
85
+ throw new SimLambdaInvalidParameterValueException(`The destination ARN ${arn.value} names no function. A function ` +
86
+ "destination is " +
87
+ "arn:aws:lambda:<region>:<account-id>:function:<function-name>");
88
+ }
89
+ if (arn.service === "events" && arn.eventBusName === "") {
90
+ throw new SimLambdaInvalidParameterValueException(`The destination ARN ${arn.value} names no event bus. An ` +
91
+ "EventBridge destination is " +
92
+ "arn:aws:events:<region>:<account-id>:event-bus/<bus-name>");
93
+ }
94
+ }
95
+ /**
96
+ * The name of a Lambda function this ARN names, or nothing when it names
97
+ * something else in Lambda.
98
+ */
99
+ get functionName() {
100
+ const [resourceType, name = ""] = this.resource.split(":", 3);
101
+ return resourceType === "function" ? name : "";
102
+ }
103
+ /**
104
+ * The version or alias this ARN qualified the function with.
105
+ */
106
+ get functionQualifier() {
107
+ const [resourceType, , qualifier] = this.resource.split(":", 3);
108
+ return resourceType === "function" ? qualifier : undefined;
109
+ }
110
+ /**
111
+ * The name of the event bus this ARN names, or nothing when it names
112
+ * something else in EventBridge.
113
+ */
114
+ get eventBusName() {
115
+ const [resourceType, name = "", beyond] = this.resource.split("/", 3);
116
+ if (resourceType !== "event-bus" || beyond !== undefined) {
117
+ return "";
118
+ }
119
+ return name;
120
+ }
121
+ }
122
+ //# sourceMappingURL=sim-lambda-destination-arn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-destination-arn.js","sourceRoot":"","sources":["../../../../src/service/lambda/destination/sim-lambda-destination-arn.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,uCAAuC,EAAE,MAAM,8BAA8B,CAAC;AAEvF;;GAEG;AACH,MAAM,CAAC,MAA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Q,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;QAE9D,OAAO,YAAY,KAAK,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC;IACjD,CAAC;IAED;;OAEG;IACH,IAAI,iBAAiB;QACnB,MAAM,CAAC,YAAY,EAAE,AAAD,EAAG,SAAS,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;QAEhE,OAAO,YAAY,KAAK,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;IAC7D,CAAC;IAED;;;OAGG;IACH,IAAI,YAAY;QACd,MAAM,CAAC,YAAY,EAAE,IAAI,GAAG,EAAE,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;QAEtE,IAAI,YAAY,KAAK,WAAW,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACzD,OAAO,EAAE,CAAC;QACZ,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;CACF"}
@@ -0,0 +1,53 @@
1
+ import type { SimLambdaInvocationCondition } from "../function/event-invoke/sim-lambda-event-invoke-config.js";
2
+ /**
3
+ * What Lambda reports about the invocation that produced a destination
4
+ * record.
5
+ */
6
+ export interface SimLambdaDestinationRequestContext {
7
+ requestId: string;
8
+ functionArn: string;
9
+ condition: SimLambdaInvocationCondition;
10
+ approximateInvokeCount: number;
11
+ }
12
+ /**
13
+ * What Lambda reports about the attempt that ended the invocation.
14
+ *
15
+ * An invocation abandoned for age never ran a final attempt, so it carries no
16
+ * response context.
17
+ */
18
+ export interface SimLambdaDestinationResponseContext {
19
+ statusCode: number;
20
+ executedVersion: string;
21
+ functionError?: string | undefined;
22
+ }
23
+ /**
24
+ * The document Lambda sends to an OnSuccess or OnFailure destination.
25
+ *
26
+ * https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html
27
+ */
28
+ export interface SimLambdaDestinationRecord {
29
+ version: string;
30
+ timestamp: string;
31
+ requestContext: SimLambdaDestinationRequestContext;
32
+ requestPayload: unknown;
33
+ responseContext?: SimLambdaDestinationResponseContext | undefined;
34
+ responsePayload: unknown;
35
+ }
36
+ interface MakeSimLambdaDestinationRecordProperties {
37
+ readonly requestId: string;
38
+ readonly functionArn: string;
39
+ readonly executedVersion: string;
40
+ readonly condition: SimLambdaInvocationCondition;
41
+ readonly approximateInvokeCount: number;
42
+ readonly timestamp: Date;
43
+ readonly requestPayload: unknown;
44
+ readonly responsePayload: unknown;
45
+ readonly functionError?: string | undefined;
46
+ readonly ran: boolean;
47
+ }
48
+ /**
49
+ * Build the record one asynchronous invocation sends to its destination.
50
+ */
51
+ export declare function makeSimLambdaDestinationRecord(properties: MakeSimLambdaDestinationRecordProperties): SimLambdaDestinationRecord;
52
+ export {};
53
+ //# sourceMappingURL=sim-lambda-destination-record.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-destination-record.d.ts","sourceRoot":"","sources":["../../../../src/service/lambda/destination/sim-lambda-destination-record.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,4DAA4D,CAAC;AAE/G;;;GAGG;AACH,MAAM,WAAW,kCAAkC;IACjD,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,4BAA4B,CAAC;IACxC,sBAAsB,EAAE,MAAM,CAAC;CAChC;AAED;;;;;GAKG;AACH,MAAM,WAAW,mCAAmC;IAClD,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACpC;AAED;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,kCAAkC,CAAC;IACnD,cAAc,EAAE,OAAO,CAAC;IACxB,eAAe,CAAC,EAAE,mCAAmC,GAAG,SAAS,CAAC;IAClE,eAAe,EAAE,OAAO,CAAC;CAC1B;AAED,UAAU,wCAAwC;IAChD,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,SAAS,EAAE,4BAA4B,CAAC;IACjD,QAAQ,CAAC,sBAAsB,EAAE,MAAM,CAAC;IACxC,QAAQ,CAAC,SAAS,EAAE,IAAI,CAAC;IACzB,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC;IACjC,QAAQ,CAAC,eAAe,EAAE,OAAO,CAAC;IAClC,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5C,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC;CACvB;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,wCAAwC,GACnD,0BAA0B,CAuB5B"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Build the record one asynchronous invocation sends to its destination.
3
+ */
4
+ export function makeSimLambdaDestinationRecord(properties) {
5
+ const record = {
6
+ version: "1.0",
7
+ timestamp: properties.timestamp.toISOString(),
8
+ requestContext: {
9
+ requestId: properties.requestId,
10
+ functionArn: properties.functionArn,
11
+ condition: properties.condition,
12
+ approximateInvokeCount: properties.approximateInvokeCount,
13
+ },
14
+ requestPayload: properties.requestPayload,
15
+ responsePayload: properties.responsePayload,
16
+ };
17
+ if (properties.ran) {
18
+ record.responseContext = {
19
+ statusCode: 200,
20
+ executedVersion: properties.executedVersion,
21
+ functionError: properties.functionError,
22
+ };
23
+ }
24
+ return record;
25
+ }
26
+ //# sourceMappingURL=sim-lambda-destination-record.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-destination-record.js","sourceRoot":"","sources":["../../../../src/service/lambda/destination/sim-lambda-destination-record.ts"],"names":[],"mappings":"AAoDA;;GAEG;AACH,MAAM,UAAU,8BAA8B,CAC5C,UAAoD;IAEpD,MAAM,MAAM,GAA+B;QACzC,OAAO,EAAE,KAAK;QACd,SAAS,EAAE,UAAU,CAAC,SAAS,CAAC,WAAW,EAAE;QAC7C,cAAc,EAAE;YACd,SAAS,EAAE,UAAU,CAAC,SAAS;YAC/B,WAAW,EAAE,UAAU,CAAC,WAAW;YACnC,SAAS,EAAE,UAAU,CAAC,SAAS;YAC/B,sBAAsB,EAAE,UAAU,CAAC,sBAAsB;SAC1D;QACD,cAAc,EAAE,UAAU,CAAC,cAAc;QACzC,eAAe,EAAE,UAAU,CAAC,eAAe;KAC5C,CAAC;IAEF,IAAI,UAAU,CAAC,GAAG,EAAE,CAAC;QACnB,MAAM,CAAC,eAAe,GAAG;YACvB,UAAU,EAAE,GAAG;YACf,eAAe,EAAE,UAAU,CAAC,eAAe;YAC3C,aAAa,EAAE,UAAU,CAAC,aAAa;SACxC,CAAC;IACJ,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -0,0 +1,49 @@
1
+ import type { SimLambdaDestinationArn } from "./sim-lambda-destination-arn.js";
2
+ import type { SimLambdaDestinationRecord } from "./sim-lambda-destination-record.js";
3
+ /**
4
+ * One asynchronous invocation result on its way to one destination.
5
+ */
6
+ export interface SimLambdaDestinationDeliveryRequest {
7
+ readonly destinationArn: SimLambdaDestinationArn;
8
+ readonly record: SimLambdaDestinationRecord;
9
+ /**
10
+ * The function whose invocation produced this record, which is what the
11
+ * delivery is attributed to.
12
+ */
13
+ readonly sourceFunctionArn: string;
14
+ }
15
+ /**
16
+ * One asynchronous invocation's event on its way to a dead-letter target.
17
+ *
18
+ * A dead-letter target receives the event as it was invoked. The destination
19
+ * record's envelope belongs to the newer mechanism, and real Lambda leaves it
20
+ * off here.
21
+ */
22
+ export interface SimLambdaDeadLetterRequest {
23
+ readonly targetArn: SimLambdaDestinationArn;
24
+ readonly payload: unknown;
25
+ readonly sourceFunctionArn: string;
26
+ }
27
+ /**
28
+ * Everywhere a simulated function's asynchronous invocation results can go.
29
+ */
30
+ export interface SimLambdaDestinationTargets {
31
+ deliver(request: SimLambdaDestinationDeliveryRequest): Promise<void>;
32
+ deadLetter(request: SimLambdaDeadLetterRequest): Promise<void>;
33
+ }
34
+ /**
35
+ * Destinations used when no wider simulation is wired up, such as for a
36
+ * standalone SimLambda constructed outside SimAws.
37
+ */
38
+ export declare class SimLambdaNoDestinationTargets implements SimLambdaDestinationTargets {
39
+ /**
40
+ * Say that this SimLambda has nowhere to send an invocation result.
41
+ */
42
+ deliver(request: SimLambdaDestinationDeliveryRequest): Promise<never>;
43
+ /**
44
+ * Say that this SimLambda has nowhere to dead-letter an event.
45
+ */
46
+ deadLetter(request: SimLambdaDeadLetterRequest): Promise<never>;
47
+ private unreachable;
48
+ }
49
+ //# sourceMappingURL=sim-lambda-destination-targets.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-destination-targets.d.ts","sourceRoot":"","sources":["../../../../src/service/lambda/destination/sim-lambda-destination-targets.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAC/E,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAErF;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAClD,QAAQ,CAAC,cAAc,EAAE,uBAAuB,CAAC;IACjD,QAAQ,CAAC,MAAM,EAAE,0BAA0B,CAAC;IAE5C;;;OAGG;IACH,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;CACpC;AAED;;;;;;GAMG;AACH,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,SAAS,EAAE,uBAAuB,CAAC;IAC5C,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;CACpC;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,OAAO,CAAC,OAAO,EAAE,mCAAmC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACrE,UAAU,CAAC,OAAO,EAAE,0BAA0B,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAChE;AAED;;;GAGG;AACH,qBAAa,6BAA8B,YAAW,2BAA2B;IAC/E;;OAEG;IACH,OAAO,CAAC,OAAO,EAAE,mCAAmC,GAAG,OAAO,CAAC,KAAK,CAAC,CAEpE;IAED;;OAEG;IACH,UAAU,CAAC,OAAO,EAAE,0BAA0B,GAAG,OAAO,CAAC,KAAK,CAAC,CAE9D;IAED,OAAO,CAAC,WAAW;CAOpB"}
@@ -0,0 +1,25 @@
1
+ import { SimLambdaError } from "../error/sim-lambda.error.js";
2
+ /**
3
+ * Destinations used when no wider simulation is wired up, such as for a
4
+ * standalone SimLambda constructed outside SimAws.
5
+ */
6
+ export class SimLambdaNoDestinationTargets {
7
+ /**
8
+ * Say that this SimLambda has nowhere to send an invocation result.
9
+ */
10
+ deliver(request) {
11
+ throw this.unreachable(request.destinationArn);
12
+ }
13
+ /**
14
+ * Say that this SimLambda has nowhere to dead-letter an event.
15
+ */
16
+ deadLetter(request) {
17
+ throw this.unreachable(request.targetArn);
18
+ }
19
+ unreachable(arn) {
20
+ return new SimLambdaError(`Cannot deliver to ${arn.value}: this SimLambda has no wider ` +
21
+ "simulation to send an invocation result to. Create the function " +
22
+ "through SimAws, or construct SimLambda with destinations.");
23
+ }
24
+ }
25
+ //# sourceMappingURL=sim-lambda-destination-targets.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-destination-targets.js","sourceRoot":"","sources":["../../../../src/service/lambda/destination/sim-lambda-destination-targets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAuC9D;;;GAGG;AACH,MAAM,OAAO,6BAA6B;IACxC;;OAEG;IACH,OAAO,CAAC,OAA4C;QAClD,MAAM,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;IACjD,CAAC;IAED;;OAEG;IACH,UAAU,CAAC,OAAmC;QAC5C,MAAM,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IAC5C,CAAC;IAEO,WAAW,CAAC,GAA4B;QAC9C,OAAO,IAAI,cAAc,CACvB,qBAAqB,GAAG,CAAC,KAAK,gCAAgC;YAC5D,kEAAkE;YAClE,2DAA2D,CAC9D,CAAC;IACJ,CAAC;CACF"}
@@ -51,11 +51,24 @@ export interface SimLambdaContainerImageSource {
51
51
  */
52
52
  export type SimLambdaCodeSource = SimLambdaHandlerReferenceSource | SimLambdaZipBytesSource | SimLambdaS3LocationSource | SimLambdaContainerImageSource;
53
53
  /**
54
- * Validate CreateFunction code input into a sim Lambda code source.
54
+ * Where a command carries its code members, for validation failures to point
55
+ * at the request the caller actually made.
56
+ *
57
+ * CreateFunction nests them under `Code`, while UpdateFunctionCode carries
58
+ * them at the top level of its input.
59
+ */
60
+ export interface SimLambdaCodeInputNaming {
61
+ /** The path to the members, such as `CreateFunctionCommand.input.Code`. */
62
+ readonly path: string;
63
+ /** What prefixes a member name, such as `Code.` or nothing at all. */
64
+ readonly memberPrefix: string;
65
+ }
66
+ /**
67
+ * Validate function code input into a sim Lambda code source.
55
68
  *
56
69
  * Exactly one of ZipFile, an S3 object location or a container image URI must
57
70
  * be given, as on real AWS. S3ObjectVersion is accepted but ignored, as sim S3
58
71
  * does not simulate object versioning yet.
59
72
  */
60
- export declare function requireLambdaCodeSource(code: SimLambdaCodeInput | undefined): SimLambdaCodeSource;
73
+ export declare function requireLambdaCodeSource(code: SimLambdaCodeInput | undefined, naming?: SimLambdaCodeInputNaming): SimLambdaCodeSource;
61
74
  //# sourceMappingURL=lambda-code-source.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"lambda-code-source.d.ts","sourceR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EAAsE;IACtE,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;CAC/B;AAOD;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,kBAAkB,GAAG,SAAS,EACpC,MAAM,GAAE,wBAAmD,GAC1D,mBAAmB,CAgBrB"}
@@ -1,43 +1,48 @@
1
1
  import { assertDefined } from "../../../../util/type-guard/defined.js";
2
2
  import { SimLambdaInvalidParameterValueException } from "../../error/sim-lambda.error.js";
3
3
  import { LambdaZipFileStowaway } from "./lambda-zip-file-input.js";
4
+ const createFunctionCodeNaming = {
5
+ path: "CreateFunctionCommand.input.Code",
6
+ memberPrefix: "Code.",
7
+ };
4
8
  /**
5
- * Validate CreateFunction code input into a sim Lambda code source.
9
+ * Validate function code input into a sim Lambda code source.
6
10
  *
7
11
  * Exactly one of ZipFile, an S3 object location or a container image URI must
8
12
  * be given, as on real AWS. S3ObjectVersion is accepted but ignored, as sim S3
9
13
  * does not simulate object versioning yet.
10
14
  */
11
- export function requireLambdaCodeSource(code) {
12
- assertDefined(code, "CreateFunctionCommand.input.Code required");
15
+ export function requireLambdaCodeSource(code, naming = createFunctionCodeNaming) {
16
+ assertDefined(code, `${naming.path} required`);
13
17
  if (code.ImageUri !== undefined) {
14
- return containerImageSource(code.ImageUri, code);
18
+ return containerImageSource(code.ImageUri, code, naming);
15
19
  }
16
20
  if (code.ZipFile !== undefined) {
17
- return zipFileSource(code.ZipFile, code);
21
+ return zipFileSource(code.ZipFile, code, naming);
18
22
  }
19
23
  if (code.S3Bucket !== undefined || code.S3Key !== undefined) {
20
- return s3LocationSource(code);
24
+ return s3LocationSource(code, naming);
21
25
  }
22
- throw new SimLambdaInvalidParameterValueException("CreateFunctionCommand.input.Code requires either ZipFile bytes, an " +
26
+ throw new SimLambdaInvalidParameterValueException(`${naming.path} requires either ZipFile bytes, an ` +
23
27
  "S3Bucket and S3Key object location, or an ImageUri");
24
28
  }
25
29
  /**
26
30
  * A container image function names its image and nothing else, as on real
27
31
  * AWS, where an image function has no zip code to also name.
28
32
  */
29
- function containerImageSource(imageUri, code) {
33
+ function containerImageSource(imageUri, code, naming) {
30
34
  if (code.ZipFile !== undefined ||
31
35
  code.S3Bucket !== undefined ||
32
36
  code.S3Key !== undefined) {
33
37
  throw new SimLambdaInvalidParameterValueException("Please do not provide ZipFile bytes or an S3 object location when " +
34
- "using Code.ImageUri");
38
+ `using ${naming.memberPrefix}ImageUri`);
35
39
  }
36
40
  return { kind: "container-image", imageUri };
37
41
  }
38
- function zipFileSource(zipFile, code) {
42
+ function zipFileSource(zipFile, code, naming) {
39
43
  if (code.S3Bucket !== undefined || code.S3Key !== undefined) {
40
- throw new SimLambdaInvalidParameterValueException("Please do not provide an S3 object location when using Code.ZipFile");
44
+ throw new SimLambdaInvalidParameterValueException("Please do not provide an S3 object location when using " +
45
+ `${naming.memberPrefix}ZipFile`);
41
46
  }
42
47
  if (zipFile instanceof LambdaZipFileStowaway) {
43
48
  return {
@@ -47,9 +52,9 @@ function zipFileSource(zipFile, code) {
47
52
  }
48
53
  return { kind: "zip-bytes", zipBytes: zipFile };
49
54
  }
50
- function s3LocationSource(code) {
51
- assertDefined(code.S3Bucket, "CreateFunctionCommand.input.Code.S3Bucket required with S3Key");
52
- assertDefined(code.S3Key, "CreateFunctionCommand.input.Code.S3Key required with S3Bucket");
55
+ function s3LocationSource(code, naming) {
56
+ assertDefined(code.S3Bucket, `${naming.path}.S3Bucket required with S3Key`);
57
+ assertDefined(code.S3Key, `${naming.path}.S3Key required with S3Bucket`);
53
58
  return {
54
59
  kind: "s3-location",
55
60
  bucketName: code.S3Bucket,
@@ -1 +1 @@
1
- {"version":3,"file":"lambda-code-source.js","sourceRoot":"","sources":["../../../../../src/service/lambda/function/code/lambda-code-source.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAE,uCAAuC,EAAE,MAAM,iCAAiC,CAAC;AAE1F,OAAO,EAAE,qB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QAC7C,OAAO;YACL,IAAI,EAAE,mBAAmB;YACzB,eAAe,EAAE,OAAO,CAAC,eAAe;SACzC,CAAC;IACJ,CAAC;IACD,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC;AAClD,CAAC;AAED,SAAS,gBAAgB,CAAC,IAAwB;IAChD,aAAa,CACX,IAAI,CAAC,QAAQ,EACb,+DAA+D,CAChE,CAAC;IACF,aAAa,CACX,IAAI,CAAC,KAAK,EACV,+DAA+D,CAChE,CAAC;IACF,OAAO;QACL,IAAI,EAAE,aAAa;QACnB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,KAAK;KACtB,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"lambda-code-source.js","sourceRoot":"","sources":["../../../../../src/service/lambda/function/code/lambda-code-source.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAE,uCAAuC,EAAE,MAAM,iCAAiC,CAAC;AAE1F,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AA6EnE,MAAM,wBAAwB,GAA6B;IACzD,IAAI,EAAE,kCAAkC;IACxC,YAAY,EAAE,OAAO;CACtB,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,UAAU,uBAAuB,CACrC,IAAoC,EACpC,MAAM,GAA6B,wBAAwB;IAE3D,aAAa,CAAC,IAAI,EAAE,GAAG,MAAM,CAAC,IAAI,WAAW,CAAC,CAAC;IAE/C,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,EAAE,CAAC;QAChC,OAAO,oBAAoB,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;IAC3D,CAAC;IACD,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,EAAE,CAAC;QAC/B,OAAO,aAAa,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,EA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,QAAQ,EAAE,GAAG,MAAM,CAAC,IAAI,+BAA+B,CAAC,CAAC;IAC5E,aAAa,CAAC,IAAI,CAAC,KAAK,EAAE,GAAG,MAAM,CAAC,IAAI,+BAA+B,CAAC,CAAC;IACzE,OAAO;QACL,IAAI,EAAE,aAAa;QACnB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,KAAK;KACtB,CAAC;AACJ,CAAC"}
@@ -35,6 +35,12 @@ export interface SimLambdaCodeResolveContext {
35
35
  readonly handlerName: string | undefined;
36
36
  readonly environment: SimLambdaEnvironment;
37
37
  readonly caller?: SimAwsCaller | undefined;
38
+ /**
39
+ * What to say when zip code arrives with no handler name to find its export
40
+ * in. CreateFunction takes the name on the request, while UpdateFunctionCode
41
+ * has only whatever the function was created with.
42
+ */
43
+ readonly missingHandlerMessage?: string | undefined;
38
44
  }
39
45
  /**
40
46
  * Resolves a validated CreateFunction code source into executable sim Lambda
@@ -1 +1 @@
1
- {"version":3,"file":"sim-lambda-code-resolver.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/function/code/sim-lambda-code-resolver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EACL,KAAK,wBAAwB,EAE9B,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EACL,KAAK,uBAAuB,EAE7B,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EACL,KAAK,kBAAkB,EAExB,MAAM,kCAAkC,CAAC;AAE1C,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAClG,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAErF,UAAU,+BAA+B;IACvC,QAAQ,CAAC,SAAS,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACpD,QAAQ,CAAC,mBAAmB,CAAC,EAAE,4BAA4B,GAAG,SAAS,CAAC;IACxE;;;;OAIG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAC1D;;OAEG;IACH,QAAQ,CAAC,eAAe,CAAC,EAAE,wBAAwB,GAAG,SAAS,CAAC;IAChE;;;OAGG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;CACvC;AAED;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,QAAQ,CAAC,WAAW,EAAE,oBAAoB,CAAC;IAC3C,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;CAC5C;AAED;;;;;;;GAOG;AACH,qBAAa,qBAAqB;IAChC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAqB;IAC/C,OAAO,CAAC,QAAQ,CAAC,eAAe,CAA2B;IAC3D,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAA4B;IAE7D,YAAY,UAAU,EAAE,+BAA+B,EAStD;IAED;;OAEG;IACG,OAAO,CACX,MAAM,EAAE,mBAAmB,EAC3B,OAAO,EAAE,2BAA2B,GACnC,OAAO,CAAC,uBAAuB,CAAC,CAsBlC;IAED;;;;;;;OAOG;IACH,OAAO,CAAC,qBAAqB;CAa9B"}
1
+ {"version":3,"file":"sim-lambda-code-resolver.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/function/code/sim-lambda-code-resolver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC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AAC,QAAQ,CAAC,gBAAgB,CAA4B;IAE7D,YAAY,UAAU,EAAE,+BAA+B,EAStD;IAED;;OAEG;IACG,OAAO,CACX,MAAM,EAAE,mBAAmB,EAC3B,OAAO,EAAE,2BAA2B,GACnC,OAAO,CAAC,uBAAuB,CAAC,CAsBlC;IAED;;;;;;;OAOG;IACH,OAAO,CAAC,qBAAqB;CAa9B"}
@@ -1 +1 @@
1
- {"version":3,"file":"sim-lambda-code-resolver.js","sourceRoot":"","sources":["../../../../../src/service/lambda/function/code/sim-lambda-code-resolver.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uCAAuC,EAAE,MAAM,iCAAiC,CAAC;AAG1F,OAAO,EAEL,0BAA0B,GAC3B,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EAEL,6BAA6B,GAC9B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAC;AAChF,OAAO,EAEL,oBAAoB,GACrB,MAAM,kCAAkC,CAAC;AAoC1C;;;;;;;GAOG;AACH,MAAM,OAAO,qBAAqB;IACf,SAAS,CAAqB;IAC9B,eAAe,CAA2B;IAC1C,gBAAgB,CAA4B;IAE7D,YAAY,UAA2C;QACrD,IAAI,CAAC,SAAS,GAAG,UAAU,CAAC,SAAS,IAAI,IAAI,oBAAoB,EAAE,CAAC;QACpE,IAAI,CAAC,eAAe;YAClB,UAAU,CAAC,eAAe,IAAI,IAAI,0BAA0B,EAAE,CAAC;QACjE,IAAI,CAAC,gBAAgB,GAAG,IAAI,yBAAyB,CAAC;YACpD,mBAAmB,EAAE,UAAU,CAAC,mBAAmB;YACnD,YAAY,EAAE,UAAU,CAAC,YAAY;YACrC,KAAK,EAAE,UAAU,CAAC,KAAK;SACxB,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,OAAO,CACX,MAA2B,EAC3B,OAAoC;QAEpC,QAAQ,MAAM,CAAC,IAAI,EAAE,CAAC;YACpB,KAAK,mBAAmB,EAAE,CAAC;gBACzB,OAAO,IAAI,6BAA6B,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC;YACnE,CAAC;YACD,KAAK,WAAW,EAAE,CAAC;gBACjB,OAAO,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;YAC9D,CAAC;YACD,KAAK,aAAa,EAAE,CAAC;gBACnB,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC;oBAChD,UAAU,EAAE,MAAM,CAAC,UAAU;oBAC7B,SAAS,EAAE,MAAM,CAAC,SAAS;oBAC3B,MAAM,EAAE,OAAO,CAAC,MAAM;iBACvB,CAAC,CAAC;gBACH,OAAO,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;YACvD,CAAC;YACD,KAAK,iBAAiB,EAAE,CAAC;gBACvB,OAAO,IAAI,6BAA6B,CACtC,IAAI,CAAC,qBAAqB,CAAC,MAAM,CAAC,QAAQ,CAAC,CAC5C,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;IAED;;;;;;;OAOG;IACK,qBAAqB,CAAC,QAAgB;QAC5C,MAAM,KAAK,GAAG,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QAEnD,IAAI,KAAK,CAAC,OAAO,KAAK,SAAS,EAAE,CAAC;YAChC,MAAM,IAAI,uCAAuC,CAC/C,gBAAgB,QAAQ,kBAAkB;gBACxC,GAAG,KAAK,CAAC,iBAAiB,EAAE,uCAAuC;gBACnE,4DAA4D,CAC/D,CAAC;QACJ,CAAC;QAED,OAAO,KAAK,CAAC,OAAO,CAAC;IACvB,CAAC;CACF"}
1
+ {"version":3,"file":"sim-lambda-code-resolver.js","sourceRoot":"","sources":["../../../../../src/service/lambda/function/code/sim-lambda-code-resolver.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uCAAuC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AE,MAAM,CAAC,SAAS;oBAC3B,MAAM,EAAE,OAAO,CAAC,MAAM;iBACvB,CAAC,CAAC;gBACH,OAAO,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;YACvD,CAAC;YACD,KAAK,iBAAiB,EAAE,CAAC;gBACvB,OAAO,IAAI,6BAA6B,CACtC,IAAI,CAAC,qBAAqB,CAAC,MAAM,CAAC,QAAQ,CAAC,CAC5C,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;IAED;;;;;;;OAOG;IACK,qBAAqB,CAAC,QAAgB;QAC5C,MAAM,KAAK,GAAG,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QAEnD,IAAI,KAAK,CAAC,OAAO,KAAK,SAAS,EAAE,CAAC;YAChC,MAAM,IAAI,uCAAuC,CAC/C,gBAAgB,QAAQ,kBAAkB;gBACxC,GAAG,KAAK,CAAC,iBAAiB,EAAE,uCAAuC;gBACnE,4DAA4D,CAC/D,CAAC;QACJ,CAAC;QAED,OAAO,KAAK,CAAC,OAAO,CAAC;IACvB,CAAC;CACF"}
@@ -1,5 +1,16 @@
1
+ import type { SimLambdaEnvironment } from "../environment/sim-lambda-environment.js";
1
2
  import type { SimLambdaOutputSink } from "../logging/sim-lambda-output-sink.js";
2
3
  import type { SimLambdaHandler } from "../sim-lambda-handler.type.js";
4
+ /**
5
+ * The function settings a change to which reaches the code itself.
6
+ *
7
+ * The environment is what the code reads its variables from, and the handler
8
+ * name is what finds the export to run inside a code archive.
9
+ */
10
+ export interface SimLambdaCodeConfiguration {
11
+ readonly environment: SimLambdaEnvironment;
12
+ readonly handlerName: string | undefined;
13
+ }
3
14
  /**
4
15
  * Executable code backing a sim Lambda function.
5
16
  *
@@ -23,6 +34,15 @@ export interface SimLambdaExecutableCode {
23
34
  * output reaches the function's log group.
24
35
  */
25
36
  recordOutputTo(sink: SimLambdaOutputSink): void;
37
+ /**
38
+ * This code under changed function settings, cold rather than warm.
39
+ *
40
+ * UpdateFunctionConfiguration replaces a real function's execution
41
+ * environment, so the next invocation starts one afresh under the new
42
+ * settings. Code holding neither the environment nor the handler name has
43
+ * nothing to rebuild and answers with itself.
44
+ */
45
+ reconfigured(configuration: SimLambdaCodeConfiguration): SimLambdaExecutableCode;
26
46
  handlerFunction(): SimLambdaHandler;
27
47
  }
28
48
  /**
@@ -46,6 +66,14 @@ export declare class SimLambdaHandlerReferenceCode implements SimLambdaExecutabl
46
66
  * and process.env are bridged for the same code.
47
67
  */
48
68
  recordOutputTo(): void;
69
+ /**
70
+ * Answer with this code unchanged.
71
+ *
72
+ * A referenced handler was given directly rather than found by name, and it
73
+ * reads process.env, which the invocation applies from the function's
74
+ * current environment. Neither setting is held here.
75
+ */
76
+ reconfigured(): SimLambdaExecutableCode;
49
77
  /**
50
78
  * Get the referenced handler function.
51
79
  */
@@ -1 +1 @@
1
- {"version":3,"file":"sim-lambda-executable-code.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/function/code/sim-lambda-executable-code.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAChF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEtE;;;;;;GAMG;AACH,MAAM,WAAW,uBAAuB;IACtC;;;;;;;;OAQG;IACH,QAAQ,CAAC,eAAe,EAAE,OAAO,CAAC;IAElC;;;OAGG;IACH,cAAc,CAAC,IAAI,EAAE,mBAAmB,GAAG,IAAI,CAAC;IAEhD,eAAe,IAAI,gBAAgB,CAAC;CACrC;AAED;;GAEG;AACH,qBAAa,6BAA8B,YAAW,uBAAuB;IAO/D,OAAO,CAAC,QAAQ,CAAC,OAAO;IANpC;;;OAGG;IACH,QAAQ,CAAC,eAAe,QAAQ;IAEhC,YAA6B,OAAO,EAAE,gBAAgB,EAAI;IAE1D;;;;;;;;OAQG;IACH,cAAc,IAAI,IAAI,CAErB;IAED;;OAEG;IACH,eAAe,IAAI,gBAAgB,CAElC;CACF"}
1
+ {"version":3,"file":"sim-lambda-executable-code.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/function/code/sim-lambda-executable-code.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAChF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEtE;;;;;GAKG;AACH,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,WAAW,EAAE,oBAAoB,CAAC;IAC3C,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1C;AAED;;;;;;GAMG;AACH,MAAM,WAAW,uBAAuB;IACtC;;;;;;;;OAQG;IACH,QAAQ,CAAC,eAAe,EAAE,OAAO,CAAC;IAElC;;;OAGG;IACH,cAAc,CAAC,IAAI,EAAE,mBAAmB,GAAG,IAAI,CAAC;IAEhD;;;;;;;OAOG;IACH,YAAY,CACV,aAAa,EAAE,0BAA0B,GACxC,uBAAuB,CAAC;IAE3B,eAAe,IAAI,gBAAgB,CAAC;CACrC;AAED;;GAEG;AACH,qBAAa,6BAA8B,YAAW,uBAAuB;IAO/D,OAAO,CAAC,QAAQ,CAAC,OAAO;IANpC;;;OAGG;IACH,QAAQ,CAAC,eAAe,QAAQ;IAEhC,YAA6B,OAAO,EAAE,gBAAgB,EAAI;IAE1D;;;;;;;;OAQG;IACH,cAAc,IAAI,IAAI,CAErB;IAED;;;;;;OAMG;IACH,YAAY,IAAI,uBAAuB,CAEtC;IAED;;OAEG;IACH,eAAe,IAAI,gBAAgB,CAElC;CACF"}
@@ -23,6 +23,16 @@ export class SimLambdaHandlerReferenceCode {
23
23
  recordOutputTo() {
24
24
  // Recorded by the invocation, from the process globals.
25
25
  }
26
+ /**
27
+ * Answer with this code unchanged.
28
+ *
29
+ * A referenced handler was given directly rather than found by name, and it
30
+ * reads process.env, which the invocation applies from the function's
31
+ * current environment. Neither setting is held here.
32
+ */
33
+ reconfigured() {
34
+ return this;
35
+ }
26
36
  /**
27
37
  * Get the referenced handler function.
28
38
  */
@@ -1 +1 @@
1
- {"version":3,"file":"sim-lambda-executable-code.js","sourceRoot":"","sources":["../../../../../src/service/lambda/function/code/sim-lambda-executable-code.ts"],"names":[],"mappings":"AA+BA;;GAEG;AACH,MAAM,OAAO,6BAA6B;IAOX,OAAO;IANpC;;;OAGG;IACM,eAAe,GAAG,IAAI,CAAC;IAEhC,YAA6B,OAAyB;uBAAzB,OAAO;IAAqB,CAAC;IAE1D;;;;;;;;OAQG;IACH,cAAc;QACZ,wDAAwD;IAC1D,CAAC;IAED;;OAEG;IACH,eAAe;QACb,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;CACF"}
1
+ {"version":3,"file":"sim-lambda-executable-code.js","sourceRoot":"","sources":["../../../../../src/service/lambda/function/code/sim-lambda-executable-code.ts"],"names":[],"mappings":"AAuDA;;GAEG;AACH,MAAM,OAAO,6BAA6B;IAOX,OAAO;IANpC;;;OAGG;IACM,eAAe,GAAG,IAAI,CAAC;IAEhC,YAA6B,OAAyB;uBAAzB,OAAO;IAAqB,CAAC;IAE1D;;;;;;;;OAQG;IACH,cAAc;QACZ,wDAAwD;IAC1D,CAAC;IAED;;;;;;OAMG;IACH,YAAY;QACV,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;OAEG;IACH,eAAe;QACb,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"sim-lambda-vm-zip-code-factory.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/function/code/sim-lambda-vm-zip-code-factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAIpE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AACjF,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAClG,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAErF,UAAU,mCAAmC;IAC3C,QAAQ,CAAC,mBAAmB,CAAC,EAAE,4BAA4B,GAAG,SAAS,CAAC;IACxE,QAAQ,CAAC,YAAY,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAC1D,QAAQ,CAAC,KAAK,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;CACvC;AAED;;;;;;GAMG;AACH,qBAAa,yBAAyB;IACpC,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAEtB;IACd,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAoC;IACjE,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAuB;IAE7C,YAAY,UAAU,EAAE,mCAAmC,EAI1D;IAED;;OAEG;IACH,IAAI,CACF,QAAQ,EAAE,UAAU,EACpB,OAAO,EAAE,2BAA2B,GACnC,kBAAkB,CAcpB;IAED,OAAO,CAAC,KAAK;CAWd"}
1
+ {"version":3,"file":"sim-lambda-vm-zip-code-factory.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/function/code/sim-lambda-vm-zip-code-factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAIpE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AACjF,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAClG,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAErF,UAAU,mCAAmC;IAC3C,QAAQ,CAAC,mBAAmB,CAAC,EAAE,4BAA4B,GAAG,SAAS,CAAC;IACxE,QAAQ,CAAC,YAAY,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAC1D,QAAQ,CAAC,KAAK,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;CACvC;AAED;;;;;;GAMG;AACH,qBAAa,yBAAyB;IACpC,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAEtB;IACd,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAoC;IACjE,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAuB;IAE7C,YAAY,UAAU,EAAE,mCAAmC,EAI1D;IAED;;OAEG;IACH,IAAI,CACF,QAAQ,EAAE,UAAU,EACpB,OAAO,EAAE,2BAA2B,GACnC,kBAAkB,CAepB;IAED,OAAO,CAAC,KAAK;CAWd"}
@@ -22,7 +22,8 @@ export class SimLambdaVmZipCodeFactory {
22
22
  * Build vm zip code for a function from its code zip bytes.
23
23
  */
24
24
  make(zipBytes, context) {
25
- assertDefined(context.handlerName, "CreateFunctionCommand.input.Handler required for zip function code");
25
+ assertDefined(context.handlerName, context.missingHandlerMessage ??
26
+ "CreateFunctionCommand.input.Handler required for zip function code");
26
27
  return new SimLambdaVmZipCode({
27
28
  archive: this.unzip(zipBytes),
28
29
  handlerName: context.handlerName,
@@ -1 +1 @@
1
- {"version":3,"file":"sim-lambda-vm-zip-code-factory.js","sourceRoot":"","sources":["../../../../../src/service/lambda/function/code/sim-lambda-vm-zip-code-factory.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,uCAAuC,EAAE,MAAM,iCAAiC,CAAC;AAE1F,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAUjE;;;;;;GAMG;AACH,MAAM,OAAO,yBAAyB;IACnB,mBAAmB,CAEtB;IACG,YAAY,CAAoC;IAChD,KAAK,CAAuB;IAE7C,YAAY,UAA+C;QACzD,IAAI,CAAC,mBAAmB,GAAG,UAAU,CAAC,mBAAmB,CAAC;QAC1D,IAAI,CAAC,YAAY,GAAG,UAAU,CAAC,YAAY,CAAC;QAC5C,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;IAChC,CAAC;IAED;;OAEG;IACH,IAAI,CACF,QAAoB,EACpB,OAAoC;QAEpC,aAAa,CACX,OAAO,CAAC,WAAW,EACnB,oEAAoE,CACrE,CAAC;QAEF,OAAO,IAAI,kBAAkB,CAAC;YAC5B,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC;YAC7B,WAAW,EAAE,OAAO,CAAC,WAAW;YAChC,WAAW,EAAE,OAAO,CAAC,WAAW;YAChC,iBAAiB,EAAE,IAAI,CAAC,mBAAmB;YAC3C,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,KAAK,EAAE,IAAI,CAAC,KAAK;SAClB,CAAC,CAAC;IACL,CAAC;IAEO,KAAK,CAAC,QAAoB;QAChC,IAAI,CAAC;YACH,OAAO,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;QAC3C,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,IAAI,uCAAuC,CAC/C,yDAAyD;gBACvD,2BAA2B,EAC7B,EAAE,KAAK,EAAE,KAAK,EAAE,CACjB,CAAC;QACJ,CAAC;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"sim-lambda-vm-zip-code-factory.js","sourceRoot":"","sources":["../../../../../src/service/lambda/function/code/sim-lambda-vm-zip-code-factory.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,uCAAuC,EAAE,MAAM,iCAAiC,CAAC;AAE1F,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAUjE;;;;;;GAMG;AACH,MAAM,OAAO,yBAAyB;IACnB,mBAAmB,CAEtB;IACG,YAAY,CAAoC;IAChD,KAAK,CAAuB;IAE7C,YAAY,UAA+C;QACzD,IAAI,CAAC,mBAAmB,GAAG,UAAU,CAAC,mBAAmB,CAAC;QAC1D,IAAI,CAAC,YAAY,GAAG,UAAU,CAAC,YAAY,CAAC;QAC5C,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;IAChC,CAAC;IAED;;OAEG;IACH,IAAI,CACF,QAAoB,EACpB,OAAoC;QAEpC,aAAa,CACX,OAAO,CAAC,WAAW,EACnB,OAAO,CAAC,qBAAqB;YAC3B,oEAAoE,CACvE,CAAC;QAEF,OAAO,IAAI,kBAAkB,CAAC;YAC5B,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC;YAC7B,WAAW,EAAE,OAAO,CAAC,WAAW;YAChC,WAAW,EAAE,OAAO,CAAC,WAAW;YAChC,iBAAiB,EAAE,IAAI,CAAC,mBAAmB;YAC3C,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,KAAK,EAAE,IAAI,CAAC,KAAK;SAClB,CAAC,CAAC;IACL,CAAC;IAEO,KAAK,CAAC,QAAoB;QAChC,IAAI,CAAC;YACH,OAAO,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;QAC3C,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,IAAI,uCAAuC,CAC/C,yDAAyD;gBACvD,2BAA2B,EAC7B,EAAE,KAAK,EAAE,KAAK,EAAE,CACjB,CAAC;QACJ,CAAC;IACH,CAAC;CACF"}
@@ -1,7 +1,7 @@
1
1
  import type { SimZipArchive } from "../../../../util/zip/zip-archive.js";
2
2
  import type { SimLambdaHandler } from "../sim-lambda-handler.type.js";
3
3
  import { type SimLambdaVmSdkModuleProvider } from "./vm/sdk/sim-lambda-vm-sdk-module-provider.js";
4
- import type { SimLambdaExecutableCode } from "./sim-lambda-executable-code.js";
4
+ import type { SimLambdaCodeConfiguration, SimLambdaExecutableCode } from "./sim-lambda-executable-code.js";
5
5
  import { type SimLambdaVmContextProperties } from "./vm/sim-lambda-vm-context.js";
6
6
  import { type SimLambdaOutputSink } from "../logging/sim-lambda-output-sink.js";
7
7
  /**
@@ -38,6 +38,16 @@ export declare class SimLambdaVmZipCode implements SimLambdaExecutableCode {
38
38
  * the sink by the time any of it runs.
39
39
  */
40
40
  recordOutputTo(sink: SimLambdaOutputSink): void;
41
+ /**
42
+ * This archive under changed function settings, ready to cold start again.
43
+ *
44
+ * The sandbox is built from the environment and the export is found by the
45
+ * handler name, and both are fixed once the code has started. So a change to
46
+ * either produces code of its own, holding the same archive, which the next
47
+ * invocation cold starts. Whatever the running module had in memory goes,
48
+ * the way it goes on real Lambda when the configuration changes.
49
+ */
50
+ reconfigured(configuration: SimLambdaCodeConfiguration): SimLambdaVmZipCode;
41
51
  /**
42
52
  * Get the handler function, cold-starting the module code if needed.
43
53
  */
@@ -1 +1 @@
1
- {"version":3,"file":"sim-lambda-vm-zip-code.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/function/code/sim-lambda-vm-zip-code.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEzE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAEL,KAAK,4BAA4B,EAClC,MAAM,+CAA+C,CAAC;AACvD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAE/E,OAAO,EAEL,KAAK,4BAA4B,EAClC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAEL,KAAK,mBAAmB,EACzB,MAAM,sCAAsC,CAAC;AAG9C;;;GAGG;AACH,UAAU,4BAA6B,SAAQ,4BAA4B;IACzE,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC;IAChC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,iBAAiB,CAAC,EAAE,4BAA4B,GAAG,SAAS,CAAC;CACvE;AAED;;;;;;;GAOG;AACH,qBAAa,kBAAmB,YAAW,uBAAuB;;IAUpD,OAAO,CAAC,QAAQ,CAAC,UAAU;IATvC;;;OAGG;IACH,QAAQ,CAAC,eAAe,SAAS;IAKjC,YAA6B,UAAU,EAAE,4BAA4B,EAAI;IAEzE;;;;;;OAMG;IACH,cAAc,CAAC,IAAI,EAAE,mBAAmB,GAAG,IAAI,CAE9C;IAED;;OAEG;IACH,eAAe,IAAI,gBAAgB,CAGlC;IAED,OAAO,CAAC,SAAS;IAyBjB;;;;;;;OAOG;IACH,OAAO,CAAC,eAAe;IAWvB,OAAO,CAAC,mBAAmB;CAiB5B"}
1
+ {"version":3,"file":"sim-lambda-vm-zip-code.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/function/code/sim-lambda-vm-zip-code.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEzE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAEL,KAAK,4BAA4B,EAClC,MAAM,+CAA+C,CAAC;AACvD,OAAO,KAAK,EACV,0BAA0B,EAC1B,uBAAuB,EACxB,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EAEL,KAAK,4BAA4B,EAClC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAEL,KAAK,mBAAmB,EACzB,MAAM,sCAAsC,CAAC;AAG9C;;;GAGG;AACH,UAAU,4BAA6B,SAAQ,4BAA4B;IACzE,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC;IAChC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,iBAAiB,CAAC,EAAE,4BAA4B,GAAG,SAAS,CAAC;CACvE;AAED;;;;;;;GAOG;AACH,qBAAa,kBAAmB,YAAW,uBAAuB;;IAUpD,OAAO,CAAC,QAAQ,CAAC,UAAU;IATvC;;;OAGG;IACH,QAAQ,CAAC,eAAe,SAAS;IAKjC,YAA6B,UAAU,EAAE,4BAA4B,EAAI;IAEzE;;;;;;OAMG;IACH,cAAc,CAAC,IAAI,EAAE,mBAAmB,GAAG,IAAI,CAE9C;IAED;;;;;;;;OAQG;IACH,YAAY,CAAC,aAAa,EAAE,0BAA0B,GAAG,kBAAkB,CAM1E;IAED;;OAEG;IACH,eAAe,IAAI,gBAAgB,CAGlC;IAED,OAAO,CAAC,SAAS;IAyBjB;;;;;;;OAOG;IACH,OAAO,CAAC,eAAe;IAWvB,OAAO,CAAC,mBAAmB;CAiB5B"}
@@ -34,6 +34,22 @@ export class SimLambdaVmZipCode {
34
34
  recordOutputTo(sink) {
35
35
  this.#sink = sink;
36
36
  }
37
+ /**
38
+ * This archive under changed function settings, ready to cold start again.
39
+ *
40
+ * The sandbox is built from the environment and the export is found by the
41
+ * handler name, and both are fixed once the code has started. So a change to
42
+ * either produces code of its own, holding the same archive, which the next
43
+ * invocation cold starts. Whatever the running module had in memory goes,
44
+ * the way it goes on real Lambda when the configuration changes.
45
+ */
46
+ reconfigured(configuration) {
47
+ return new SimLambdaVmZipCode({
48
+ ...this.properties,
49
+ environment: configuration.environment,
50
+ handlerName: configuration.handlerName ?? this.properties.handlerName,
51
+ });
52
+ }
37
53
  /**
38
54
  * Get the handler function, cold-starting the module code if needed.
39
55
  */