@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 @@
1
+ {"version":3,"file":"sim-lambda-function-configuration.factory.js","sourceRoot":"","sources":["../../../../src/service/lambda/function/sim-lambda-function-configuration.factory.ts"],"names":[],"mappings":"AAGA;;;;;;GAMG;AACH,MAAM,UAAU,gCAAgC,CAC9C,WAA8B;IAE9B,MAAM,EAAE,mBAAmB,EAAE,GAAG,WAAW,CAAC;IAE5C,OAAO;QACL,YAAY,EAAE,WAAW,CAAC,IAAI;QAC9B,WAAW,EAAE,WAAW,CAAC,GAAG;QAC5B,IAAI,EAAE,WAAW,CAAC,OAAO;QACzB,KAAK,EAAE,WAAW,CAAC,KAAK;QACxB,OAAO,EAAE,WAAW,CAAC,OAAO;QAC5B,OAAO,EAAE,WAAW,CAAC,cAAc;QACnC,UAAU,EAAE,WAAW,CAAC,YAAY;QACpC,OAAO,EAAE,WAAW,CAAC,WAAW;QAChC,OAAO,EAAE,WAAW,CAAC,WAAW;QAChC,WAAW,EAAE,WAAW,CAAC,WAAW;QACpC,WAAW,EAAE,WAAW,CAAC,WAAW,CAAC,aAAa,EAAE;QACpD,gBAAgB,EACd,mBAAmB,KAAK,SAAS;YAC/B,CAAC,CAAC,SAAS;YACX,CAAC,CAAC,EAAE,SAAS,EAAE,mBAAmB,EAAE;KACzC,CAAC;AACJ,CAAC"}
@@ -0,0 +1,40 @@
1
+ import type { SimLambdaExecutableCode } from "./code/sim-lambda-executable-code.js";
2
+ import type { SimLambdaFunction } from "./sim-lambda-function.js";
3
+ /**
4
+ * A change to the settings of a sim Lambda function, in the function model's
5
+ * own terms.
6
+ *
7
+ * A setting left out is a setting the request said nothing about, and keeps
8
+ * the value it has.
9
+ */
10
+ export interface SimLambdaFunctionConfigurationUpdate {
11
+ readonly roleArn?: string | undefined;
12
+ readonly handlerName?: string | undefined;
13
+ readonly runtimeName?: string | undefined;
14
+ readonly description?: string | undefined;
15
+ readonly timeoutSeconds?: number | undefined;
16
+ readonly memorySizeMb?: number | undefined;
17
+ /**
18
+ * The variables to declare, replacing whatever the function declares now.
19
+ *
20
+ * An empty map is a request to declare none, which is different from
21
+ * leaving this out, and real Lambda tells the two apart the same way.
22
+ */
23
+ readonly environmentVariables?: ReadonlyMap<string, string> | undefined;
24
+ /**
25
+ * The queue or topic to dead-letter to, or an empty string to stop
26
+ * dead-lettering, which is how AWS takes a target away.
27
+ */
28
+ readonly deadLetterTargetArn?: string | undefined;
29
+ }
30
+ /**
31
+ * Apply a settings change to a sim Lambda function, and say what code it runs
32
+ * afterwards.
33
+ *
34
+ * The answer is the code the function already had, unless the change reached
35
+ * inside it. Sandboxed zip code holds the environment it reads variables from
36
+ * and the handler name that finds its export, so a change to either gives the
37
+ * function code of its own to cold start.
38
+ */
39
+ export declare function reconfigureSimLambdaFunction(simFunction: SimLambdaFunction, update: SimLambdaFunctionConfigurationUpdate, code: SimLambdaExecutableCode): SimLambdaExecutableCode;
40
+ //# sourceMappingURL=sim-lambda-function-reconfiguration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-function-reconfiguration.d.ts","sourceRoot":"","sources":["../../../../src/service/lambda/function/sim-lambda-function-reconfiguration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAEpF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAElE;;;;;;GAMG;AACH,MAAM,WAAW,oCAAoC;IACnD,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7C,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3C;;;;;OAKG;IACH,QAAQ,CAAC,oBAAoB,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAAC;IACxE;;;OAGG;IACH,QAAQ,CAAC,mBAAmB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACnD;AAED;;;;;;;;GAQG;AACH,wBAAgB,4BAA4B,CAC1C,WAAW,EAAE,iBAAiB,EAC9B,MAAM,EAAE,oCAAoC,EAC5C,IAAI,EAAE,uBAAuB,GAC5B,uBAAuB,CA8BzB"}
@@ -0,0 +1,66 @@
1
+ import { SimLambdaEnvironment } from "./environment/sim-lambda-environment.js";
2
+ /**
3
+ * Apply a settings change to a sim Lambda function, and say what code it runs
4
+ * afterwards.
5
+ *
6
+ * The answer is the code the function already had, unless the change reached
7
+ * inside it. Sandboxed zip code holds the environment it reads variables from
8
+ * and the handler name that finds its export, so a change to either gives the
9
+ * function code of its own to cold start.
10
+ */
11
+ export function reconfigureSimLambdaFunction(simFunction, update, code) {
12
+ const previous = {
13
+ environment: simFunction.environment,
14
+ handlerName: simFunction.handlerName,
15
+ };
16
+ simFunction.roleArn = update.roleArn ?? simFunction.roleArn;
17
+ simFunction.handlerName = update.handlerName ?? simFunction.handlerName;
18
+ simFunction.runtimeName = update.runtimeName ?? simFunction.runtimeName;
19
+ simFunction.description = update.description ?? simFunction.description;
20
+ simFunction.timeoutSeconds =
21
+ update.timeoutSeconds ?? simFunction.timeoutSeconds;
22
+ simFunction.memorySizeMb = update.memorySizeMb ?? simFunction.memorySizeMb;
23
+ simFunction.environment = updatedEnvironment(simFunction, update);
24
+ simFunction.deadLetterTargetArn = updatedDeadLetterTarget(simFunction, update);
25
+ if (simFunction.environment === previous.environment &&
26
+ simFunction.handlerName === previous.handlerName) {
27
+ return code;
28
+ }
29
+ return code.reconfigured({
30
+ environment: simFunction.environment,
31
+ handlerName: simFunction.handlerName,
32
+ });
33
+ }
34
+ /**
35
+ * The environment a function runs with after a settings change.
36
+ *
37
+ * Rebuilt when the declared variables change, and when the memory size does,
38
+ * because the runtime reports that as a variable of its own. A rebuilt
39
+ * environment is a cold one, so a variable a handler wrote into `process.env`
40
+ * goes with the old one, as it goes on real Lambda when the configuration
41
+ * changes.
42
+ */
43
+ function updatedEnvironment(simFunction, update) {
44
+ const { environmentVariables } = update;
45
+ if (environmentVariables === undefined && update.memorySizeMb === undefined) {
46
+ return simFunction.environment;
47
+ }
48
+ return new SimLambdaEnvironment({
49
+ functionName: simFunction.name,
50
+ regionName: simFunction.accountRegionScope.regionName,
51
+ memorySizeMb: simFunction.memorySizeMb,
52
+ declaredVariables: environmentVariables ?? simFunction.environment.declaredVariables,
53
+ });
54
+ }
55
+ /**
56
+ * The dead-letter target a function has after a settings change.
57
+ */
58
+ function updatedDeadLetterTarget(simFunction, update) {
59
+ if (update.deadLetterTargetArn === undefined) {
60
+ return simFunction.deadLetterTargetArn;
61
+ }
62
+ return update.deadLetterTargetArn === ""
63
+ ? undefined
64
+ : update.deadLetterTargetArn;
65
+ }
66
+ //# sourceMappingURL=sim-lambda-function-reconfiguration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-function-reconfiguration.js","sourceRoot":"","sources":["../../../../src/service/lambda/function/sim-lambda-function-reconfiguration.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;AA+B/E;;;;;;;;GAQG;AACH,MAAM,UAAU,4BAA4B,CAC1C,WAA8B,EAC9B,MAA4C,EAC5C,IAA6B;IAE7B,MAAM,QAAQ,GAAG;QACf,WAAW,EAAE,WAAW,CAAC,WAAW;QACpC,WAAW,EAAE,WAAW,CAAC,WAAW;KACrC,CAAC;IAEF,WAAW,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,IAAI,WAAW,CAAC,OAAO,CAAC;IAC5D,WAAW,CAAC,WAAW,GAAG,MAAM,CAAC,WAAW,IAAI,WAAW,CAAC,WAAW,CAAC;IACxE,WAAW,CAAC,WAAW,GAAG,MAAM,CAAC,WAAW,IAAI,WAAW,CAAC,WAAW,CAAC;IACxE,WAAW,CAAC,WAAW,GAAG,MAAM,CAAC,WAAW,IAAI,WAAW,CAAC,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O,WAAW,CAAC,mBAAmB,CAAC;IACzC,CAAC;IAED,OAAO,MAAM,CAAC,mBAAmB,KAAK,EAAE;QACtC,CAAC,CAAC,SAAS;QACX,CAAC,CAAC,MAAM,CAAC,mBAAmB,CAAC;AACjC,CAAC"}
@@ -1,55 +1,11 @@
1
- import type { Brand } from "../../../util/brand.type.js";
2
- import type { SimAwsRunAsOwner } from "../../aws/caller/sim-aws-run-as-context.js";
3
1
  import type { SimAwsAccountRegionScope } from "../../aws/sim-aws-account-region-scope.js";
