@kensio/yulin 1.18.2 → 1.19.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (559) hide show
  1. package/dist/sdk/wire/sim-sdk-wire-operation.d.ts +15 -0
  2. package/dist/sdk/wire/sim-sdk-wire-operation.d.ts.map +1 -1
  3. package/dist/sdk/wire/sim-sdk-wire-operation.js +54 -2
  4. package/dist/sdk/wire/sim-sdk-wire-operation.js.map +1 -1
  5. package/dist/serve/http/api/sim-aws-api-endpoint.d.ts +3 -0
  6. package/dist/serve/http/api/sim-aws-api-endpoint.d.ts.map +1 -1
  7. package/dist/serve/http/api/sim-aws-api-endpoint.js +10 -2
  8. package/dist/serve/http/api/sim-aws-api-endpoint.js.map +1 -1
  9. package/dist/service/aws/factory/sim-aws-lambda-collaborators.d.ts +6 -0
  10. package/dist/service/aws/factory/sim-aws-lambda-collaborators.d.ts.map +1 -1
  11. package/dist/service/aws/factory/sim-aws-lambda-collaborators.js +6 -0
  12. package/dist/service/aws/factory/sim-aws-lambda-collaborators.js.map +1 -1
  13. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.d.ts.map +1 -1
  14. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js +5 -0
  15. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js.map +1 -1
  16. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.d.ts +5 -4
  17. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.d.ts.map +1 -1
  18. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.js +5 -4
  19. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.js.map +1 -1
  20. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-mfa.d.ts +13 -0
  21. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-mfa.d.ts.map +1 -1
  22. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-mfa.js +30 -1
  23. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-mfa.js.map +1 -1
  24. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.d.ts.map +1 -1
  25. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js +9 -0
  26. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js.map +1 -1
  27. package/dist/service/cognito/command/auth/auth.command.d.ts +5 -0
  28. package/dist/service/cognito/command/auth/auth.command.d.ts.map +1 -1
  29. package/dist/service/cognito/command/auth/sim-cognito-answering-user.d.ts +22 -0
  30. package/dist/service/cognito/command/auth/sim-cognito-answering-user.d.ts.map +1 -0
  31. package/dist/service/cognito/command/auth/sim-cognito-answering-user.js +25 -0
  32. package/dist/service/cognito/command/auth/sim-cognito-answering-user.js.map +1 -0
  33. package/dist/service/cognito/command/auth/sim-cognito-auth-challenge.d.ts.map +1 -1
  34. package/dist/service/cognito/command/auth/sim-cognito-auth-challenge.js +9 -0
  35. package/dist/service/cognito/command/auth/sim-cognito-auth-challenge.js.map +1 -1
  36. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.d.ts +6 -0
  37. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.d.ts.map +1 -1
  38. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.js +23 -5
  39. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.js.map +1 -1
  40. package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.d.ts +7 -3
  41. package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.d.ts.map +1 -1
  42. package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.js +9 -3
  43. package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.js.map +1 -1
  44. package/dist/service/cognito/command/auth/sim-cognito-auth-flow.d.ts +6 -0
  45. package/dist/service/cognito/command/auth/sim-cognito-auth-flow.d.ts.map +1 -1
  46. package/dist/service/cognito/command/auth/sim-cognito-auth-flow.js +6 -0
  47. package/dist/service/cognito/command/auth/sim-cognito-auth-flow.js.map +1 -1
  48. package/dist/service/cognito/command/auth/sim-cognito-auth-flows.d.ts +8 -0
  49. package/dist/service/cognito/command/auth/sim-cognito-auth-flows.d.ts.map +1 -1
  50. package/dist/service/cognito/command/auth/sim-cognito-auth-flows.js +16 -2
  51. package/dist/service/cognito/command/auth/sim-cognito-auth-flows.js.map +1 -1
  52. package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.d.ts +7 -0
  53. package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.d.ts.map +1 -1
  54. package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.js +16 -0
  55. package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.js.map +1 -1
  56. package/dist/service/cognito/command/auth/sim-cognito-available-challenges.d.ts +35 -0
  57. package/dist/service/cognito/command/auth/sim-cognito-available-challenges.d.ts.map +1 -0
  58. package/dist/service/cognito/command/auth/sim-cognito-available-challenges.js +83 -0
  59. package/dist/service/cognito/command/auth/sim-cognito-available-challenges.js.map +1 -0
  60. package/dist/service/cognito/command/auth/sim-cognito-challenge-responses.d.ts +3 -0
  61. package/dist/service/cognito/command/auth/sim-cognito-challenge-responses.d.ts.map +1 -1
  62. package/dist/service/cognito/command/auth/sim-cognito-challenge-responses.js +18 -0
  63. package/dist/service/cognito/command/auth/sim-cognito-challenge-responses.js.map +1 -1
  64. package/dist/service/cognito/command/auth/sim-cognito-first-factor-challenge.d.ts +54 -0
  65. package/dist/service/cognito/command/auth/sim-cognito-first-factor-challenge.d.ts.map +1 -0
  66. package/dist/service/cognito/command/auth/sim-cognito-first-factor-challenge.js +87 -0
  67. package/dist/service/cognito/command/auth/sim-cognito-first-factor-challenge.js.map +1 -0
  68. package/dist/service/cognito/command/auth/sim-cognito-first-factor-response.d.ts +55 -0
  69. package/dist/service/cognito/command/auth/sim-cognito-first-factor-response.d.ts.map +1 -0
  70. package/dist/service/cognito/command/auth/sim-cognito-first-factor-response.js +64 -0
  71. package/dist/service/cognito/command/auth/sim-cognito-first-factor-response.js.map +1 -0
  72. package/dist/service/cognito/command/auth/sim-cognito-mfa-challenge.js +1 -1
  73. package/dist/service/cognito/command/auth/sim-cognito-mfa-challenge.js.map +1 -1
  74. package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.d.ts +2 -1
  75. package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.d.ts.map +1 -1
  76. package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.js +2 -2
  77. package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.js.map +1 -1
  78. package/dist/service/cognito/command/auth/sim-cognito-password-response.d.ts +31 -0
  79. package/dist/service/cognito/command/auth/sim-cognito-password-response.d.ts.map +1 -0
  80. package/dist/service/cognito/command/auth/sim-cognito-password-response.js +39 -0
  81. package/dist/service/cognito/command/auth/sim-cognito-password-response.js.map +1 -0
  82. package/dist/service/cognito/command/auth/sim-cognito-password-sign-in.js +1 -1
  83. package/dist/service/cognito/command/auth/sim-cognito-password-sign-in.js.map +1 -1
  84. package/dist/service/cognito/command/auth/sim-cognito-unsimulated-auth-options.d.ts.map +1 -1
  85. package/dist/service/cognito/command/auth/sim-cognito-unsimulated-auth-options.js +7 -2
  86. package/dist/service/cognito/command/auth/sim-cognito-unsimulated-auth-options.js.map +1 -1
  87. package/dist/service/cognito/command/auth/sim-cognito-user-auth-sign-in.d.ts +44 -0
  88. package/dist/service/cognito/command/auth/sim-cognito-user-auth-sign-in.d.ts.map +1 -0
  89. package/dist/service/cognito/command/auth/sim-cognito-user-auth-sign-in.js +62 -0
  90. package/dist/service/cognito/command/auth/sim-cognito-user-auth-sign-in.js.map +1 -0
  91. package/dist/service/cognito/command/auth/sim-cognito-web-authn-response.d.ts +30 -0
  92. package/dist/service/cognito/command/auth/sim-cognito-web-authn-response.d.ts.map +1 -0
  93. package/dist/service/cognito/command/auth/sim-cognito-web-authn-response.js +36 -0
  94. package/dist/service/cognito/command/auth/sim-cognito-web-authn-response.js.map +1 -0
  95. package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.d.ts.map +1 -1
  96. package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.js +0 -1
  97. package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.js.map +1 -1
  98. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.d.ts.map +1 -1
  99. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.js +1 -0
  100. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.js.map +1 -1
  101. package/dist/service/cognito/command/client/user-pool-client.command.d.ts +1 -0
  102. package/dist/service/cognito/command/client/user-pool-client.command.d.ts.map +1 -1
  103. package/dist/service/cognito/command/hosted/hosted-auth.command.d.ts +22 -0
  104. package/dist/service/cognito/command/hosted/hosted-auth.command.d.ts.map +1 -1
  105. package/dist/service/cognito/command/hosted/sim-cognito-authorize-endpoint.d.ts +4 -4
  106. package/dist/service/cognito/command/hosted/sim-cognito-authorize-endpoint.js +4 -4
  107. package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.d.ts +6 -0
  108. package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.d.ts.map +1 -1
  109. package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.js +2 -1
  110. package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.js.map +1 -1
  111. package/dist/service/cognito/command/hosted/sim-cognito-hosted-passkey-sign-in.d.ts +71 -0
  112. package/dist/service/cognito/command/hosted/sim-cognito-hosted-passkey-sign-in.d.ts.map +1 -0
  113. package/dist/service/cognito/command/hosted/sim-cognito-hosted-passkey-sign-in.js +76 -0
  114. package/dist/service/cognito/command/hosted/sim-cognito-hosted-passkey-sign-in.js.map +1 -0
  115. package/dist/service/cognito/command/hosted/sim-cognito-hosted-sign-in.d.ts +16 -7
  116. package/dist/service/cognito/command/hosted/sim-cognito-hosted-sign-in.d.ts.map +1 -1
  117. package/dist/service/cognito/command/hosted/sim-cognito-hosted-sign-in.js +26 -7
  118. package/dist/service/cognito/command/hosted/sim-cognito-hosted-sign-in.js.map +1 -1
  119. package/dist/service/cognito/command/sim-cognito-command.types.d.ts +1 -0
  120. package/dist/service/cognito/command/sim-cognito-command.types.d.ts.map +1 -1
  121. package/dist/service/cognito/command/sim-cognito-commands.d.ts +2 -0
  122. package/dist/service/cognito/command/sim-cognito-commands.d.ts.map +1 -1
  123. package/dist/service/cognito/command/sim-cognito-commands.js +9 -0
  124. package/dist/service/cognito/command/sim-cognito-commands.js.map +1 -1
  125. package/dist/service/cognito/command/sim-cognito-page.d.ts +10 -0
  126. package/dist/service/cognito/command/sim-cognito-page.d.ts.map +1 -1
  127. package/dist/service/cognito/command/sim-cognito-page.js +11 -7
  128. package/dist/service/cognito/command/sim-cognito-page.js.map +1 -1
  129. package/dist/service/cognito/command/user/sim-cognito-web-authn-commands.d.ts +49 -0
  130. package/dist/service/cognito/command/user/sim-cognito-web-authn-commands.d.ts.map +1 -0
  131. package/dist/service/cognito/command/user/sim-cognito-web-authn-commands.js +88 -0
  132. package/dist/service/cognito/command/user/sim-cognito-web-authn-commands.js.map +1 -0
  133. package/dist/service/cognito/command/user/web-authn.command.d.ts +87 -0
  134. package/dist/service/cognito/command/user/web-authn.command.d.ts.map +1 -0
  135. package/dist/service/cognito/command/user/web-authn.command.js +2 -0
  136. package/dist/service/cognito/command/user/web-authn.command.js.map +1 -0
  137. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-options.d.ts +4 -0
  138. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-options.d.ts.map +1 -1
  139. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-options.js +4 -1
  140. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-options.js.map +1 -1
  141. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.d.ts +5 -3
  142. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.d.ts.map +1 -1
  143. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.js +5 -4
  144. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.js.map +1 -1
  145. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.d.ts +4 -0
  146. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.d.ts.map +1 -1
  147. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.js +9 -1
  148. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.js.map +1 -1
  149. package/dist/service/cognito/command/user-pool/user-pool-mfa.command.d.ts +2 -3
  150. package/dist/service/cognito/command/user-pool/user-pool-mfa.command.d.ts.map +1 -1
  151. package/dist/service/cognito/error/sim-cognito-managed-login.error.d.ts +24 -0
  152. package/dist/service/cognito/error/sim-cognito-managed-login.error.d.ts.map +1 -1
  153. package/dist/service/cognito/error/sim-cognito-managed-login.error.js +37 -0
  154. package/dist/service/cognito/error/sim-cognito-managed-login.error.js.map +1 -1
  155. package/dist/service/cognito/error/sim-cognito-web-authn.error.d.ts +56 -0
  156. package/dist/service/cognito/error/sim-cognito-web-authn.error.d.ts.map +1 -0
  157. package/dist/service/cognito/error/sim-cognito-web-authn.error.js +66 -0
  158. package/dist/service/cognito/error/sim-cognito-web-authn.error.js.map +1 -0
  159. package/dist/service/cognito/index.d.ts +9 -1
  160. package/dist/service/cognito/index.d.ts.map +1 -1
  161. package/dist/service/cognito/index.js +7 -0
  162. package/dist/service/cognito/index.js.map +1 -1
  163. package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.d.ts +2 -2
  164. package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.d.ts.map +1 -1
  165. package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.js +4 -2
  166. package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.js.map +1 -1
  167. package/dist/service/cognito/sdk/sim-cognito-sdk-web-authn-routes.d.ts +11 -0
  168. package/dist/service/cognito/sdk/sim-cognito-sdk-web-authn-routes.d.ts.map +1 -0
  169. package/dist/service/cognito/sdk/sim-cognito-sdk-web-authn-routes.js +28 -0
  170. package/dist/service/cognito/sdk/sim-cognito-sdk-web-authn-routes.js.map +1 -0
  171. package/dist/service/cognito/serve/page/sim-cognito-managed-login.d.ts +4 -2
  172. package/dist/service/cognito/serve/page/sim-cognito-managed-login.d.ts.map +1 -1
  173. package/dist/service/cognito/serve/page/sim-cognito-managed-login.js +9 -3
  174. package/dist/service/cognito/serve/page/sim-cognito-managed-login.js.map +1 -1
  175. package/dist/service/cognito/serve/page/sim-cognito-passkey-page.d.ts +23 -0
  176. package/dist/service/cognito/serve/page/sim-cognito-passkey-page.d.ts.map +1 -0
  177. package/dist/service/cognito/serve/page/sim-cognito-passkey-page.js +36 -0
  178. package/dist/service/cognito/serve/page/sim-cognito-passkey-page.js.map +1 -0
  179. package/dist/service/cognito/serve/page/sim-cognito-sign-in-page.d.ts +13 -1
  180. package/dist/service/cognito/serve/page/sim-cognito-sign-in-page.d.ts.map +1 -1
  181. package/dist/service/cognito/serve/page/sim-cognito-sign-in-page.js +24 -2
  182. package/dist/service/cognito/serve/page/sim-cognito-sign-in-page.js.map +1 -1
  183. package/dist/service/cognito/sim-cognito-user-factors.d.ts +25 -0
  184. package/dist/service/cognito/sim-cognito-user-factors.d.ts.map +1 -1
  185. package/dist/service/cognito/sim-cognito-user-factors.js +37 -0
  186. package/dist/service/cognito/sim-cognito-user-factors.js.map +1 -1
  187. package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.d.ts +33 -2
  188. package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.d.ts.map +1 -1
  189. package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.js +27 -12
  190. package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.js.map +1 -1
  191. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.d.ts +5 -0
  192. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.d.ts.map +1 -1
  193. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.js +12 -0
  194. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.js.map +1 -1
  195. package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.d.ts +10 -0
  196. package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.d.ts.map +1 -1
  197. package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.js +14 -0
  198. package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.js.map +1 -1
  199. package/dist/service/cognito/user-pool/client/sim-cognito-auth-session-validity.d.ts +27 -0
  200. package/dist/service/cognito/user-pool/client/sim-cognito-auth-session-validity.d.ts.map +1 -0
  201. package/dist/service/cognito/user-pool/client/sim-cognito-auth-session-validity.js +55 -0
  202. package/dist/service/cognito/user-pool/client/sim-cognito-auth-session-validity.js.map +1 -0
  203. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.d.ts +6 -0
  204. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.d.ts.map +1 -1
  205. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.js +6 -0
  206. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.js.map +1 -1
  207. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.d.ts +6 -0
  208. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.d.ts.map +1 -1
  209. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.js +7 -0
  210. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.js.map +1 -1
  211. package/dist/service/cognito/user-pool/mfa/sim-cognito-relying-party.d.ts +16 -0
  212. package/dist/service/cognito/user-pool/mfa/sim-cognito-relying-party.d.ts.map +1 -0
  213. package/dist/service/cognito/user-pool/mfa/sim-cognito-relying-party.js +32 -0
  214. package/dist/service/cognito/user-pool/mfa/sim-cognito-relying-party.js.map +1 -0
  215. package/dist/service/cognito/user-pool/mfa/sim-cognito-user-pool-mfa.d.ts +16 -0
  216. package/dist/service/cognito/user-pool/mfa/sim-cognito-user-pool-mfa.d.ts.map +1 -1
  217. package/dist/service/cognito/user-pool/mfa/sim-cognito-user-pool-mfa.js +29 -0
  218. package/dist/service/cognito/user-pool/mfa/sim-cognito-user-pool-mfa.js.map +1 -1
  219. package/dist/service/cognito/user-pool/mfa/sim-cognito-web-authn-configuration.d.ts +46 -0
  220. package/dist/service/cognito/user-pool/mfa/sim-cognito-web-authn-configuration.d.ts.map +1 -0
  221. package/dist/service/cognito/user-pool/mfa/sim-cognito-web-authn-configuration.js +73 -0
  222. package/dist/service/cognito/user-pool/mfa/sim-cognito-web-authn-configuration.js.map +1 -0
  223. package/dist/service/cognito/user-pool/sim-cognito-password-policy.d.ts +1 -9
  224. package/dist/service/cognito/user-pool/sim-cognito-password-policy.d.ts.map +1 -1
  225. package/dist/service/cognito/user-pool/sim-cognito-password-policy.js.map +1 -1
  226. package/dist/service/cognito/user-pool/sim-cognito-sign-in-policy.d.ts +60 -0
  227. package/dist/service/cognito/user-pool/sim-cognito-sign-in-policy.d.ts.map +1 -0
  228. package/dist/service/cognito/user-pool/sim-cognito-sign-in-policy.js +100 -0
  229. package/dist/service/cognito/user-pool/sim-cognito-sign-in-policy.js.map +1 -0
  230. package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.d.ts +11 -1
  231. package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.d.ts.map +1 -1
  232. package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.js +12 -1
  233. package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.js.map +1 -1
  234. package/dist/service/cognito/user-pool/sim-cognito-user-pool.d.ts +48 -69
  235. package/dist/service/cognito/user-pool/sim-cognito-user-pool.d.ts.map +1 -1
  236. package/dist/service/cognito/user-pool/sim-cognito-user-pool.js +58 -73
  237. package/dist/service/cognito/user-pool/sim-cognito-user-pool.js.map +1 -1
  238. package/dist/service/cognito/user-pool/user/sim-cognito-user.d.ts +13 -18
  239. package/dist/service/cognito/user-pool/user/sim-cognito-user.d.ts.map +1 -1
  240. package/dist/service/cognito/user-pool/user/sim-cognito-user.js +23 -24
  241. package/dist/service/cognito/user-pool/user/sim-cognito-user.js.map +1 -1
  242. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-user-web-authn.d.ts +73 -0
  243. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-user-web-authn.d.ts.map +1 -0
  244. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-user-web-authn.js +113 -0
  245. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-user-web-authn.js.map +1 -0
  246. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-assertion.d.ts +22 -0
  247. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-assertion.d.ts.map +1 -0
  248. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-assertion.js +53 -0
  249. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-assertion.js.map +1 -0
  250. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-attested-key.d.ts +15 -0
  251. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-attested-key.d.ts.map +1 -0
  252. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-attested-key.js +68 -0
  253. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-attested-key.js.map +1 -0
  254. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-ceremony.d.ts +33 -0
  255. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-ceremony.d.ts.map +1 -0
  256. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-ceremony.js +67 -0
  257. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-ceremony.js.map +1 -0
  258. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-client-data.d.ts +24 -0
  259. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-client-data.d.ts.map +1 -0
  260. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-client-data.js +45 -0
  261. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-client-data.js.map +1 -0
  262. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-creation-options.d.ts +28 -0
  263. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-creation-options.d.ts.map +1 -0
  264. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-creation-options.js +41 -0
  265. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-creation-options.js.map +1 -0
  266. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-credential.d.ts +69 -0
  267. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-credential.d.ts.map +1 -0
  268. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-credential.js +69 -0
  269. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-credential.js.map +1 -0
  270. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-device.d.ts +39 -0
  271. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-device.d.ts.map +1 -0
  272. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-device.js +90 -0
  273. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-device.js.map +1 -0
  274. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-document.d.ts +111 -0
  275. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-document.d.ts.map +1 -0
  276. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-document.js +2 -0
  277. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-document.js.map +1 -0
  278. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-keys.d.ts +37 -0
  279. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-keys.d.ts.map +1 -0
  280. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-keys.js +39 -0
  281. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-keys.js.map +1 -0
  282. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-public-key.d.ts +21 -0
  283. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-public-key.d.ts.map +1 -0
  284. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-public-key.js +45 -0
  285. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-public-key.js.map +1 -0
  286. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-signing.d.ts +52 -0
  287. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-signing.d.ts.map +1 -0
  288. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-signing.js +98 -0
  289. package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-signing.js.map +1 -0
  290. package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-path.d.ts +5 -4
  291. package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-path.d.ts.map +1 -1
  292. package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-path.js +17 -4
  293. package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-path.js.map +1 -1
  294. package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-request.d.ts +8 -1
  295. package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-request.d.ts.map +1 -1
  296. package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-request.js +10 -3
  297. package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-request.js.map +1 -1
  298. package/dist/service/iam/sigv4/sim-iam-sigv4-signature-check.js +1 -1
  299. package/dist/service/iam/sigv4/sim-iam-sigv4-signature-check.js.map +1 -1
  300. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-creator.d.ts +26 -0
  301. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-creator.d.ts.map +1 -0
  302. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-creator.js +32 -0
  303. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-creator.js.map +1 -0
  304. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-properties.d.ts +40 -0
  305. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-properties.d.ts.map +1 -0
  306. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-properties.js +42 -0
  307. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-properties.js.map +1 -0
  308. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-property-rules.d.ts +12 -0
  309. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-property-rules.d.ts.map +1 -0
  310. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-property-rules.js +26 -0
  311. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-property-rules.js.map +1 -0
  312. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-remover.d.ts +13 -0
  313. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-remover.d.ts.map +1 -0
  314. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-remover.js +20 -0
  315. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-remover.js.map +1 -0
  316. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-destinations.d.ts +26 -0
  317. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-destinations.d.ts.map +1 -0
  318. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-destinations.js +47 -0
  319. package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-destinations.js.map +1 -0
  320. package/dist/service/lambda/cfn/function/sim-cfn-lambda-dead-letter-parser.d.ts +20 -0
  321. package/dist/service/lambda/cfn/function/sim-cfn-lambda-dead-letter-parser.d.ts.map +1 -0
  322. package/dist/service/lambda/cfn/function/sim-cfn-lambda-dead-letter-parser.js +29 -0
  323. package/dist/service/lambda/cfn/function/sim-cfn-lambda-dead-letter-parser.js.map +1 -0
  324. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.d.ts +3 -0
  325. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.d.ts.map +1 -1
  326. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.js +4 -0
  327. package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.js.map +1 -1
  328. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-deleter.d.ts.map +1 -1
  329. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-deleter.js +5 -0
  330. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-deleter.js.map +1 -1
  331. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.d.ts +1 -0
  332. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.d.ts.map +1 -1
  333. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.js +8 -0
  334. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.js.map +1 -1
  335. package/dist/service/lambda/cfn/sim-cfn-lambda-target-arn.d.ts +35 -0
  336. package/dist/service/lambda/cfn/sim-cfn-lambda-target-arn.d.ts.map +1 -0
  337. package/dist/service/lambda/cfn/sim-cfn-lambda-target-arn.js +73 -0
  338. package/dist/service/lambda/cfn/sim-cfn-lambda-target-arn.js.map +1 -0
  339. package/dist/service/lambda/command/create-function/create-function-input.d.ts +1 -0
  340. package/dist/service/lambda/command/create-function/create-function-input.d.ts.map +1 -1
  341. package/dist/service/lambda/command/create-function/create-function-input.js +2 -0
  342. package/dist/service/lambda/command/create-function/create-function-input.js.map +1 -1
  343. package/dist/service/lambda/command/create-function/create-function.command.d.ts +2 -0
  344. package/dist/service/lambda/command/create-function/create-function.command.d.ts.map +1 -1
  345. package/dist/service/lambda/command/delete-function/delete-function.handler.d.ts +5 -1
  346. package/dist/service/lambda/command/delete-function/delete-function.handler.d.ts.map +1 -1
  347. package/dist/service/lambda/command/delete-function/delete-function.handler.js +5 -1
  348. package/dist/service/lambda/command/delete-function/delete-function.handler.js.map +1 -1
  349. package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.command.d.ts +24 -0
  350. package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.command.d.ts.map +1 -0
  351. package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.command.js +5 -0
  352. package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.command.js.map +1 -0
  353. package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.handler.d.ts +24 -0
  354. package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.handler.d.ts.map +1 -0
  355. package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.handler.js +27 -0
  356. package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.handler.js.map +1 -0
  357. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-authorizer.d.ts +29 -0
  358. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-authorizer.d.ts.map +1 -0
  359. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-authorizer.js +39 -0
  360. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-authorizer.js.map +1 -0
  361. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-input.d.ts +32 -0
  362. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-input.d.ts.map +1 -0
  363. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-input.js +62 -0
  364. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-input.js.map +1 -0
  365. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-request.d.ts +49 -0
  366. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-request.d.ts.map +1 -0
  367. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-request.js +44 -0
  368. package/dist/service/lambda/command/event-invoke-config/event-invoke-config-request.js.map +1 -0
  369. package/dist/service/lambda/command/event-invoke-config/sim-lambda-event-invoke-config-commands.d.ts +49 -0
  370. package/dist/service/lambda/command/event-invoke-config/sim-lambda-event-invoke-config-commands.d.ts.map +1 -0
  371. package/dist/service/lambda/command/event-invoke-config/sim-lambda-event-invoke-config-commands.js +49 -0
  372. package/dist/service/lambda/command/event-invoke-config/sim-lambda-event-invoke-config-commands.js.map +1 -0
  373. package/dist/service/lambda/command/function/sim-lambda-function-commands.d.ts +4 -0
  374. package/dist/service/lambda/command/function/sim-lambda-function-commands.d.ts.map +1 -1
  375. package/dist/service/lambda/command/function/sim-lambda-function-commands.js.map +1 -1
  376. package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.command.d.ts +25 -0
  377. package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.command.d.ts.map +1 -0
  378. package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.command.js +5 -0
  379. package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.command.js.map +1 -0
  380. package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.handler.d.ts +23 -0
  381. package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.handler.d.ts.map +1 -0
  382. package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.handler.js +27 -0
  383. package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.handler.js.map +1 -0
  384. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation-settings.d.ts +31 -0
  385. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation-settings.d.ts.map +1 -0
  386. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation-settings.js +24 -0
  387. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation-settings.js.map +1 -0
  388. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation.d.ts +43 -0
  389. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation.d.ts.map +1 -0
  390. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation.js +64 -0
  391. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation.js.map +1 -0
  392. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocations.d.ts +26 -0
  393. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocations.d.ts.map +1 -0
  394. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocations.js +33 -0
  395. package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocations.js.map +1 -0
  396. package/dist/service/lambda/command/invoke/async/sim-lambda-async-outcome.d.ts +63 -0
  397. package/dist/service/lambda/command/invoke/async/sim-lambda-async-outcome.d.ts.map +1 -0
  398. package/dist/service/lambda/command/invoke/async/sim-lambda-async-outcome.js +88 -0
  399. package/dist/service/lambda/command/invoke/async/sim-lambda-async-outcome.js.map +1 -0
  400. package/dist/service/lambda/command/invoke/invoke-dispatcher.d.ts +10 -3
  401. package/dist/service/lambda/command/invoke/invoke-dispatcher.d.ts.map +1 -1
  402. package/dist/service/lambda/command/invoke/invoke-dispatcher.js +16 -17
  403. package/dist/service/lambda/command/invoke/invoke-dispatcher.js.map +1 -1
  404. package/dist/service/lambda/command/invoke/invoke-payload.d.ts +16 -0
  405. package/dist/service/lambda/command/invoke/invoke-payload.d.ts.map +1 -1
  406. package/dist/service/lambda/command/invoke/invoke-payload.js +14 -4
  407. package/dist/service/lambda/command/invoke/invoke-payload.js.map +1 -1
  408. package/dist/service/lambda/command/invoke/invoke.handler.d.ts +4 -0
  409. package/dist/service/lambda/command/invoke/invoke.handler.d.ts.map +1 -1
  410. package/dist/service/lambda/command/invoke/invoke.handler.js +6 -2
  411. package/dist/service/lambda/command/invoke/invoke.handler.js.map +1 -1
  412. package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.command.d.ts +28 -0
  413. package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.command.d.ts.map +1 -0
  414. package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.command.js +5 -0
  415. package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.command.js.map +1 -0
  416. package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.handler.d.ts +23 -0
  417. package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.handler.d.ts.map +1 -0
  418. package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.handler.js +31 -0
  419. package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.handler.js.map +1 -0
  420. package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.command.d.ts +31 -0
  421. package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.command.d.ts.map +1 -0
  422. package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.command.js +5 -0
  423. package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.command.js.map +1 -0
  424. package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.handler.d.ts +24 -0
  425. package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.handler.d.ts.map +1 -0
  426. package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.handler.js +32 -0
  427. package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.handler.js.map +1 -0
  428. package/dist/service/lambda/command/sim-lambda-command.types.d.ts +5 -0
  429. package/dist/service/lambda/command/sim-lambda-command.types.d.ts.map +1 -1
  430. package/dist/service/lambda/command/update-function-configuration/update-function-configuration-input.d.ts.map +1 -1
  431. package/dist/service/lambda/command/update-function-configuration/update-function-configuration-input.js +2 -0
  432. package/dist/service/lambda/command/update-function-configuration/update-function-configuration-input.js.map +1 -1
  433. package/dist/service/lambda/command/update-function-configuration/update-function-configuration.command.d.ts +6 -4
  434. package/dist/service/lambda/command/update-function-configuration/update-function-configuration.command.d.ts.map +1 -1
  435. package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.command.d.ts +30 -0
  436. package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.command.d.ts.map +1 -0
  437. package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.command.js +5 -0
  438. package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.command.js.map +1 -0
  439. package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.handler.d.ts +25 -0
  440. package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.handler.d.ts.map +1 -0
  441. package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.handler.js +33 -0
  442. package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.handler.js.map +1 -0
  443. package/dist/service/lambda/destination/deliver/sim-lambda-destination-bus.d.ts +16 -0
  444. package/dist/service/lambda/destination/deliver/sim-lambda-destination-bus.d.ts.map +1 -0
  445. package/dist/service/lambda/destination/deliver/sim-lambda-destination-bus.js +31 -0
  446. package/dist/service/lambda/destination/deliver/sim-lambda-destination-bus.js.map +1 -0
  447. package/dist/service/lambda/destination/deliver/sim-lambda-destination-function.d.ts +13 -0
  448. package/dist/service/lambda/destination/deliver/sim-lambda-destination-function.d.ts.map +1 -0
  449. package/dist/service/lambda/destination/deliver/sim-lambda-destination-function.js +25 -0
  450. package/dist/service/lambda/destination/deliver/sim-lambda-destination-function.js.map +1 -0
  451. package/dist/service/lambda/destination/deliver/sim-lambda-destination-queue.d.ts +15 -0
  452. package/dist/service/lambda/destination/deliver/sim-lambda-destination-queue.d.ts.map +1 -0
  453. package/dist/service/lambda/destination/deliver/sim-lambda-destination-queue.js +25 -0
  454. package/dist/service/lambda/destination/deliver/sim-lambda-destination-queue.js.map +1 -0
  455. package/dist/service/lambda/destination/deliver/sim-lambda-destination-send.d.ts +15 -0
  456. package/dist/service/lambda/destination/deliver/sim-lambda-destination-send.d.ts.map +1 -0
  457. package/dist/service/lambda/destination/deliver/sim-lambda-destination-send.js +2 -0
  458. package/dist/service/lambda/destination/deliver/sim-lambda-destination-send.js.map +1 -0
  459. package/dist/service/lambda/destination/deliver/sim-lambda-destination-topic.d.ts +15 -0
  460. package/dist/service/lambda/destination/deliver/sim-lambda-destination-topic.d.ts.map +1 -0
  461. package/dist/service/lambda/destination/deliver/sim-lambda-destination-topic.js +23 -0
  462. package/dist/service/lambda/destination/deliver/sim-lambda-destination-topic.js.map +1 -0
  463. package/dist/service/lambda/destination/sim-aws-lambda-destinations.d.ts +38 -0
  464. package/dist/service/lambda/destination/sim-aws-lambda-destinations.d.ts.map +1 -0
  465. package/dist/service/lambda/destination/sim-aws-lambda-destinations.js +78 -0
  466. package/dist/service/lambda/destination/sim-aws-lambda-destinations.js.map +1 -0
  467. package/dist/service/lambda/destination/sim-lambda-destination-arn.d.ts +53 -0
  468. package/dist/service/lambda/destination/sim-lambda-destination-arn.d.ts.map +1 -0
  469. package/dist/service/lambda/destination/sim-lambda-destination-arn.js +122 -0
  470. package/dist/service/lambda/destination/sim-lambda-destination-arn.js.map +1 -0
  471. package/dist/service/lambda/destination/sim-lambda-destination-record.d.ts +53 -0
  472. package/dist/service/lambda/destination/sim-lambda-destination-record.d.ts.map +1 -0
  473. package/dist/service/lambda/destination/sim-lambda-destination-record.js +26 -0
  474. package/dist/service/lambda/destination/sim-lambda-destination-record.js.map +1 -0
  475. package/dist/service/lambda/destination/sim-lambda-destination-targets.d.ts +49 -0
  476. package/dist/service/lambda/destination/sim-lambda-destination-targets.d.ts.map +1 -0
  477. package/dist/service/lambda/destination/sim-lambda-destination-targets.js +25 -0
  478. package/dist/service/lambda/destination/sim-lambda-destination-targets.js.map +1 -0
  479. package/dist/service/lambda/function/event-invoke/lambda-dead-letter-target.d.ts +17 -0
  480. package/dist/service/lambda/function/event-invoke/lambda-dead-letter-target.d.ts.map +1 -0
  481. package/dist/service/lambda/function/event-invoke/lambda-dead-letter-target.js +26 -0
  482. package/dist/service/lambda/function/event-invoke/lambda-dead-letter-target.js.map +1 -0
  483. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config-store.d.ts +58 -0
  484. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config-store.d.ts.map +1 -0
  485. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config-store.js +86 -0
  486. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config-store.js.map +1 -0
  487. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config.d.ts +117 -0
  488. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config.d.ts.map +1 -0
  489. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config.js +37 -0
  490. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config.js.map +1 -0
  491. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-settings.d.ts +35 -0
  492. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-settings.d.ts.map +1 -0
  493. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-settings.js +70 -0
  494. package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-settings.js.map +1 -0
  495. package/dist/service/lambda/function/sim-lambda-function-configuration.d.ts +3 -0
  496. package/dist/service/lambda/function/sim-lambda-function-configuration.d.ts.map +1 -1
  497. package/dist/service/lambda/function/sim-lambda-function-configuration.factory.d.ts +11 -0
  498. package/dist/service/lambda/function/sim-lambda-function-configuration.factory.d.ts.map +1 -0
  499. package/dist/service/lambda/function/sim-lambda-function-configuration.factory.js +27 -0
  500. package/dist/service/lambda/function/sim-lambda-function-configuration.factory.js.map +1 -0
  501. package/dist/service/lambda/function/sim-lambda-function-reconfiguration.d.ts +5 -0
  502. package/dist/service/lambda/function/sim-lambda-function-reconfiguration.d.ts.map +1 -1
  503. package/dist/service/lambda/function/sim-lambda-function-reconfiguration.js +12 -0
  504. package/dist/service/lambda/function/sim-lambda-function-reconfiguration.js.map +1 -1
  505. package/dist/service/lambda/function/sim-lambda-function.d.ts +2 -0
  506. package/dist/service/lambda/function/sim-lambda-function.d.ts.map +1 -1
  507. package/dist/service/lambda/function/sim-lambda-function.js +7 -14
  508. package/dist/service/lambda/function/sim-lambda-function.js.map +1 -1
  509. package/dist/service/lambda/function/sim-lambda-function.type.d.ts +5 -0
  510. package/dist/service/lambda/function/sim-lambda-function.type.d.ts.map +1 -1
  511. package/dist/service/lambda/index.d.ts +2 -0
  512. package/dist/service/lambda/index.d.ts.map +1 -1
  513. package/dist/service/lambda/sdk/sim-lambda-event-invoke-config-routes.d.ts +10 -0
  514. package/dist/service/lambda/sdk/sim-lambda-event-invoke-config-routes.d.ts.map +1 -0
  515. package/dist/service/lambda/sdk/sim-lambda-event-invoke-config-routes.js +32 -0
  516. package/dist/service/lambda/sdk/sim-lambda-event-invoke-config-routes.js.map +1 -0
  517. package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.d.ts.map +1 -1
  518. package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.js +2 -0
  519. package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.js.map +1 -1
  520. package/dist/service/lambda/sim-lambda-commands.d.ts +11 -0
  521. package/dist/service/lambda/sim-lambda-commands.d.ts.map +1 -1
  522. package/dist/service/lambda/sim-lambda-commands.js +17 -1
  523. package/dist/service/lambda/sim-lambda-commands.js.map +1 -1
  524. package/dist/service/lambda/sim-lambda-event-invoke-operations.d.ts +23 -0
  525. package/dist/service/lambda/sim-lambda-event-invoke-operations.d.ts.map +1 -0
  526. package/dist/service/lambda/sim-lambda-event-invoke-operations.js +31 -0
  527. package/dist/service/lambda/sim-lambda-event-invoke-operations.js.map +1 -0
  528. package/dist/service/lambda/sim-lambda-inspection.d.ts +9 -0
  529. package/dist/service/lambda/sim-lambda-inspection.d.ts.map +1 -1
  530. package/dist/service/lambda/sim-lambda-inspection.js +13 -0
  531. package/dist/service/lambda/sim-lambda-inspection.js.map +1 -1
  532. package/dist/service/lambda/sim-lambda-request-options.d.ts +8 -0
  533. package/dist/service/lambda/sim-lambda-request-options.d.ts.map +1 -0
  534. package/dist/service/lambda/sim-lambda-request-options.js +2 -0
  535. package/dist/service/lambda/sim-lambda-request-options.js.map +1 -0
  536. package/dist/service/lambda/sim-lambda.d.ts +6 -7
  537. package/dist/service/lambda/sim-lambda.d.ts.map +1 -1
  538. package/dist/service/lambda/sim-lambda.js +4 -3
  539. package/dist/service/lambda/sim-lambda.js.map +1 -1
  540. package/dist/service/s3/serve/api/sim-s3-api-object-input.d.ts +14 -0
  541. package/dist/service/s3/serve/api/sim-s3-api-object-input.d.ts.map +1 -1
  542. package/dist/service/s3/serve/api/sim-s3-api-object-input.js +20 -0
  543. package/dist/service/s3/serve/api/sim-s3-api-object-input.js.map +1 -1
  544. package/dist/service/s3/serve/api/sim-s3-api-object-output.d.ts +14 -0
  545. package/dist/service/s3/serve/api/sim-s3-api-object-output.d.ts.map +1 -1
  546. package/dist/service/s3/serve/api/sim-s3-api-object-output.js +12 -0
  547. package/dist/service/s3/serve/api/sim-s3-api-object-output.js.map +1 -1
  548. package/dist/service/s3/serve/api/sim-s3-api-object-routes.d.ts.map +1 -1
  549. package/dist/service/s3/serve/api/sim-s3-api-object-routes.js +23 -1
  550. package/dist/service/s3/serve/api/sim-s3-api-object-routes.js.map +1 -1
  551. package/dist/service/s3/serve/api/sim-s3-api-output.d.ts.map +1 -1
  552. package/dist/service/s3/serve/api/sim-s3-api-output.js +7 -1
  553. package/dist/service/s3/serve/api/sim-s3-api-output.js.map +1 -1
  554. package/dist/service/s3/serve/api/sim-s3-api-route.type.d.ts +14 -3
  555. package/dist/service/s3/serve/api/sim-s3-api-route.type.d.ts.map +1 -1
  556. package/dist/service/s3/serve/api/sim-s3-api-routes.d.ts.map +1 -1
  557. package/dist/service/s3/serve/api/sim-s3-api-routes.js +2 -1
  558. package/dist/service/s3/serve/api/sim-s3-api-routes.js.map +1 -1
  559. package/package.json +1 -1
