@kensio/yulin 1.18.0 → 1.18.2

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 (389) hide show
  1. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-creator.d.ts +8 -2
  2. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-creator.d.ts.map +1 -1
  3. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-creator.js +9 -3
  4. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-creator.js.map +1 -1
  5. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-web-acl.d.ts +25 -0
  6. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-web-acl.d.ts.map +1 -0
  7. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-web-acl.js +36 -0
  8. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-web-acl.js.map +1 -0
  9. package/dist/service/cloudfront/cfn/sim-cfn-cloudfront-resource-factory.d.ts.map +1 -1
  10. package/dist/service/cloudfront/cfn/sim-cfn-cloudfront-resource-factory.js +6 -5
  11. package/dist/service/cloudfront/cfn/sim-cfn-cloudfront-resource-factory.js.map +1 -1
  12. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.d.ts.map +1 -1
  13. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js +10 -0
  14. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js.map +1 -1
  15. package/dist/service/cognito/cfn/client/sim-cfn-cognito-refresh-token-rotation.d.ts +27 -0
  16. package/dist/service/cognito/cfn/client/sim-cfn-cognito-refresh-token-rotation.d.ts.map +1 -0
  17. package/dist/service/cognito/cfn/client/sim-cfn-cognito-refresh-token-rotation.js +35 -0
  18. package/dist/service/cognito/cfn/client/sim-cfn-cognito-refresh-token-rotation.js.map +1 -0
  19. package/dist/service/cognito/command/auth/auth.command.d.ts +31 -0
  20. package/dist/service/cognito/command/auth/auth.command.d.ts.map +1 -1
  21. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.d.ts +2 -0
  22. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.d.ts.map +1 -1
  23. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.js +13 -1
  24. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.js.map +1 -1
  25. package/dist/service/cognito/command/auth/sim-cognito-get-tokens-from-refresh-token.d.ts +35 -0
  26. package/dist/service/cognito/command/auth/sim-cognito-get-tokens-from-refresh-token.d.ts.map +1 -0
  27. package/dist/service/cognito/command/auth/sim-cognito-get-tokens-from-refresh-token.js +51 -0
  28. package/dist/service/cognito/command/auth/sim-cognito-get-tokens-from-refresh-token.js.map +1 -0
  29. package/dist/service/cognito/command/auth/sim-cognito-refresh-sign-in.d.ts +3 -8
  30. package/dist/service/cognito/command/auth/sim-cognito-refresh-sign-in.d.ts.map +1 -1
  31. package/dist/service/cognito/command/auth/sim-cognito-refresh-sign-in.js +24 -17
  32. package/dist/service/cognito/command/auth/sim-cognito-refresh-sign-in.js.map +1 -1
  33. package/dist/service/cognito/command/auth/sim-cognito-refreshed-tokens.d.ts +56 -0
  34. package/dist/service/cognito/command/auth/sim-cognito-refreshed-tokens.d.ts.map +1 -0
  35. package/dist/service/cognito/command/auth/sim-cognito-refreshed-tokens.js +50 -0
  36. package/dist/service/cognito/command/auth/sim-cognito-refreshed-tokens.js.map +1 -0
  37. package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.d.ts.map +1 -1
  38. package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.js +0 -1
  39. package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.js.map +1 -1
  40. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.d.ts +4 -3
  41. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.d.ts.map +1 -1
  42. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.js +5 -3
  43. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.js.map +1 -1
  44. package/dist/service/cognito/command/client/user-pool-client.command.d.ts +3 -1
  45. package/dist/service/cognito/command/client/user-pool-client.command.d.ts.map +1 -1
  46. package/dist/service/cognito/command/hosted/sim-cognito-presented-grant.js +1 -1
  47. package/dist/service/cognito/command/hosted/sim-cognito-presented-grant.js.map +1 -1
  48. package/dist/service/cognito/command/hosted/sim-cognito-token-grants.d.ts +3 -3
  49. package/dist/service/cognito/command/hosted/sim-cognito-token-grants.d.ts.map +1 -1
  50. package/dist/service/cognito/command/hosted/sim-cognito-token-grants.js +5 -4
  51. package/dist/service/cognito/command/hosted/sim-cognito-token-grants.js.map +1 -1
  52. package/dist/service/cognito/command/sim-cognito-command.types.d.ts +1 -1
  53. package/dist/service/cognito/command/sim-cognito-command.types.d.ts.map +1 -1
  54. package/dist/service/cognito/index.d.ts +1 -0
  55. package/dist/service/cognito/index.d.ts.map +1 -1
  56. package/dist/service/cognito/index.js +1 -0
  57. package/dist/service/cognito/index.js.map +1 -1
  58. package/dist/service/cognito/sdk/sim-cognito-sdk-auth-routes.d.ts.map +1 -1
  59. package/dist/service/cognito/sdk/sim-cognito-sdk-auth-routes.js +4 -0
  60. package/dist/service/cognito/sdk/sim-cognito-sdk-auth-routes.js.map +1 -1
  61. package/dist/service/cognito/sim-cognito-authentication.d.ts +8 -0
  62. package/dist/service/cognito/sim-cognito-authentication.d.ts.map +1 -1
  63. package/dist/service/cognito/sim-cognito-authentication.js +11 -0
  64. package/dist/service/cognito/sim-cognito-authentication.js.map +1 -1
  65. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.d.ts +11 -1
  66. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.d.ts.map +1 -1
  67. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.js +17 -2
  68. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.js.map +1 -1
  69. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.d.ts +41 -0
  70. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.d.ts.map +1 -1
  71. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.js +62 -0
  72. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.js.map +1 -1
  73. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.d.ts +5 -0
  74. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.d.ts.map +1 -1
  75. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.js +7 -0
  76. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.js.map +1 -1
  77. package/dist/service/cognito/user-pool/auth/sim-cognito-refresh-token-input.d.ts +11 -0
  78. package/dist/service/cognito/user-pool/auth/sim-cognito-refresh-token-input.d.ts.map +1 -0
  79. package/dist/service/cognito/user-pool/auth/sim-cognito-refresh-token-input.js +17 -0
  80. package/dist/service/cognito/user-pool/auth/sim-cognito-refresh-token-input.js.map +1 -0
  81. package/dist/service/cognito/user-pool/auth/sim-cognito-refreshable-session.factory.d.ts +61 -0
  82. package/dist/service/cognito/user-pool/auth/sim-cognito-refreshable-session.factory.d.ts.map +1 -0
  83. package/dist/service/cognito/user-pool/auth/sim-cognito-refreshable-session.factory.js +80 -0
  84. package/dist/service/cognito/user-pool/auth/sim-cognito-refreshable-session.factory.js.map +1 -0
  85. package/dist/service/cognito/user-pool/client/sim-cognito-client-secret.d.ts +10 -0
  86. package/dist/service/cognito/user-pool/client/sim-cognito-client-secret.d.ts.map +1 -1
  87. package/dist/service/cognito/user-pool/client/sim-cognito-client-secret.js +22 -0
  88. package/dist/service/cognito/user-pool/client/sim-cognito-client-secret.js.map +1 -1
  89. package/dist/service/cognito/user-pool/client/sim-cognito-refresh-token-rotation.d.ts +48 -0
  90. package/dist/service/cognito/user-pool/client/sim-cognito-refresh-token-rotation.d.ts.map +1 -0
  91. package/dist/service/cognito/user-pool/client/sim-cognito-refresh-token-rotation.js +79 -0
  92. package/dist/service/cognito/user-pool/client/sim-cognito-refresh-token-rotation.js.map +1 -0
  93. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.d.ts +7 -0
  94. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.d.ts.map +1 -1
  95. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.js +7 -0
  96. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.js.map +1 -1
  97. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.d.ts +6 -0
  98. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.d.ts.map +1 -1
  99. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.js +7 -0
  100. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.js.map +1 -1
  101. package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.d.ts +34 -0
  102. package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.d.ts.map +1 -1
  103. package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.js +40 -1
  104. package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.js.map +1 -1
  105. package/dist/service/lambda/command/create-function/create-function-input.js +1 -1
  106. package/dist/service/lambda/command/create-function/create-function-input.js.map +1 -1
  107. package/dist/service/lambda/command/function/sim-lambda-function-commands.d.ts +17 -0
  108. package/dist/service/lambda/command/function/sim-lambda-function-commands.d.ts.map +1 -1
  109. package/dist/service/lambda/command/function/sim-lambda-function-commands.js +43 -0
  110. package/dist/service/lambda/command/function/sim-lambda-function-commands.js.map +1 -1
  111. package/dist/service/lambda/command/list-functions/list-functions-authorizer.d.ts +31 -0
  112. package/dist/service/lambda/command/list-functions/list-functions-authorizer.d.ts.map +1 -0
  113. package/dist/service/lambda/command/list-functions/list-functions-authorizer.js +41 -0
  114. package/dist/service/lambda/command/list-functions/list-functions-authorizer.js.map +1 -0
  115. package/dist/service/lambda/command/list-functions/list-functions.command.d.ts +34 -0
  116. package/dist/service/lambda/command/list-functions/list-functions.command.d.ts.map +1 -0
  117. package/dist/service/lambda/command/list-functions/list-functions.command.js +5 -0
  118. package/dist/service/lambda/command/list-functions/list-functions.command.js.map +1 -0
  119. package/dist/service/lambda/command/list-functions/list-functions.handler.d.ts +35 -0
  120. package/dist/service/lambda/command/list-functions/list-functions.handler.d.ts.map +1 -0
  121. package/dist/service/lambda/command/list-functions/list-functions.handler.js +46 -0
  122. package/dist/service/lambda/command/list-functions/list-functions.handler.js.map +1 -0
  123. package/dist/service/lambda/command/sim-lambda-command.types.d.ts +3 -0
  124. package/dist/service/lambda/command/sim-lambda-command.types.d.ts.map +1 -1
  125. package/dist/service/lambda/command/update-function-code/update-function-code-authorizer.d.ts +27 -0
  126. package/dist/service/lambda/command/update-function-code/update-function-code-authorizer.d.ts.map +1 -0
  127. package/dist/service/lambda/command/update-function-code/update-function-code-authorizer.js +37 -0
  128. package/dist/service/lambda/command/update-function-code/update-function-code-authorizer.js.map +1 -0
  129. package/dist/service/lambda/command/update-function-code/update-function-code-input.d.ts +16 -0
  130. package/dist/service/lambda/command/update-function-code/update-function-code-input.d.ts.map +1 -0
  131. package/dist/service/lambda/command/update-function-code/update-function-code-input.js +30 -0
  132. package/dist/service/lambda/command/update-function-code/update-function-code-input.js.map +1 -0
  133. package/dist/service/lambda/command/update-function-code/update-function-code.command.d.ts +41 -0
  134. package/dist/service/lambda/command/update-function-code/update-function-code.command.d.ts.map +1 -0
  135. package/dist/service/lambda/command/update-function-code/update-function-code.command.js +5 -0
  136. package/dist/service/lambda/command/update-function-code/update-function-code.command.js.map +1 -0
  137. package/dist/service/lambda/command/update-function-code/update-function-code.handler.d.ts +52 -0
  138. package/dist/service/lambda/command/update-function-code/update-function-code.handler.d.ts.map +1 -0
  139. package/dist/service/lambda/command/update-function-code/update-function-code.handler.js +72 -0
  140. package/dist/service/lambda/command/update-function-code/update-function-code.handler.js.map +1 -0
  141. package/dist/service/lambda/command/update-function-configuration/update-function-configuration-authorizer.d.ts +28 -0
  142. package/dist/service/lambda/command/update-function-configuration/update-function-configuration-authorizer.d.ts.map +1 -0
  143. package/dist/service/lambda/command/update-function-configuration/update-function-configuration-authorizer.js +38 -0
  144. package/dist/service/lambda/command/update-function-configuration/update-function-configuration-authorizer.js.map +1 -0
  145. package/dist/service/lambda/command/update-function-configuration/update-function-configuration-input.d.ts +23 -0
  146. package/dist/service/lambda/command/update-function-configuration/update-function-configuration-input.d.ts.map +1 -0
  147. package/dist/service/lambda/command/update-function-configuration/update-function-configuration-input.js +29 -0
  148. package/dist/service/lambda/command/update-function-configuration/update-function-configuration-input.js.map +1 -0
  149. package/dist/service/lambda/command/update-function-configuration/update-function-configuration.command.d.ts +42 -0
  150. package/dist/service/lambda/command/update-function-configuration/update-function-configuration.command.d.ts.map +1 -0
  151. package/dist/service/lambda/command/update-function-configuration/update-function-configuration.command.js +5 -0
  152. package/dist/service/lambda/command/update-function-configuration/update-function-configuration.command.js.map +1 -0
  153. package/dist/service/lambda/command/update-function-configuration/update-function-configuration.handler.d.ts +50 -0
  154. package/dist/service/lambda/command/update-function-configuration/update-function-configuration.handler.d.ts.map +1 -0
  155. package/dist/service/lambda/command/update-function-configuration/update-function-configuration.handler.js +61 -0
  156. package/dist/service/lambda/command/update-function-configuration/update-function-configuration.handler.js.map +1 -0
  157. package/dist/service/lambda/function/code/lambda-code-source.d.ts +15 -2
  158. package/dist/service/lambda/function/code/lambda-code-source.d.ts.map +1 -1
  159. package/dist/service/lambda/function/code/lambda-code-source.js +19 -14
  160. package/dist/service/lambda/function/code/lambda-code-source.js.map +1 -1
  161. package/dist/service/lambda/function/code/sim-lambda-code-resolver.d.ts +6 -0
  162. package/dist/service/lambda/function/code/sim-lambda-code-resolver.d.ts.map +1 -1
  163. package/dist/service/lambda/function/code/sim-lambda-code-resolver.js.map +1 -1
  164. package/dist/service/lambda/function/code/sim-lambda-executable-code.d.ts +28 -0
  165. package/dist/service/lambda/function/code/sim-lambda-executable-code.d.ts.map +1 -1
  166. package/dist/service/lambda/function/code/sim-lambda-executable-code.js +10 -0
  167. package/dist/service/lambda/function/code/sim-lambda-executable-code.js.map +1 -1
  168. package/dist/service/lambda/function/code/sim-lambda-vm-zip-code-factory.d.ts.map +1 -1
  169. package/dist/service/lambda/function/code/sim-lambda-vm-zip-code-factory.js +2 -1
  170. package/dist/service/lambda/function/code/sim-lambda-vm-zip-code-factory.js.map +1 -1
  171. package/dist/service/lambda/function/code/sim-lambda-vm-zip-code.d.ts +11 -1
  172. package/dist/service/lambda/function/code/sim-lambda-vm-zip-code.d.ts.map +1 -1
  173. package/dist/service/lambda/function/code/sim-lambda-vm-zip-code.js +16 -0
  174. package/dist/service/lambda/function/code/sim-lambda-vm-zip-code.js.map +1 -1
  175. package/dist/service/lambda/{command/create-function/create-function-environment-names.d.ts → function/environment/lambda-environment-variable-names.d.ts} +1 -1
  176. package/dist/service/lambda/function/environment/lambda-environment-variable-names.d.ts.map +1 -0
  177. package/dist/service/lambda/{command/create-function/create-function-environment-names.js → function/environment/lambda-environment-variable-names.js} +1 -1
  178. package/dist/service/lambda/function/environment/lambda-environment-variable-names.js.map +1 -0
  179. package/dist/service/lambda/{command/create-function/create-function-environment.d.ts → function/environment/lambda-environment-variables.d.ts} +2 -2
  180. package/dist/service/lambda/function/environment/lambda-environment-variables.d.ts.map +1 -0
  181. package/dist/service/lambda/{command/create-function/create-function-environment.js → function/environment/lambda-environment-variables.js} +2 -2
  182. package/dist/service/lambda/function/environment/lambda-environment-variables.js.map +1 -0
  183. package/dist/service/lambda/function/environment/lambda-reserved-variable-names.d.ts.map +1 -0
  184. package/dist/service/lambda/function/environment/lambda-reserved-variable-names.js.map +1 -0
  185. package/dist/service/lambda/function/sim-lambda-function-reconfiguration.d.ts +35 -0
  186. package/dist/service/lambda/function/sim-lambda-function-reconfiguration.d.ts.map +1 -0
  187. package/dist/service/lambda/function/sim-lambda-function-reconfiguration.js +54 -0
  188. package/dist/service/lambda/function/sim-lambda-function-reconfiguration.js.map +1 -0
  189. package/dist/service/lambda/function/sim-lambda-function.d.ts +34 -56
  190. package/dist/service/lambda/function/sim-lambda-function.d.ts.map +1 -1
  191. package/dist/service/lambda/function/sim-lambda-function.js +43 -9
  192. package/dist/service/lambda/function/sim-lambda-function.js.map +1 -1
  193. package/dist/service/lambda/function/sim-lambda-function.type.d.ts +53 -0
  194. package/dist/service/lambda/function/sim-lambda-function.type.d.ts.map +1 -0
  195. package/dist/service/lambda/function/sim-lambda-function.type.js +2 -0
  196. package/dist/service/lambda/function/sim-lambda-function.type.js.map +1 -0
  197. package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.d.ts.map +1 -1
  198. package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.js +12 -0
  199. package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.js.map +1 -1
  200. package/dist/service/lambda/serve/api/sim-lambda-api-function-input.d.ts +27 -0
  201. package/dist/service/lambda/serve/api/sim-lambda-api-function-input.d.ts.map +1 -0
  202. package/dist/service/lambda/serve/api/sim-lambda-api-function-input.js +76 -0
  203. package/dist/service/lambda/serve/api/sim-lambda-api-function-input.js.map +1 -0
  204. package/dist/service/lambda/serve/api/sim-lambda-api-function-routes.d.ts.map +1 -1
  205. package/dist/service/lambda/serve/api/sim-lambda-api-function-routes.js +19 -58
  206. package/dist/service/lambda/serve/api/sim-lambda-api-function-routes.js.map +1 -1
  207. package/dist/service/lambda/sim-lambda-commands.d.ts.map +1 -1
  208. package/dist/service/lambda/sim-lambda-commands.js +1 -0
  209. package/dist/service/lambda/sim-lambda-commands.js.map +1 -1
  210. package/dist/service/lambda/sim-lambda.d.ts +6 -0
  211. package/dist/service/lambda/sim-lambda.d.ts.map +1 -1
  212. package/dist/service/lambda/sim-lambda.js +12 -0
  213. package/dist/service/lambda/sim-lambda.js.map +1 -1
  214. package/dist/service/s3/bucket/notification/sim-s3-notification-event.d.ts +1 -1
  215. package/dist/service/s3/bucket/notification/sim-s3-notification-event.d.ts.map +1 -1
  216. package/dist/service/s3/bucket/notification/sim-s3-notification-event.js +7 -1
  217. package/dist/service/s3/bucket/notification/sim-s3-notification-event.js.map +1 -1
  218. package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.d.ts.map +1 -1
  219. package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.js +0 -1
  220. package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.js.map +1 -1
  221. package/dist/service/s3/command/copy-object/copy-object-builder.d.ts +34 -0
  222. package/dist/service/s3/command/copy-object/copy-object-builder.d.ts.map +1 -0
  223. package/dist/service/s3/command/copy-object/copy-object-builder.js +40 -0
  224. package/dist/service/s3/command/copy-object/copy-object-builder.js.map +1 -0
  225. package/dist/service/s3/command/copy-object/copy-object-source.d.ts +37 -0
  226. package/dist/service/s3/command/copy-object/copy-object-source.d.ts.map +1 -0
  227. package/dist/service/s3/command/copy-object/copy-object-source.js +80 -0
  228. package/dist/service/s3/command/copy-object/copy-object-source.js.map +1 -0
  229. package/dist/service/s3/command/copy-object/copy-object.command.d.ts +41 -0
  230. package/dist/service/s3/command/copy-object/copy-object.command.d.ts.map +1 -0
  231. package/dist/service/s3/command/copy-object/copy-object.command.js +2 -0
  232. package/dist/service/s3/command/copy-object/copy-object.command.js.map +1 -0
  233. package/dist/service/s3/command/copy-object/copy-object.handler.d.ts +43 -0
  234. package/dist/service/s3/command/copy-object/copy-object.handler.d.ts.map +1 -0
  235. package/dist/service/s3/command/copy-object/copy-object.handler.js +76 -0
  236. package/dist/service/s3/command/copy-object/copy-object.handler.js.map +1 -0
  237. package/dist/service/s3/command/list-objects/list-objects-authorizer.d.ts +6 -4
  238. package/dist/service/s3/command/list-objects/list-objects-authorizer.d.ts.map +1 -1
  239. package/dist/service/s3/command/list-objects/list-objects-authorizer.js +6 -4
  240. package/dist/service/s3/command/list-objects/list-objects-authorizer.js.map +1 -1
  241. package/dist/service/s3/command/list-objects/list-objects-page-builder.d.ts +4 -2
  242. package/dist/service/s3/command/list-objects/list-objects-page-builder.d.ts.map +1 -1
  243. package/dist/service/s3/command/list-objects/list-objects-page-builder.js +8 -2
  244. package/dist/service/s3/command/list-objects/list-objects-page-builder.js.map +1 -1
  245. package/dist/service/s3/command/list-objects/list-objects.command.d.ts +7 -0
  246. package/dist/service/s3/command/list-objects/list-objects.command.d.ts.map +1 -1
  247. package/dist/service/s3/command/list-objects/list-objects.handler.d.ts.map +1 -1
  248. package/dist/service/s3/command/list-objects/list-objects.handler.js +2 -0
  249. package/dist/service/s3/command/list-objects/list-objects.handler.js.map +1 -1
  250. package/dist/service/s3/command/list-objects-v2/list-objects-v2-page-builder.d.ts +1 -0
  251. package/dist/service/s3/command/list-objects-v2/list-objects-v2-page-builder.d.ts.map +1 -1
  252. package/dist/service/s3/command/list-objects-v2/list-objects-v2-page-builder.js +6 -1
  253. package/dist/service/s3/command/list-objects-v2/list-objects-v2-page-builder.js.map +1 -1
  254. package/dist/service/s3/command/list-objects-v2/list-objects-v2.command.d.ts +8 -2
  255. package/dist/service/s3/command/list-objects-v2/list-objects-v2.command.d.ts.map +1 -1
  256. package/dist/service/s3/command/list-objects-v2/list-objects-v2.handler.d.ts.map +1 -1
  257. package/dist/service/s3/command/list-objects-v2/list-objects-v2.handler.js +2 -0
  258. package/dist/service/s3/command/list-objects-v2/list-objects-v2.handler.js.map +1 -1
  259. package/dist/service/s3/command/object/sim-s3-object-commands.d.ts +4 -0
  260. package/dist/service/s3/command/object/sim-s3-object-commands.d.ts.map +1 -1
  261. package/dist/service/s3/command/object/sim-s3-object-commands.js +7 -0
  262. package/dist/service/s3/command/object/sim-s3-object-commands.js.map +1 -1
  263. package/dist/service/s3/command/sim-s3-command.types.d.ts +1 -0
  264. package/dist/service/s3/command/sim-s3-command.types.d.ts.map +1 -1
  265. package/dist/service/s3/error/sim-s3.error.d.ts +11 -0
  266. package/dist/service/s3/error/sim-s3.error.d.ts.map +1 -1
  267. package/dist/service/s3/error/sim-s3.error.js +13 -0
  268. package/dist/service/s3/error/sim-s3.error.js.map +1 -1
  269. package/dist/service/s3/object/s3-common-prefix.d.ts +22 -0
  270. package/dist/service/s3/object/s3-common-prefix.d.ts.map +1 -0
  271. package/dist/service/s3/object/s3-common-prefix.js +16 -0
  272. package/dist/service/s3/object/s3-common-prefix.js.map +1 -0
  273. package/dist/service/s3/object/s3-object-listing.d.ts +9 -2
  274. package/dist/service/s3/object/s3-object-listing.d.ts.map +1 -1
  275. package/dist/service/s3/object/s3-object-listing.js +70 -13
  276. package/dist/service/s3/object/s3-object-listing.js.map +1 -1
  277. package/dist/service/s3/sdk/sim-s3-sdk-command-router.d.ts.map +1 -1
  278. package/dist/service/s3/sdk/sim-s3-sdk-command-router.js +4 -0
  279. package/dist/service/s3/sdk/sim-s3-sdk-command-router.js.map +1 -1
  280. package/dist/service/s3/serve/api/sim-s3-api-input.d.ts.map +1 -1
  281. package/dist/service/s3/serve/api/sim-s3-api-input.js +2 -0
  282. package/dist/service/s3/serve/api/sim-s3-api-input.js.map +1 -1
  283. package/dist/service/s3/serve/api/sim-s3-api-listing.d.ts +5 -0
  284. package/dist/service/s3/serve/api/sim-s3-api-listing.d.ts.map +1 -1
  285. package/dist/service/s3/serve/api/sim-s3-api-listing.js +6 -1
  286. package/dist/service/s3/serve/api/sim-s3-api-listing.js.map +1 -1
  287. package/dist/service/s3/sim-s3-operations.d.ts +2 -0
  288. package/dist/service/s3/sim-s3-operations.d.ts.map +1 -1
  289. package/dist/service/s3/sim-s3-operations.js +4 -0
  290. package/dist/service/s3/sim-s3-operations.js.map +1 -1
  291. package/dist/service/wafv2/cfn/association/sim-cfn-waf-association-creator.d.ts +4 -0
  292. package/dist/service/wafv2/cfn/association/sim-cfn-waf-association-creator.d.ts.map +1 -1
  293. package/dist/service/wafv2/cfn/association/sim-cfn-waf-association-creator.js +9 -0
  294. package/dist/service/wafv2/cfn/association/sim-cfn-waf-association-creator.js.map +1 -1
  295. package/dist/service/wafv2/cfn/association/sim-cfn-waf-association-skip.d.ts +22 -0
  296. package/dist/service/wafv2/cfn/association/sim-cfn-waf-association-skip.d.ts.map +1 -0
  297. package/dist/service/wafv2/cfn/association/sim-cfn-waf-association-skip.js +28 -0
  298. package/dist/service/wafv2/cfn/association/sim-cfn-waf-association-skip.js.map +1 -0
  299. package/dist/service/wafv2/cfn/sim-cfn-waf-resource-error.d.ts +25 -6
  300. package/dist/service/wafv2/cfn/sim-cfn-waf-resource-error.d.ts.map +1 -1
  301. package/dist/service/wafv2/cfn/sim-cfn-waf-resource-error.js +32 -7
  302. package/dist/service/wafv2/cfn/sim-cfn-waf-resource-error.js.map +1 -1
  303. package/dist/service/wafv2/cfn/web-acl/sim-cfn-waf-evaluatable-rules.d.ts +16 -0
  304. package/dist/service/wafv2/cfn/web-acl/sim-cfn-waf-evaluatable-rules.d.ts.map +1 -0
  305. package/dist/service/wafv2/cfn/web-acl/sim-cfn-waf-evaluatable-rules.js +22 -0
  306. package/dist/service/wafv2/cfn/web-acl/sim-cfn-waf-evaluatable-rules.js.map +1 -0
  307. package/dist/service/wafv2/cfn/web-acl/sim-cfn-waf-web-acl-config.d.ts +13 -4
  308. package/dist/service/wafv2/cfn/web-acl/sim-cfn-waf-web-acl-config.d.ts.map +1 -1
  309. package/dist/service/wafv2/cfn/web-acl/sim-cfn-waf-web-acl-config.js +21 -11
  310. package/dist/service/wafv2/cfn/web-acl/sim-cfn-waf-web-acl-config.js.map +1 -1
  311. package/dist/service/wafv2/cfn/web-acl/sim-cfn-waf-web-acl-creator.d.ts +11 -1
  312. package/dist/service/wafv2/cfn/web-acl/sim-cfn-waf-web-acl-creator.d.ts.map +1 -1
  313. package/dist/service/wafv2/cfn/web-acl/sim-cfn-waf-web-acl-creator.js +19 -2
  314. package/dist/service/wafv2/cfn/web-acl/sim-cfn-waf-web-acl-creator.js.map +1 -1
  315. package/dist/service/wafv2/command/web-acl/sim-wafv2-unsimulated-web-acl-input.d.ts +9 -0
  316. package/dist/service/wafv2/command/web-acl/sim-wafv2-unsimulated-web-acl-input.d.ts.map +1 -1
  317. package/dist/service/wafv2/command/web-acl/sim-wafv2-unsimulated-web-acl-input.js +9 -0
  318. package/dist/service/wafv2/command/web-acl/sim-wafv2-unsimulated-web-acl-input.js.map +1 -1
  319. package/dist/service/wafv2/command/web-acl/sim-wafv2-web-acl-commands.d.ts +2 -0
  320. package/dist/service/wafv2/command/web-acl/sim-wafv2-web-acl-commands.d.ts.map +1 -1
  321. package/dist/service/wafv2/command/web-acl/sim-wafv2-web-acl-commands.js +3 -0
  322. package/dist/service/wafv2/command/web-acl/sim-wafv2-web-acl-commands.js.map +1 -1
  323. package/dist/service/wafv2/index.d.ts +1 -0
  324. package/dist/service/wafv2/index.d.ts.map +1 -1
  325. package/dist/service/wafv2/index.js.map +1 -1
  326. package/dist/service/wafv2/managed/sim-waf-managed-group-statement.d.ts.map +1 -1
  327. package/dist/service/wafv2/managed/sim-waf-managed-group-statement.js +1 -0
  328. package/dist/service/wafv2/managed/sim-waf-managed-group-statement.js.map +1 -1
  329. package/dist/service/wafv2/sim-wafv2-commands.d.ts.map +1 -1
  330. package/dist/service/wafv2/sim-wafv2-commands.js +3 -0
  331. package/dist/service/wafv2/sim-wafv2-commands.js.map +1 -1
  332. package/dist/service/wafv2/sim-wafv2.d.ts +12 -0
  333. package/dist/service/wafv2/sim-wafv2.d.ts.map +1 -1
  334. package/dist/service/wafv2/sim-wafv2.js +18 -0
  335. package/dist/service/wafv2/sim-wafv2.js.map +1 -1
  336. package/dist/service/wafv2/statement/sim-waf-rate-based-input.d.ts +49 -0
  337. package/dist/service/wafv2/statement/sim-waf-rate-based-input.d.ts.map +1 -0
  338. package/dist/service/wafv2/statement/sim-waf-rate-based-input.js +94 -0
  339. package/dist/service/wafv2/statement/sim-waf-rate-based-input.js.map +1 -0
  340. package/dist/service/wafv2/statement/sim-waf-rate-based.d.ts +22 -0
  341. package/dist/service/wafv2/statement/sim-waf-rate-based.d.ts.map +1 -0
  342. package/dist/service/wafv2/statement/sim-waf-rate-based.js +41 -0
  343. package/dist/service/wafv2/statement/sim-waf-rate-based.js.map +1 -0
  344. package/dist/service/wafv2/statement/sim-waf-rate-based.type.d.ts +18 -0
  345. package/dist/service/wafv2/statement/sim-waf-rate-based.type.d.ts.map +1 -0
  346. package/dist/service/wafv2/statement/sim-waf-rate-based.type.js +2 -0
  347. package/dist/service/wafv2/statement/sim-waf-rate-based.type.js.map +1 -0
  348. package/dist/service/wafv2/statement/sim-waf-rate-counter.d.ts +29 -0
  349. package/dist/service/wafv2/statement/sim-waf-rate-counter.d.ts.map +1 -0
  350. package/dist/service/wafv2/statement/sim-waf-rate-counter.js +35 -0
  351. package/dist/service/wafv2/statement/sim-waf-rate-counter.js.map +1 -0
  352. package/dist/service/wafv2/statement/sim-waf-statement.d.ts +6 -0
  353. package/dist/service/wafv2/statement/sim-waf-statement.d.ts.map +1 -1
  354. package/dist/service/wafv2/statement/sim-waf-statement.js +4 -0
  355. package/dist/service/wafv2/statement/sim-waf-statement.js.map +1 -1
  356. package/dist/service/wafv2/statement/sim-waf-statement.type.d.ts +2 -1
  357. package/dist/service/wafv2/statement/sim-waf-statement.type.d.ts.map +1 -1
  358. package/dist/service/wafv2/statement/sim-waf-unsimulated-rate-based.d.ts +10 -0
  359. package/dist/service/wafv2/statement/sim-waf-unsimulated-rate-based.d.ts.map +1 -0
  360. package/dist/service/wafv2/statement/sim-waf-unsimulated-rate-based.js +40 -0
  361. package/dist/service/wafv2/statement/sim-waf-unsimulated-rate-based.js.map +1 -0
  362. package/dist/service/wafv2/statement/sim-waf-unsimulated-statement.d.ts.map +1 -1
  363. package/dist/service/wafv2/statement/sim-waf-unsimulated-statement.js +0 -5
  364. package/dist/service/wafv2/statement/sim-waf-unsimulated-statement.js.map +1 -1
  365. package/dist/service/wafv2/web-acl/sim-waf-rule-evaluator.d.ts.map +1 -1
  366. package/dist/service/wafv2/web-acl/sim-waf-rule-evaluator.js +25 -2
  367. package/dist/service/wafv2/web-acl/sim-waf-rule-evaluator.js.map +1 -1
  368. package/dist/service/wafv2/web-acl/sim-waf-rule.type.d.ts +6 -0
  369. package/dist/service/wafv2/web-acl/sim-waf-rule.type.d.ts.map +1 -1
  370. package/dist/service/wafv2/web-acl/sim-waf-unevaluatable-rules.d.ts +26 -0
  371. package/dist/service/wafv2/web-acl/sim-waf-unevaluatable-rules.d.ts.map +1 -0
  372. package/dist/service/wafv2/web-acl/sim-waf-unevaluatable-rules.js +34 -0
  373. package/dist/service/wafv2/web-acl/sim-waf-unevaluatable-rules.js.map +1 -0
  374. package/dist/service/wafv2/web-acl/sim-waf-web-acl-capacity.d.ts.map +1 -1
  375. package/dist/service/wafv2/web-acl/sim-waf-web-acl-capacity.js +16 -1
  376. package/dist/service/wafv2/web-acl/sim-waf-web-acl-capacity.js.map +1 -1
  377. package/dist/util/clock/sim-clock-control.d.ts +8 -0
  378. package/dist/util/clock/sim-clock-control.d.ts.map +1 -1
  379. package/dist/util/clock/sim-clock-control.js +10 -1
  380. package/dist/util/clock/sim-clock-control.js.map +1 -1
  381. package/package.json +1 -1
  382. package/dist/service/lambda/command/create-function/create-function-environment-names.d.ts.map +0 -1
  383. package/dist/service/lambda/command/create-function/create-function-environment-names.js.map +0 -1
  384. package/dist/service/lambda/command/create-function/create-function-environment.d.ts.map +0 -1
  385. package/dist/service/lambda/command/create-function/create-function-environment.js.map +0 -1
  386. package/dist/service/lambda/command/create-function/lambda-reserved-variable-names.d.ts.map +0 -1
  387. package/dist/service/lambda/command/create-function/lambda-reserved-variable-names.js.map +0 -1
  388. /package/dist/service/lambda/{command/create-function → function/environment}/lambda-reserved-variable-names.d.ts +0 -0
  389. /package/dist/service/lambda/{command/create-function → function/environment}/lambda-reserved-variable-names.js +0 -0