4
2
  import { type SimLambdaFunctionArn, type SimLambdaFunctionConfiguration, type SimLambdaFunctionState } from "./sim-lambda-function-configuration.js";
5
3
  import { type SimLambdaExecutableCode } from "./code/sim-lambda-executable-code.js";
6
4
  import { SimLambdaEnvironment } from "./environment/sim-lambda-environment.js";
7
- import type { SimLogsServiceWriter } from "../../logs/write/sim-logs-service-writer.js";
8
5
  import { SimLambdaFunctionPolicy } from "./policy/sim-lambda-function-policy.js";
9
- import type { SimLambdaOutboundHttp } from "./outbound/sim-lambda-outbound-http.js";
10
- import { type SimClock } from "../../../util/clock/sim-clock.js";
11
- import { type SimLambdaHandler } from "./sim-lambda-handler.type.js";
12
- export type SimLambdaFunctionName = Brand<string, "SimLambdaFunctionName">;
13
- export type SimLambdaFunctionMap = Map<SimLambdaFunctionName, SimLambdaFunction>;
14
- interface SimLambdaFunctionProperties {
15
- name: SimLambdaFunctionName | string;
16
- roleArn: string;
17
- readonly accountRegionScope?: SimAwsAccountRegionScope;
18
- handlerFunction?: SimLambdaHandler;
19
- code?: SimLambdaExecutableCode | undefined;
20
- state?: SimLambdaFunctionState;
21
- handlerName?: string | undefined;
22
- runtimeName?: string | undefined;
23
- description?: string | undefined;
24
- timeoutSeconds?: number | undefined;
25
- memorySizeMb?: number | undefined;
26
- environment?: SimLambdaEnvironment | undefined;
27
- runAsOwner?: SimAwsRunAsOwner;
28
- /**
29
- * The version this is. A function is `$LATEST`, and a version published
30
- * from one is a copy of it under the number it was published as.
31
- */
32
- version?: string | undefined;
33
- /**
34
- * Clock this function's invocations measure their remaining time against. A
35
- * function built standalone, outside a SimAws instance, falls back to the
36
- * real clock.
37
- */
38
- clock?: SimClock | undefined;
39
- /**
40
- * Where this function's handler output is recorded. A function built
41
- * standalone, outside a SimAws instance, has nowhere to record to and writes
42
- * only to the host streams.
43
- */
44
- logs?: SimLogsServiceWriter | undefined;
45
- /**
46
- * Where the HTTP requests this function's code makes to hostnames the
47
- * simulation serves are answered. A function built standalone, outside a
48
- * SimAws instance, has no simulation to answer them and reaches the network
49
- * as any other code would.
50
- */
51
- outboundHttp?: SimLambdaOutboundHttp | undefined;
52
- }
6
+ import { type SimLambdaFunctionConfigurationUpdate } from "./sim-lambda-function-reconfiguration.js";
7
+ import type { SimLambdaFunctionName, SimLambdaFunctionProperties } from "./sim-lambda-function.type.js";
8
+ export type { SimLambdaFunctionName, SimLambdaFunctionMap, } from "./sim-lambda-function.type.js";
53
9
  /**
54
10
  * Simulated Lambda function resource.
55
11
  *
@@ -61,15 +17,24 @@ interface SimLambdaFunctionProperties {
61
17
  export declare class SimLambdaFunction {
62
18
  #private;
63
19
  readonly name: SimLambdaFunctionName;
64
- readonly roleArn: string;
65
20
  readonly accountRegionScope: SimAwsAccountRegionScope;
66
- readonly handlerName: string | undefined;
67
- readonly runtimeName: string | undefined;
68
- readonly description: string | undefined;
69
- readonly timeoutSeconds: number;
70
- readonly memorySizeMb: number;
71
- readonly environment: SimLambdaEnvironment;
72
21
  readonly version: string;
22
+ /**
23
+ * The settings UpdateFunctionConfiguration changes, which is everything
24
+ * about the function that is neither its identity nor its code.
25
+ *
26
+ * They are read all over the simulation and written in one place, which is
27
+ * updateConfiguration below.
28
+ */
29
+ roleArn: string;
30
+ handlerName: string | undefined;
31
+ runtimeName: string | undefined;
32
+ description: string | undefined;
33
+ timeoutSeconds: number;
34
+ memorySizeMb: number;
35
+ environment: SimLambdaEnvironment;
36
+ /** Where this function's abandoned asynchronous events go, if anywhere. */
37
+ deadLetterTargetArn: string | undefined;
73
38
  /**
74
39
  * This function's resource-based policy, which says who may act on it.
75
40
  *
@@ -80,7 +45,6 @@ export declare class SimLambdaFunction {
80
45
  */