@@ -0,0 +1,30 @@
1
+ /**
2
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/UpdateFunctionEventInvokeConfigCommand/
3
+ */
4
+ import type { SimResponseMetadata } from "../../../aws/metadata/response-metadata.type.js";
5
+ import type { SimLambdaDestinationConfiguration, SimLambdaEventInvokeConfiguration } from "../../function/event-invoke/sim-lambda-event-invoke-config.js";
6
+ /**
7
+ * Minimal structural sim Lambda UpdateFunctionEventInvokeConfig command.
8
+ */
9
+ export interface SimUpdateFunctionEventInvokeConfigCommand {
10
+ readonly input: SimUpdateFunctionEventInvokeConfigCommandInput;
11
+ }
12
+ /**
13
+ * Minimal structural sim Lambda UpdateFunctionEventInvokeConfig input.
14
+ *
15
+ * A setting left out keeps the value the config already holds.
16
+ */
17
+ export interface SimUpdateFunctionEventInvokeConfigCommandInput {
18
+ readonly FunctionName?: string | undefined;
19
+ readonly Qualifier?: string | undefined;
20
+ readonly MaximumRetryAttempts?: number | undefined;
21
+ readonly MaximumEventAgeInSeconds?: number | undefined;
22
+ readonly DestinationConfig?: SimLambdaDestinationConfiguration | undefined;
23
+ }
24
+ /**
25
+ * Minimal structural sim Lambda UpdateFunctionEventInvokeConfig output.
26
+ */
27
+ export interface SimUpdateFunctionEventInvokeConfigCommandOutput extends SimLambdaEventInvokeConfiguration {
28
+ readonly $metadata: SimResponseMetadata;
29
+ }
30
+ //# sourceMappingURL=update-function-event-invoke-config.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-function-event-invoke-config.command.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.command.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EACV,iCAAiC,EACjC,iCAAiC,EAClC,MAAM,+DAA+D,CAAC;AAEvE;;GAEG;AACH,MAAM,WAAW,yCAAyC;IACxD,QAAQ,CAAC,KAAK,EAAE,8CAA8C,CAAC;CAChE;AAED;;;;GAIG;AACH,MAAM,WAAW,8CAA8C;IAC7D,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3C,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,QAAQ,CAAC,oBAAoB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnD,QAAQ,CAAC,wBAAwB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvD,QAAQ,CAAC,iBAAiB,CAAC,EAAE,iCAAiC,GAAG,SAAS,CAAC;CAC5E;AAED;;GAEG;AACH,MAAM,WAAW,+CAAgD,SAAQ,iCAAiC;IACxG,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/UpdateFunctionEventInvokeConfigCommand/
3
+ */
4
+ export {};
5
+ //# sourceMappingURL=update-function-event-invoke-config.command.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-function-event-invoke-config.command.js","sourceRoot":"","sources":["../../../../../src/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.command.ts"],"names":[],"mappings":"AAAA;;GAEG"}
@@ -0,0 +1,25 @@
1
+ import type { CommandHandler } from "../../../../command/command-handler.js";
2
+ import type { SimLambdaEventInvokeConfigStore } from "../../function/event-invoke/sim-lambda-event-invoke-config-store.js";
3
+ import { type EventInvokeConfigCommandOptions, type EventInvokeConfigCommandProperties } from "../event-invoke-config/event-invoke-config-request.js";
4
+ import type { SimUpdateFunctionEventInvokeConfigCommand, SimUpdateFunctionEventInvokeConfigCommandOutput } from "./update-function-event-invoke-config.command.js";
5
+ interface UpdateFunctionEventInvokeConfigCommandHandlerProperties extends EventInvokeConfigCommandProperties {
6
+ readonly eventInvokeConfigs: SimLambdaEventInvokeConfigStore;
7
+ }
8
+ /**
9
+ * Simulated Lambda UpdateFunctionEventInvokeConfigCommand handler.
10
+ *
11
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/UpdateFunctionEventInvokeConfigCommand/
12
+ */
13
+ export declare class UpdateFunctionEventInvokeConfigCommandHandler implements CommandHandler<SimUpdateFunctionEventInvokeConfigCommand, SimUpdateFunctionEventInvokeConfigCommandOutput> {
14
+ private readonly eventInvokeConfigs;
15
+ private readonly request;
16
+ private readonly inputParser;
17
+ constructor(properties: UpdateFunctionEventInvokeConfigCommandHandlerProperties);
18
+ /**
19
+ * Change the settings a request named, leaving the rest of the config as it
20
+ * stands.
21
+ */
22
+ handle(command: SimUpdateFunctionEventInvokeConfigCommand, options?: EventInvokeConfigCommandOptions): Promise<SimUpdateFunctionEventInvokeConfigCommandOutput>;
23
+ }
24
+ export {};
25
+ //# sourceMappingURL=update-function-event-invoke-config.handler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-function-event-invoke-config.handler.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,qEAAqE,CAAC;AAE3H,OAAO,EACL,KAAK,+BAA+B,EACpC,KAAK,kCAAkC,EAExC,MAAM,uDAAuD,CAAC;AAE/D,OAAO,KAAK,EACV,yCAAyC,EACzC,+CAA+C,EAChD,MAAM,kDAAkD,CAAC;AAE1D,UAAU,uDAAwD,SAAQ,kCAAkC;IAC1G,QAAQ,CAAC,kBAAkB,EAAE,+BAA+B,CAAC;CAC9D;AAED;;;;GAIG;AACH,qBAAa,6CAA8C,YAAW,cAAc,CAClF,yCAAyC,EACzC,+CAA+C,CAChD;IACC,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAkC;IACrE,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA2B;IAEnD,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAsC;IAElE,YACE,UAAU,EAAE,uDAAuD,EAOpE;IAED;;;OAGG;IACG,MAAM,CACV,OAAO,EAAE,yCAAyC,EAClD,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,+CAA+C,CAAC,CAY1D;CACF"}
@@ -0,0 +1,33 @@
1
+ import { simLambdaEventInvokeConfiguration } from "../../function/event-invoke/sim-lambda-event-invoke-settings.js";
2
+ import { EventInvokeConfigRequest, } from "../event-invoke-config/event-invoke-config-request.js";
3
+ import { EventInvokeConfigInputParser } from "../event-invoke-config/event-invoke-config-input.js";
4
+ /**
5
+ * Simulated Lambda UpdateFunctionEventInvokeConfigCommand handler.
6
+ *
7
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/UpdateFunctionEventInvokeConfigCommand/
8
+ */
9
+ export class UpdateFunctionEventInvokeConfigCommandHandler {
10
+ eventInvokeConfigs;
11
+ request;
12
+ inputParser = new EventInvokeConfigInputParser();
13
+ constructor(properties) {
14
+ this.eventInvokeConfigs = properties.eventInvokeConfigs;
15
+ this.request = new EventInvokeConfigRequest({
16
+ ...properties,
17
+ action: "lambda:UpdateFunctionEventInvokeConfig",
18
+ });
19
+ }
20
+ /**
21
+ * Change the settings a request named, leaving the rest of the config as it
22
+ * stands.
23
+ */
24
+ async handle(command, options) {
25
+ const resolved = await this.request.resolve(command.input, "UpdateFunctionEventInvokeConfigCommand", options);
26
+ const config = this.eventInvokeConfigs.update({
27
+ ...resolved,
28
+ update: this.inputParser.parse(command.input),
29
+ });
30
+ return { $metadata: {}, ...simLambdaEventInvokeConfiguration(config) };
31
+ }
32
+ }
33
+ //# sourceMappingURL=update-function-event-invoke-config.handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-function-event-invoke-config.handler.js","sourceRoot":"","sources":["../../../../../src/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iCAAiC,EAAE,MAAM,iEAAiE,CAAC;AACpH,OAAO,EAGL,wBAAwB,GACzB,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EAAE,4BAA4B,EAAE,MAAM,qDAAqD,CAAC;AAUnG;;;;GAIG;AACH,MAAM,OAAO,6CAA6C;IAIvC,kBAAkB,CAAkC;IACpD,OAAO,CAA2B;IAElC,WAAW,GAAG,IAAI,4BAA4B,EAAE,CAAC;IAElE,YACE,UAAmE;QAEnE,IAAI,CAAC,kBAAkB,GAAG,UAAU,CAAC,kBAAkB,CAAC;QACxD,IAAI,CAAC,OAAO,GAAG,IAAI,wBAAwB,CAAC;YAC1C,GAAG,UAAU;YACb,MAAM,EAAE,wCAAwC;SACjD,CAAC,CAAC;IACL,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,MAAM,CACV,OAAkD,EAClD,OAAyC;QAEzC,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,OAAO,CACzC,OAAO,CAAC,KAAK,EACb,wCAAwC,EACxC,OAAO,CACR,CAAC;QACF,MAAM,MAAM,GAAG,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC;YAC5C,GAAG,QAAQ;YACX,MAAM,EAAE,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;SAC9C,CAAC,CAAC;QAEH,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,GAAG,iCAAiC,CAAC,MAAM,CAAC,EAAE,CAAC;IACzE,CAAC;CACF"}
@@ -0,0 +1,16 @@
1
+ import type { SimAwsAccountRegionContainer } from "../../../aws/sim-aws-account-region-scope.js";
2
+ import type { SimLambdaDestinationDeliveryRequest } from "../sim-lambda-destination-targets.js";
3
+ /**
4
+ * An event bus a function is sending an asynchronous invocation result to, in
5
+ * the Account and Region the destination ARN names.
6
+ *
7
+ * Real Lambda puts the record in the detail of an event of its own, under the
8
+ * detail type that says whether the invocation succeeded.
9
+ */
10
+ export declare class SimLambdaDestinationBus {
11
+ /**
12
+ * Put the record on the bus as one event.
13
+ */
14
+ deliver(scope: SimAwsAccountRegionContainer, request: SimLambdaDestinationDeliveryRequest): Promise<void>;
15
+ }
16
+ //# sourceMappingURL=sim-lambda-destination-bus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-destination-bus.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/destination/deliver/sim-lambda-destination-bus.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,8CAA8C,CAAC;AACjG,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,sCAAsC,CAAC;AAEhG;;;;;;GAMG;AACH,qBAAa,uBAAuB;IAClC;;OAEG;IACG,OAAO,CACX,KAAK,EAAE,4BAA4B,EACnC,OAAO,EAAE,mCAAmC,GAC3C,OAAO,CAAC,IAAI,CAAC,CAmBf;CACF"}
@@ -0,0 +1,31 @@
1
+ /**
2
+ * An event bus a function is sending an asynchronous invocation result to, in
3
+ * the Account and Region the destination ARN names.
4
+ *
5
+ * Real Lambda puts the record in the detail of an event of its own, under the
6
+ * detail type that says whether the invocation succeeded.
7
+ */
8
+ export class SimLambdaDestinationBus {
9
+ /**
10
+ * Put the record on the bus as one event.
11
+ */
12
+ async deliver(scope, request) {
13
+ const outcome = request.record.requestContext.condition === "Success"
14
+ ? "Success"
15
+ : "Failure";
16
+ await scope.eventBridge().putEvents({
17
+ input: {
18
+ Entries: [
19
+ {
20
+ Source: "lambda",
21
+ DetailType: `Lambda Function Invocation Result - ${outcome}`,
22
+ Detail: JSON.stringify(request.record),
23
+ EventBusName: request.destinationArn.eventBusName,
24
+ Resources: [request.sourceFunctionArn],
25
+ },
26
+ ],
27
+ },
28
+ });
29
+ }
30
+ }
31
+ //# sourceMappingURL=sim-lambda-destination-bus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-destination-bus.js","sourceRoot":"","sources":["../../../../../src/service/lambda/destination/deliver/sim-lambda-destination-bus.ts"],"names":[],"mappings":"AAGA;;;;;;GAMG;AACH,MAAM,OAAO,uBAAuB;IAClC;;OAEG;IACH,KAAK,CAAC,OAAO,CACX,KAAmC,EACnC,OAA4C;QAE5C,MAAM,OAAO,GACX,OAAO,CAAC,MAAM,CAAC,cAAc,CAAC,SAAS,KAAK,SAAS;YACnD,CAAC,CAAC,SAAS;YACX,CAAC,CAAC,SAAS,CAAC;QAEhB,MAAM,KAAK,CAAC,WAAW,EAAE,CAAC,SAAS,CAAC;YAClC,KAAK,EAAE;gBACL,OAAO,EAAE;oBACP;wBACE,MAAM,EAAE,QAAQ;wBAChB,UAAU,EAAE,uCAAuC,OAAO,EAAE;wBAC5D,MAAM,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,MAAM,CAAC;wBACtC,YAAY,EAAE,OAAO,CAAC,cAAc,CAAC,YAAY;wBACjD,SAAS,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC;qBACvC;iBACF;aACF;SACF,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -0,0 +1,13 @@
1
+ import type { SimAwsAccountRegionContainer } from "../../../aws/sim-aws-account-region-scope.js";
2
+ import type { SimLambdaDestinationDeliveryRequest } from "../sim-lambda-destination-targets.js";
3
+ /**
4
+ * A function a function is sending an asynchronous invocation result to, in
5
+ * the Account and Region the destination ARN names.
6
+ */
7
+ export declare class SimLambdaDestinationFunction {
8
+ /**
9
+ * Invoke the destination function with the record.
10
+ */
11
+ deliver(scope: SimAwsAccountRegionContainer, request: SimLambdaDestinationDeliveryRequest): Promise<void>;
12
+ }
13
+ //# sourceMappingURL=sim-lambda-destination-function.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-destination-function.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/destination/deliver/sim-lambda-destination-function.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,8CAA8C,CAAC;AAEjG,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,sCAAsC,CAAC;AAEhG;;;GAGG;AACH,qBAAa,4BAA4B;IACvC;;OAEG;IACG,OAAO,CACX,KAAK,EAAE,4BAA4B,EACnC,OAAO,EAAE,mCAAmC,GAC3C,OAAO,CAAC,IAAI,CAAC,CAiBf;CACF"}
@@ -0,0 +1,25 @@
1
+ import { SimLambdaError } from "../../error/sim-lambda.error.js";
2
+ /**
3
+ * A function a function is sending an asynchronous invocation result to, in
4
+ * the Account and Region the destination ARN names.
5
+ */
6
+ export class SimLambdaDestinationFunction {
7
+ /**
8
+ * Invoke the destination function with the record.
9
+ */
10
+ async deliver(scope, request) {
11
+ const { destinationArn: arn } = request;
12
+ const target = scope
13
+ .lambda()
14
+ .getSimFunctionTarget(arn.functionName, arn.functionQualifier);
15
+ if (target === undefined) {
16
+ throw new SimLambdaError(`${arn.value} is not a simulated Lambda function.`);
17
+ }
18
+ // Invoked directly rather than through an Invoke command, because this is
19
+ // already inside the background task standing for the asynchronous
20
+ // invocation, and because a delivery failure has to reach the caller who
21
+ // advanced the clock rather than being swallowed a second time.
22
+ await target.simFunction.invoke(request.record);
23
+ }
24
+ }
25
+ //# sourceMappingURL=sim-lambda-destination-function.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-destination-function.js","sourceRoot":"","sources":["../../../../../src/service/lambda/destination/deliver/sim-lambda-destination-function.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAGjE;;;GAGG;AACH,MAAM,OAAO,4BAA4B;IACvC;;OAEG;IACH,KAAK,CAAC,OAAO,CACX,KAAmC,EACnC,OAA4C;QAE5C,MAAM,EAAE,cAAc,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC;QACxC,MAAM,MAAM,GAAG,KAAK;aACjB,MAAM,EAAE;aACR,oBAAoB,CAAC,GAAG,CAAC,YAAY,EAAE,GAAG,CAAC,iBAAiB,CAAC,CAAC;QAEjE,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACzB,MAAM,IAAI,cAAc,CACtB,GAAG,GAAG,CAAC,KAAK,sCAAsC,CACnD,CAAC;QACJ,CAAC;QAED,0EAA0E;QAC1E,mEAAmE;QACnE,yEAAyE;QACzE,gEAAgE;QAChE,MAAM,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;IAClD,CAAC;CACF"}
@@ -0,0 +1,15 @@
1
+ import type { SimLambdaDestinationSend } from "./sim-lambda-destination-send.js";
2
+ /**
3
+ * A queue a function is sending an asynchronous invocation result to, in the
4
+ * Account and Region the destination ARN names.
5
+ *
6
+ * The message body is the record, as JSON, which is what real Lambda puts on a
7
+ * queue destination.
8
+ */
9
+ export declare class SimLambdaDestinationQueue {
10
+ /**
11
+ * Put the document on the queue.
12
+ */
13
+ deliver(send: SimLambdaDestinationSend): Promise<void>;
14
+ }
15
+ //# sourceMappingURL=sim-lambda-destination-queue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-destination-queue.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/destination/deliver/sim-lambda-destination-queue.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAEjF;;;;;;GAMG;AACH,qBAAa,yBAAyB;IACpC;;OAEG;IACG,OAAO,CAAC,IAAI,EAAE,wBAAwB,GAAG,OAAO,CAAC,IAAI,CAAC,CAiB3D;CACF"}
@@ -0,0 +1,25 @@
1
+ import { SimLambdaError } from "../../error/sim-lambda.error.js";
2
+ /**
3
+ * A queue a function is sending an asynchronous invocation result to, in the
4
+ * Account and Region the destination ARN names.
5
+ *
6
+ * The message body is the record, as JSON, which is what real Lambda puts on a
7
+ * queue destination.
8
+ */
9
+ export class SimLambdaDestinationQueue {
10
+ /**
11
+ * Put the document on the queue.
12
+ */
13
+ async deliver(send) {
14
+ const queue = send.scope.sqs().findQueue(send.arn.resource);
15
+ if (queue === undefined) {
16
+ throw new SimLambdaError(`${send.arn.value} is not a simulated SQS queue.`);
17
+ }
18
+ // Sent through the ordinary SendMessage path, so what arrives is the same
19
+ // thing an SDK caller would have sent.
20
+ await send.scope
21
+ .sqs()
22
+ .sendMessage({ input: { QueueUrl: queue.arn.url, MessageBody: send.body } }, { sourceArn: send.sourceFunctionArn });
23
+ }
24
+ }
25
+ //# sourceMappingURL=sim-lambda-destination-queue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-destination-queue.js","sourceRoot":"","sources":["../../../../../src/service/lambda/destination/deliver/sim-lambda-destination-queue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAGjE;;;;;;GAMG;AACH,MAAM,OAAO,yBAAyB;IACpC;;OAEG;IACH,KAAK,CAAC,OAAO,CAAC,IAA8B;QAC1C,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QAE5D,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,MAAM,IAAI,cAAc,CACtB,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,gCAAgC,CAClD,CAAC;QACJ,CAAC;QAED,0EAA0E;QAC1E,uCAAuC;QACvC,MAAM,IAAI,CAAC,KAAK;aACb,GAAG,EAAE;aACL,WAAW,CACV,EAAE,KAAK,EAAE,EAAE,QAAQ,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,EAAE,WAAW,EAAE,IAAI,CAAC,IAAI,EAAE,EAAE,EAC9D,EAAE,SAAS,EAAE,IAAI,CAAC,iBAAiB,EAAE,CACtC,CAAC;IACN,CAAC;CACF"}
@@ -0,0 +1,15 @@
1
+ import type { SimAwsAccountRegionContainer } from "../../../aws/sim-aws-account-region-scope.js";
2
+ import type { SimLambdaDestinationArn } from "../sim-lambda-destination-arn.js";
3
+ /**
4
+ * One document on its way to one queue or topic.
5
+ */
6
+ export interface SimLambdaDestinationSend {
7
+ readonly scope: SimAwsAccountRegionContainer;
8
+ readonly arn: SimLambdaDestinationArn;
9
+ readonly body: string;
10
+ /**
11
+ * The function this came from, supplied to IAM as `aws:SourceArn`.
12
+ */
13
+ readonly sourceFunctionArn: string;
14
+ }
15
+ //# sourceMappingURL=sim-lambda-destination-send.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-destination-send.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/destination/deliver/sim-lambda-destination-send.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,8CAA8C,CAAC;AACjG,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAEhF;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,KAAK,EAAE,4BAA4B,CAAC;IAC7C,QAAQ,CAAC,GAAG,EAAE,uBAAuB,CAAC;IACtC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;CACpC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=sim-lambda-destination-send.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-destination-send.js","sourceRoot":"","sources":["../../../../../src/service/lambda/destination/deliver/sim-lambda-destination-send.ts"],"names":[],"mappings":""}
@@ -0,0 +1,15 @@
1
+ import type { SimLambdaDestinationSend } from "./sim-lambda-destination-send.js";
2
+ /**
3
+ * A topic a function is sending an asynchronous invocation result to, in the
4
+ * Account and Region the destination ARN names.
5
+ *
6
+ * The topic then fans the record out to its own subscriptions, so each
7
+ * subscriber sees it inside SNS's envelope.
8
+ */
9
+ export declare class SimLambdaDestinationTopic {
10
+ /**
11
+ * Publish the document to the topic.
12
+ */
13
+ deliver(send: SimLambdaDestinationSend): Promise<void>;
14
+ }
15
+ //# sourceMappingURL=sim-lambda-destination-topic.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-destination-topic.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/destination/deliver/sim-lambda-destination-topic.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAEjF;;;;;;GAMG;AACH,qBAAa,yBAAyB;IACpC;;OAEG;IACG,OAAO,CAAC,IAAI,EAAE,wBAAwB,GAAG,OAAO,CAAC,IAAI,CAAC,CAe3D;CACF"}
@@ -0,0 +1,23 @@
1
+ import { SimLambdaError } from "../../error/sim-lambda.error.js";
2
+ /**
3
+ * A topic a function is sending an asynchronous invocation result to, in the
4
+ * Account and Region the destination ARN names.
5
+ *
6
+ * The topic then fans the record out to its own subscriptions, so each
7
+ * subscriber sees it inside SNS's envelope.
8
+ */
9
+ export class SimLambdaDestinationTopic {
10
+ /**
11
+ * Publish the document to the topic.
12
+ */
13
+ async deliver(send) {
14
+ const topic = send.scope.sns().findTopic(send.arn.resource);
15
+ if (topic === undefined) {
16
+ throw new SimLambdaError(`${send.arn.value} is not a simulated SNS topic.`);
17
+ }
18
+ await send.scope
19
+ .sns()
20
+ .publish({ input: { TopicArn: topic.arn.value, Message: send.body } }, { sourceArn: send.sourceFunctionArn });
21
+ }
22
+ }
23
+ //# sourceMappingURL=sim-lambda-destination-topic.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-destination-topic.js","sourceRoot":"","sources":["../../../../../src/service/lambda/destination/deliver/sim-lambda-destination-topic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAGjE;;;;;;GAMG;AACH,MAAM,OAAO,yBAAyB;IACpC;;OAEG;IACH,KAAK,CAAC,OAAO,CAAC,IAA8B;QAC1C,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QAE5D,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,MAAM,IAAI,cAAc,CACtB,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,gCAAgC,CAClD,CAAC;QACJ,CAAC;QAED,MAAM,IAAI,CAAC,KAAK;aACb,GAAG,EAAE;aACL,OAAO,CACN,EAAE,KAAK,EAAE,EAAE,QAAQ,EAAE,KAAK,CAAC,GAAG,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,CAAC,IAAI,EAAE,EAAE,EAC5D,EAAE,SAAS,EAAE,IAAI,CAAC,iBAAiB,EAAE,CACtC,CAAC;IACN,CAAC;CACF"}
@@ -0,0 +1,38 @@
1
+ import type { SimAws } from "../../aws/sim-aws.js";
2
+ import type { SimLambdaDeadLetterRequest, SimLambdaDestinationDeliveryRequest, SimLambdaDestinationTargets } from "./sim-lambda-destination-targets.js";
3
+ interface SimAwsLambdaDestinationsProperties {
4
+ readonly simAws: SimAws;
5
+ }
6
+ /**
7
+ * Everywhere the functions of one simulated AWS instance send their
8
+ * asynchronous invocation results.
9
+ *
10
+ * The destination is looked up when a result is delivered, never when this is
11
+ * built: reaching another service while this one is being constructed is a
12
+ * cycle with no bottom to it.
13
+ *
14
+ * Real Lambda delivers under the function's own execution role, and delivers
15
+ * nothing when that role cannot write to the destination. The permission is
16
+ * left unchecked here, so a delivery is made as the destination Account's own
17
+ * root. A record that silently goes nowhere is the harder failure to find, and
18
+ * a destination needs no resource policy on real AWS either, so nothing about
19
+ * the destination itself has to be set up for a record to arrive.
20
+ */
21
+ export declare class SimAwsLambdaDestinations implements SimLambdaDestinationTargets {
22
+ private readonly simAws;
23
+ private readonly queue;
24
+ private readonly topic;
25
+ constructor(properties: SimAwsLambdaDestinationsProperties);
26
+ /**
27
+ * Send one invocation record to the destination its ARN names.
28
+ */
29
+ deliver(request: SimLambdaDestinationDeliveryRequest): Promise<void>;
30
+ /**
31
+ * Send one abandoned event to a dead-letter queue or topic.
32
+ */
33
+ deadLetter(request: SimLambdaDeadLetterRequest): Promise<void>;
34
+ private send;
35
+ private scopeOf;
36
+ }
37
+ export {};
38
+ //# sourceMappingURL=sim-aws-lambda-destinations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-aws-lambda-destinations.d.ts","sourceRoot":"","sources":["../../../../src/service/lambda/destination/sim-aws-lambda-destinations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAQnD,OAAO,KAAK,EACV,0BAA0B,EAC1B,mCAAmC,EACnC,2BAA2B,EAC5B,MAAM,qCAAqC,CAAC;AAE7C,UAAU,kCAAkC;IAC1C,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED;;;;;;;;;;;;;;GAcG;AACH,qBAAa,wBAAyB,YAAW,2BAA2B;IAC1E,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAChC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAmC;IACzD,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAmC;IAEzD,YAAY,UAAU,EAAE,kCAAkC,EAEzD;IAED;;OAEG;IACG,OAAO,CAAC,OAAO,EAAE,mCAAmC,GAAG,OAAO,CAAC,IAAI,CAAC,CAsBzE;IAED;;OAEG;IACG,UAAU,CAAC,OAAO,EAAE,0BAA0B,GAAG,OAAO,CAAC,IAAI,CAAC,CAWnE;IAED,OAAO,CAAC,IAAI;IAWZ,OAAO,CAAC,OAAO;CAGhB"}
@@ -0,0 +1,78 @@
1
+ import { SimLambdaDestinationBus } from "./deliver/sim-lambda-destination-bus.js";
2
+ import { SimLambdaDestinationFunction } from "./deliver/sim-lambda-destination-function.js";
3
+ import { SimLambdaDestinationQueue } from "./deliver/sim-lambda-destination-queue.js";
4
+ import { SimLambdaDestinationTopic } from "./deliver/sim-lambda-destination-topic.js";
5
+ /**
6
+ * Everywhere the functions of one simulated AWS instance send their
7
+ * asynchronous invocation results.
8
+ *
9
+ * The destination is looked up when a result is delivered, never when this is
10
+ * built: reaching another service while this one is being constructed is a
11
+ * cycle with no bottom to it.
12
+ *
13
+ * Real Lambda delivers under the function's own execution role, and delivers
14
+ * nothing when that role cannot write to the destination. The permission is
15
+ * left unchecked here, so a delivery is made as the destination Account's own
16
+ * root. A record that silently goes nowhere is the harder failure to find, and
17
+ * a destination needs no resource policy on real AWS either, so nothing about
18
+ * the destination itself has to be set up for a record to arrive.
19
+ */
20
+ export class SimAwsLambdaDestinations {
21
+ simAws;
22
+ queue = new SimLambdaDestinationQueue();
23
+ topic = new SimLambdaDestinationTopic();
24
+ constructor(properties) {
25
+ this.simAws = properties.simAws;
26
+ }
27
+ /**
28
+ * Send one invocation record to the destination its ARN names.
29
+ */
30
+ async deliver(request) {
31
+ const { destinationArn: arn } = request;
32
+ const scope = this.scopeOf(arn);
33
+ switch (arn.service) {
34
+ case "sqs": {
35
+ await this.queue.deliver(this.send(request));
36
+ return;
37
+ }
38
+ case "sns": {
39
+ await this.topic.deliver(this.send(request));
40
+ return;
41
+ }
42
+ case "events": {
43
+ await new SimLambdaDestinationBus().deliver(scope, request);
44
+ return;
45
+ }
46
+ case "lambda": {
47
+ await new SimLambdaDestinationFunction().deliver(scope, request);
48
+ return;
49
+ }
50
+ }
51
+ }
52
+ /**
53
+ * Send one abandoned event to a dead-letter queue or topic.
54
+ */
55
+ async deadLetter(request) {
56
+ const send = {
57
+ scope: this.scopeOf(request.targetArn),
58
+ arn: request.targetArn,
59
+ body: JSON.stringify(request.payload),
60
+ sourceFunctionArn: request.sourceFunctionArn,
61
+ };
62
+ await (request.targetArn.service === "sqs"
63
+ ? this.queue.deliver(send)
64
+ : this.topic.deliver(send));
65
+ }
66
+ send(request) {
67
+ return {
68
+ scope: this.scopeOf(request.destinationArn),
69
+ arn: request.destinationArn,
70
+ body: JSON.stringify(request.record),
71
+ sourceFunctionArn: request.sourceFunctionArn,
72
+ };
73
+ }
74
+ scopeOf(arn) {
75
+ return this.simAws.accountRegionScope(arn.accountId, arn.regionName);
76
+ }
77
+ }
78
+ //# sourceMappingURL=sim-aws-lambda-destinations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-aws-lambda-destinations.js","sourceRoot":"","sources":["../../../../src/service/lambda/destination/sim-aws-lambda-destinations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AAClF,OAAO,EAAE,4BAA4B,EAAE,MAAM,8CAA8C,CAAC;AAC5F,OAAO,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AAEtF,OAAO,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AAYtF;;;;;;;;;;;;;;GAcG;AACH,MAAM,OAAO,wBAAwB;IAClB,MAAM,CAAS;IACf,KAAK,GAAG,IAAI,yBAAyB,EAAE,CAAC;IACxC,KAAK,GAAG,IAAI,yBAAyB,EAAE,CAAC;IAEzD,YAAY,UAA8C;QACxD,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAClC,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,OAAO,CAAC,OAA4C;QACxD,MAAM,EAAE,cAAc,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC;QACxC,MAAM,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAEhC,QAAQ,GAAG,CAAC,OAAO,EAAE,CAAC;YACpB,KAAK,KAAK,EAAE,CAAC;gBACX,MAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;gBAC7C,OAAO;YACT,CAAC;YACD,KAAK,KAAK,EAAE,CAAC;gBACX,MAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;gBAC7C,OAAO;YACT,CAAC;YACD,KAAK,QAAQ,EAAE,CAAC;gBACd,MAAM,IAAI,uBAAuB,EAAE,CAAC,OAAO,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;gBAC5D,OAAO;YACT,CAAC;YACD,KAAK,QAAQ,EAAE,CAAC;gBACd,MAAM,IAAI,4BAA4B,EAAE,CAAC,OAAO,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;gBACjE,OAAO;YACT,CAAC;QACH,CAAC;IACH,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,UAAU,CAAC,OAAmC;QAClD,MAAM,IAAI,GAA6B;YACrC,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC;YACtC,GAAG,EAAE,OAAO,CAAC,SAAS;YACtB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,OAAO,CAAC;YACrC,iBAAiB,EAAE,OAAO,CAAC,iBAAiB;SAC7C,CAAC;QAEF,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,OAAO,KAAK,KAAK;YACxC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC;YAC1B,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;IAChC,CAAC;IAEO,IAAI,CACV,OAA4C;QAE5C,OAAO;YACL,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,cAAc,CAAC;YAC3C,GAAG,EAAE,OAAO,CAAC,cAAc;YAC3B,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,MAAM,CAAC;YACpC,iBAAiB,EAAE,OAAO,CAAC,iBAAiB;SAC7C,CAAC;IACJ,CAAC;IAEO,OAAO,CAAC,GAA4B;QAC1C,OAAO,IAAI,CAAC,MAAM,CAAC,kBAAkB,CAAC,GAAG,CAAC,SAAS,EAAE,GAAG,CAAC,UAAU,CAAC,CAAC;IACvE,CAAC;CACF"}
@@ -0,0 +1,53 @@
1
+ import type { SimAwsAccountId } from "../../aws/sim-aws-account-id.js";
2
+ import type { AwsRegionName } from "../../aws/sim-aws-region.js";
3
+ /**
4
+ * The services an asynchronous invocation result can be sent to.
5
+ */
6
+ export declare const simLambdaDestinationServices: readonly ["sqs", "sns", "events", "lambda"];
7
+ export type SimLambdaDestinationService = (typeof simLambdaDestinationServices)[number];
8
+ /**
9
+ * The ARN of somewhere an asynchronous invocation result is sent.
10
+ *
11
+ * Destination ARNs are read here rather than by `parseSimArn`, because the four
12
+ * services write their resource part three ways. A queue and a topic put the
13
+ * name straight after the Account, a function writes `function:<name>`, and an
14
+ * event bus writes `event-bus/<name>`.
15
+ */
16
+ export declare class SimLambdaDestinationArn {
17
+ readonly value: string;
18
+ readonly service: SimLambdaDestinationService;
19
+ readonly regionName: AwsRegionName;
20
+ readonly accountId: SimAwsAccountId;
21
+ /**
22
+ * The resource part of the ARN, with no type separator taken off it.
23
+ */
24
+ readonly resource: string;
25
+ private constructor();
26
+ /**
27
+ * Read a destination ARN, refusing one this simulation cannot send to.
28
+ *
29
+ * A destination naming an unsimulated service is refused when the config is
30
+ * written rather than when an invocation first fails, so a function that
31
+ * could never deliver says so at the point it was set up.
32
+ */
33
+ static of(value: string): SimLambdaDestinationArn;
34
+ /**
35
+ * Refuse an ARN of the right service that names nothing in it.
36
+ */
37
+ private static refuseUnnamedResource;
38
+ /**
39
+ * The name of a Lambda function this ARN names, or nothing when it names
40
+ * something else in Lambda.
41
+ */
42
+ get functionName(): string;
43
+ /**
44
+ * The version or alias this ARN qualified the function with.
45
+ */
46
+ get functionQualifier(): string | undefined;
47
+ /**
48
+ * The name of the event bus this ARN names, or nothing when it names
49
+ * something else in EventBridge.
50
+ */
51
+ get eventBusName(): string;
52
+ }
53
+ //# sourceMappingURL=sim-lambda-destination-arn.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-destination-arn.d.ts","sourceRoot":"","sources":["../../../../src/service/lambda/destination/sim-lambda-destination-arn.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAGjE;;GAEG;AACH,eAAO,MAAM,4BAA4B,YACvC,KAAK,EACL,KAAK,EACL,QAAQ,EACR,QAAQ,CACA,CAAC;AAEX,MAAM,MAAM,2BAA2B,GACrC,CAAC,OAAO,4BAA4B,CAAC,CAAC,MAAM,CAAC,CAAC;AAyBhD;;;;;;;GAOG;AACH,qBAAa,uBAAuB;IAClC,SAAgB,KAAK,EAAE,MAAM,CAAC;IAC9B,SAAgB,OAAO,EAAE,2BAA2B,CAAC;IACrD,SAAgB,UAAU,EAAE,aAAa,CAAC;IAC1C,SAAgB,SAAS,EAAE,eAAe,CAAC;IAE3C;;OAEG;IACH,SAAgB,QAAQ,EAAE,MAAM,CAAC;IAEjC,OAAO,eAMN;IAED;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,uBAAuB,CAuChD;IAED;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,qBAAqB;IAiBpC;;;OAGG;IACH,IAAI,YAAY,IAAI,MAAM,CAIzB;IAED;;OAEG;IACH,IAAI,iBAAiB,IAAI,MAAM,GAAG,SAAS,CAI1C;IAED;;;OAGG;IACH,IAAI,YAAY,IAAI,MAAM,CAQzB;CACF"}