@@ -0,0 +1,23 @@
1
+ import type { SimLambdaFunctionConfigurationUpdate } from "../../function/sim-lambda-function-reconfiguration.js";
2
+ import type { SimUpdateFunctionConfigurationCommand } from "./update-function-configuration.command.js";
3
+ /**
4
+ * Validated UpdateFunctionConfiguration input, as a settings change the
5
+ * function model can apply.
6
+ *
7
+ * The function's name comes back beside the change, because the change itself
8
+ * says nothing about which function it is for.
9
+ */
10
+ export interface UpdateFunctionConfigurationInput {
11
+ readonly name: string;
12
+ readonly update: SimLambdaFunctionConfigurationUpdate;
13
+ }
14
+ /**
15
+ * Require the AWS-required UpdateFunctionConfiguration input fields, and
16
+ * validate the environment variables the request declares.
17
+ *
18
+ * An omitted `Environment` leaves the function's variables alone. One that is
19
+ * present replaces them, so it is validated the way CreateFunction validates
20
+ * the same member, down to the reserved names.
21
+ */
22
+ export declare function requireUpdateFunctionConfigurationInput(command: SimUpdateFunctionConfigurationCommand): UpdateFunctionConfigurationInput;
23
+ //# sourceMappingURL=update-function-configuration-input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-function-configuration-input.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/command/update-function-configuration/update-function-configuration-input.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,uDAAuD,CAAC;AAClH,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,4CAA4C,CAAC;AAExG;;;;;;GAMG;AACH,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,EAAE,oCAAoC,CAAC;CACvD;AAED;;;;;;;GAOG;AACH,wBAAgB,uCAAuC,CACrD,OAAO,EAAE,qCAAqC,GAC7C,gCAAgC,CAsBlC"}
@@ -0,0 +1,29 @@
1
+ import { assertDefined } from "../../../../util/type-guard/defined.js";
2
+ import { requireLambdaEnvironmentVariables } from "../../function/environment/lambda-environment-variables.js";
3
+ /**
4
+ * Require the AWS-required UpdateFunctionConfiguration input fields, and
5
+ * validate the environment variables the request declares.
6
+ *
7
+ * An omitted `Environment` leaves the function's variables alone. One that is
8
+ * present replaces them, so it is validated the way CreateFunction validates
9
+ * the same member, down to the reserved names.
10
+ */
11
+ export function requireUpdateFunctionConfigurationInput(command) {
12
+ const { input } = command;
13
+ assertDefined(input.FunctionName, "UpdateFunctionConfigurationCommand.input.FunctionName required");
14
+ return {
15
+ name: input.FunctionName,
16
+ update: {
17
+ roleArn: input.Role,
18
+ handlerName: input.Handler,
19
+ runtimeName: input.Runtime,
20
+ description: input.Description,
21
+ timeoutSeconds: input.Timeout,
22
+ memorySizeMb: input.MemorySize,
23
+ environmentVariables: input.Environment === undefined
24
+ ? undefined
25
+ : requireLambdaEnvironmentVariables(input.Environment),
26
+ },
27
+ };
28
+ }
29
+ //# sourceMappingURL=update-function-configuration-input.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-function-configuration-input.js","sourceRoot":"","sources":["../../../../../src/service/lambda/command/update-function-configuration/update-function-configuration-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAE,iCAAiC,EAAE,MAAM,4DAA4D,CAAC;AAgB/G;;;;;;;GAOG;AACH,MAAM,UAAU,uCAAuC,CACrD,OAA8C;IAE9C,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC;IAC1B,aAAa,CACX,KAAK,CAAC,YAAY,EAClB,gEAAgE,CACjE,CAAC;IAEF,OAAO;QACL,IAAI,EAAE,KAAK,CAAC,YAAY;QACxB,MAAM,EAAE;YACN,OAAO,EAAE,KAAK,CAAC,IAAI;YACnB,WAAW,EAAE,KAAK,CAAC,OAAO;YAC1B,WAAW,EAAE,KAAK,CAAC,OAAO;YAC1B,WAAW,EAAE,KAAK,CAAC,WAAW;YAC9B,cAAc,EAAE,KAAK,CAAC,OAAO;YAC7B,YAAY,EAAE,KAAK,CAAC,UAAU;YAC9B,oBAAoB,EAClB,KAAK,CAAC,WAAW,KAAK,SAAS;gBAC7B,CAAC,CAAC,SAAS;gBACX,CAAC,CAAC,iCAAiC,CAAC,KAAK,CAAC,WAAW,CAAC;SAC3D;KACF,CAAC;AACJ,CAAC"}
@@ -0,0 +1,42 @@
1
+ /**
2
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/UpdateFunctionConfigurationCommand/
3
+ */
4
+ import type { SimResponseMetadata } from "../../../aws/metadata/response-metadata.type.js";
5
+ import type { SimLambdaFunctionConfiguration } from "../../function/sim-lambda-function-configuration.js";
6
+ import type { SimLambdaFunctionEnvironment } from "../create-function/create-function.command.js";
7
+ /**
8
+ * Minimal structural sim Lambda UpdateFunctionConfiguration command.
9
+ */
10
+ export interface SimUpdateFunctionConfigurationCommand {
11
+ readonly input: SimUpdateFunctionConfigurationCommandInput;
12
+ }
13
+ /**
14
+ * Minimal structural sim Lambda UpdateFunctionConfiguration input.
15
+ *
16
+ * These are the settings simulated Lambda models. A member left out keeps the
17
+ * value the function has, and `Environment` replaces the whole variable map
18
+ * rather than merging into it, as on real AWS.
19
+ *
20
+ * Real Lambda also takes `Layers`, `VpcConfig`, `DeadLetterConfig`,
21
+ * `TracingConfig`, `KMSKeyArn`, `EphemeralStorage`, `SnapStart`,
22
+ * `LoggingConfig` and a `RevisionId` precondition. None of those are
23
+ * simulated, so all of them are left out rather than accepted and ignored.
24
+ */
25
+ export interface SimUpdateFunctionConfigurationCommandInput {
26
+ readonly FunctionName?: string | undefined;
27
+ readonly Role?: string | undefined;
28
+ readonly Handler?: string | undefined;
29
+ readonly Runtime?: string | undefined;
30
+ readonly Description?: string | undefined;
31
+ readonly Timeout?: number | undefined;
32
+ readonly MemorySize?: number | undefined;
33
+ readonly Environment?: SimLambdaFunctionEnvironment | undefined;
34
+ }
35
+ /**
36
+ * Minimal structural sim Lambda UpdateFunctionConfiguration output, which is
37
+ * the updated function's configuration.
38
+ */
39
+ export interface SimUpdateFunctionConfigurationCommandOutput extends SimLambdaFunctionConfiguration {
40
+ readonly $metadata: SimResponseMetadata;
41
+ }
42
+ //# sourceMappingURL=update-function-configuration.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-function-configuration.command.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/command/update-function-configuration/update-function-configuration.command.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,qDAAqD,CAAC;AAC1G,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAElG;;GAEG;AACH,MAAM,WAAW,qCAAqC;IACpD,QAAQ,CAAC,KAAK,EAAE,0CAA0C,CAAC;CAC5D;AAED;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,0CAA0C;IACzD,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3C,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,QAAQ,CAAC,WAAW,CAAC,EAAE,4BAA4B,GAAG,SAAS,CAAC;CACjE;AAED;;;GAGG;AACH,MAAM,WAAW,2CAA4C,SAAQ,8BAA8B;IACjG,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/UpdateFunctionConfigurationCommand/
3
+ */
4
+ export {};
5
+ //# sourceMappingURL=update-function-configuration.command.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-function-configuration.command.js","sourceRoot":"","sources":["../../../../../src/service/lambda/command/update-function-configuration/update-function-configuration.command.ts"],"names":[],"mappings":"AAAA;;GAEG"}
@@ -0,0 +1,50 @@
1
+ import type { CommandHandler } from "../../../../command/command-handler.js";
2
+ import { type BackgroundScheduler } from "../../../../util/background/background.js";
3
+ import type { SimAwsCaller } from "../../../aws/caller/sim-aws-caller.js";
4
+ import { type SimIamInterServiceAuthZ } from "../../../iam/authorize/sim-iam-inter-service-auth-z.js";
5
+ import { SimLambdaEnvironmentConflicts } from "../../function/environment/sim-lambda-environment-conflicts.js";
6
+ import type { SimLambdaFunctionMap } from "../../function/sim-lambda-function.js";
7
+ import type { SimLambdaFunctionLookup } from "../../function/url/sim-lambda-function-lookup.js";
8
+ import type { SimUpdateFunctionConfigurationCommand, SimUpdateFunctionConfigurationCommandOutput } from "./update-function-configuration.command.js";
9
+ interface UpdateFunctionConfigurationCommandHandlerProperties {
10
+ readonly functions: SimLambdaFunctionLookup;
11
+ readonly functionMap: SimLambdaFunctionMap;
12
+ readonly iam?: SimIamInterServiceAuthZ;
13
+ readonly background?: BackgroundScheduler;
14
+ readonly environmentConflicts?: SimLambdaEnvironmentConflicts;
15
+ }
16
+ interface UpdateFunctionConfigurationCommandHandlerOptions {
17
+ readonly caller?: SimAwsCaller;
18
+ }
19
+ /**
20
+ * Simulated Lambda UpdateFunctionConfigurationCommand handler.
21
+ *
22
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/UpdateFunctionConfigurationCommand/
23
+ */
24
+ export declare class UpdateFunctionConfigurationCommandHandler implements CommandHandler<SimUpdateFunctionConfigurationCommand, SimUpdateFunctionConfigurationCommandOutput> {
25
+ private readonly functions;
26
+ private readonly functionMap;
27
+ private readonly authorizer;
28
+ private readonly background;
29
+ private readonly environmentConflicts;
30
+ constructor(properties: UpdateFunctionConfigurationCommandHandlerProperties);
31
+ /**
32
+ * Change a sim Lambda function's settings.
33
+ *
34
+ * A member the request leaves out keeps the value the function has. The
35
+ * function keeps its name, ARN, code, resource-based policy, Function URL,
36
+ * published versions and aliases, and a version published beforehand keeps
37
+ * the settings it was published with.
38
+ */
39
+ handle(command: SimUpdateFunctionConfigurationCommand, options?: UpdateFunctionConfigurationCommandHandlerOptions): Promise<SimUpdateFunctionConfigurationCommandOutput>;
40
+ /**
41
+ * The environments of the other functions this simulated Lambda holds.
42
+ *
43
+ * The function being updated is left out, because a variable is only worth
44
+ * reporting where two different values for one name are in play, and its
45
+ * own new value is the one being checked.
46
+ */
47
+ private otherEnvironments;
48
+ }
49
+ export {};
50
+ //# sourceMappingURL=update-function-configuration.handler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-function-configuration.handler.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/command/update-function-configuration/update-function-configuration.handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,wDAAwD,CAAC;AAChE,OAAO,EAAE,6BAA6B,EAAE,MAAM,gEAAgE,CAAC;AAG/G,OAAO,KAAK,EAEV,oBAAoB,EACrB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kDAAkD,CAAC;AAGhG,OAAO,KAAK,EACV,qCAAqC,EACrC,2CAA2C,EAC5C,MAAM,4CAA4C,CAAC;AAEpD,UAAU,mDAAmD;IAC3D,QAAQ,CAAC,SAAS,EAAE,uBAAuB,CAAC;IAC5C,QAAQ,CAAC,WAAW,EAAE,oBAAoB,CAAC;IAC3C,QAAQ,CAAC,GAAG,CAAC,EAAE,uBAAuB,CAAC;IACvC,QAAQ,CAAC,UAAU,CAAC,EAAE,mBAAmB,CAAC;IAC1C,QAAQ,CAAC,oBAAoB,CAAC,EAAE,6BAA6B,CAAC;CAC/D;AAED,UAAU,gDAAgD;IACxD,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC;AAED;;;;GAIG;AACH,qBAAa,yCAA0C,YAAW,cAAc,CAC9E,qCAAqC,EACrC,2CAA2C,CAC5C;IACC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAA0B;IACpD,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAuB;IACnD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAwC;IACnE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAsB;IACjD,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAgC;IAErE,YAAY,UAAU,EAAE,mDAAmD,EAa1E;IAED;;;;;;;OAOG;IACG,MAAM,CACV,OAAO,EAAE,qCAAqC,EAC9C,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,2CAA2C,CAAC,CAuBtD;IAED;;;;;;OAMG;IACH,OAAO,CAAC,iBAAiB;CAQ1B"}
@@ -0,0 +1,61 @@
1
+ import { BackgroundTasks, } from "../../../../util/background/background.js";
2
+ import { SimIamAllowAllAuth, } from "../../../iam/authorize/sim-iam-inter-service-auth-z.js";
3
+ import { SimLambdaEnvironmentConflicts } from "../../function/environment/sim-lambda-environment-conflicts.js";
4
+ import { simLambdaUnqualifiedFunctionOf } from "../../function/sim-lambda-function-reference.js";
5
+ import { UpdateFunctionConfigurationAuthorizer } from "./update-function-configuration-authorizer.js";
6
+ import { requireUpdateFunctionConfigurationInput } from "./update-function-configuration-input.js";
7
+ /**
8
+ * Simulated Lambda UpdateFunctionConfigurationCommand handler.
9
+ *
10
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/UpdateFunctionConfigurationCommand/
11
+ */
12
+ export class UpdateFunctionConfigurationCommandHandler {
13
+ functions;
14
+ functionMap;
15
+ authorizer;
16
+ background;
17
+ environmentConflicts;
18
+ constructor(properties) {
19
+ const { functions, functionMap, iam = new SimIamAllowAllAuth(), background = new BackgroundTasks(), environmentConflicts = new SimLambdaEnvironmentConflicts(), } = properties;
20
+ this.functions = functions;
21
+ this.functionMap = functionMap;
22
+ this.authorizer = new UpdateFunctionConfigurationAuthorizer({ iam });
23
+ this.background = background;
24
+ this.environmentConflicts = environmentConflicts;
25
+ }
26
+ /**
27
+ * Change a sim Lambda function's settings.
28
+ *
29
+ * A member the request leaves out keeps the value the function has. The
30
+ * function keeps its name, ARN, code, resource-based policy, Function URL,
31
+ * published versions and aliases, and a version published beforehand keeps
32
+ * the settings it was published with.
33
+ */
34
+ async handle(command, options) {
35
+ const { name, update } = requireUpdateFunctionConfigurationInput(command);
36
+ // Allow for potential non-deterministic sequencing of async events.
37
+ await this.background.sequence();
38
+ const functionName = simLambdaUnqualifiedFunctionOf(name);
39
+ this.authorizer.authorize(this.functions.functionArn(functionName), options?.caller);
40
+ const simFunction = this.functions.require(functionName);
41
+ simFunction.updateConfiguration(update);
42
+ if (update.environmentVariables !== undefined) {
43
+ this.environmentConflicts.check(simFunction.environment, this.otherEnvironments(simFunction));
44
+ }
45
+ return { $metadata: {}, ...simFunction.configuration() };
46
+ }
47
+ /**
48
+ * The environments of the other functions this simulated Lambda holds.
49
+ *
50
+ * The function being updated is left out, because a variable is only worth
51
+ * reporting where two different values for one name are in play, and its
52
+ * own new value is the one being checked.
53
+ */
54
+ otherEnvironments(simFunction) {
55
+ return this.functionMap
56
+ .values()
57
+ .filter((existing) => existing !== simFunction)
58
+ .map((existing) => existing.environment);
59
+ }
60
+ }
61
+ //# sourceMappingURL=update-function-configuration.handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-function-configuration.handler.js","sourceRoot":"","sources":["../../../../../src/service/lambda/command/update-function-configuration/update-function-configuration.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,eAAe,GAChB,MAAM,2CAA2C,CAAC;AAEnD,OAAO,EACL,kBAAkB,GAEnB,MAAM,wDAAwD,CAAC;AAChE,OAAO,EAAE,6BAA6B,EAAE,MAAM,gEAAgE,CAAC;AAE/G,OAAO,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AAC;QACzD,WAAW,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC;QAExC,IAAI,MAAM,CAAC,oBAAoB,KAAK,SAAS,EAAE,CAAC;YAC9C,IAAI,CAAC,oBAAoB,CAAC,KAAK,CAC7B,WAAW,CAAC,WAAW,EACvB,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,CACpC,CAAC;QACJ,CAAC;QAED,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,GAAG,WAAW,CAAC,aAAa,EAAE,EAAE,CAAC;IAC3D,CAAC;IAED;;;;;;OAMG;IACK,iBAAiB,CACvB,WAA8B;QAE9B,OAAO,IAAI,CAAC,WAAW;aACpB,MAAM,EAAE;aACR,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,KAAK,WAAW,CAAC;aAC9C,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;IAC7C,CAAC;CACF"}
@@ -51,11 +51,24 @@ export interface SimLambdaContainerImageSource {
51
51
  */
52
52
  export type SimLambdaCodeSource = SimLambdaHandlerReferenceSource | SimLambdaZipBytesSource | SimLambdaS3LocationSource | SimLambdaContainerImageSource;
53
53
  /**
54
- * Validate CreateFunction code input into a sim Lambda code source.
54
+ * Where a command carries its code members, for validation failures to point
55
+ * at the request the caller actually made.
56
+ *
57
+ * CreateFunction nests them under `Code`, while UpdateFunctionCode carries
58
+ * them at the top level of its input.
59
+ */
60
+ export interface SimLambdaCodeInputNaming {
61
+ /** The path to the members, such as `CreateFunctionCommand.input.Code`. */
62
+ readonly path: string;
63
+ /** What prefixes a member name, such as `Code.` or nothing at all. */
64
+ readonly memberPrefix: string;
65
+ }
66
+ /**
67
+ * Validate function code input into a sim Lambda code source.
55
68
  *
56
69
  * Exactly one of ZipFile, an S3 object location or a container image URI must
57
70
  * be given, as on real AWS. S3ObjectVersion is accepted but ignored, as sim S3
58
71
  * does not simulate object versioning yet.
59
72
  */
60
- export declare function requireLambdaCodeSource(code: SimLambdaCodeInput | undefined): SimLambdaCodeSource;
73
+ export declare function requireLambdaCodeSource(code: SimLambdaCodeInput | undefined, naming?: SimLambdaCodeInputNaming): SimLambdaCodeSource;
61
74
  //# sourceMappingURL=lambda-code-source.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"lambda-code-source.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/function/code/lambda-code-source.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAGtE;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,OAAO,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACjC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B;AAED;;;GAGG;AACH,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,CAAC,IAAI,EAAE,mBAAmB,CAAC;IACnC,QAAQ,CAAC,eAAe,EAAE,gBAAgB,CAAC;CAC5C;AAED;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3B,QAAQ,CAAC,QAAQ,EAAE,UAAU,CAAC;CAC/B;AAED;;;GAGG;AACH,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAC;IAC7B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC5B;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,IAAI,EAAE,iBAAiB,CAAC;IACjC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAC3B,+BAA+B,GAC/B,uBAAuB,GACvB,yBAAyB,GACzB,6BAA6B,CAAC;AAElC;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,kBAAkB,GAAG,SAAS,GACnC,mBAAmB,CAgBrB"}
1
+ {"version":3,"file":"lambda-code-source.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/function/code/lambda-code-source.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAGtE;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,OAAO,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACjC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B;AAED;;;GAGG;AACH,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,CAAC,IAAI,EAAE,mBAAmB,CAAC;IACnC,QAAQ,CAAC,eAAe,EAAE,gBAAgB,CAAC;CAC5C;AAED;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3B,QAAQ,CAAC,QAAQ,EAAE,UAAU,CAAC;CAC/B;AAED;;;GAGG;AACH,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAC;IAC7B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC5B;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,IAAI,EAAE,iBAAiB,CAAC;IACjC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAC3B,+BAA+B,GAC/B,uBAAuB,GACvB,yBAAyB,GACzB,6BAA6B,CAAC;AAElC;;;;;;GAMG;AACH,MAAM,WAAW,wBAAwB;IACvC,2EAA2E;IAC3E,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,sEAAsE;IACtE,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;CAC/B;AAOD;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,kBAAkB,GAAG,SAAS,EACpC,MAAM,GAAE,wBAAmD,GAC1D,mBAAmB,CAgBrB"}
@@ -1,43 +1,48 @@
1
1
  import { assertDefined } from "../../../../util/type-guard/defined.js";
2
2
  import { SimLambdaInvalidParameterValueException } from "../../error/sim-lambda.error.js";
3
3
  import { LambdaZipFileStowaway } from "./lambda-zip-file-input.js";
4
+ const createFunctionCodeNaming = {
5
+ path: "CreateFunctionCommand.input.Code",
6
+ memberPrefix: "Code.",
7
+ };
4
8
  /**
5
- * Validate CreateFunction code input into a sim Lambda code source.
9
+ * Validate function code input into a sim Lambda code source.
6
10
  *
7
11
  * Exactly one of ZipFile, an S3 object location or a container image URI must
8
12
  * be given, as on real AWS. S3ObjectVersion is accepted but ignored, as sim S3
9
13
  * does not simulate object versioning yet.
10
14
  */
11
- export function requireLambdaCodeSource(code) {
12
- assertDefined(code, "CreateFunctionCommand.input.Code required");
15
+ export function requireLambdaCodeSource(code, naming = createFunctionCodeNaming) {
16
+ assertDefined(code, `${naming.path} required`);
13
17
  if (code.ImageUri !== undefined) {
14
- return containerImageSource(code.ImageUri, code);
18
+ return containerImageSource(code.ImageUri, code, naming);
15
19
  }
16
20
  if (code.ZipFile !== undefined) {
17
- return zipFileSource(code.ZipFile, code);
21
+ return zipFileSource(code.ZipFile, code, naming);
18
22
  }
19
23
  if (code.S3Bucket !== undefined || code.S3Key !== undefined) {
20
- return s3LocationSource(code);
24
+ return s3LocationSource(code, naming);
21
25
  }
22
- throw new SimLambdaInvalidParameterValueException("CreateFunctionCommand.input.Code requires either ZipFile bytes, an " +
26
+ throw new SimLambdaInvalidParameterValueException(`${naming.path} requires either ZipFile bytes, an ` +
23
27
  "S3Bucket and S3Key object location, or an ImageUri");
24
28
  }
25
29
  /**
26
30
  * A container image function names its image and nothing else, as on real
27
31
  * AWS, where an image function has no zip code to also name.
28
32
  */
29
- function containerImageSource(imageUri, code) {
33
+ function containerImageSource(imageUri, code, naming) {
30
34
  if (code.ZipFile !== undefined ||
31
35
  code.S3Bucket !== undefined ||
32
36
  code.S3Key !== undefined) {
33
37
  throw new SimLambdaInvalidParameterValueException("Please do not provide ZipFile bytes or an S3 object location when " +
34
- "using Code.ImageUri");
38
+ `using ${naming.memberPrefix}ImageUri`);
35
39
  }
36
40
  return { kind: "container-image", imageUri };
37
41
  }
38
- function zipFileSource(zipFile, code) {
42
+ function zipFileSource(zipFile, code, naming) {
39
43
  if (code.S3Bucket !== undefined || code.S3Key !== undefined) {
40
- throw new SimLambdaInvalidParameterValueException("Please do not provide an S3 object location when using Code.ZipFile");
44
+ throw new SimLambdaInvalidParameterValueException("Please do not provide an S3 object location when using " +
45
+ `${naming.memberPrefix}ZipFile`);
41
46
  }
42
47
  if (zipFile instanceof LambdaZipFileStowaway) {
43
48
  return {
@@ -47,9 +52,9 @@ function zipFileSource(zipFile, code) {
47
52
  }
48
53
  return { kind: "zip-bytes", zipBytes: zipFile };
49
54
  }
50
- function s3LocationSource(code) {
51
- assertDefined(code.S3Bucket, "CreateFunctionCommand.input.Code.S3Bucket required with S3Key");
52
- assertDefined(code.S3Key, "CreateFunctionCommand.input.Code.S3Key required with S3Bucket");
55
+ function s3LocationSource(code, naming) {
56
+ assertDefined(code.S3Bucket, `${naming.path}.S3Bucket required with S3Key`);
57
+ assertDefined(code.S3Key, `${naming.path}.S3Key required with S3Bucket`);
53
58
  return {
54
59
  kind: "s3-location",
55
60
  bucketName: code.S3Bucket,
@@ -1 +1 @@
1
- {"version":3,"file":"lambda-code-source.js","sourceRoot":"","sources":["../../../../../src/service/lambda/function/code/lambda-code-source.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAE,uCAAuC,EAAE,MAAM,iCAAiC,CAAC;AAE1F,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AA+DnE;;;;;;GAMG;AACH,MAAM,UAAU,uBAAuB,CACrC,IAAoC;IAEpC,aAAa,CAAC,IAAI,EAAE,2CAA2C,CAAC,CAAC;IAEjE,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,EAAE,CAAC;QAChC,OAAO,oBAAoB,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;IACnD,CAAC;IACD,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,EAAE,CAAC;QAC/B,OAAO,aAAa,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IAC3C,CAAC;IACD,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;QAC5D,OAAO,gBAAgB,CAAC,IAAI,CAAC,CAAC;IAChC,CAAC;IACD,MAAM,IAAI,uCAAuC,CAC/C,qEAAqE;QACnE,oDAAoD,CACvD,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,SAAS,oBAAoB,CAC3B,QAAgB,EAChB,IAAwB;IAExB,IACE,IAAI,CAAC,OAAO,KAAK,SAAS;QAC1B,IAAI,CAAC,QAAQ,KAAK,SAAS;QAC3B,IAAI,CAAC,KAAK,KAAK,SAAS,EACxB,CAAC;QACD,MAAM,IAAI,uCAAuC,CAC/C,oEAAoE;YAClE,qBAAqB,CACxB,CAAC;IACJ,CAAC;IAED,OAAO,EAAE,IAAI,EAAE,iBAAiB,EAAE,QAAQ,EAAE,CAAC;AAC/C,CAAC;AAED,SAAS,aAAa,CACpB,OAAmB,EACnB,IAAwB;IAExB,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;QAC5D,MAAM,IAAI,uCAAuC,CAC/C,qEAAqE,CACtE,CAAC;IACJ,CAAC;IACD,IAAI,OAAO,YAAY,qBAAqB,EAAE,CAAC;QAC7C,OAAO;YACL,IAAI,EAAE,mBAAmB;YACzB,eAAe,EAAE,OAAO,CAAC,eAAe;SACzC,CAAC;IACJ,CAAC;IACD,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC;AAClD,CAAC;AAED,SAAS,gBAAgB,CAAC,IAAwB;IAChD,aAAa,CACX,IAAI,CAAC,QAAQ,EACb,+DAA+D,CAChE,CAAC;IACF,aAAa,CACX,IAAI,CAAC,KAAK,EACV,+DAA+D,CAChE,CAAC;IACF,OAAO;QACL,IAAI,EAAE,aAAa;QACnB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,KAAK;KACtB,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"lambda-code-source.js","sourceRoot":"","sources":["../../../../../src/service/lambda/function/code/lambda-code-source.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAE,uCAAuC,EAAE,MAAM,iCAAiC,CAAC;AAE1F,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AA6EnE,MAAM,wBAAwB,GAA6B;IACzD,IAAI,EAAE,kCAAkC;IACxC,YAAY,EAAE,OAAO;CACtB,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,UAAU,uBAAuB,CACrC,IAAoC,EACpC,MAAM,GAA6B,wBAAwB;IAE3D,aAAa,CAAC,IAAI,EAAE,GAAG,MAAM,CAAC,IAAI,WAAW,CAAC,CAAC;IAE/C,IAAI,IAAI,CAAC,QAAQ,KA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BAAmB;YACzB,eAAe,EAAE,OAAO,CAAC,eAAe;SACzC,CAAC;IACJ,CAAC;IACD,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC;AAClD,CAAC;AAED,SAAS,gBAAgB,CACvB,IAAwB,EACxB,MAAgC;IAEhC,aAAa,CAAC,IAAI,CAAC,QAAQ,EAAE,GAAG,MAAM,CAAC,IAAI,+BAA+B,CAAC,CAAC;IAC5E,aAAa,CAAC,IAAI,CAAC,KAAK,EAAE,GAAG,MAAM,CAAC,IAAI,+BAA+B,CAAC,CAAC;IACzE,OAAO;QACL,IAAI,EAAE,aAAa;QACnB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,KAAK;KACtB,CAAC;AACJ,CAAC"}
@@ -35,6 +35,12 @@ export interface SimLambdaCodeResolveContext {
35
35
  readonly handlerName: string | undefined;
36
36
  readonly environment: SimLambdaEnvironment;
37
37
  readonly caller?: SimAwsCaller | undefined;
38
+ /**
39
+ * What to say when zip code arrives with no handler name to find its export
40
+ * in. CreateFunction takes the name on the request, while UpdateFunctionCode
41
+ * has only whatever the function was created with.
42
+ */
43
+ readonly missingHandlerMessage?: string | undefined;
38
44
  }
39
45
  /**
40
46
  * Resolves a validated CreateFunction code source into executable sim Lambda
@@ -1 +1 @@
1
- {"version":3,"file":"sim-lambda-code-resolver.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/function/code/sim-lambda-code-resolver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EACL,KAAK,wBAAwB,EAE9B,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAA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1
+ {"version":3,"file":"sim-lambda-code-resolver.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/function/code/sim-lambda-code-resolver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EACL,KAAK,wBAAwB,EAE9B,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EACL,KAAK,uBAAuB,EAE7B,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EACL,KAAK,kBAAkB,EAExB,MAAM,kCAAkC,CAAC;AAE1C,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAClG,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAErF,UAAU,+BAA+B;IACvC,QAAQ,CAAC,SAAS,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACpD,QAAQ,CAAC,mBAAmB,CAAC,EAAE,4BAA4B,GAAG,SAAS,CAAC;IACxE;;;;OAIG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAC1D;;OAEG;IACH,QAAQ,CAAC,eAAe,CAAC,EAAE,wBAAwB,GAAG,SAAS,CAAC;IAChE;;;OAGG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;CACvC;AAED;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,QAAQ,CAAC,WAAW,EAAE,oBAAoB,CAAC;IAC3C,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IAC3C;;;;OAIG;IACH,QAAQ,CAAC,qBAAqB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrD;AAED;;;;;;;GAOG;AACH,qBAAa,qBAAqB;IAChC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAqB;IAC/C,OAAO,CAAC,QAAQ,CAAC,eAAe,CAA2B;IAC3D,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAA4B;IAE7D,YAAY,UAAU,EAAE,+BAA+B,EAStD;IAED;;OAEG;IACG,OAAO,CACX,MAAM,EAAE,mBAAmB,EAC3B,OAAO,EAAE,2BAA2B,GACnC,OAAO,CAAC,uBAAuB,CAAC,CAsBlC;IAED;;;;;;;OAOG;IACH,OAAO,CAAC,qBAAqB;CAa9B"}
@@ -1 +1 @@
1
- {"version":3,"file":"sim-lambda-code-resolver.js","sourceRoot":"","sources":["../../../../../src/service/lambda/function/code/sim-lambda-code-resolver.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uCAAuC,EAAE,MAAM,iCAAiC,CAAC;AAG1F,OAAO,EAEL,0BAA0B,GAC3B,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EAEL,6BAA6B,GAC9B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAC;AAChF,OAAO,EAEL,oBAAoB,GACrB,MAAM,kCAAkC,CAAC;AAoC1C;;;;;;;GAOG;AACH,MAAM,OAAO,qBAAqB;IACf,SAAS,CAAqB;IAC9B,eAAe,CAA2B;IAC1C,gBAAgB,CAA4B;IAE7D,YAAY,UAA2C;QACrD,IAAI,CAAC,SAAS,GAAG,UAAU,CAAC,SAAS,IAAI,IAAI,oBAAoB,EAAE,CAAC;QACpE,IAAI,CAAC,eAAe;YAClB,UAAU,CAAC,eAAe,IAAI,IAAI,0BAA0B,EAAE,CAAC;QACjE,IAAI,CAAC,gBAAgB,GAAG,IAAI,yBAAyB,CAAC;YACpD,mBAAmB,EAAE,UAAU,CAAC,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uC;gBACnE,4DAA4D,CAC/D,CAAC;QACJ,CAAC;QAED,OAAO,KAAK,CAAC,OAAO,CAAC;IACvB,CAAC;CACF"}
1
+ {"version":3,"file":"sim-lambda-code-resolver.js","sourceRoot":"","sources":["../../../../../src/service/lambda/function/code/sim-lambda-code-resolver.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uCAAuC,EAAE,MAAM,iCAAiC,CAAC;AAG1F,OAAO,EAEL,0BAA0B,GAC3B,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EAEL,6BAA6B,GAC9B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAC;AAChF,OAAO,EAEL,oBAAoB,GACrB,MAAM,kCAAkC,CAAC;AA0C1C;;;;;;;GAOG;AACH,MAAM,OAAO,qBAAqB;IACf,SAAS,CAAqB;IAC9B,eAAe,CAA2B;IAC1C,gBAAgB,CAA4B;IAE7D,YAAY,UAA2C;QACrD,IAAI,CAAC,SAAS,GAAG,UAAU,CAAC,SAAS,IAAI,IAAI,oBAAoB,EAAE,CAAC;QACpE,IAAI,CAAC,eAAe;YAClB,UAAU,CAAC,eAAe,IAAI,IAAI,0BAA0B,EAAE,CAAC;QACjE,IAAI,CAAC,gBAAgB,GAAG,IAAI,yBAAyB,CAAC;YACpD,mBAAmB,EAAE,UAAU,CAAC,mBAAmB;YACnD,YAAY,EAAE,UAAU,CAAC,YAAY;YACrC,KAAK,EAAE,UAAU,CAAC,KAAK;SACxB,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,OAAO,CACX,MAA2B,EAC3B,OAAoC;QAEpC,QAAQ,MAAM,CAAC,IAAI,EAAE,CAAC;YACpB,KAAK,mBAAmB,EAAE,CAAC;gBACzB,OAAO,IAAI,6BAA6B,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC;YACnE,CAAC;YACD,KAAK,WAAW,EAAE,CAAC;gBACjB,OAAO,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;YAC9D,CAAC;YACD,KAAK,aAAa,EAAE,CAAC;gBACnB,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC;oBAChD,UAAU,EAAE,MAAM,CAAC,UAAU;oBAC7B,SAAS,EAAE,MAAM,CAAC,SAAS;oBAC3B,MAAM,EAAE,OAAO,CAAC,MAAM;iBACvB,CAAC,CAAC;gBACH,OAAO,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;YACvD,CAAC;YACD,KAAK,iBAAiB,EAAE,CAAC;gBACvB,OAAO,IAAI,6BAA6B,CACtC,IAAI,CAAC,qBAAqB,CAAC,MAAM,CAAC,QAAQ,CAAC,CAC5C,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;IAED;;;;;;;OAOG;IACK,qBAAqB,CAAC,QAAgB;QAC5C,MAAM,KAAK,GAAG,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QAEnD,IAAI,KAAK,CAAC,OAAO,KAAK,SAAS,EAAE,CAAC;YAChC,MAAM,IAAI,uCAAuC,CAC/C,gBAAgB,QAAQ,kBAAkB;gBACxC,GAAG,KAAK,CAAC,iBAAiB,EAAE,uCAAuC;gBACnE,4DAA4D,CAC/D,CAAC;QACJ,CAAC;QAED,OAAO,KAAK,CAAC,OAAO,CAAC;IACvB,CAAC;CACF"}
@@ -1,5 +1,16 @@
1
+ import type { SimLambdaEnvironment } from "../environment/sim-lambda-environment.js";
1
2
  import type { SimLambdaOutputSink } from "../logging/sim-lambda-output-sink.js";
2
3
  import type { SimLambdaHandler } from "../sim-lambda-handler.type.js";
4
+ /**
5
+ * The function settings a change to which reaches the code itself.
6
+ *
7
+ * The environment is what the code reads its variables from, and the handler
8
+ * name is what finds the export to run inside a code archive.
9
+ */
10
+ export interface SimLambdaCodeConfiguration {
11
+ readonly environment: SimLambdaEnvironment;
12
+ readonly handlerName: string | undefined;
13
+ }
3
14
  /**
4
15
  * Executable code backing a sim Lambda function.
5
16
  *
@@ -23,6 +34,15 @@ export interface SimLambdaExecutableCode {
23
34
  * output reaches the function's log group.
24
35
  */
25
36
  recordOutputTo(sink: SimLambdaOutputSink): void;
37
+ /**
38
+ * This code under changed function settings, cold rather than warm.
39
+ *
40
+ * UpdateFunctionConfiguration replaces a real function's execution
41
+ * environment, so the next invocation starts one afresh under the new
42
+ * settings. Code holding neither the environment nor the handler name has
43
+ * nothing to rebuild and answers with itself.
44
+ */
45
+ reconfigured(configuration: SimLambdaCodeConfiguration): SimLambdaExecutableCode;
26
46
  handlerFunction(): SimLambdaHandler;
27
47
  }
28
48
  /**
@@ -46,6 +66,14 @@ export declare class SimLambdaHandlerReferenceCode implements SimLambdaExecutabl
46
66
  * and process.env are bridged for the same code.
47
67
  */
48
68
  recordOutputTo(): void;
69
+ /**
70
+ * Answer with this code unchanged.
71
+ *
72
+ * A referenced handler was given directly rather than found by name, and it
73
+ * reads process.env, which the invocation applies from the function's
74
+ * current environment. Neither setting is held here.
75
+ */
76
+ reconfigured(): SimLambdaExecutableCode;
49
77
  /**
50
78
  * Get the referenced handler function.
51
79
  */
@@ -1 +1 @@
1
- {"version":3,"file":"sim-lambda-executable-code.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/function/code/sim-lambda-executable-code.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAChF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEtE;;;;;;GAMG;AACH,MAAM,WAAW,uBAAuB;IACtC;;;;;;;;OAQG;IACH,QAAQ,CAAC,eAAe,EAAE,OAAO,CAAC;IAElC;;;OAGG;IACH,cAAc,CAAC,IAAI,EAAE,mBAAmB,GAAG,IAAI,CAAC;IAEhD,eAAe,IAAI,gBAAgB,CAAC;CACrC;AAED;;GAEG;AACH,qBAAa,6BAA8B,YAAW,uBAAuB;IAO/D,OAAO,CAAC,QAAQ,CAAC,OAAO;IANpC;;;OAGG;IACH,QAAQ,CAAC,eAAe,QAAQ;IAEhC,YAA6B,OAAO,EAAE,gBAAgB,EAAI;IAE1D;;;;;;;;OAQG;IACH,cAAc,IAAI,IAAI,CAErB;IAED;;OAEG;IACH,eAAe,IAAI,gBAAgB,CAElC;CACF"}
1
+ {"version":3,"file":"sim-lambda-executable-code.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/function/code/sim-lambda-executable-code.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAChF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEtE;;;;;GAKG;AACH,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,WAAW,EAAE,oBAAoB,CAAC;IAC3C,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1C;AAED;;;;;;GAMG;AACH,MAAM,WAAW,uBAAuB;IACtC;;;;;;;;OAQG;IACH,QAAQ,CAAC,eAAe,EAAE,OAAO,CAAC;IAElC;;;OAGG;IACH,cAAc,CAAC,IAAI,EAAE,mBAAmB,GAAG,IAAI,CAAC;IAEhD;;;;;;;OAOG;IACH,YAAY,CACV,aAAa,EAAE,0BAA0B,GACxC,uBAAuB,CAAC;IAE3B,eAAe,IAAI,gBAAgB,CAAC;CACrC;AAED;;GAEG;AACH,qBAAa,6BAA8B,YAAW,uBAAuB;IAO/D,OAAO,CAAC,QAAQ,CAAC,OAAO;IANpC;;;OAGG;IACH,QAAQ,CAAC,eAAe,QAAQ;IAEhC,YAA6B,OAAO,EAAE,gBAAgB,EAAI;IAE1D;;;;;;;;OAQG;IACH,cAAc,IAAI,IAAI,CAErB;IAED;;;;;;OAMG;IACH,YAAY,IAAI,uBAAuB,CAEtC;IAED;;OAEG;IACH,eAAe,IAAI,gBAAgB,CAElC;CACF"}
@@ -23,6 +23,16 @@ export class SimLambdaHandlerReferenceCode {
23
23
  recordOutputTo() {
24
24
  // Recorded by the invocation, from the process globals.
25
25
  }
26
+ /**
27
+ * Answer with this code unchanged.
28
+ *
29
+ * A referenced handler was given directly rather than found by name, and it
30
+ * reads process.env, which the invocation applies from the function's
31
+ * current environment. Neither setting is held here.
32
+ */
33
+ reconfigured() {
34
+ return this;
35
+ }
26
36
  /**
27
37
  * Get the referenced handler function.
28
38
  */
@@ -1 +1 @@
1
- {"version":3,"file":"sim-lambda-executable-code.js","sourceRoot":"","sources":["../../../../../src/service/lambda/function/code/sim-lambda-executable-code.ts"],"names":[],"mappings":"AA+BA;;GAEG;AACH,MAAM,OAAO,6BAA6B;IAOX,OAAO;IANpC;;;OAGG;IACM,eAAe,GAAG,IAAI,CAAC;IAEhC,YAA6B,OAAyB;uBAAzB,OAAO;IAAqB,CAAC;IAE1D;;;;;;;;OAQG;IACH,cAAc;QACZ,wDAAwD;IAC1D,CAAC;IAED;;OAEG;IACH,eAAe;QACb,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;CACF"}
1
+ {"version":3,"file":"sim-lambda-executable-code.js","sourceRoot":"","sources":["../../../../../src/service/lambda/function/code/sim-lambda-executable-code.ts"],"names":[],"mappings":"AAuDA;;GAEG;AACH,MAAM,OAAO,6BAA6B;IAOX,OAAO;IANpC;;;OAGG;IACM,eAAe,GAAG,IAAI,CAAC;IAEhC,YAA6B,OAAyB;uBAAzB,OAAO;IAAqB,CAAC;IAE1D;;;;;;;;OAQG;IACH,cAAc;QACZ,wDAAwD;IAC1D,CAAC;IAED;;;;;;OAMG;IACH,YAAY;QACV,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;OAEG;IACH,eAAe;QACb,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"sim-lambda-vm-zip-code-factory.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/function/code/sim-lambda-vm-zip-code-factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAIpE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AACjF,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAClG,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAErF,UAAU,mCAAmC;IAC3C,QAAQ,CAAC,mBAAmB,CAAC,EAAE,4BAA4B,GAAG,SAAS,CAAC;IACxE,QAAQ,CAAC,YAAY,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAC1D,QAAQ,CAAC,KAAK,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;CACvC;AAED;;;;;;GAMG;AACH,qBAAa,yBAAyB;IACpC,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAEtB;IACd,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAoC;IACjE,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAuB;IAE7C,YAAY,UAAU,EAAE,mCAAmC,EAI1D;IAED;;OAEG;IACH,IAAI,CACF,QAAQ,EAAE,UAAU,EACpB,OAAO,EAAE,2BAA2B,GACnC,kBAAkB,CAcpB;IAED,OAAO,CAAC,KAAK;CAWd"}
1
+ {"version":3,"file":"sim-lambda-vm-zip-code-factory.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/function/code/sim-lambda-vm-zip-code-factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAIpE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AACjF,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAClG,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAErF,UAAU,mCAAmC;IAC3C,QAAQ,CAAC,mBAAmB,CAAC,EAAE,4BAA4B,GAAG,SAAS,CAAC;IACxE,QAAQ,CAAC,YAAY,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAC1D,QAAQ,CAAC,KAAK,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;CACvC;AAED;;;;;;GAMG;AACH,qBAAa,yBAAyB;IACpC,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAEtB;IACd,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAoC;IACjE,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAuB;IAE7C,YAAY,UAAU,EAAE,mCAAmC,EAI1D;IAED;;OAEG;IACH,IAAI,CACF,QAAQ,EAAE,UAAU,EACpB,OAAO,EAAE,2BAA2B,GACnC,kBAAkB,CAepB;IAED,OAAO,CAAC,KAAK;CAWd"}
@@ -22,7 +22,8 @@ export class SimLambdaVmZipCodeFactory {
22
22
  * Build vm zip code for a function from its code zip bytes.
23
23
  */
24
24
  make(zipBytes, context) {
25
- assertDefined(context.handlerName, "CreateFunctionCommand.input.Handler required for zip function code");
25
+ assertDefined(context.handlerName, context.missingHandlerMessage ??
26
+ "CreateFunctionCommand.input.Handler required for zip function code");
26
27
  return new SimLambdaVmZipCode({
27
28
  archive: this.unzip(zipBytes),
28
29
  handlerName: context.handlerName,
@@ -1 +1 @@
1
- {"version":3,"file":"sim-lambda-vm-zip-code-factory.js","sourceRoot":"","sources":["../../../../../src/service/lambda/function/code/sim-lambda-vm-zip-code-factory.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,uCAAuC,EAAE,MAAM,iCAAiC,CAAC;AAE1F,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAUjE;;;;;;GAMG;AACH,MAAM,OAAO,yBAAyB;IACnB,mBAAmB,CAEtB;IACG,YAAY,CAAoC;IAChD,KAAK,CAAuB;IAE7C,YAAY,UAA+C;QACzD,IAAI,CAAC,mBAAmB,GAAG,UAAU,CAAC,mBAAmB,CAAC;QAC1D,IAAI,CAAC,YAAY,GAAG,UAAU,CAAC,YAAY,CAAC;QAC5C,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;IAChC,CAAC;IAED;;OAEG;IACH,IAAI,CACF,QAAoB,EACpB,OAAoC;QAEpC,aAAa,CACX,OAAO,CAAC,WAAW,EACnB,oEAAoE,CACrE,CAAC;QAEF,OAAO,IAAI,kBAAkB,CAAC;YAC5B,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC;YAC7B,WAAW,EAAE,OAAO,CAAC,WAAW;YAChC,WAAW,EAAE,OAAO,CAAC,WAAW;YAChC,iBAAiB,EAAE,IAAI,CAAC,mBAAmB;YAC3C,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,KAAK,EAAE,IAAI,CAAC,KAAK;SAClB,CAAC,CAAC;IACL,CAAC;IAEO,KAAK,CAAC,QAAoB;QAChC,IAAI,CAAC;YACH,OAAO,aAAa,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;QAC3C,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,IAAI,uCAAuC,CAC/C,yDAAyD;gBACvD,2BAA2B,EAC7B,EAAE,KAAK,EAAE,KAAK,EAAE,CACjB,CAAC;QACJ,CAAC;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"sim-lambda-vm-zip-code-factory.js","sourceRoot":"","sources":["../../../../../src/service/lambda/function/code/sim-lambda-vm-zip-code-factory.ts"],"names":[],"mapp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ACF"}
@@ -1,7 +1,7 @@
1
1
  import type { SimZipArchive } from "../../../../util/zip/zip-archive.js";
2
2
  import type { SimLambdaHandler } from "../sim-lambda-handler.type.js";
3
3
  import { type SimLambdaVmSdkModuleProvider } from "./vm/sdk/sim-lambda-vm-sdk-module-provider.js";
4
- import type { SimLambdaExecutableCode } from "./sim-lambda-executable-code.js";
4
+ import type { SimLambdaCodeConfiguration, SimLambdaExecutableCode } from "./sim-lambda-executable-code.js";
5
5
  import { type SimLambdaVmContextProperties } from "./vm/sim-lambda-vm-context.js";
6
6
  import { type SimLambdaOutputSink } from "../logging/sim-lambda-output-sink.js";
7
7
  /**
@@ -38,6 +38,16 @@ export declare class SimLambdaVmZipCode implements SimLambdaExecutableCode {
38
38
  * the sink by the time any of it runs.
39
39
  */
40
40
  recordOutputTo(sink: SimLambdaOutputSink): void;
41
+ /**
42
+ * This archive under changed function settings, ready to cold start again.
43
+ *
44
+ * The sandbox is built from the environment and the export is found by the
45
+ * handler name, and both are fixed once the code has started. So a change to
46
+ * either produces code of its own, holding the same archive, which the next
47
+ * invocation cold starts. Whatever the running module had in memory goes,
48
+ * the way it goes on real Lambda when the configuration changes.
49
+ */
50
+ reconfigured(configuration: SimLambdaCodeConfiguration): SimLambdaVmZipCode;
41
51
  /**
42
52
  * Get the handler function, cold-starting the module code if needed.
43
53
  */
@@ -1 +1 @@
1
- {"version":3,"file":"sim-lambda-vm-zip-code.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/function/code/sim-lambda-vm-zip-code.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEzE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAEL,KAAK,4BAA4B,EAClC,MAAM,+CAA+C,CAAC;AACvD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAE/E,OAAO,EAEL,KAAK,4BAA4B,EAClC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAEL,KAAK,mBAAmB,EACzB,MAAM,sCAAsC,CAAC;AAG9C;;;GAGG;AACH,UAAU,4BAA6B,SAAQ,4BAA4B;IACzE,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC;IAChC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,iBAAiB,CAAC,EAAE,4BAA4B,GAAG,SAAS,CAAC;CACvE;AAED;;;;;;;GAOG;AACH,qBAAa,kBAAmB,YAAW,uBAAuB;;IAUpD,OAAO,CAAC,QAAQ,CAAC,UAAU;IATvC;;;OAGG;IACH,QAAQ,CAAC,eAAe,SAAS;IAKjC,YAA6B,UAAU,EAAE,4BAA4B,EAAI;IAEzE;;;;;;OAMG;IACH,cAAc,CAAC,IAAI,EAAE,mBAAmB,GAAG,IAAI,CAE9C;IAED;;OAEG;IACH,eAAe,IAAI,gBAAgB,CAGlC;IAED,OAAO,CAAC,SAAS;IAyBjB;;;;;;;OAOG;IACH,OAAO,CAAC,eAAe;IAWvB,OAAO,CAAC,mBAAmB;CAiB5B"}
1
+ {"version":3,"file":"sim-lambda-vm-zip-code.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/function/code/sim-lambda-vm-zip-code.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEzE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAEL,KAAK,4BAA4B,EAClC,MAAM,+CAA+C,CAAC;AACvD,OAAO,KAAK,EACV,0BAA0B,EAC1B,uBAAuB,EACxB,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EAEL,KAAK,4BAA4B,EAClC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAEL,KAAK,mBAAmB,EACzB,MAAM,sCAAsC,CAAC;AAG9C;;;GAGG;AACH,UAAU,4BAA6B,SAAQ,4BAA4B;IACzE,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC;IAChC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,iBAAiB,CAAC,EAAE,4BAA4B,GAAG,SAAS,CAAC;CACvE;AAED;;;;;;;GAOG;AACH,qBAAa,kBAAmB,YAAW,uBAAuB;;IAUpD,OAAO,CAAC,QAAQ,CAAC,UAAU;IATvC;;;OAGG;IACH,QAAQ,CAAC,eAAe,SAAS;IAKjC,YAA6B,UAAU,EAAE,4BAA4B,EAAI;IAEzE;;;;;;OAMG;IACH,cAAc,CAAC,IAAI,EAAE,mBAAmB,GAAG,IAAI,CAE9C;IAED;;;;;;;;OAQG;IACH,YAAY,CAAC,aAAa,EAAE,0BAA0B,GAAG,kBAAkB,CAM1E;IAED;;OAEG;IACH,eAAe,IAAI,gBAAgB,CAGlC;IAED,OAAO,CAAC,SAAS;IAyBjB;;;;;;;OAOG;IACH,OAAO,CAAC,eAAe;IAWvB,OAAO,CAAC,mBAAmB;CAiB5B"}
@@ -34,6 +34,22 @@ export class SimLambdaVmZipCode {
34
34
  recordOutputTo(sink) {
35
35
  this.#sink = sink;
36
36
  }
37
+ /**
38
+ * This archive under changed function settings, ready to cold start again.
39
+ *
40
+ * The sandbox is built from the environment and the export is found by the
41
+ * handler name, and both are fixed once the code has started. So a change to
42
+ * either produces code of its own, holding the same archive, which the next
43
+ * invocation cold starts. Whatever the running module had in memory goes,
44
+ * the way it goes on real Lambda when the configuration changes.
45
+ */
46
+ reconfigured(configuration) {
47
+ return new SimLambdaVmZipCode({
48
+ ...this.properties,
49
+ environment: configuration.environment,
50
+ handlerName: configuration.handlerName ?? this.properties.handlerName,
51
+ });
52
+ }
37
53
  /**
38
54
  * Get the handler function, cold-starting the module code if needed.
39
55
  */
@@ -1 +1 @@
1
- {"version":3,"file":"sim-lambda-vm-zip-code.js","sourceRoot":"","sources":["../../../../../src/service/lambda/function/code/sim-lambda-vm-zip-code.ts"],"names":[],"mappings":"AACA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YACd,CAAC;YACD,IAAI,OAAO,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;YAC5B,IAAI,KAAK,YAAY,KAAK,EAAE,CAAC;gBAC3B,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC;YAC1B,CAAC;YACD,MAAM,IAAI,qBAAqB,CAAC,2BAA2B,EAAE,OAAO,CAAC,CAAC;QACxE,CAAC;IACH,CAAC;CACF"}
@@ -7,4 +7,4 @@
7
7
  * which is also an illegal name shape.
8
8
  */
9
9
  export declare function requireValidVariableNames(declared: ReadonlyMap<string, string>): void;
10
- //# sourceMappingURL=create-function-environment-names.d.ts.map
10
+ //# sourceMappingURL=lambda-environment-variable-names.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lambda-environment-variable-names.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/function/environment/lambda-environment-variable-names.ts"],"names":[],"mappings":"AA2EA;;;;;;;GAOG;AACH,wBAAgB,yBAAyB,CACvC,QAAQ,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,GACpC,IAAI,CAGN"}
@@ -57,4 +57,4 @@ export function requireValidVariableNames(declared) {
57
57
  requireMatchingVariableNames(declared);
58
58
  requireUnreservedVariableNames(declared);
59
59
  }
60
- //# sourceMappingURL=create-function-environment-names.js.map
60
+ //# sourceMappingURL=lambda-environment-variable-names.js.map