81
46
  readonly resourcePolicy: SimLambdaFunctionPolicy;
82
47
  private readonly properties;
83
- private readonly code;
84
48
  private readonly runAsOwner;
85
49
  private readonly runner;
86
50
  private readonly clock;
@@ -107,6 +71,23 @@ export declare class SimLambdaFunction {
107
71
  * is Active from the start, since the code it copied is already resolved.
108
72
  */
109
73
  publishedAs(version: string, description?: string): SimLambdaFunction;
74
+ /**
75
+ * Apply a settings change, as UpdateFunctionConfiguration makes one.
76
+ *
77
+ * The function object survives, so its resource-based policy stands and the
78
+ * version, alias and Function URL stores go on finding it under its name. A
79
+ * version published beforehand keeps the settings it was published with.
80
+ */
81
+ updateConfiguration(update: SimLambdaFunctionConfigurationUpdate): void;
82
+ /**
83
+ * Replace the code this function runs, keeping everything else about it.
84
+ *
85
+ * The function object survives the change. Its resource-based policy lives
86
+ * on the object, and the version, alias and Function URL stores hold it
87
+ * under its name. A version published beforehand keeps its own reference to
88
+ * the code it was published with.
89
+ */
90
+ updateCode(code: SimLambdaExecutableCode): void;
110
91
  /**
111
92
  * Move this sim Lambda function to the Active state.
112
93
  */
@@ -135,5 +116,4 @@ export declare class SimLambdaFunction {
135
116
  */
136
117
  private runInHostScope;
137
118
  }
138
- export {};
139
119
  //# sourceMappingURL=sim-lambda-function.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sim-lambda-function.d.ts","sourceRoot":"","sources":["../../../../src/service/lambda/function/sim-lambda-function.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAGnF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,EAIL,KAAK,oBAAoB,EAEzB,KAAK,8BAA8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;IACH,IAAI,GAAG,IAAI,oBAAoB,CAM9B;IAED;;;;;OAKG;IACH,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,GAAG,iBAAiB,CAUpE;IAED;;OAEG;IACH,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC,CAGxB;IAED;;OAEG;IACH,aAAa,IAAI,8BAA8B,CAc9C;IAED;;;;;;;;;;;OAWG;IACG,MAAM,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAiC7C;IAED;;;;OAIG;YACW,cAAc;CAU7B"}
1
+ {"version":3,"file":"sim-lambda-function.d.ts","sourceRoot":"","sources":["../../../../src/service/lambda/function/sim-lambda-function.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,EAIL,KAAK,oBAAoB,EAEzB,KAAK,8BAA8B,EACnC,KAAK,sBAAsB,EAC5B,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EACL,KAAK,uBAAuB,EAE7B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;AAE/E,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAOjF,OAAO,EAEL,KAAK,oCAAoC,EAC1C,MAAM,0CAA0C,CAAC;AAClD,OAAO,KAAK,EACV,qBAAqB,EACrB,2BAA2B,EAC5B,MAAM,+BAA+B,CAAC;AAEvC,YAAY,EACV,qBAAqB,EACrB,oBAAoB,GACrB,MAAM,+BAA+B,CAAC;AAEvC;;;;;;;GAOG;AACH,qBAAa,iBAAiB;;IAC5B,SAAgB,IAAI,EAAE,qBAAqB,CAAC;IAC5C,SAAgB,kBAAkB,EAAE,wBAAwB,CAAC;IAC7D,SAAgB,OAAO,EAAE,MAAM,CAAC;IAEhC;;;;;;OAMG;IACI,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,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ED;;;;OAIG;YACW,cAAc;CAU7B"}
@@ -1,6 +1,7 @@
1
1
  import { simAwsRunAsContext } from "../../aws/caller/sim-aws-run-as-context.js";
2
2
  import { simAwsAccountRegionScopeFactory } from "../../aws/sim-aws-account-region-scope.factory.js";
3
3
  import { DEFAULT_SIM_LAMBDA_MEMORY_SIZE_MB, SIM_LAMBDA_LATEST_VERSION, DEFAULT_SIM_LAMBDA_TIMEOUT_SECONDS, simLambdaFunctionArn, } from "./sim-lambda-function-configuration.js";
4
+ import { simLambdaFunctionConfigurationOf } from "./sim-lambda-function-configuration.factory.js";
4
5
  import { SimLambdaHandlerReferenceCode, } from "./code/sim-lambda-executable-code.js";
5
6
  import { SimLambdaEnvironment } from "./environment/sim-lambda-environment.js";
6
7
  import { SimLambdaFunctionLogging } from "./logging/sim-lambda-function-logging.js";
@@ -9,7 +10,8 @@ import { SimLambdaHandlerRunner } from "./invoke/sim-lambda-handler-runner.js";
9
10
  import { SimLambdaInvokeContextBuilder } from "./invoke/sim-lambda-invoke-context-builder.js";
10
11
  import { runSimLambdaInHostScope } from "./invoke/sim-lambda-host-scope.js";
11
12
  import { SimRealClock } from "../../../util/clock/sim-clock.js";
12
- import { defaultLambdaHandler, } from "./sim-lambda-handler.type.js";
13
+ import { defaultLambdaHandler } from "./sim-lambda-handler.type.js";
14
+ import { reconfigureSimLambdaFunction, } from "./sim-lambda-function-reconfiguration.js";
13
15
  /**
14
16
  * Simulated Lambda function resource.
15
17
  *
@@ -20,15 +22,24 @@ import { defaultLambdaHandler, } from "./sim-lambda-handler.type.js";
20
22
  */
21
23
  export class SimLambdaFunction {
22
24
  name;
23
- roleArn;
24
25
  accountRegionScope;
26
+ version;
27
+ /**
28
+ * The settings UpdateFunctionConfiguration changes, which is everything
29
+ * about the function that is neither its identity nor its code.
30
+ *
31
+ * They are read all over the simulation and written in one place, which is
32
+ * updateConfiguration below.
33
+ */
34
+ roleArn;
25
35
  handlerName;
26
36
  runtimeName;
27
37
  description;
28
38
  timeoutSeconds;
29
39
  memorySizeMb;
30
40
  environment;
31
- version;
41
+ /** Where this function's abandoned asynchronous events go, if anywhere. */
42
+ deadLetterTargetArn;
32
43
  /**
33
44
  * This function's resource-based policy, which says who may act on it.
34
45
  *
@@ -39,22 +50,22 @@ export class SimLambdaFunction {
39
50
  */
40
51
  resourcePolicy = new SimLambdaFunctionPolicy();
41
52
  #state;
53
+ #code;
42
54
  properties;
43
- code;
44
55
  runAsOwner;
45
56
  runner = new SimLambdaHandlerRunner();
46
57
  clock;
47
58
  logging;
48
59
  outboundHttp;
49
60
  constructor(properties) {
50
- const { name, roleArn, accountRegionScope = simAwsAccountRegionScopeFactory.make(), handlerFunction = defaultLambdaHandler, code, state = "Pending", handlerName, runtimeName, description, timeoutSeconds = DEFAULT_SIM_LAMBDA_TIMEOUT_SECONDS, memorySizeMb = DEFAULT_SIM_LAMBDA_MEMORY_SIZE_MB, environment, runAsOwner = this, version = SIM_LAMBDA_LATEST_VERSION, clock = new SimRealClock(), logs, outboundHttp, } = properties;
61
+ const { name, roleArn, accountRegionScope = simAwsAccountRegionScopeFactory.make(), handlerFunction = defaultLambdaHandler, code, state = "Pending", handlerName, runtimeName, description, timeoutSeconds = DEFAULT_SIM_LAMBDA_TIMEOUT_SECONDS, memorySizeMb = DEFAULT_SIM_LAMBDA_MEMORY_SIZE_MB, environment, deadLetterTargetArn, runAsOwner = this, version = SIM_LAMBDA_LATEST_VERSION, clock = new SimRealClock(), logs, outboundHttp, } = properties;
51
62
  this.properties = properties;
52
63
  this.clock = clock;
53
64
  this.version = version;
54
65
  this.name = name;
55
66
  this.roleArn = roleArn;
56
67
  this.accountRegionScope = accountRegionScope;
57
- this.code = code ?? new SimLambdaHandlerReferenceCode(handlerFunction);
68
+ this.#code = code ?? new SimLambdaHandlerReferenceCode(handlerFunction);
58
69
  this.#state = state;
59
70
  this.handlerName = handlerName;
60
71
  this.runtimeName = runtimeName;
@@ -68,6 +79,7 @@ export class SimLambdaFunction {
68
79
  regionName: accountRegionScope.regionName,
69
80
  memorySizeMb,
70
81
  });
82
+ this.deadLetterTargetArn = deadLetterTargetArn;
71
83
  this.runAsOwner = runAsOwner;
72
84
  this.outboundHttp = outboundHttp;
73
85
  this.logging = new SimLambdaFunctionLogging({
@@ -104,14 +116,41 @@ export class SimLambdaFunction {
104
116
  publishedAs(version, description) {
105
117
  return new SimLambdaFunction({
106
118
  ...this.properties,
107
- code: this.code,
119
+ roleArn: this.roleArn,
120
+ handlerName: this.handlerName,
121
+ runtimeName: this.runtimeName,
122
+ timeoutSeconds: this.timeoutSeconds,
123
+ memorySizeMb: this.memorySizeMb,
124
+ code: this.#code,
108
125
  environment: this.environment,
126
+ deadLetterTargetArn: this.deadLetterTargetArn,
109
127
  runAsOwner: this.runAsOwner,
110
128
  state: "Active",
111
129
  description: description ?? this.description,
112
130
  version,
113
131
  });
114
132
  }
133
+ /**
134
+ * Apply a settings change, as UpdateFunctionConfiguration makes one.
135
+ *
136
+ * The function object survives, so its resource-based policy stands and the
137
+ * version, alias and Function URL stores go on finding it under its name. A
138
+ * version published beforehand keeps the settings it was published with.
139
+ */
140
+ updateConfiguration(update) {
141
+ this.#code = reconfigureSimLambdaFunction(this, update, this.#code);
142
+ }
143
+ /**
144
+ * Replace the code this function runs, keeping everything else about it.
145
+ *
146
+ * The function object survives the change. Its resource-based policy lives
147
+ * on the object, and the version, alias and Function URL stores hold it
148
+ * under its name. A version published beforehand keeps its own reference to
149
+ * the code it was published with.
150
+ */
151
+ updateCode(code) {
152
+ this.#code = code;
153
+ }
115
154
  /**
116
155
  * Move this sim Lambda function to the Active state.
117
156
  */
@@ -123,19 +162,7 @@ export class SimLambdaFunction {
123
162
  * Get the AWS-like function configuration for this sim Lambda function.
124
163
  */
125
164
  configuration() {
126
- return {
127
- FunctionName: this.name,
128
- FunctionArn: this.arn,
129
- Role: this.roleArn,
130
- State: this.state,
131
- Version: this.version,
132
- Timeout: this.timeoutSeconds,
133
- MemorySize: this.memorySizeMb,
134
- Handler: this.handlerName,
135
- Runtime: this.runtimeName,
136
- Description: this.description,
137
- Environment: this.environment.configuration(),
138
- };
165
+ return simLambdaFunctionConfigurationOf(this);
139
166
  }
140
167
  /**
141
168
  * Invoke this sim Lambda function's handler with an invocation event.
@@ -160,8 +187,8 @@ export class SimLambdaFunction {
160
187
  logGroupName: this.logging.logGroupName,
161
188
  logStreamName: this.logging.logStreamName(),
162
189
  });
163
- this.logging.recordFrom(this.code);
164
- return await simAwsRunAsContext.run(this.runAsOwner, { kind: "arn", arn: this.roleArn }, async () => await this.environment.runWith(async () => await this.runInHostScope(async () => await this.logging.around(async () => await this.runner.run(this.code.handlerFunction(), event, contextBuilder)))));
190
+ this.logging.recordFrom(this.#code);
191
+ return await simAwsRunAsContext.run(this.runAsOwner, { kind: "arn", arn: this.roleArn }, async () => await this.environment.runWith(async () => await this.runInHostScope(async () => await this.logging.around(async () => await this.runner.run(this.#code.handlerFunction(), event, contextBuilder)))));
165
192
  }
166
193
  /**
167
194
  * Run an invocation with the process globals host-scope code reads bridged
@@ -169,7 +196,7 @@ export class SimLambdaFunction {
169
196
  * and the console and streams it prints through.
170
197
  */
171
198
  async runInHostScope(run) {
172
- if (!this.code.runsInHostScope) {
199
+ if (!this.#code.runsInHostScope) {
173
200
  return await run();
174
201
  }
175
202
  const { clock, outboundHttp } = this;
@@ -1 +1 @@
1
- {"version":3,"file":"sim-lambda-function.js","sourceRoot":"","sources":["../../../../src/service/lambda/function/sim-lambda-function.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAChF,OAAO,EAAE,+BAA+B,EAAE,MAAM,mDAAmD,CAAC;AAEpG,OAAO,EACL,iCAAiC,EACjC,yBAAyB,EACzB,kCAAkC,EAElC,oBAAoB,GAGrB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAEL,6BAA6B,GAC9B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,yCAAyC,C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AI,EAAE,CACT,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,CACvB,KAAK,IAAI,EAAE,CACT,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CACnB,IAAI,CAAC,KAAK,CAAC,eAAe,EAAE,EAC5B,KAAK,EACL,cAAc,CACf,CACJ,CACJ,CACJ,CACJ,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACK,KAAK,CAAC,cAAc,CAAI,GAAqB;QACnD,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,eAAe,EAAE,CAAC;YAChC,OAAO,MAAM,GAAG,EAAE,CAAC;QACrB,CAAC;QAED,MAAM,EAAE,KAAK,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC;QACrC,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC;QAEzC,OAAO,MAAM,uBAAuB,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,EAAE,GAAG,CAAC,CAAC;IAC7E,CAAC;CACF"}
@@ -0,0 +1,58 @@
1
+ import type { Brand } from "../../../util/brand.type.js";
2
+ import type { SimClock } from "../../../util/clock/sim-clock.js";
3
+ import type { SimAwsRunAsOwner } from "../../aws/caller/sim-aws-run-as-context.js";
4
+ import type { SimAwsAccountRegionScope } from "../../aws/sim-aws-account-region-scope.js";
5
+ import type { SimLogsServiceWriter } from "../../logs/write/sim-logs-service-writer.js";
6
+ import type { SimLambdaExecutableCode } from "./code/sim-lambda-executable-code.js";
7
+ import type { SimLambdaEnvironment } from "./environment/sim-lambda-environment.js";
8
+ import type { SimLambdaOutboundHttp } from "./outbound/sim-lambda-outbound-http.js";
9
+ import type { SimLambdaFunctionState } from "./sim-lambda-function-configuration.js";
10
+ import type { SimLambdaHandler } from "./sim-lambda-handler.type.js";
11
+ import type { SimLambdaFunction } from "./sim-lambda-function.js";
12
+ export type SimLambdaFunctionName = Brand<string, "SimLambdaFunctionName">;
13
+ export type SimLambdaFunctionMap = Map<SimLambdaFunctionName, SimLambdaFunction>;
14
+ export interface SimLambdaFunctionProperties {
15
+ name: SimLambdaFunctionName | string;
16
+ roleArn: string;
17
+ readonly accountRegionScope?: SimAwsAccountRegionScope;
18
+ handlerFunction?: SimLambdaHandler;
19
+ code?: SimLambdaExecutableCode | undefined;
20
+ state?: SimLambdaFunctionState;
21
+ handlerName?: string | undefined;
22
+ runtimeName?: string | undefined;
23
+ description?: string | undefined;
24
+ timeoutSeconds?: number | undefined;
25
+ memorySizeMb?: number | undefined;
26
+ environment?: SimLambdaEnvironment | undefined;
27
+ /**
28
+ * The queue or topic this function's abandoned asynchronous events are sent
29
+ * to, which is what `DeadLetterConfig.TargetArn` names.
30
+ */
31
+ deadLetterTargetArn?: string | undefined;
32
+ runAsOwner?: SimAwsRunAsOwner;
33
+ /**
34
+ * The version this is. A function is `$LATEST`, and a version published
35
+ * from one is a copy of it under the number it was published as.
36
+ */
37
+ version?: string | undefined;
38
+ /**
39
+ * Clock this function's invocations measure their remaining time against. A
40
+ * function built standalone, outside a SimAws instance, falls back to the
41
+ * real clock.
42
+ */
43
+ clock?: SimClock | undefined;
44
+ /**
45
+ * Where this function's handler output is recorded. A function built
46
+ * standalone, outside a SimAws instance, has nowhere to record to and writes
47
+ * only to the host streams.
48
+ */
49
+ logs?: SimLogsServiceWriter | undefined;
50
+ /**
51
+ * Where the HTTP requests this function's code makes to hostnames the
52
+ * simulation serves are answered. A function built standalone, outside a
53
+ * SimAws instance, has no simulation to answer them and reaches the network
54
+ * as any other code would.
55
+ */
56
+ outboundHttp?: SimLambdaOutboundHttp | undefined;
57
+ }
58
+ //# sourceMappingURL=sim-lambda-function.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-function.type.d.ts","sourceRoot":"","sources":["../../../../src/service/lambda/function/sim-lambda-function.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,KAAK,EAAE,QAAQ,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AAS,CAAC;IAClC,WAAW,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;IAC/C;;;OAGG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B;;;;OAIG;IACH,KAAK,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC7B;;;;OAIG;IACH,IAAI,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;IACxC;;;;;OAKG;IACH,YAAY,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;CAClD"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=sim-lambda-function.type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-function.type.js","sourceRoot":"","sources":["../../../../src/service/lambda/function/sim-lambda-function.type.ts"],"names":[],"mappings":""}
@@ -12,4 +12,6 @@ export type { SimLambdaSqsEvent, SimLambdaSqsEventMessageAttribute, SimLambdaSqs
12
12
  export type { SimLambdaDynamoDbEventAttributeValue, SimLambdaDynamoDbEventImage, SimLambdaDynamoDbStreamEvent, SimLambdaDynamoDbStreamEventRecord, SimLambdaDynamoDbStreamEventRecordBody, SimLambdaDynamoDbStreamEventUserIdentity, } from "./event-source/poll/sim-lambda-dynamodb-stream-event.types.js";
13
13
  export type { SimLambdaDynamoDbAttributeValue, SimLambdaDynamoDbImage, } from "./event-source/stream/sim-lambda-dynamodb-attribute-value.js";
14
14
  export { SimLambdaStreamCascadeError } from "./event-source/stream/sim-lambda-stream-cascade.error.js";
15
+ export type { SimLambdaDestinationRecord, SimLambdaDestinationRequestContext, SimLambdaDestinationResponseContext, } from "./destination/sim-lambda-destination-record.js";
16
+ export type { SimLambdaInvocationCondition } from "./function/event-invoke/sim-lambda-event-invoke-config.js";
15
17
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/service/lambda/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EACL,8BAA8B,EAC9B,KAAK,4BAA4B,GAClC,MAAM,6DAA6D,CAAC;AACrE,OAAO,EAAE,4BAA4B,EAAE,MAAM,6DAA6D,CAAC;AAC3G,OAAO,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAClF,OAAO,EACL,iBAAiB,EACjB,KAAK,kBAAkB,GACxB,MAAM,yCAAyC,CAAC;AACjD,YAAY,EACV,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,uCAAuC,CAAC;AAC/C,YAAY,EACV,yBAAyB,EACzB,0BAA0B,GAC3B,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,6BAA6B,EAAE,MAAM,gDAAgD,CAAC;AAC/F,OAAO,EACL,qBAAqB,EACrB,2BAA2B,GAC5B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,gCAAgC,EAChC,sCAAsC,GACvC,MAAM,mDAAmD,CAAC;AAC3D,YAAY,EACV,iBAAiB,EACjB,iCAAiC,EACjC,uBAAuB,GACxB,MAAM,6CAA6C,CAAC;AACrD,YAAY,EACV,oCAAoC,EACpC,2BAA2B,EAC3B,4BAA4B,EAC5B,kCAAkC,EAClC,sCAAsC,EACtC,wCAAwC,GACzC,MAAM,+DAA+D,CAAC;AACvE,YAAY,EACV,+BAA+B,EAC/B,sBAAsB,GACvB,MAAM,8DAA8D,CAAC;AACtE,OAAO,EAAE,2BAA2B,EAAE,MAAM,0DAA0D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/service/lambda/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EACL,8BAA8B,EAC9B,KAAK,4BAA4B,GAClC,MAAM,6DAA6D,CAAC;AACrE,OAAO,EAAE,4BAA4B,EAAE,MAAM,6DAA6D,CAAC;AAC3G,OAAO,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAClF,OAAO,EACL,iBAAiB,EACjB,KAAK,kBAAkB,GACxB,MAAM,yCAAyC,CAAC;AACjD,YAAY,EACV,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,uCAAuC,CAAC;AAC/C,YAAY,EACV,yBAAyB,EACzB,0BAA0B,GAC3B,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,6BAA6B,EAAE,MAAM,gDAAgD,CAAC;AAC/F,OAAO,EACL,qBAAqB,EACrB,2BAA2B,GAC5B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,gCAAgC,EAChC,sCAAsC,GACvC,MAAM,mDAAmD,CAAC;AAC3D,YAAY,EACV,iBAAiB,EACjB,iCAAiC,EACjC,uBAAuB,GACxB,MAAM,6CAA6C,CAAC;AACrD,YAAY,EACV,oCAAoC,EACpC,2BAA2B,EAC3B,4BAA4B,EAC5B,kCAAkC,EAClC,sCAAsC,EACtC,wCAAwC,GACzC,MAAM,+DAA+D,CAAC;AACvE,YAAY,EACV,+BAA+B,EAC/B,sBAAsB,GACvB,MAAM,8DAA8D,CAAC;AACtE,OAAO,EAAE,2BAA2B,EAAE,MAAM,0DAA0D,CAAC;AACvG,YAAY,EACV,0BAA0B,EAC1B,kCAAkC,EAClC,mCAAmC,GACpC,MAAM,gDAAgD,CAAC;AACxD,YAAY,EAAE,4BAA4B,EAAE,MAAM,2DAA2D,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { SimSdkCommandRoute } from "../../../sdk/index.js";
2
+ import type { SimLambda } from "../sim-lambda.js";
3
+ /**
4
+ * The routes for the five event invoke config Commands.
5
+ *
6
+ * They are built here rather than in the router's own constructor, which holds
7
+ * every other Lambda Command and is at the length this codebase allows.
8
+ */
9
+ export declare function simLambdaEventInvokeConfigRoutes(simLambda: SimLambda): readonly (readonly [string, SimSdkCommandRoute])[];
10
+ //# sourceMappingURL=sim-lambda-event-invoke-config-routes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-event-invoke-config-routes.d.ts","sourceRoot":"","sources":["../../../../src/service/lambda/sdk/sim-lambda-event-invoke-config-routes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAOhE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElD;;;;;GAKG;AACH,wBAAgB,gCAAgC,CAC9C,SAAS,EAAE,SAAS,GACnB,SAAS,CAAC,SAAS,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC,EAAE,CA2CpD"}
@@ -0,0 +1,32 @@
1
+ import { simSdkCallerOptions } from "../../../sdk/index.js";
2
+ /**
3
+ * The routes for the five event invoke config Commands.
4
+ *
5
+ * They are built here rather than in the router's own constructor, which holds
6
+ * every other Lambda Command and is at the length this codebase allows.
7
+ */
8
+ export function simLambdaEventInvokeConfigRoutes(simLambda) {
9
+ return [
10
+ [
11
+ "PutFunctionEventInvokeConfigCommand",
12
+ async (command, context) => await simLambda.putFunctionEventInvokeConfig(command, simSdkCallerOptions(context)),
13
+ ],
14
+ [
15
+ "GetFunctionEventInvokeConfigCommand",
16
+ async (command, context) => await simLambda.getFunctionEventInvokeConfig(command, simSdkCallerOptions(context)),
17
+ ],
18
+ [
19
+ "UpdateFunctionEventInvokeConfigCommand",
20
+ async (command, context) => await simLambda.updateFunctionEventInvokeConfig(command, simSdkCallerOptions(context)),
21
+ ],
22
+ [
23
+ "DeleteFunctionEventInvokeConfigCommand",
24
+ async (command, context) => await simLambda.deleteFunctionEventInvokeConfig(command, simSdkCallerOptions(context)),
25
+ ],
26
+ [
27
+ "ListFunctionEventInvokeConfigsCommand",
28
+ async (command, context) => await simLambda.listFunctionEventInvokeConfigs(command, simSdkCallerOptions(context)),
29
+ ],
30
+ ];
31
+ }
32
+ //# sourceMappingURL=sim-lambda-event-invoke-config-routes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-event-invoke-config-routes.js","sourceRoot":"","sources":["../../../../src/service/lambda/sdk/sim-lambda-event-invoke-config-routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAQ5D;;;;;GAKG;AACH,MAAM,UAAU,gCAAgC,CAC9C,SAAoB;IAEpB,OAAO;QACL;YACE,qCAAqC;YACrC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,SAAS,CAAC,4BAA4B,CAC1C,OAAiD,EACjD,mBAAmB,CAAC,OAAO,CAAC,CAC7B;SACJ;QACD;YACE,qCAAqC;YACrC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,SAAS,CAAC,4BAA4B,CAC1C,OAAiD,EACjD,mBAAmB,CAAC,OAAO,CAAC,CAC7B;SACJ;QACD;YACE,wCAAwC;YACxC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,SAAS,CAAC,+BAA+B,CAC7C,OAAoD,EACpD,mBAAmB,CAAC,OAAO,CAAC,CAC7B;SACJ;QACD;YACE,wCAAwC;YACxC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,SAAS,CAAC,+BAA+B,CAC7C,OAAoD,EACpD,mBAAmB,CAAC,OAAO,CAAC,CAC7B;SACJ;QACD;YACE,uCAAuC;YACvC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,SAAS,CAAC,8BAA8B,CAC5C,OAAmD,EACnD,mBAAmB,CAAC,OAAO,CAAC,CAC7B;SACJ;KACF,CAAC;AACJ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"sim-lambda-sdk-command-router.d.ts","sourceRoot":"","sources":["../../../../src/service/lambda/sdk/sim-lambda-sdk-command-router.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACzB,MAAM,uBAAuB,CAAC;AA0B/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElD;;GAEG;AACH,qBAAa,yBAA0B,YAAW,mBAAmB;IACnE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0C;IAEjE,YAAY,SAAS,EAAE,SAAS,EA2L/B;IAED;;OAEG;IACH,qBAAqB,IAAI,SAAS,MAAM,EAAE,CAEzC;IAED;;OAEG;IACH,KAAK,CAAC,WAAW,EAAE,MAAM,GAAG,kBAAkB,GAAG,SAAS,CAEzD;CACF"}
1
+ {"version":3,"file":"sim-lambda-sdk-command-router.d.ts","sourceRoot":"","sources":["../../../../src/service/lambda/sdk/sim-lambda-sdk-command-router.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACzB,MAAM,uBAAuB,CAAC;AA6B/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAGlD;;GAEG;AACH,qBAAa,yBAA0B,YAAW,mBAAmB;IACnE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0C;IAEjE,YAAY,SAAS,EAAE,SAAS,EAoN/B;IAED;;OAEG;IACH,qBAAqB,IAAI,SAAS,MAAM,EAAE,CAEzC;IAED;;OAEG;IACH,KAAK,CAAC,WAAW,EAAE,MAAM,GAAG,kBAAkB,GAAG,SAAS,CAEzD;CACF"}
@@ -1,4 +1,5 @@
1
1
  import { simSdkCallerOptions, } from "../../../sdk/index.js";
2
+ import { simLambdaEventInvokeConfigRoutes } from "./sim-lambda-event-invoke-config-routes.js";
2
3
  /**
3
4
  * Routes intercepted SDK Commands to one scoped simulated Lambda instance.
4
5
  */
@@ -14,6 +15,18 @@ export class SimLambdaSdkCommandRouter {
14
15
  "GetFunctionCommand",
15
16
  async (command, context) => await simLambda.getFunction(command, simSdkCallerOptions(context)),
16
17
  ],
18
+ [
19
+ "UpdateFunctionCodeCommand",
20
+ async (command, context) => await simLambda.updateFunctionCode(command, simSdkCallerOptions(context)),
21
+ ],
22
+ [
23
+ "UpdateFunctionConfigurationCommand",
24
+ async (command, context) => await simLambda.updateFunctionConfiguration(command, simSdkCallerOptions(context)),
25
+ ],
26
+ [
27
+ "ListFunctionsCommand",
28
+ async (command, context) => await simLambda.listFunctions(command, simSdkCallerOptions(context)),
29
+ ],
17
30
  [
18
31
  "InvokeCommand",
19
32
  async (command, context) => await simLambda.invoke(command, simSdkCallerOptions(context)),
@@ -98,6 +111,7 @@ export class SimLambdaSdkCommandRouter {
98
111
  "ListFunctionUrlConfigsCommand",
99
112
  async (command, context) => await simLambda.listFunctionUrlConfigs(command, simSdkCallerOptions(context)),
100
113
  ],
114
+ ...simLambdaEventInvokeConfigRoutes(simLambda),
101
115
  ]);
102
116
  }
103
117
  /**