@kensio/yulin 0.42.0 → 0.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (872) hide show
  1. package/README.md +1 -0
  2. package/dist/sdk/router/resolve-sim-sdk-command-router.d.ts.map +1 -1
  3. package/dist/sdk/router/resolve-sim-sdk-command-router.js +3 -0
  4. package/dist/sdk/router/resolve-sim-sdk-command-router.js.map +1 -1
  5. package/dist/serve/controller/factory/sim-aws-service-controller-factory.d.ts.map +1 -1
  6. package/dist/serve/controller/factory/sim-aws-service-controller-factory.js +4 -0
  7. package/dist/serve/controller/factory/sim-aws-service-controller-factory.js.map +1 -1
  8. package/dist/serve/controller/sim-aws-service-signing-name.d.ts.map +1 -1
  9. package/dist/serve/controller/sim-aws-service-signing-name.js +3 -0
  10. package/dist/serve/controller/sim-aws-service-signing-name.js.map +1 -1
  11. package/dist/serve/controller/sim-service-controller.d.ts +1 -1
  12. package/dist/serve/controller/sim-service-controller.d.ts.map +1 -1
  13. package/dist/serve/controller/sim-service-controller.js.map +1 -1
  14. package/dist/serve/http/url/sim-aws-local-url.d.ts.map +1 -1
  15. package/dist/serve/http/url/sim-aws-local-url.js +1 -0
  16. package/dist/serve/http/url/sim-aws-local-url.js.map +1 -1
  17. package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts +112 -0
  18. package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts.map +1 -0
  19. package/dist/service/aws/factory/sim-aws-account-region-service-builder.js +196 -0
  20. package/dist/service/aws/factory/sim-aws-account-region-service-builder.js.map +1 -0
  21. package/dist/service/aws/factory/sim-aws-account-service-cache.d.ts +2 -1
  22. package/dist/service/aws/factory/sim-aws-account-service-cache.d.ts.map +1 -1
  23. package/dist/service/aws/factory/sim-aws-account-service-cache.js +2 -1
  24. package/dist/service/aws/factory/sim-aws-account-service-cache.js.map +1 -1
  25. package/dist/service/aws/factory/sim-aws-request-auth-wiring.d.ts +45 -0
  26. package/dist/service/aws/factory/sim-aws-request-auth-wiring.d.ts.map +1 -0
  27. package/dist/service/aws/factory/sim-aws-request-auth-wiring.js +51 -0
  28. package/dist/service/aws/factory/sim-aws-request-auth-wiring.js.map +1 -0
  29. package/dist/service/aws/factory/sim-aws-scoped-service-registries.d.ts +7 -0
  30. package/dist/service/aws/factory/sim-aws-scoped-service-registries.d.ts.map +1 -1
  31. package/dist/service/aws/factory/sim-aws-scoped-service-registries.js +7 -0
  32. package/dist/service/aws/factory/sim-aws-scoped-service-registries.js.map +1 -1
  33. package/dist/service/aws/factory/sim-aws-service-factory.d.ts +32 -74
  34. package/dist/service/aws/factory/sim-aws-service-factory.d.ts.map +1 -1
  35. package/dist/service/aws/factory/sim-aws-service-factory.js +46 -162
  36. package/dist/service/aws/factory/sim-aws-service-factory.js.map +1 -1
  37. package/dist/service/aws/sim-aws-account-region-scope.d.ts +5 -0
  38. package/dist/service/aws/sim-aws-account-region-scope.d.ts.map +1 -1
  39. package/dist/service/aws/sim-aws-account-region-scope.factory.d.ts +1 -1
  40. package/dist/service/aws/sim-aws-account-region-scope.factory.d.ts.map +1 -1
  41. package/dist/service/aws/sim-aws-account-region-scope.js +6 -0
  42. package/dist/service/aws/sim-aws-account-region-scope.js.map +1 -1
  43. package/dist/service/aws/sim-aws-request-authentication.d.ts +3 -3
  44. package/dist/service/aws/sim-aws-request-authentication.d.ts.map +1 -1
  45. package/dist/service/aws/sim-aws-request-authentication.js +4 -4
  46. package/dist/service/aws/sim-aws-request-authentication.js.map +1 -1
  47. package/dist/service/aws/sim-aws.d.ts +3 -0
  48. package/dist/service/aws/sim-aws.d.ts.map +1 -1
  49. package/dist/service/aws/sim-aws.js +5 -1
  50. package/dist/service/aws/sim-aws.js.map +1 -1
  51. package/dist/service/cloudformation/resource/cfn/cloudfront/sim-cff-cfn.factory.d.ts +1 -1
  52. package/dist/service/cloudformation/resource/cfn/cloudfront/sim-cff-cfn.factory.d.ts.map +1 -1
  53. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-cfn-value-adapter.d.ts +6 -0
  54. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-cfn-value-adapter.d.ts.map +1 -0
  55. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-cfn-value-adapter.js +25 -0
  56. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-cfn-value-adapter.js.map +1 -0
  57. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-cfn.d.ts +30 -0
  58. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-cfn.d.ts.map +1 -0
  59. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-cfn.js +45 -0
  60. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-cfn.js.map +1 -0
  61. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-client-cfn.d.ts +30 -0
  62. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-client-cfn.d.ts.map +1 -0
  63. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-client-cfn.js +32 -0
  64. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-client-cfn.js.map +1 -0
  65. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-group-cfn.d.ts +25 -0
  66. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-group-cfn.d.ts.map +1 -0
  67. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-group-cfn.js +24 -0
  68. package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-group-cfn.js.map +1 -0
  69. package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-cfn-value-adapter.d.ts.map +1 -1
  70. package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-cfn-value-adapter.js +8 -0
  71. package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-cfn-value-adapter.js.map +1 -1
  72. package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-event-source-mapping-cfn.d.ts +28 -0
  73. package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-event-source-mapping-cfn.d.ts.map +1 -0
  74. package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-event-source-mapping-cfn.js +33 -0
  75. package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-event-source-mapping-cfn.js.map +1 -0
  76. package/dist/service/cloudformation/resource/cfn/sim-cfn-resource-value-adapter.d.ts.map +1 -1
  77. package/dist/service/cloudformation/resource/cfn/sim-cfn-resource-value-adapter.js +4 -0
  78. package/dist/service/cloudformation/resource/cfn/sim-cfn-resource-value-adapter.js.map +1 -1
  79. package/dist/service/cloudformation/resource/cfn/sqs/sim-sqs-cfn-value-adapter.d.ts +6 -0
  80. package/dist/service/cloudformation/resource/cfn/sqs/sim-sqs-cfn-value-adapter.d.ts.map +1 -0
  81. package/dist/service/cloudformation/resource/cfn/sqs/sim-sqs-cfn-value-adapter.js +13 -0
  82. package/dist/service/cloudformation/resource/cfn/sqs/sim-sqs-cfn-value-adapter.js.map +1 -0
  83. package/dist/service/cloudformation/resource/cfn/sqs/sim-sqs-queue-cfn.d.ts +28 -0
  84. package/dist/service/cloudformation/resource/cfn/sqs/sim-sqs-queue-cfn.d.ts.map +1 -0
  85. package/dist/service/cloudformation/resource/cfn/sqs/sim-sqs-queue-cfn.js +40 -0
  86. package/dist/service/cloudformation/resource/cfn/sqs/sim-sqs-queue-cfn.js.map +1 -0
  87. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-resolver.d.ts.map +1 -1
  88. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-resolver.js +6 -0
  89. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-resolver.js.map +1 -1
  90. package/dist/service/cloudformation/resource/sim-cfn-resource.d.ts +3 -0
  91. package/dist/service/cloudformation/resource/sim-cfn-resource.d.ts.map +1 -1
  92. package/dist/service/cloudformation/resource/sim-cfn-resource.factory.d.ts +1 -1
  93. package/dist/service/cloudformation/resource/sim-cfn-resource.factory.d.ts.map +1 -1
  94. package/dist/service/cloudformation/resource/sim-cfn-resource.js +4 -1
  95. package/dist/service/cloudformation/resource/sim-cfn-resource.js.map +1 -1
  96. package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-map.d.ts.map +1 -1
  97. package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-map.js +1 -0
  98. package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-map.js.map +1 -1
  99. package/dist/service/cloudfront/distribution/sim-cf-distro-config.factory.d.ts +1 -1
  100. package/dist/service/cloudfront/distribution/sim-cf-distro-config.factory.d.ts.map +1 -1
  101. package/dist/service/cloudfront/factory/cloudfront-functions.factory.d.ts +4 -4
  102. package/dist/service/cloudfront/factory/cloudfront-functions.factory.d.ts.map +1 -1
  103. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-creator.d.ts +25 -0
  104. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-creator.d.ts.map +1 -0
  105. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-creator.js +36 -0
  106. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-creator.js.map +1 -0
  107. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.d.ts +35 -0
  108. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.d.ts.map +1 -0
  109. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js +88 -0
  110. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js.map +1 -0
  111. package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-creator.d.ts +24 -0
  112. package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-creator.d.ts.map +1 -0
  113. package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-creator.js +34 -0
  114. package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-creator.js.map +1 -0
  115. package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-properties.d.ts +32 -0
  116. package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-properties.d.ts.map +1 -0
  117. package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-properties.js +55 -0
  118. package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-properties.js.map +1 -0
  119. package/dist/service/cognito/cfn/sim-cfn-cognito-property-parser.d.ts +52 -0
  120. package/dist/service/cognito/cfn/sim-cfn-cognito-property-parser.d.ts.map +1 -0
  121. package/dist/service/cognito/cfn/sim-cfn-cognito-property-parser.js +77 -0
  122. package/dist/service/cognito/cfn/sim-cfn-cognito-property-parser.js.map +1 -0
  123. package/dist/service/cognito/cfn/sim-cfn-cognito-resource-factory.d.ts +25 -0
  124. package/dist/service/cognito/cfn/sim-cfn-cognito-resource-factory.d.ts.map +1 -0
  125. package/dist/service/cognito/cfn/sim-cfn-cognito-resource-factory.js +42 -0
  126. package/dist/service/cognito/cfn/sim-cfn-cognito-resource-factory.js.map +1 -0
  127. package/dist/service/cognito/cfn/sim-cfn-cognito-value-parser.d.ts +51 -0
  128. package/dist/service/cognito/cfn/sim-cfn-cognito-value-parser.d.ts.map +1 -0
  129. package/dist/service/cognito/cfn/sim-cfn-cognito-value-parser.js +87 -0
  130. package/dist/service/cognito/cfn/sim-cfn-cognito-value-parser.js.map +1 -0
  131. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-password-policy.d.ts +28 -0
  132. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-password-policy.d.ts.map +1 -0
  133. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-password-policy.js +53 -0
  134. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-password-policy.js.map +1 -0
  135. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-policies.d.ts +27 -0
  136. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-policies.d.ts.map +1 -0
  137. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-policies.js +41 -0
  138. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-policies.js.map +1 -0
  139. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.d.ts +25 -0
  140. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.d.ts.map +1 -0
  141. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.js +32 -0
  142. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.js.map +1 -0
  143. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-creator.d.ts +26 -0
  144. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-creator.d.ts.map +1 -0
  145. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-creator.js +33 -0
  146. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-creator.js.map +1 -0
  147. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.d.ts +31 -0
  148. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.d.ts.map +1 -0
  149. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js +60 -0
  150. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js.map +1 -0
  151. package/dist/service/cognito/command/auth/auth.command.d.ts +162 -0
  152. package/dist/service/cognito/command/auth/auth.command.d.ts.map +1 -0
  153. package/dist/service/cognito/command/auth/auth.command.js +2 -0
  154. package/dist/service/cognito/command/auth/auth.command.js.map +1 -0
  155. package/dist/service/cognito/command/auth/sim-cognito-admin-initiate-auth.d.ts +32 -0
  156. package/dist/service/cognito/command/auth/sim-cognito-admin-initiate-auth.d.ts.map +1 -0
  157. package/dist/service/cognito/command/auth/sim-cognito-admin-initiate-auth.js +37 -0
  158. package/dist/service/cognito/command/auth/sim-cognito-admin-initiate-auth.js.map +1 -0
  159. package/dist/service/cognito/command/auth/sim-cognito-admin-respond-to-challenge.d.ts +29 -0
  160. package/dist/service/cognito/command/auth/sim-cognito-admin-respond-to-challenge.d.ts.map +1 -0
  161. package/dist/service/cognito/command/auth/sim-cognito-admin-respond-to-challenge.js +34 -0
  162. package/dist/service/cognito/command/auth/sim-cognito-admin-respond-to-challenge.js.map +1 -0
  163. package/dist/service/cognito/command/auth/sim-cognito-auth-challenge.d.ts +12 -0
  164. package/dist/service/cognito/command/auth/sim-cognito-auth-challenge.d.ts.map +1 -0
  165. package/dist/service/cognito/command/auth/sim-cognito-auth-challenge.js +20 -0
  166. package/dist/service/cognito/command/auth/sim-cognito-auth-challenge.js.map +1 -0
  167. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.d.ts +31 -0
  168. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.d.ts.map +1 -0
  169. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.js +63 -0
  170. package/dist/service/cognito/command/auth/sim-cognito-auth-commands.js.map +1 -0
  171. package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.d.ts +26 -0
  172. package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.d.ts.map +1 -0
  173. package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.js +25 -0
  174. package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.js.map +1 -0
  175. package/dist/service/cognito/command/auth/sim-cognito-auth-flow.d.ts +42 -0
  176. package/dist/service/cognito/command/auth/sim-cognito-auth-flow.d.ts.map +1 -0
  177. package/dist/service/cognito/command/auth/sim-cognito-auth-flow.js +52 -0
  178. package/dist/service/cognito/command/auth/sim-cognito-auth-flow.js.map +1 -0
  179. package/dist/service/cognito/command/auth/sim-cognito-auth-flows.d.ts +48 -0
  180. package/dist/service/cognito/command/auth/sim-cognito-auth-flows.d.ts.map +1 -0
  181. package/dist/service/cognito/command/auth/sim-cognito-auth-flows.js +79 -0
  182. package/dist/service/cognito/command/auth/sim-cognito-auth-flows.js.map +1 -0
  183. package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.d.ts +21 -0
  184. package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.d.ts.map +1 -0
  185. package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.js +33 -0
  186. package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.js.map +1 -0
  187. package/dist/service/cognito/command/auth/sim-cognito-auth-resolver.d.ts +61 -0
  188. package/dist/service/cognito/command/auth/sim-cognito-auth-resolver.d.ts.map +1 -0
  189. package/dist/service/cognito/command/auth/sim-cognito-auth-resolver.js +56 -0
  190. package/dist/service/cognito/command/auth/sim-cognito-auth-resolver.js.map +1 -0
  191. package/dist/service/cognito/command/auth/sim-cognito-authentication-result.d.ts +17 -0
  192. package/dist/service/cognito/command/auth/sim-cognito-authentication-result.d.ts.map +1 -0
  193. package/dist/service/cognito/command/auth/sim-cognito-authentication-result.js +26 -0
  194. package/dist/service/cognito/command/auth/sim-cognito-authentication-result.js.map +1 -0
  195. package/dist/service/cognito/command/auth/sim-cognito-initiate-auth.d.ts +27 -0
  196. package/dist/service/cognito/command/auth/sim-cognito-initiate-auth.d.ts.map +1 -0
  197. package/dist/service/cognito/command/auth/sim-cognito-initiate-auth.js +36 -0
  198. package/dist/service/cognito/command/auth/sim-cognito-initiate-auth.js.map +1 -0
  199. package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.d.ts +28 -0
  200. package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.d.ts.map +1 -0
  201. package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.js +39 -0
  202. package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.js.map +1 -0
  203. package/dist/service/cognito/command/auth/sim-cognito-new-password-response.d.ts +39 -0
  204. package/dist/service/cognito/command/auth/sim-cognito-new-password-response.d.ts.map +1 -0
  205. package/dist/service/cognito/command/auth/sim-cognito-new-password-response.js +47 -0
  206. package/dist/service/cognito/command/auth/sim-cognito-new-password-response.js.map +1 -0
  207. package/dist/service/cognito/command/auth/sim-cognito-password-sign-in.d.ts +42 -0
  208. package/dist/service/cognito/command/auth/sim-cognito-password-sign-in.d.ts.map +1 -0
  209. package/dist/service/cognito/command/auth/sim-cognito-password-sign-in.js +39 -0
  210. package/dist/service/cognito/command/auth/sim-cognito-password-sign-in.js.map +1 -0
  211. package/dist/service/cognito/command/auth/sim-cognito-refresh-sign-in.d.ts +28 -0
  212. package/dist/service/cognito/command/auth/sim-cognito-refresh-sign-in.d.ts.map +1 -0
  213. package/dist/service/cognito/command/auth/sim-cognito-refresh-sign-in.js +42 -0
  214. package/dist/service/cognito/command/auth/sim-cognito-refresh-sign-in.js.map +1 -0
  215. package/dist/service/cognito/command/auth/sim-cognito-respond-to-challenge.d.ts +26 -0
  216. package/dist/service/cognito/command/auth/sim-cognito-respond-to-challenge.d.ts.map +1 -0
  217. package/dist/service/cognito/command/auth/sim-cognito-respond-to-challenge.js +35 -0
  218. package/dist/service/cognito/command/auth/sim-cognito-respond-to-challenge.js.map +1 -0
  219. package/dist/service/cognito/command/auth/sim-cognito-sign-out.d.ts +39 -0
  220. package/dist/service/cognito/command/auth/sim-cognito-sign-out.d.ts.map +1 -0
  221. package/dist/service/cognito/command/auth/sim-cognito-sign-out.js +42 -0
  222. package/dist/service/cognito/command/auth/sim-cognito-sign-out.js.map +1 -0
  223. package/dist/service/cognito/command/auth/sim-cognito-unsimulated-auth-options.d.ts +37 -0
  224. package/dist/service/cognito/command/auth/sim-cognito-unsimulated-auth-options.d.ts.map +1 -0
  225. package/dist/service/cognito/command/auth/sim-cognito-unsimulated-auth-options.js +54 -0
  226. package/dist/service/cognito/command/auth/sim-cognito-unsimulated-auth-options.js.map +1 -0
  227. package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.d.ts.map +1 -1
  228. package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.js +0 -1
  229. package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.js.map +1 -1
  230. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-commands.d.ts.map +1 -1
  231. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-commands.js +1 -0
  232. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-commands.js.map +1 -1
  233. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.d.ts +2 -1
  234. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.d.ts.map +1 -1
  235. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.js +3 -1
  236. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.js.map +1 -1
  237. package/dist/service/cognito/command/client/user-pool-client.command.d.ts +1 -0
  238. package/dist/service/cognito/command/client/user-pool-client.command.d.ts.map +1 -1
  239. package/dist/service/cognito/command/group/group-membership.command.d.ts +70 -0
  240. package/dist/service/cognito/command/group/group-membership.command.d.ts.map +1 -0
  241. package/dist/service/cognito/command/group/group-membership.command.js +2 -0
  242. package/dist/service/cognito/command/group/group-membership.command.js.map +1 -0
  243. package/dist/service/cognito/command/group/group.command.d.ts +102 -0
  244. package/dist/service/cognito/command/group/group.command.d.ts.map +1 -0
  245. package/dist/service/cognito/command/group/group.command.js +2 -0
  246. package/dist/service/cognito/command/group/group.command.js.map +1 -0
  247. package/dist/service/cognito/command/group/sim-cognito-group-commands.d.ts +51 -0
  248. package/dist/service/cognito/command/group/sim-cognito-group-commands.d.ts.map +1 -0
  249. package/dist/service/cognito/command/group/sim-cognito-group-commands.js +67 -0
  250. package/dist/service/cognito/command/group/sim-cognito-group-commands.js.map +1 -0
  251. package/dist/service/cognito/command/group/sim-cognito-group-membership-commands.d.ts +46 -0
  252. package/dist/service/cognito/command/group/sim-cognito-group-membership-commands.d.ts.map +1 -0
  253. package/dist/service/cognito/command/group/sim-cognito-group-membership-commands.js +80 -0
  254. package/dist/service/cognito/command/group/sim-cognito-group-membership-commands.js.map +1 -0
  255. package/dist/service/cognito/command/group/sim-cognito-group-view.d.ts +18 -0
  256. package/dist/service/cognito/command/group/sim-cognito-group-view.d.ts.map +1 -0
  257. package/dist/service/cognito/command/group/sim-cognito-group-view.js +26 -0
  258. package/dist/service/cognito/command/group/sim-cognito-group-view.js.map +1 -0
  259. package/dist/service/cognito/command/group/sim-cognito-list-groups.d.ts +27 -0
  260. package/dist/service/cognito/command/group/sim-cognito-list-groups.d.ts.map +1 -0
  261. package/dist/service/cognito/command/group/sim-cognito-list-groups.js +38 -0
  262. package/dist/service/cognito/command/group/sim-cognito-list-groups.js.map +1 -0
  263. package/dist/service/cognito/command/sim-cognito-command.types.d.ts +5 -0
  264. package/dist/service/cognito/command/sim-cognito-command.types.d.ts.map +1 -1
  265. package/dist/service/cognito/command/sim-cognito-commands.d.ts +44 -0
  266. package/dist/service/cognito/command/sim-cognito-commands.d.ts.map +1 -0
  267. package/dist/service/cognito/command/sim-cognito-commands.js +72 -0
  268. package/dist/service/cognito/command/sim-cognito-commands.js.map +1 -0
  269. package/dist/service/cognito/command/sim-cognito-page.d.ts +12 -2
  270. package/dist/service/cognito/command/sim-cognito-page.d.ts.map +1 -1
  271. package/dist/service/cognito/command/sim-cognito-page.js +8 -8
  272. package/dist/service/cognito/command/sim-cognito-page.js.map +1 -1
  273. package/dist/service/cognito/command/sim-cognito-request-resolver.d.ts +86 -0
  274. package/dist/service/cognito/command/sim-cognito-request-resolver.d.ts.map +1 -0
  275. package/dist/service/cognito/command/sim-cognito-request-resolver.js +74 -0
  276. package/dist/service/cognito/command/sim-cognito-request-resolver.js.map +1 -0
  277. package/dist/service/cognito/command/user/list-users.command.d.ts +30 -0
  278. package/dist/service/cognito/command/user/list-users.command.d.ts.map +1 -0
  279. package/dist/service/cognito/command/user/list-users.command.js +2 -0
  280. package/dist/service/cognito/command/user/list-users.command.js.map +1 -0
  281. package/dist/service/cognito/command/user/sim-cognito-list-users.d.ts +30 -0
  282. package/dist/service/cognito/command/user/sim-cognito-list-users.d.ts.map +1 -0
  283. package/dist/service/cognito/command/user/sim-cognito-list-users.js +46 -0
  284. package/dist/service/cognito/command/user/sim-cognito-list-users.js.map +1 -0
  285. package/dist/service/cognito/command/user/sim-cognito-unsimulated-user-options.d.ts +35 -0
  286. package/dist/service/cognito/command/user/sim-cognito-unsimulated-user-options.d.ts.map +1 -0
  287. package/dist/service/cognito/command/user/sim-cognito-unsimulated-user-options.js +45 -0
  288. package/dist/service/cognito/command/user/sim-cognito-unsimulated-user-options.js.map +1 -0
  289. package/dist/service/cognito/command/user/sim-cognito-user-commands.d.ts +53 -0
  290. package/dist/service/cognito/command/user/sim-cognito-user-commands.d.ts.map +1 -0
  291. package/dist/service/cognito/command/user/sim-cognito-user-commands.js +72 -0
  292. package/dist/service/cognito/command/user/sim-cognito-user-commands.js.map +1 -0
  293. package/dist/service/cognito/command/user/sim-cognito-user-update-commands.d.ts +47 -0
  294. package/dist/service/cognito/command/user/sim-cognito-user-update-commands.d.ts.map +1 -0
  295. package/dist/service/cognito/command/user/sim-cognito-user-update-commands.js +63 -0
  296. package/dist/service/cognito/command/user/sim-cognito-user-update-commands.js.map +1 -0
  297. package/dist/service/cognito/command/user/sim-cognito-user-view.d.ts +21 -0
  298. package/dist/service/cognito/command/user/sim-cognito-user-view.d.ts.map +1 -0
  299. package/dist/service/cognito/command/user/sim-cognito-user-view.js +37 -0
  300. package/dist/service/cognito/command/user/sim-cognito-user-view.js.map +1 -0
  301. package/dist/service/cognito/command/user/user.command.d.ts +135 -0
  302. package/dist/service/cognito/command/user/user.command.d.ts.map +1 -0
  303. package/dist/service/cognito/command/user/user.command.js +2 -0
  304. package/dist/service/cognito/command/user/user.command.js.map +1 -0
  305. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.d.ts +4 -3
  306. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.d.ts.map +1 -1
  307. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.js +5 -4
  308. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.js.map +1 -1
  309. package/dist/service/cognito/error/sim-cognito.error.d.ts +51 -0
  310. package/dist/service/cognito/error/sim-cognito.error.d.ts.map +1 -1
  311. package/dist/service/cognito/error/sim-cognito.error.js +61 -0
  312. package/dist/service/cognito/error/sim-cognito.error.js.map +1 -1
  313. package/dist/service/cognito/index.d.ts +16 -1
  314. package/dist/service/cognito/index.d.ts.map +1 -1
  315. package/dist/service/cognito/index.js +14 -1
  316. package/dist/service/cognito/index.js.map +1 -1
  317. package/dist/service/cognito/registry/sim-cognito-user-pool-registry.d.ts +31 -0
  318. package/dist/service/cognito/registry/sim-cognito-user-pool-registry.d.ts.map +1 -0
  319. package/dist/service/cognito/registry/sim-cognito-user-pool-registry.js +38 -0
  320. package/dist/service/cognito/registry/sim-cognito-user-pool-registry.js.map +1 -0
  321. package/dist/service/cognito/sdk/sim-cognito-sdk-auth-routes.d.ts +11 -0
  322. package/dist/service/cognito/sdk/sim-cognito-sdk-auth-routes.d.ts.map +1 -0
  323. package/dist/service/cognito/sdk/sim-cognito-sdk-auth-routes.js +37 -0
  324. package/dist/service/cognito/sdk/sim-cognito-sdk-auth-routes.js.map +1 -0
  325. package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.d.ts +5 -1
  326. package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.d.ts.map +1 -1
  327. package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.js +10 -33
  328. package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.js.map +1 -1
  329. package/dist/service/cognito/sdk/sim-cognito-sdk-directory-routes.d.ts +7 -0
  330. package/dist/service/cognito/sdk/sim-cognito-sdk-directory-routes.d.ts.map +1 -0
  331. package/dist/service/cognito/sdk/sim-cognito-sdk-directory-routes.js +77 -0
  332. package/dist/service/cognito/sdk/sim-cognito-sdk-directory-routes.js.map +1 -0
  333. package/dist/service/cognito/sdk/sim-cognito-sdk-pool-routes.d.ts +7 -0
  334. package/dist/service/cognito/sdk/sim-cognito-sdk-pool-routes.d.ts.map +1 -0
  335. package/dist/service/cognito/sdk/sim-cognito-sdk-pool-routes.js +41 -0
  336. package/dist/service/cognito/sdk/sim-cognito-sdk-pool-routes.js.map +1 -0
  337. package/dist/service/cognito/serve/sim-cognito-controller.d.ts +40 -0
  338. package/dist/service/cognito/serve/sim-cognito-controller.d.ts.map +1 -0
  339. package/dist/service/cognito/serve/sim-cognito-controller.js +91 -0
  340. package/dist/service/cognito/serve/sim-cognito-controller.js.map +1 -0
  341. package/dist/service/cognito/serve/sim-cognito-endpoint-response.d.ts +32 -0
  342. package/dist/service/cognito/serve/sim-cognito-endpoint-response.d.ts.map +1 -0
  343. package/dist/service/cognito/serve/sim-cognito-endpoint-response.js +51 -0
  344. package/dist/service/cognito/serve/sim-cognito-endpoint-response.js.map +1 -0
  345. package/dist/service/cognito/serve/sim-cognito-openid-configuration.d.ts +36 -0
  346. package/dist/service/cognito/serve/sim-cognito-openid-configuration.d.ts.map +1 -0
  347. package/dist/service/cognito/serve/sim-cognito-openid-configuration.js +36 -0
  348. package/dist/service/cognito/serve/sim-cognito-openid-configuration.js.map +1 -0
  349. package/dist/service/cognito/sim-cognito-authentication.d.ts +59 -0
  350. package/dist/service/cognito/sim-cognito-authentication.d.ts.map +1 -0
  351. package/dist/service/cognito/sim-cognito-authentication.js +68 -0
  352. package/dist/service/cognito/sim-cognito-authentication.js.map +1 -0
  353. package/dist/service/cognito/sim-cognito-identity-provider.d.ts +32 -11
  354. package/dist/service/cognito/sim-cognito-identity-provider.d.ts.map +1 -1
  355. package/dist/service/cognito/sim-cognito-identity-provider.js +57 -43
  356. package/dist/service/cognito/sim-cognito-identity-provider.js.map +1 -1
  357. package/dist/service/cognito/sim-cognito-user-directory.d.ts +91 -0
  358. package/dist/service/cognito/sim-cognito-user-directory.d.ts.map +1 -0
  359. package/dist/service/cognito/sim-cognito-user-directory.js +136 -0
  360. package/dist/service/cognito/sim-cognito-user-directory.js.map +1 -0
  361. package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session-store.d.ts +45 -0
  362. package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session-store.d.ts.map +1 -0
  363. package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session-store.js +60 -0
  364. package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session-store.js.map +1 -0
  365. package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.d.ts +31 -0
  366. package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.d.ts.map +1 -0
  367. package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.js +45 -0
  368. package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.js.map +1 -0
  369. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.d.ts +59 -0
  370. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.d.ts.map +1 -0
  371. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.js +81 -0
  372. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.js.map +1 -0
  373. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.d.ts +37 -0
  374. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.d.ts.map +1 -0
  375. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.js +39 -0
  376. package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.js.map +1 -0
  377. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.d.ts +49 -0
  378. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.d.ts.map +1 -0
  379. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.js +63 -0
  380. package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.js.map +1 -0
  381. package/dist/service/cognito/user-pool/auth/sim-cognito-secret-hash.d.ts +17 -0
  382. package/dist/service/cognito/user-pool/auth/sim-cognito-secret-hash.d.ts.map +1 -0
  383. package/dist/service/cognito/user-pool/auth/sim-cognito-secret-hash.js +34 -0
  384. package/dist/service/cognito/user-pool/auth/sim-cognito-secret-hash.js.map +1 -0
  385. package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.d.ts +31 -0
  386. package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.d.ts.map +1 -0
  387. package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.js +49 -0
  388. package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.js.map +1 -0
  389. package/dist/service/cognito/user-pool/client/sim-cognito-prevent-user-existence-errors.d.ts +24 -0
  390. package/dist/service/cognito/user-pool/client/sim-cognito-prevent-user-existence-errors.d.ts.map +1 -0
  391. package/dist/service/cognito/user-pool/client/sim-cognito-prevent-user-existence-errors.js +46 -0
  392. package/dist/service/cognito/user-pool/client/sim-cognito-prevent-user-existence-errors.js.map +1 -0
  393. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.d.ts +1 -0
  394. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.d.ts.map +1 -1
  395. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.js +2 -0
  396. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.js.map +1 -1
  397. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.d.ts +3 -0
  398. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.d.ts.map +1 -1
  399. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.js +2 -0
  400. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.js.map +1 -1
  401. package/dist/service/cognito/user-pool/group/sim-cognito-group-factory.d.ts +26 -0
  402. package/dist/service/cognito/user-pool/group/sim-cognito-group-factory.d.ts.map +1 -0
  403. package/dist/service/cognito/user-pool/group/sim-cognito-group-factory.js +22 -0
  404. package/dist/service/cognito/user-pool/group/sim-cognito-group-factory.js.map +1 -0
  405. package/dist/service/cognito/user-pool/group/sim-cognito-group-name.d.ts +10 -0
  406. package/dist/service/cognito/user-pool/group/sim-cognito-group-name.d.ts.map +1 -0
  407. package/dist/service/cognito/user-pool/group/sim-cognito-group-name.js +15 -0
  408. package/dist/service/cognito/user-pool/group/sim-cognito-group-name.js.map +1 -0
  409. package/dist/service/cognito/user-pool/group/sim-cognito-group-settings.d.ts +33 -0
  410. package/dist/service/cognito/user-pool/group/sim-cognito-group-settings.d.ts.map +1 -0
  411. package/dist/service/cognito/user-pool/group/sim-cognito-group-settings.js +68 -0
  412. package/dist/service/cognito/user-pool/group/sim-cognito-group-settings.js.map +1 -0
  413. package/dist/service/cognito/user-pool/group/sim-cognito-group-store.d.ts +45 -0
  414. package/dist/service/cognito/user-pool/group/sim-cognito-group-store.d.ts.map +1 -0
  415. package/dist/service/cognito/user-pool/group/sim-cognito-group-store.js +77 -0
  416. package/dist/service/cognito/user-pool/group/sim-cognito-group-store.js.map +1 -0
  417. package/dist/service/cognito/user-pool/group/sim-cognito-group.d.ts +77 -0
  418. package/dist/service/cognito/user-pool/group/sim-cognito-group.d.ts.map +1 -0
  419. package/dist/service/cognito/user-pool/group/sim-cognito-group.js +90 -0
  420. package/dist/service/cognito/user-pool/group/sim-cognito-group.js.map +1 -0
  421. package/dist/service/cognito/user-pool/sim-cognito-identifier.d.ts +26 -0
  422. package/dist/service/cognito/user-pool/sim-cognito-identifier.d.ts.map +1 -0
  423. package/dist/service/cognito/user-pool/sim-cognito-identifier.js +34 -0
  424. package/dist/service/cognito/user-pool/sim-cognito-identifier.js.map +1 -0
  425. package/dist/service/cognito/user-pool/sim-cognito-password-check.d.ts +24 -0
  426. package/dist/service/cognito/user-pool/sim-cognito-password-check.d.ts.map +1 -0
  427. package/dist/service/cognito/user-pool/sim-cognito-password-check.js +73 -0
  428. package/dist/service/cognito/user-pool/sim-cognito-password-check.js.map +1 -0
  429. package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.d.ts +50 -0
  430. package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.d.ts.map +1 -1
  431. package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.js +56 -2
  432. package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.js.map +1 -1
  433. package/dist/service/cognito/user-pool/sim-cognito-user-pool.d.ts +98 -0
  434. package/dist/service/cognito/user-pool/sim-cognito-user-pool.d.ts.map +1 -1
  435. package/dist/service/cognito/user-pool/sim-cognito-user-pool.js +132 -0
  436. package/dist/service/cognito/user-pool/sim-cognito-user-pool.js.map +1 -1
  437. package/dist/service/cognito/user-pool/token/sim-cognito-access-token.d.ts +18 -0
  438. package/dist/service/cognito/user-pool/token/sim-cognito-access-token.d.ts.map +1 -0
  439. package/dist/service/cognito/user-pool/token/sim-cognito-access-token.js +40 -0
  440. package/dist/service/cognito/user-pool/token/sim-cognito-access-token.js.map +1 -0
  441. package/dist/service/cognito/user-pool/token/sim-cognito-id-token.d.ts +26 -0
  442. package/dist/service/cognito/user-pool/token/sim-cognito-id-token.d.ts.map +1 -0
  443. package/dist/service/cognito/user-pool/token/sim-cognito-id-token.js +42 -0
  444. package/dist/service/cognito/user-pool/token/sim-cognito-id-token.js.map +1 -0
  445. package/dist/service/cognito/user-pool/token/sim-cognito-signing-key.d.ts +64 -0
  446. package/dist/service/cognito/user-pool/token/sim-cognito-signing-key.d.ts.map +1 -0
  447. package/dist/service/cognito/user-pool/token/sim-cognito-signing-key.js +91 -0
  448. package/dist/service/cognito/user-pool/token/sim-cognito-signing-key.js.map +1 -0
  449. package/dist/service/cognito/user-pool/token/sim-cognito-token-claims.d.ts +37 -0
  450. package/dist/service/cognito/user-pool/token/sim-cognito-token-claims.d.ts.map +1 -0
  451. package/dist/service/cognito/user-pool/token/sim-cognito-token-claims.js +41 -0
  452. package/dist/service/cognito/user-pool/token/sim-cognito-token-claims.js.map +1 -0
  453. package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.d.ts +62 -0
  454. package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.d.ts.map +1 -0
  455. package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.js +95 -0
  456. package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.js.map +1 -0
  457. package/dist/service/cognito/user-pool/user/sim-cognito-user-attributes.d.ts +44 -0
  458. package/dist/service/cognito/user-pool/user/sim-cognito-user-attributes.d.ts.map +1 -0
  459. package/dist/service/cognito/user-pool/user/sim-cognito-user-attributes.js +105 -0
  460. package/dist/service/cognito/user-pool/user/sim-cognito-user-attributes.js.map +1 -0
  461. package/dist/service/cognito/user-pool/user/sim-cognito-user-factory.d.ts +34 -0
  462. package/dist/service/cognito/user-pool/user/sim-cognito-user-factory.d.ts.map +1 -0
  463. package/dist/service/cognito/user-pool/user/sim-cognito-user-factory.js +36 -0
  464. package/dist/service/cognito/user-pool/user/sim-cognito-user-factory.js.map +1 -0
  465. package/dist/service/cognito/user-pool/user/sim-cognito-user-password.d.ts +17 -0
  466. package/dist/service/cognito/user-pool/user/sim-cognito-user-password.d.ts.map +1 -0
  467. package/dist/service/cognito/user-pool/user/sim-cognito-user-password.js +21 -0
  468. package/dist/service/cognito/user-pool/user/sim-cognito-user-password.js.map +1 -0
  469. package/dist/service/cognito/user-pool/user/sim-cognito-user-status.d.ts +39 -0
  470. package/dist/service/cognito/user-pool/user/sim-cognito-user-status.d.ts.map +1 -0
  471. package/dist/service/cognito/user-pool/user/sim-cognito-user-status.js +47 -0
  472. package/dist/service/cognito/user-pool/user/sim-cognito-user-status.js.map +1 -0
  473. package/dist/service/cognito/user-pool/user/sim-cognito-user-store.d.ts +46 -0
  474. package/dist/service/cognito/user-pool/user/sim-cognito-user-store.d.ts.map +1 -0
  475. package/dist/service/cognito/user-pool/user/sim-cognito-user-store.js +73 -0
  476. package/dist/service/cognito/user-pool/user/sim-cognito-user-store.js.map +1 -0
  477. package/dist/service/cognito/user-pool/user/sim-cognito-user.d.ts +98 -0
  478. package/dist/service/cognito/user-pool/user/sim-cognito-user.d.ts.map +1 -0
  479. package/dist/service/cognito/user-pool/user/sim-cognito-user.js +122 -0
  480. package/dist/service/cognito/user-pool/user/sim-cognito-user.js.map +1 -0
  481. package/dist/service/cognito/user-pool/user/sim-cognito-username.d.ts +10 -0
  482. package/dist/service/cognito/user-pool/user/sim-cognito-username.d.ts.map +1 -0
  483. package/dist/service/cognito/user-pool/user/sim-cognito-username.js +12 -0
  484. package/dist/service/cognito/user-pool/user/sim-cognito-username.js.map +1 -0
  485. package/dist/service/iam/policy/sim-iam-policy-document.factory.d.ts +43 -0
  486. package/dist/service/iam/policy/sim-iam-policy-document.factory.d.ts.map +1 -0
  487. package/dist/service/iam/policy/sim-iam-policy-document.factory.js +46 -0
  488. package/dist/service/iam/policy/sim-iam-policy-document.factory.js.map +1 -0
  489. package/dist/service/iam/policy/sim-iam-policy.factory.d.ts +1 -1
  490. package/dist/service/iam/policy/sim-iam-policy.factory.d.ts.map +1 -1
  491. package/dist/service/iam/role/sim-iam-role.factory.d.ts +1 -1
  492. package/dist/service/iam/role/sim-iam-role.factory.d.ts.map +1 -1
  493. package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-creator.d.ts +26 -0
  494. package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-creator.d.ts.map +1 -0
  495. package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-creator.js +33 -0
  496. package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-creator.js.map +1 -0
  497. package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-properties.d.ts +28 -0
  498. package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-properties.d.ts.map +1 -0
  499. package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-properties.js +38 -0
  500. package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-properties.js.map +1 -0
  501. package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-property-rules.d.ts +17 -0
  502. package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-property-rules.d.ts.map +1 -0
  503. package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-property-rules.js +71 -0
  504. package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-property-rules.js.map +1 -0
  505. package/dist/service/lambda/cfn/function/sim-cfn-lambda-property-parser.d.ts +4 -0
  506. package/dist/service/lambda/cfn/function/sim-cfn-lambda-property-parser.d.ts.map +1 -1
  507. package/dist/service/lambda/cfn/function/sim-cfn-lambda-property-parser.js +12 -0
  508. package/dist/service/lambda/cfn/function/sim-cfn-lambda-property-parser.js.map +1 -1
  509. package/dist/service/lambda/cfn/function/sim-cfn-lambda-target-function.d.ts +5 -6
  510. package/dist/service/lambda/cfn/function/sim-cfn-lambda-target-function.d.ts.map +1 -1
  511. package/dist/service/lambda/cfn/function/sim-cfn-lambda-target-function.js +7 -13
  512. package/dist/service/lambda/cfn/function/sim-cfn-lambda-target-function.js.map +1 -1
  513. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.d.ts +1 -0
  514. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.d.ts.map +1 -1
  515. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.js +8 -0
  516. package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.js.map +1 -1
  517. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-input.d.ts +25 -0
  518. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-input.d.ts.map +1 -0
  519. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-input.js +55 -0
  520. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-input.js.map +1 -0
  521. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-refusals.d.ts +6 -0
  522. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-refusals.d.ts.map +1 -0
  523. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-refusals.js +64 -0
  524. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-refusals.js.map +1 -0
  525. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-values.d.ts +17 -0
  526. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-values.d.ts.map +1 -0
  527. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-values.js +47 -0
  528. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-values.js.map +1 -0
  529. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping.handler.d.ts +53 -0
  530. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping.handler.d.ts.map +1 -0
  531. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping.handler.js +77 -0
  532. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping.handler.js.map +1 -0
  533. package/dist/service/lambda/command/event-source-mapping/event-source-mapping-access.d.ts +41 -0
  534. package/dist/service/lambda/command/event-source-mapping/event-source-mapping-access.d.ts.map +1 -0
  535. package/dist/service/lambda/command/event-source-mapping/event-source-mapping-access.js +51 -0
  536. package/dist/service/lambda/command/event-source-mapping/event-source-mapping-access.js.map +1 -0
  537. package/dist/service/lambda/command/event-source-mapping/event-source-mapping.command.d.ts +91 -0
  538. package/dist/service/lambda/command/event-source-mapping/event-source-mapping.command.d.ts.map +1 -0
  539. package/dist/service/lambda/command/event-source-mapping/event-source-mapping.command.js +8 -0
  540. package/dist/service/lambda/command/event-source-mapping/event-source-mapping.command.js.map +1 -0
  541. package/dist/service/lambda/command/event-source-mapping/sim-lambda-event-source-mapping-commands.d.ts +60 -0
  542. package/dist/service/lambda/command/event-source-mapping/sim-lambda-event-source-mapping-commands.d.ts.map +1 -0
  543. package/dist/service/lambda/command/event-source-mapping/sim-lambda-event-source-mapping-commands.js +89 -0
  544. package/dist/service/lambda/command/event-source-mapping/sim-lambda-event-source-mapping-commands.js.map +1 -0
  545. package/dist/service/lambda/command/sim-lambda-command.types.d.ts +1 -0
  546. package/dist/service/lambda/command/sim-lambda-command.types.d.ts.map +1 -1
  547. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-delivery.d.ts +27 -0
  548. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-delivery.d.ts.map +1 -0
  549. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-delivery.js +32 -0
  550. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-delivery.js.map +1 -0
  551. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poll-schedule.d.ts +40 -0
  552. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poll-schedule.d.ts.map +1 -0
  553. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poll-schedule.js +55 -0
  554. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poll-schedule.js.map +1 -0
  555. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poller.d.ts +85 -0
  556. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poller.d.ts.map +1 -0
  557. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poller.js +136 -0
  558. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poller.js.map +1 -0
  559. package/dist/service/lambda/event-source/poll/sim-lambda-sqs-batch-response.d.ts +49 -0
  560. package/dist/service/lambda/event-source/poll/sim-lambda-sqs-batch-response.d.ts.map +1 -0
  561. package/dist/service/lambda/event-source/poll/sim-lambda-sqs-batch-response.js +97 -0
  562. package/dist/service/lambda/event-source/poll/sim-lambda-sqs-batch-response.js.map +1 -0
  563. package/dist/service/lambda/event-source/poll/sim-lambda-sqs-event.d.ts +56 -0
  564. package/dist/service/lambda/event-source/poll/sim-lambda-sqs-event.d.ts.map +1 -0
  565. package/dist/service/lambda/event-source/poll/sim-lambda-sqs-event.js +55 -0
  566. package/dist/service/lambda/event-source/poll/sim-lambda-sqs-event.js.map +1 -0
  567. package/dist/service/lambda/event-source/queue/sim-lambda-event-source-queue-service.d.ts +49 -0
  568. package/dist/service/lambda/event-source/queue/sim-lambda-event-source-queue-service.d.ts.map +1 -0
  569. package/dist/service/lambda/event-source/queue/sim-lambda-event-source-queue-service.js +2 -0
  570. package/dist/service/lambda/event-source/queue/sim-lambda-event-source-queue-service.js.map +1 -0
  571. package/dist/service/lambda/event-source/queue/sim-lambda-event-source-queues.d.ts +118 -0
  572. package/dist/service/lambda/event-source/queue/sim-lambda-event-source-queues.d.ts.map +1 -0
  573. package/dist/service/lambda/event-source/queue/sim-lambda-event-source-queues.js +49 -0
  574. package/dist/service/lambda/event-source/queue/sim-lambda-event-source-queues.js.map +1 -0
  575. package/dist/service/lambda/event-source/queue/sim-lambda-sqs-event-source-arn.d.ts +32 -0
  576. package/dist/service/lambda/event-source/queue/sim-lambda-sqs-event-source-arn.d.ts.map +1 -0
  577. package/dist/service/lambda/event-source/queue/sim-lambda-sqs-event-source-arn.js +52 -0
  578. package/dist/service/lambda/event-source/queue/sim-lambda-sqs-event-source-arn.js.map +1 -0
  579. package/dist/service/lambda/event-source/queue/sim-sqs-event-source-queue-attributes.d.ts +29 -0
  580. package/dist/service/lambda/event-source/queue/sim-sqs-event-source-queue-attributes.d.ts.map +1 -0
  581. package/dist/service/lambda/event-source/queue/sim-sqs-event-source-queue-attributes.js +49 -0
  582. package/dist/service/lambda/event-source/queue/sim-sqs-event-source-queue-attributes.js.map +1 -0
  583. package/dist/service/lambda/event-source/queue/sim-sqs-event-source-queues.d.ts +57 -0
  584. package/dist/service/lambda/event-source/queue/sim-sqs-event-source-queues.d.ts.map +1 -0
  585. package/dist/service/lambda/event-source/queue/sim-sqs-event-source-queues.js +89 -0
  586. package/dist/service/lambda/event-source/queue/sim-sqs-event-source-queues.js.map +1 -0
  587. package/dist/service/lambda/event-source/sim-lambda-event-source-mapping-store.d.ts +46 -0
  588. package/dist/service/lambda/event-source/sim-lambda-event-source-mapping-store.d.ts.map +1 -0
  589. package/dist/service/lambda/event-source/sim-lambda-event-source-mapping-store.js +57 -0
  590. package/dist/service/lambda/event-source/sim-lambda-event-source-mapping-store.js.map +1 -0
  591. package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.d.ts +101 -0
  592. package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.d.ts.map +1 -0
  593. package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.js +93 -0
  594. package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.js.map +1 -0
  595. package/dist/service/lambda/event-source/sim-lambda-event-source-pollers.d.ts +37 -0
  596. package/dist/service/lambda/event-source/sim-lambda-event-source-pollers.d.ts.map +1 -0
  597. package/dist/service/lambda/event-source/sim-lambda-event-source-pollers.js +44 -0
  598. package/dist/service/lambda/event-source/sim-lambda-event-source-pollers.js.map +1 -0
  599. package/dist/service/lambda/event-source/sim-lambda-event-source-role-permissions.d.ts +23 -0
  600. package/dist/service/lambda/event-source/sim-lambda-event-source-role-permissions.d.ts.map +1 -0
  601. package/dist/service/lambda/event-source/sim-lambda-event-source-role-permissions.js +46 -0
  602. package/dist/service/lambda/event-source/sim-lambda-event-source-role-permissions.js.map +1 -0
  603. package/dist/service/lambda/function/code/sim-lambda-vm-zip-function.factory.d.ts +31 -0
  604. package/dist/service/lambda/function/code/sim-lambda-vm-zip-function.factory.d.ts.map +1 -0
  605. package/dist/service/lambda/function/code/sim-lambda-vm-zip-function.factory.js +45 -0
  606. package/dist/service/lambda/function/code/sim-lambda-vm-zip-function.factory.js.map +1 -0
  607. package/dist/service/lambda/function/environment/sim-lambda-environment.factory.d.ts +20 -0
  608. package/dist/service/lambda/function/environment/sim-lambda-environment.factory.d.ts.map +1 -0
  609. package/dist/service/lambda/function/environment/sim-lambda-environment.factory.js +17 -0
  610. package/dist/service/lambda/function/environment/sim-lambda-environment.factory.js.map +1 -0
  611. package/dist/service/lambda/function/sim-lambda-function-name.d.ts +10 -0
  612. package/dist/service/lambda/function/sim-lambda-function-name.d.ts.map +1 -0
  613. package/dist/service/lambda/function/sim-lambda-function-name.js +18 -0
  614. package/dist/service/lambda/function/sim-lambda-function-name.js.map +1 -0
  615. package/dist/service/lambda/function/url/sim-lambda-function-lookup.d.ts +4 -0
  616. package/dist/service/lambda/function/url/sim-lambda-function-lookup.d.ts.map +1 -1
  617. package/dist/service/lambda/function/url/sim-lambda-function-lookup.js +6 -0
  618. package/dist/service/lambda/function/url/sim-lambda-function-lookup.js.map +1 -1
  619. package/dist/service/lambda/function/url/sim-lambda-function-url.factory.d.ts +20 -0
  620. package/dist/service/lambda/function/url/sim-lambda-function-url.factory.d.ts.map +1 -0
  621. package/dist/service/lambda/function/url/sim-lambda-function-url.factory.js +23 -0
  622. package/dist/service/lambda/function/url/sim-lambda-function-url.factory.js.map +1 -0
  623. package/dist/service/lambda/index.d.ts +1 -0
  624. package/dist/service/lambda/index.d.ts.map +1 -1
  625. package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.d.ts.map +1 -1
  626. package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.js +16 -0
  627. package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.js.map +1 -1
  628. package/dist/service/lambda/sim-lambda-commands.d.ts +51 -0
  629. package/dist/service/lambda/sim-lambda-commands.d.ts.map +1 -0
  630. package/dist/service/lambda/sim-lambda-commands.js +84 -0
  631. package/dist/service/lambda/sim-lambda-commands.js.map +1 -0
  632. package/dist/service/lambda/sim-lambda.d.ts +35 -39
  633. package/dist/service/lambda/sim-lambda.d.ts.map +1 -1
  634. package/dist/service/lambda/sim-lambda.js +47 -65
  635. package/dist/service/lambda/sim-lambda.js.map +1 -1
  636. package/dist/service/route53/resolve/sim-r53-s3-service-target.d.ts +40 -0
  637. package/dist/service/route53/resolve/sim-r53-s3-service-target.d.ts.map +1 -0
  638. package/dist/service/route53/resolve/sim-r53-s3-service-target.js +85 -0
  639. package/dist/service/route53/resolve/sim-r53-s3-service-target.js.map +1 -0
  640. package/dist/service/route53/resolve/sim-r53-service-target-resolver.d.ts +14 -25
  641. package/dist/service/route53/resolve/sim-r53-service-target-resolver.d.ts.map +1 -1
  642. package/dist/service/route53/resolve/sim-r53-service-target-resolver.js +37 -72
  643. package/dist/service/route53/resolve/sim-r53-service-target-resolver.js.map +1 -1
  644. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-creator.d.ts +25 -0
  645. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-creator.d.ts.map +1 -0
  646. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-creator.js +33 -0
  647. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-creator.js.map +1 -0
  648. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-name.d.ts +45 -0
  649. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-name.d.ts.map +1 -0
  650. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-name.js +67 -0
  651. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-name.js.map +1 -0
  652. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-properties.d.ts +44 -0
  653. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-properties.d.ts.map +1 -0
  654. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-properties.js +72 -0
  655. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-properties.js.map +1 -0
  656. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-property-rules.d.ts +47 -0
  657. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-property-rules.d.ts.map +1 -0
  658. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-property-rules.js +122 -0
  659. package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-property-rules.js.map +1 -0
  660. package/dist/service/sqs/cfn/sim-sqs-cfn-resource-factory.d.ts +24 -0
  661. package/dist/service/sqs/cfn/sim-sqs-cfn-resource-factory.d.ts.map +1 -0
  662. package/dist/service/sqs/cfn/sim-sqs-cfn-resource-factory.js +29 -0
  663. package/dist/service/sqs/cfn/sim-sqs-cfn-resource-factory.js.map +1 -0
  664. package/dist/service/sqs/command/authorize/sim-sqs-authorizer.d.ts +41 -0
  665. package/dist/service/sqs/command/authorize/sim-sqs-authorizer.d.ts.map +1 -0
  666. package/dist/service/sqs/command/authorize/sim-sqs-authorizer.js +51 -0
  667. package/dist/service/sqs/command/authorize/sim-sqs-authorizer.js.map +1 -0
  668. package/dist/service/sqs/command/message/consume.command.d.ts +61 -0
  669. package/dist/service/sqs/command/message/consume.command.d.ts.map +1 -0
  670. package/dist/service/sqs/command/message/consume.command.js +2 -0
  671. package/dist/service/sqs/command/message/consume.command.js.map +1 -0
  672. package/dist/service/sqs/command/message/receive.command.d.ts +40 -0
  673. package/dist/service/sqs/command/message/receive.command.d.ts.map +1 -0
  674. package/dist/service/sqs/command/message/receive.command.js +2 -0
  675. package/dist/service/sqs/command/message/receive.command.js.map +1 -0
  676. package/dist/service/sqs/command/message/send.command.d.ts +80 -0
  677. package/dist/service/sqs/command/message/send.command.d.ts.map +1 -0
  678. package/dist/service/sqs/command/message/send.command.js +2 -0
  679. package/dist/service/sqs/command/message/send.command.js.map +1 -0
  680. package/dist/service/sqs/command/message/sim-sqs-batch-entries.d.ts +39 -0
  681. package/dist/service/sqs/command/message/sim-sqs-batch-entries.d.ts.map +1 -0
  682. package/dist/service/sqs/command/message/sim-sqs-batch-entries.js +67 -0
  683. package/dist/service/sqs/command/message/sim-sqs-batch-entries.js.map +1 -0
  684. package/dist/service/sqs/command/message/sim-sqs-change-message-visibility.d.ts +31 -0
  685. package/dist/service/sqs/command/message/sim-sqs-change-message-visibility.d.ts.map +1 -0
  686. package/dist/service/sqs/command/message/sim-sqs-change-message-visibility.js +51 -0
  687. package/dist/service/sqs/command/message/sim-sqs-change-message-visibility.js.map +1 -0
  688. package/dist/service/sqs/command/message/sim-sqs-delete-message-commands.d.ts +38 -0
  689. package/dist/service/sqs/command/message/sim-sqs-delete-message-commands.d.ts.map +1 -0
  690. package/dist/service/sqs/command/message/sim-sqs-delete-message-commands.js +58 -0
  691. package/dist/service/sqs/command/message/sim-sqs-delete-message-commands.js.map +1 -0
  692. package/dist/service/sqs/command/message/sim-sqs-message-handles.d.ts +28 -0
  693. package/dist/service/sqs/command/message/sim-sqs-message-handles.d.ts.map +1 -0
  694. package/dist/service/sqs/command/message/sim-sqs-message-handles.js +36 -0
  695. package/dist/service/sqs/command/message/sim-sqs-message-handles.js.map +1 -0
  696. package/dist/service/sqs/command/message/sim-sqs-receive-limits.d.ts +27 -0
  697. package/dist/service/sqs/command/message/sim-sqs-receive-limits.d.ts.map +1 -0
  698. package/dist/service/sqs/command/message/sim-sqs-receive-limits.js +70 -0
  699. package/dist/service/sqs/command/message/sim-sqs-receive-limits.js.map +1 -0
  700. package/dist/service/sqs/command/message/sim-sqs-receive-message.d.ts +32 -0
  701. package/dist/service/sqs/command/message/sim-sqs-receive-message.d.ts.map +1 -0
  702. package/dist/service/sqs/command/message/sim-sqs-receive-message.js +33 -0
  703. package/dist/service/sqs/command/message/sim-sqs-receive-message.js.map +1 -0
  704. package/dist/service/sqs/command/message/sim-sqs-receive-request.d.ts +33 -0
  705. package/dist/service/sqs/command/message/sim-sqs-receive-request.d.ts.map +1 -0
  706. package/dist/service/sqs/command/message/sim-sqs-receive-request.js +55 -0
  707. package/dist/service/sqs/command/message/sim-sqs-receive-request.js.map +1 -0
  708. package/dist/service/sqs/command/message/sim-sqs-received-message-view.d.ts +25 -0
  709. package/dist/service/sqs/command/message/sim-sqs-received-message-view.d.ts.map +1 -0
  710. package/dist/service/sqs/command/message/sim-sqs-received-message-view.js +38 -0
  711. package/dist/service/sqs/command/message/sim-sqs-received-message-view.js.map +1 -0
  712. package/dist/service/sqs/command/message/sim-sqs-send-message-commands.d.ts +32 -0
  713. package/dist/service/sqs/command/message/sim-sqs-send-message-commands.d.ts.map +1 -0
  714. package/dist/service/sqs/command/message/sim-sqs-send-message-commands.js +56 -0
  715. package/dist/service/sqs/command/message/sim-sqs-send-message-commands.js.map +1 -0
  716. package/dist/service/sqs/command/message/sim-sqs-sent-message.d.ts +18 -0
  717. package/dist/service/sqs/command/message/sim-sqs-sent-message.d.ts.map +1 -0
  718. package/dist/service/sqs/command/message/sim-sqs-sent-message.js +37 -0
  719. package/dist/service/sqs/command/message/sim-sqs-sent-message.js.map +1 -0
  720. package/dist/service/sqs/command/queue/queue.command.d.ts +114 -0
  721. package/dist/service/sqs/command/queue/queue.command.d.ts.map +1 -0
  722. package/dist/service/sqs/command/queue/queue.command.js +2 -0
  723. package/dist/service/sqs/command/queue/queue.command.js.map +1 -0
  724. package/dist/service/sqs/command/queue/sim-sqs-create-queue.d.ts +51 -0
  725. package/dist/service/sqs/command/queue/sim-sqs-create-queue.d.ts.map +1 -0
  726. package/dist/service/sqs/command/queue/sim-sqs-create-queue.js +70 -0
  727. package/dist/service/sqs/command/queue/sim-sqs-create-queue.js.map +1 -0
  728. package/dist/service/sqs/command/queue/sim-sqs-queue-access.d.ts +63 -0
  729. package/dist/service/sqs/command/queue/sim-sqs-queue-access.d.ts.map +1 -0
  730. package/dist/service/sqs/command/queue/sim-sqs-queue-access.js +98 -0
  731. package/dist/service/sqs/command/queue/sim-sqs-queue-access.js.map +1 -0
  732. package/dist/service/sqs/command/queue/sim-sqs-queue-attribute-commands.d.ts +45 -0
  733. package/dist/service/sqs/command/queue/sim-sqs-queue-attribute-commands.d.ts.map +1 -0
  734. package/dist/service/sqs/command/queue/sim-sqs-queue-attribute-commands.js +74 -0
  735. package/dist/service/sqs/command/queue/sim-sqs-queue-attribute-commands.js.map +1 -0
  736. package/dist/service/sqs/command/queue/sim-sqs-queue-commands.d.ts +47 -0
  737. package/dist/service/sqs/command/queue/sim-sqs-queue-commands.d.ts.map +1 -0
  738. package/dist/service/sqs/command/queue/sim-sqs-queue-commands.js +55 -0
  739. package/dist/service/sqs/command/queue/sim-sqs-queue-commands.js.map +1 -0
  740. package/dist/service/sqs/command/queue/sim-sqs-queue-page.d.ts +27 -0
  741. package/dist/service/sqs/command/queue/sim-sqs-queue-page.d.ts.map +1 -0
  742. package/dist/service/sqs/command/queue/sim-sqs-queue-page.js +54 -0
  743. package/dist/service/sqs/command/queue/sim-sqs-queue-page.js.map +1 -0
  744. package/dist/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.d.ts +18 -0
  745. package/dist/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.d.ts.map +1 -0
  746. package/dist/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.js +27 -0
  747. package/dist/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.js.map +1 -0
  748. package/dist/service/sqs/command/sim-sqs-command.types.d.ts +8 -0
  749. package/dist/service/sqs/command/sim-sqs-command.types.d.ts.map +1 -0
  750. package/dist/service/sqs/command/sim-sqs-command.types.js +2 -0
  751. package/dist/service/sqs/command/sim-sqs-command.types.js.map +1 -0
  752. package/dist/service/sqs/error/sim-sqs.error.d.ts +162 -0
  753. package/dist/service/sqs/error/sim-sqs.error.d.ts.map +1 -0
  754. package/dist/service/sqs/error/sim-sqs.error.js +191 -0
  755. package/dist/service/sqs/error/sim-sqs.error.js.map +1 -0
  756. package/dist/service/sqs/index.d.ts +14 -0
  757. package/dist/service/sqs/index.d.ts.map +1 -0
  758. package/dist/service/sqs/index.js +13 -0
  759. package/dist/service/sqs/index.js.map +1 -0
  760. package/dist/service/sqs/message/sim-sqs-message-attribute-payload.d.ts +56 -0
  761. package/dist/service/sqs/message/sim-sqs-message-attribute-payload.d.ts.map +1 -0
  762. package/dist/service/sqs/message/sim-sqs-message-attribute-payload.js +42 -0
  763. package/dist/service/sqs/message/sim-sqs-message-attribute-payload.js.map +1 -0
  764. package/dist/service/sqs/message/sim-sqs-message-attribute-rules.d.ts +23 -0
  765. package/dist/service/sqs/message/sim-sqs-message-attribute-rules.d.ts.map +1 -0
  766. package/dist/service/sqs/message/sim-sqs-message-attribute-rules.js +68 -0
  767. package/dist/service/sqs/message/sim-sqs-message-attribute-rules.js.map +1 -0
  768. package/dist/service/sqs/message/sim-sqs-message-attribute-value.d.ts +17 -0
  769. package/dist/service/sqs/message/sim-sqs-message-attribute-value.d.ts.map +1 -0
  770. package/dist/service/sqs/message/sim-sqs-message-attribute-value.js +2 -0
  771. package/dist/service/sqs/message/sim-sqs-message-attribute-value.js.map +1 -0
  772. package/dist/service/sqs/message/sim-sqs-message-attribute.d.ts +29 -0
  773. package/dist/service/sqs/message/sim-sqs-message-attribute.d.ts.map +1 -0
  774. package/dist/service/sqs/message/sim-sqs-message-attribute.js +56 -0
  775. package/dist/service/sqs/message/sim-sqs-message-attribute.js.map +1 -0
  776. package/dist/service/sqs/message/sim-sqs-message-attributes.d.ts +44 -0
  777. package/dist/service/sqs/message/sim-sqs-message-attributes.d.ts.map +1 -0
  778. package/dist/service/sqs/message/sim-sqs-message-attributes.js +93 -0
  779. package/dist/service/sqs/message/sim-sqs-message-attributes.js.map +1 -0
  780. package/dist/service/sqs/message/sim-sqs-message-body.d.ts +18 -0
  781. package/dist/service/sqs/message/sim-sqs-message-body.d.ts.map +1 -0
  782. package/dist/service/sqs/message/sim-sqs-message-body.js +66 -0
  783. package/dist/service/sqs/message/sim-sqs-message-body.js.map +1 -0
  784. package/dist/service/sqs/message/sim-sqs-message-store.d.ts +74 -0
  785. package/dist/service/sqs/message/sim-sqs-message-store.d.ts.map +1 -0
  786. package/dist/service/sqs/message/sim-sqs-message-store.js +99 -0
  787. package/dist/service/sqs/message/sim-sqs-message-store.js.map +1 -0
  788. package/dist/service/sqs/message/sim-sqs-message-system-attributes.d.ts +28 -0
  789. package/dist/service/sqs/message/sim-sqs-message-system-attributes.d.ts.map +1 -0
  790. package/dist/service/sqs/message/sim-sqs-message-system-attributes.js +75 -0
  791. package/dist/service/sqs/message/sim-sqs-message-system-attributes.js.map +1 -0
  792. package/dist/service/sqs/message/sim-sqs-message-visibility.d.ts +56 -0
  793. package/dist/service/sqs/message/sim-sqs-message-visibility.d.ts.map +1 -0
  794. package/dist/service/sqs/message/sim-sqs-message-visibility.js +79 -0
  795. package/dist/service/sqs/message/sim-sqs-message-visibility.js.map +1 -0
  796. package/dist/service/sqs/message/sim-sqs-message-writer.d.ts +41 -0
  797. package/dist/service/sqs/message/sim-sqs-message-writer.d.ts.map +1 -0
  798. package/dist/service/sqs/message/sim-sqs-message-writer.js +56 -0
  799. package/dist/service/sqs/message/sim-sqs-message-writer.js.map +1 -0
  800. package/dist/service/sqs/message/sim-sqs-message.d.ts +96 -0
  801. package/dist/service/sqs/message/sim-sqs-message.d.ts.map +1 -0
  802. package/dist/service/sqs/message/sim-sqs-message.js +136 -0
  803. package/dist/service/sqs/message/sim-sqs-message.js.map +1 -0
  804. package/dist/service/sqs/message/sim-sqs-receipt-handle.d.ts +10 -0
  805. package/dist/service/sqs/message/sim-sqs-receipt-handle.d.ts.map +1 -0
  806. package/dist/service/sqs/message/sim-sqs-receipt-handle.js +14 -0
  807. package/dist/service/sqs/message/sim-sqs-receipt-handle.js.map +1 -0
  808. package/dist/service/sqs/queue/sim-sqs-dead-letter-targets.d.ts +51 -0
  809. package/dist/service/sqs/queue/sim-sqs-dead-letter-targets.d.ts.map +1 -0
  810. package/dist/service/sqs/queue/sim-sqs-dead-letter-targets.js +62 -0
  811. package/dist/service/sqs/queue/sim-sqs-dead-letter-targets.js.map +1 -0
  812. package/dist/service/sqs/queue/sim-sqs-deleted-queue-names.d.ts +20 -0
  813. package/dist/service/sqs/queue/sim-sqs-deleted-queue-names.d.ts.map +1 -0
  814. package/dist/service/sqs/queue/sim-sqs-deleted-queue-names.js +42 -0
  815. package/dist/service/sqs/queue/sim-sqs-deleted-queue-names.js.map +1 -0
  816. package/dist/service/sqs/queue/sim-sqs-queue-activity.d.ts +65 -0
  817. package/dist/service/sqs/queue/sim-sqs-queue-activity.d.ts.map +1 -0
  818. package/dist/service/sqs/queue/sim-sqs-queue-activity.js +57 -0
  819. package/dist/service/sqs/queue/sim-sqs-queue-activity.js.map +1 -0
  820. package/dist/service/sqs/queue/sim-sqs-queue-arn.d.ts +41 -0
  821. package/dist/service/sqs/queue/sim-sqs-queue-arn.d.ts.map +1 -0
  822. package/dist/service/sqs/queue/sim-sqs-queue-arn.js +47 -0
  823. package/dist/service/sqs/queue/sim-sqs-queue-arn.js.map +1 -0
  824. package/dist/service/sqs/queue/sim-sqs-queue-attribute-names.d.ts +27 -0
  825. package/dist/service/sqs/queue/sim-sqs-queue-attribute-names.d.ts.map +1 -0
  826. package/dist/service/sqs/queue/sim-sqs-queue-attribute-names.js +83 -0
  827. package/dist/service/sqs/queue/sim-sqs-queue-attribute-names.js.map +1 -0
  828. package/dist/service/sqs/queue/sim-sqs-queue-attribute-numbers.d.ts +34 -0
  829. package/dist/service/sqs/queue/sim-sqs-queue-attribute-numbers.d.ts.map +1 -0
  830. package/dist/service/sqs/queue/sim-sqs-queue-attribute-numbers.js +93 -0
  831. package/dist/service/sqs/queue/sim-sqs-queue-attribute-numbers.js.map +1 -0
  832. package/dist/service/sqs/queue/sim-sqs-queue-attribute-specs.d.ts +20 -0
  833. package/dist/service/sqs/queue/sim-sqs-queue-attribute-specs.d.ts.map +1 -0
  834. package/dist/service/sqs/queue/sim-sqs-queue-attribute-specs.js +37 -0
  835. package/dist/service/sqs/queue/sim-sqs-queue-attribute-specs.js.map +1 -0
  836. package/dist/service/sqs/queue/sim-sqs-queue-attributes.d.ts +60 -0
  837. package/dist/service/sqs/queue/sim-sqs-queue-attributes.d.ts.map +1 -0
  838. package/dist/service/sqs/queue/sim-sqs-queue-attributes.js +96 -0
  839. package/dist/service/sqs/queue/sim-sqs-queue-attributes.js.map +1 -0
  840. package/dist/service/sqs/queue/sim-sqs-queue-name.d.ts +21 -0
  841. package/dist/service/sqs/queue/sim-sqs-queue-name.d.ts.map +1 -0
  842. package/dist/service/sqs/queue/sim-sqs-queue-name.js +47 -0
  843. package/dist/service/sqs/queue/sim-sqs-queue-name.js.map +1 -0
  844. package/dist/service/sqs/queue/sim-sqs-queue-report.d.ts +22 -0
  845. package/dist/service/sqs/queue/sim-sqs-queue-report.d.ts.map +1 -0
  846. package/dist/service/sqs/queue/sim-sqs-queue-report.js +29 -0
  847. package/dist/service/sqs/queue/sim-sqs-queue-report.js.map +1 -0
  848. package/dist/service/sqs/queue/sim-sqs-queue-store.d.ts +60 -0
  849. package/dist/service/sqs/queue/sim-sqs-queue-store.d.ts.map +1 -0
  850. package/dist/service/sqs/queue/sim-sqs-queue-store.js +87 -0
  851. package/dist/service/sqs/queue/sim-sqs-queue-store.js.map +1 -0
  852. package/dist/service/sqs/queue/sim-sqs-queue-url.d.ts +24 -0
  853. package/dist/service/sqs/queue/sim-sqs-queue-url.d.ts.map +1 -0
  854. package/dist/service/sqs/queue/sim-sqs-queue-url.js +36 -0
  855. package/dist/service/sqs/queue/sim-sqs-queue-url.js.map +1 -0
  856. package/dist/service/sqs/queue/sim-sqs-queue.d.ts +130 -0
  857. package/dist/service/sqs/queue/sim-sqs-queue.d.ts.map +1 -0
  858. package/dist/service/sqs/queue/sim-sqs-queue.js +188 -0
  859. package/dist/service/sqs/queue/sim-sqs-queue.js.map +1 -0
  860. package/dist/service/sqs/queue/sim-sqs-redrive-policy.d.ts +30 -0
  861. package/dist/service/sqs/queue/sim-sqs-redrive-policy.d.ts.map +1 -0
  862. package/dist/service/sqs/queue/sim-sqs-redrive-policy.js +118 -0
  863. package/dist/service/sqs/queue/sim-sqs-redrive-policy.js.map +1 -0
  864. package/dist/service/sqs/sdk/sim-sqs-sdk-command-router.d.ts +18 -0
  865. package/dist/service/sqs/sdk/sim-sqs-sdk-command-router.d.ts.map +1 -0
  866. package/dist/service/sqs/sdk/sim-sqs-sdk-command-router.js +76 -0
  867. package/dist/service/sqs/sdk/sim-sqs-sdk-command-router.js.map +1 -0
  868. package/dist/service/sqs/sim-sqs.d.ts +119 -0
  869. package/dist/service/sqs/sim-sqs.d.ts.map +1 -0
  870. package/dist/service/sqs/sim-sqs.js +213 -0
  871. package/dist/service/sqs/sim-sqs.js.map +1 -0
  872. package/package.json +8 -2
@@ -0,0 +1,77 @@
1
+ import { SimLambdaEventSourceMapping } from "../../event-source/sim-lambda-event-source-mapping.js";
2
+ import { SimLambdaEventSourceRolePermissions } from "../../event-source/sim-lambda-event-source-role-permissions.js";
3
+ import { FunctionUrlAuthorizer } from "../function-url/function-url-authorizer.js";
4
+ import { SimLambdaEventSourceMappingInput } from "./create-event-source-mapping-input.js";
5
+ /**
6
+ * Simulated Lambda CreateEventSourceMappingCommand handler.
7
+ *
8
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/CreateEventSourceMappingCommand/
9
+ *
10
+ * Two things are checked here that only look like polling concerns: that the
11
+ * queue exists, and that the function's execution role may poll it. Real Lambda
12
+ * checks both when the mapping is created, because a mapping that cannot poll
13
+ * looks like a working subscription and delivers nothing.
14
+ */
15
+ export class CreateEventSourceMappingCommandHandler {
16
+ properties;
17
+ authorizer;
18
+ rolePermissions;
19
+ constructor(properties) {
20
+ this.properties = properties;
21
+ this.authorizer = new FunctionUrlAuthorizer({
22
+ iam: properties.iam,
23
+ action: "lambda:CreateEventSourceMapping",
24
+ });
25
+ this.rolePermissions = new SimLambdaEventSourceRolePermissions({
26
+ iam: properties.iam,
27
+ });
28
+ }
29
+ /**
30
+ * Create an event source mapping, and start it polling.
31
+ */
32
+ async handle(command, options) {
33
+ const input = SimLambdaEventSourceMappingInput.of(command.input, this.properties.accountRegionScope);
34
+ // Allow for potential non-deterministic sequencing of async events.
35
+ await this.properties.background.sequence();
36
+ const { functions } = this.properties;
37
+ this.authorizer.authorize(functions.functionArn(input.functionName), options?.caller);
38
+ const simFunction = functions.require(input.functionName);
39
+ await this.assertPollable(simFunction, input.eventSourceArn);
40
+ return {
41
+ $metadata: {},
42
+ ...this.created(input, simFunction).configuration(),
43
+ };
44
+ }
45
+ /**
46
+ * Refuse a mapping whose queue cannot be polled as the execution role.
47
+ *
48
+ * The role's permission is checked before the queue is read, so a role with
49
+ * no access is told what it is missing rather than being told the queue does
50
+ * not exist.
51
+ */
52
+ async assertPollable(simFunction, eventSourceArn) {
53
+ this.rolePermissions.assertMayPoll(simFunction.roleArn, eventSourceArn.value);
54
+ // Reading the queue's attributes as the role is how the mapping finds out
55
+ // the queue is there at all, exactly as the poller will.
56
+ await this.properties.queues.visibilityTimeoutSeconds({
57
+ queueArn: eventSourceArn.value,
58
+ caller: { kind: "arn", arn: simFunction.roleArn },
59
+ });
60
+ }
61
+ created(input, simFunction) {
62
+ const mapping = new SimLambdaEventSourceMapping({
63
+ accountRegionScope: this.properties.accountRegionScope,
64
+ eventSourceArn: input.eventSourceArn.value,
65
+ functionName: input.functionName,
66
+ functionArn: simFunction.arn,
67
+ batchSize: input.batchSize,
68
+ enabled: input.enabled,
69
+ functionResponseTypes: input.functionResponseTypes,
70
+ createdAt: this.properties.background.now(),
71
+ });
72
+ this.properties.mappings.add(mapping);
73
+ this.properties.pollers.start(mapping, input.eventSourceArn);
74
+ return mapping;
75
+ }
76
+ }
77
+ //# sourceMappingURL=create-event-source-mapping.handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-event-source-mapping.handler.js","sourceRoot":"","sources":["../../../../../src/service/lambda/command/event-source-mapping/create-event-source-mapping.handler.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,2BAA2B,EAAE,MAAM,uDAAuD,CAAC;AAGpG,OAAO,EAAE,mCAAmC,EAAE,MAAM,gEAAgE,CAAC;AAGrH,OAAO,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAC;AACnF,OAAO,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAoB1F;;;;;;;;;GASG;AACH,MAAM,OAAO,sCAAsC;IAIhC,UAAU,CAAmD;IAC7D,UAAU,CAAwB;IAClC,eAAe,CAAsC;IAEtE,YAAY,UAA4D;QACtE,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,UAAU,GAAG,IAAI,qBAAqB,CAAC;YAC1C,GAAG,EAAE,UAAU,CAAC,GAAG;YACnB,MAAM,EAAE,iCAAiC;SAC1C,CAAC,CAAC;QACH,IAAI,CAAC,eAAe,GAAG,IAAI,mCAAmC,CAAC;YAC7D,GAAG,EAAE,UAAU,CAAC,GAAG;SACpB,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,MAAM,CACV,OAA2C,EAC3C,OAAuD;QAEvD,MAAM,KAAK,GAAG,gCAAgC,CAAC,EAAE,CAC/C,OAAO,CAAC,KAAK,EACb,IAAI,CAAC,UAAU,CAAC,kBAAkB,CACnC,CAAC;QAEF,oEAAoE;QACpE,MAAM,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;QAE5C,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC,UAAU,CAAC;QAEtC,IAAI,CAAC,UAAU,CAAC,SAAS,CACvB,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,YAAY,CAAC,EACzC,OAAO,EAAE,MAAM,CAChB,CAAC;QAEF,MAAM,WAAW,GAAG,SAAS,CAAC,OAAO,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;QAE1D,MAAM,IAAI,CAAC,cAAc,CAAC,WAAW,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;QAE7D,OAAO;YACL,SAAS,EAAE,EAAE;YACb,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC,aAAa,EAAE;SACpD,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACK,KAAK,CAAC,cAAc,CAC1B,WAA8B,EAC9B,cAA0C;QAE1C,IAAI,CAAC,eAAe,CAAC,aAAa,CAChC,WAAW,CAAC,OAAO,EACnB,cAAc,CAAC,KAAK,CACrB,CAAC;QAEF,0EAA0E;QAC1E,yDAAyD;QACzD,MAAM,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,wBAAwB,CAAC;YACpD,QAAQ,EAAE,cAAc,CAAC,KAAK;YAC9B,MAAM,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,WAAW,CAAC,OAAO,EAAE;SAClD,CAAC,CAAC;IACL,CAAC;IAEO,OAAO,CACb,KAAuC,EACvC,WAA8B;QAE9B,MAAM,OAAO,GAAG,IAAI,2BAA2B,CAAC;YAC9C,kBAAkB,EAAE,IAAI,CAAC,UAAU,CAAC,kBAAkB;YACtD,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK;YAC1C,YAAY,EAAE,KAAK,CAAC,YAAY;YAChC,WAAW,EAAE,WAAW,CAAC,GAAG;YAC5B,SAAS,EAAE,KAAK,CAAC,SAAS;YAC1B,OAAO,EAAE,KAAK,CAAC,OAAO;YACtB,qBAAqB,EAAE,KAAK,CAAC,qBAAqB;YAClD,SAAS,EAAE,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,GAAG,EAAE;SAC5C,CAAC,CAAC;QAEH,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QACtC,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;QAE7D,OAAO,OAAO,CAAC;IACjB,CAAC;CACF"}
@@ -0,0 +1,41 @@
1
+ import type { SimAwsCaller } from "../../../aws/caller/sim-aws-caller.js";
2
+ import type { SimIamInterServiceAuthZ } from "../../../iam/authorize/sim-iam-inter-service-auth-z.js";
3
+ import type { SimLambdaEventSourceMapping } from "../../event-source/sim-lambda-event-source-mapping.js";
4
+ import type { SimLambdaEventSourceMappingStore } from "../../event-source/sim-lambda-event-source-mapping-store.js";
5
+ import type { SimLambdaFunctionLookup } from "../../function/url/sim-lambda-function-lookup.js";
6
+ /**
7
+ * The function name a request naming none authorizes against: every function
8
+ * in the Account and Region.
9
+ */
10
+ export declare const anyFunctionName = "*";
11
+ interface SimLambdaEventSourceMappingAccessProperties {
12
+ readonly mappings: SimLambdaEventSourceMappingStore;
13
+ readonly functions: SimLambdaFunctionLookup;
14
+ readonly iam: SimIamInterServiceAuthZ;
15
+ }
16
+ /**
17
+ * How a request reaches the event source mapping it names.
18
+ *
19
+ * Real Lambda gives these actions the function the mapping delivers to as
20
+ * their resource, so that is what they authorize against. The mapping is
21
+ * resolved first, because its UUID is the only thing a request carries and the
22
+ * function it belongs to is not knowable without it.
23
+ */
24
+ export declare class SimLambdaEventSourceMappingAccess {
25
+ private readonly mappings;
26
+ private readonly functions;
27
+ private readonly iam;
28
+ constructor(properties: SimLambdaEventSourceMappingAccessProperties);
29
+ /**
30
+ * Resolve the mapping a request names by UUID, authorizing the action on the
31
+ * function it delivers to.
32
+ */
33
+ require(action: string, uuid: string | undefined, caller?: SimAwsCaller): SimLambdaEventSourceMapping;
34
+ /**
35
+ * Ensure the caller may perform an action on a function by name.
36
+ */
37
+ authorizeFunction(action: string, functionName: string, caller?: SimAwsCaller): void;
38
+ private authorize;
39
+ }
40
+ export {};
41
+ //# sourceMappingURL=event-source-mapping-access.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"event-source-mapping-access.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/command/event-source-mapping/event-source-mapping-access.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wDAAwD,CAAC;AACtG,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,uDAAuD,CAAC;AACzG,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,6DAA6D,CAAC;AAEpH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kDAAkD,CAAC;AAGhG;;;GAGG;AACH,eAAO,MAAM,eAAe,MAAM,CAAC;AAEnC,UAAU,2CAA2C;IACnD,QAAQ,CAAC,QAAQ,EAAE,gCAAgC,CAAC;IACpD,QAAQ,CAAC,SAAS,EAAE,uBAAuB,CAAC;IAC5C,QAAQ,CAAC,GAAG,EAAE,uBAAuB,CAAC;CACvC;AAED;;;;;;;GAOG;AACH,qBAAa,iCAAiC;IAC5C,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAmC;IAC5D,OAAO,CAAC,QAAQ,CAAC,SAAS,CAA0B;IACpD,OAAO,CAAC,QAAQ,CAAC,GAAG,CAA0B;IAE9C,YAAY,UAAU,EAAE,2CAA2C,EAIlE;IAED;;;OAGG;IACH,OAAO,CACL,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,MAAM,CAAC,EAAE,YAAY,GACpB,2BAA2B,CAM7B;IAED;;OAEG;IACH,iBAAiB,CACf,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,MAAM,EACpB,MAAM,CAAC,EAAE,YAAY,GACpB,IAAI,CAEN;IAED,OAAO,CAAC,SAAS;CAUlB"}
@@ -0,0 +1,51 @@
1
+ import { SimLambdaValidationException } from "../../error/sim-lambda.error.js";
2
+ import { FunctionUrlAuthorizer } from "../function-url/function-url-authorizer.js";
3
+ /**
4
+ * The function name a request naming none authorizes against: every function
5
+ * in the Account and Region.
6
+ */
7
+ export const anyFunctionName = "*";
8
+ /**
9
+ * How a request reaches the event source mapping it names.
10
+ *
11
+ * Real Lambda gives these actions the function the mapping delivers to as
12
+ * their resource, so that is what they authorize against. The mapping is
13
+ * resolved first, because its UUID is the only thing a request carries and the
14
+ * function it belongs to is not knowable without it.
15
+ */
16
+ export class SimLambdaEventSourceMappingAccess {
17
+ mappings;
18
+ functions;
19
+ iam;
20
+ constructor(properties) {
21
+ this.mappings = properties.mappings;
22
+ this.functions = properties.functions;
23
+ this.iam = properties.iam;
24
+ }
25
+ /**
26
+ * Resolve the mapping a request names by UUID, authorizing the action on the
27
+ * function it delivers to.
28
+ */
29
+ require(action, uuid, caller) {
30
+ const mapping = this.mappings.require(requiredUuid(uuid));
31
+ this.authorize(action, mapping.functionArn, caller);
32
+ return mapping;
33
+ }
34
+ /**
35
+ * Ensure the caller may perform an action on a function by name.
36
+ */
37
+ authorizeFunction(action, functionName, caller) {
38
+ this.authorize(action, this.functions.functionArn(functionName), caller);
39
+ }
40
+ authorize(action, functionArn, caller) {
41
+ new FunctionUrlAuthorizer({ iam: this.iam, action }).authorize(functionArn, caller);
42
+ }
43
+ }
44
+ function requiredUuid(uuid) {
45
+ if (uuid === undefined || uuid === "") {
46
+ throw new SimLambdaValidationException("1 validation error detected: Value null at 'uuid' failed to satisfy " +
47
+ "constraint: Member must not be null");
48
+ }
49
+ return uuid;
50
+ }
51
+ //# sourceMappingURL=event-source-mapping-access.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"event-source-mapping-access.js","sourceRoot":"","sources":["../../../../../src/service/lambda/command/event-source-mapping/event-source-mapping-access.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,4BAA4B,EAAE,MAAM,iCAAiC,CAAC;AAE/E,OAAO,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAC;AAEnF;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAAC;AAQnC;;;;;;;GAOG;AACH,MAAM,OAAO,iCAAiC;IAC3B,QAAQ,CAAmC;IAC3C,SAAS,CAA0B;IACnC,GAAG,CAA0B;IAE9C,YAAY,UAAuD;QACjE,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC;QACpC,IAAI,CAAC,SAAS,GAAG,UAAU,CAAC,SAAS,CAAC;QACtC,IAAI,CAAC,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC;IAC5B,CAAC;IAED;;;OAGG;IACH,OAAO,CACL,MAAc,EACd,IAAwB,EACxB,MAAqB;QAErB,MAAM,OAAO,GAAG,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC;QAE1D,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,OAAO,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;QAEpD,OAAO,OAAO,CAAC;IACjB,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,MAAc,EACd,YAAoB,EACpB,MAAqB;QAErB,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC,CAAC;IAC3E,CAAC;IAEO,SAAS,CACf,MAAc,EACd,WAAmB,EACnB,MAAgC;QAEhC,IAAI,qBAAqB,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC,CAAC,SAAS,CAC5D,WAAW,EACX,MAAM,CACP,CAAC;IACJ,CAAC;CACF;AAED,SAAS,YAAY,CAAC,IAAwB;IAC5C,IAAI,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,EAAE,EAAE,CAAC;QACtC,MAAM,IAAI,4BAA4B,CACpC,sEAAsE;YACpE,qCAAqC,CACxC,CAAC;IACJ,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC"}
@@ -0,0 +1,91 @@
1
+ /**
2
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/CreateEventSourceMappingCommand/
3
+ *
4
+ * The event source mapping commands share their output shape, because every one
5
+ * of them reports the mapping it acted on, so they share one module.
6
+ */
7
+ import type { SimResponseMetadata } from "../../../aws/metadata/response-metadata.type.js";
8
+ import type { SimLambdaEventSourceMappingConfiguration } from "../../event-source/sim-lambda-event-source-mapping.js";
9
+ /**
10
+ * Minimal structural sim Lambda event source mapping output.
11
+ */
12
+ export interface SimEventSourceMappingCommandOutput extends SimLambdaEventSourceMappingConfiguration {
13
+ readonly $metadata: SimResponseMetadata;
14
+ }
15
+ /**
16
+ * Minimal structural sim Lambda CreateEventSourceMapping command.
17
+ */
18
+ export interface SimCreateEventSourceMappingCommand {
19
+ readonly input: SimCreateEventSourceMappingCommandInput;
20
+ }
21
+ /**
22
+ * Minimal structural sim Lambda CreateEventSourceMapping input.
23
+ *
24
+ * The inputs this simulation has no behaviour for are declared so a request
25
+ * carrying one can be refused rather than silently ignored.
26
+ */
27
+ export interface SimCreateEventSourceMappingCommandInput {
28
+ readonly EventSourceArn?: string | undefined;
29
+ readonly FunctionName?: string | undefined;
30
+ readonly Enabled?: boolean | undefined;
31
+ readonly BatchSize?: number | undefined;
32
+ readonly MaximumBatchingWindowInSeconds?: number | undefined;
33
+ readonly FunctionResponseTypes?: readonly string[] | undefined;
34
+ readonly FilterCriteria?: object | undefined;
35
+ readonly ScalingConfig?: object | undefined;
36
+ readonly DestinationConfig?: object | undefined;
37
+ readonly SelfManagedEventSource?: object | undefined;
38
+ readonly SelfManagedKafkaEventSourceConfig?: object | undefined;
39
+ readonly AmazonManagedKafkaEventSourceConfig?: object | undefined;
40
+ readonly DocumentDBEventSourceConfig?: object | undefined;
41
+ readonly SourceAccessConfigurations?: readonly object[] | undefined;
42
+ readonly ProvisionedPollerConfig?: object | undefined;
43
+ readonly MetricsConfig?: object | undefined;
44
+ readonly StartingPosition?: string | undefined;
45
+ readonly StartingPositionTimestamp?: Date | undefined;
46
+ readonly Topics?: readonly string[] | undefined;
47
+ readonly Queues?: readonly string[] | undefined;
48
+ readonly MaximumRecordAgeInSeconds?: number | undefined;
49
+ readonly MaximumRetryAttempts?: number | undefined;
50
+ readonly ParallelizationFactor?: number | undefined;
51
+ readonly TumblingWindowInSeconds?: number | undefined;
52
+ readonly BisectBatchOnFunctionError?: boolean | undefined;
53
+ readonly KMSKeyArn?: string | undefined;
54
+ readonly Tags?: Record<string, string> | undefined;
55
+ }
56
+ export type SimCreateEventSourceMappingCommandOutput = SimEventSourceMappingCommandOutput;
57
+ /**
58
+ * Minimal structural sim Lambda GetEventSourceMapping command.
59
+ */
60
+ export interface SimGetEventSourceMappingCommand {
61
+ readonly input: SimGetEventSourceMappingCommandInput;
62
+ }
63
+ export interface SimGetEventSourceMappingCommandInput {
64
+ readonly UUID?: string | undefined;
65
+ }
66
+ export type SimGetEventSourceMappingCommandOutput = SimEventSourceMappingCommandOutput;
67
+ /**
68
+ * Minimal structural sim Lambda DeleteEventSourceMapping command.
69
+ */
70
+ export interface SimDeleteEventSourceMappingCommand {
71
+ readonly input: SimDeleteEventSourceMappingCommandInput;
72
+ }
73
+ export interface SimDeleteEventSourceMappingCommandInput {
74
+ readonly UUID?: string | undefined;
75
+ }
76
+ export type SimDeleteEventSourceMappingCommandOutput = SimEventSourceMappingCommandOutput;
77
+ /**
78
+ * Minimal structural sim Lambda ListEventSourceMappings command.
79
+ */
80
+ export interface SimListEventSourceMappingsCommand {
81
+ readonly input: SimListEventSourceMappingsCommandInput;
82
+ }
83
+ export interface SimListEventSourceMappingsCommandInput {
84
+ readonly EventSourceArn?: string | undefined;
85
+ readonly FunctionName?: string | undefined;
86
+ }
87
+ export interface SimListEventSourceMappingsCommandOutput {
88
+ readonly EventSourceMappings: readonly SimLambdaEventSourceMappingConfiguration[];
89
+ readonly $metadata: SimResponseMetadata;
90
+ }
91
+ //# sourceMappingURL=event-source-mapping.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"event-source-mapping.command.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/command/event-source-mapping/event-source-mapping.command.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/CreateEventSourceMappingCommand/
3
+ *
4
+ * The event source mapping commands share their output shape, because every one
5
+ * of them reports the mapping it acted on, so they share one module.
6
+ */
7
+ export {};
8
+ //# sourceMappingURL=event-source-mapping.command.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"event-source-mapping.command.js","sourceRoot":"","sources":["../../../../../src/service/lambda/command/event-source-mapping/event-source-mapping.command.ts"],"names":[],"mappings":"AAAA;;;;;GAKG"}
@@ -0,0 +1,60 @@
1
+ import type { BackgroundScheduler } from "../../../../util/background/background.js";
2
+ import type { SimAwsCaller } from "../../../aws/caller/sim-aws-caller.js";
3
+ import type { SimAwsAccountRegionScope } from "../../../aws/sim-aws-account-region-scope.js";
4
+ import type { SimIamInterServiceAuthZ } from "../../../iam/authorize/sim-iam-inter-service-auth-z.js";
5
+ import type { SimLambdaEventSourceQueues } from "../../event-source/queue/sim-lambda-event-source-queues.js";
6
+ import type { SimLambdaEventSourceMapping } from "../../event-source/sim-lambda-event-source-mapping.js";
7
+ import type { SimLambdaEventSourcePollers } from "../../event-source/sim-lambda-event-source-pollers.js";
8
+ import type { SimLambdaFunctionLookup } from "../../function/url/sim-lambda-function-lookup.js";
9
+ import type { SimCreateEventSourceMappingCommand, SimCreateEventSourceMappingCommandOutput, SimDeleteEventSourceMappingCommand, SimDeleteEventSourceMappingCommandOutput, SimGetEventSourceMappingCommand, SimGetEventSourceMappingCommandOutput, SimListEventSourceMappingsCommand, SimListEventSourceMappingsCommandOutput } from "./event-source-mapping.command.js";
10
+ interface SimLambdaEventSourceMappingCommandsProperties {
11
+ readonly accountRegionScope: SimAwsAccountRegionScope;
12
+ readonly pollers: SimLambdaEventSourcePollers;
13
+ readonly queues: SimLambdaEventSourceQueues;
14
+ readonly functions: SimLambdaFunctionLookup;
15
+ readonly iam: SimIamInterServiceAuthZ;
16
+ readonly background: BackgroundScheduler;
17
+ }
18
+ interface SimLambdaEventSourceMappingCommandOptions {
19
+ readonly caller?: SimAwsCaller;
20
+ }
21
+ /**
22
+ * The event source mapping commands of one simulated Lambda scope.
23
+ *
24
+ * All four act on the same store and authorize against the function the mapping
25
+ * delivers to, so they share one class rather than repeating that wiring.
26
+ * Creating a mapping is the only one with anything else to do, so it is the
27
+ * only one with a handler of its own.
28
+ */
29
+ export declare class SimLambdaEventSourceMappingCommands {
30
+ private readonly mappings;
31
+ private readonly access;
32
+ private readonly properties;
33
+ constructor(properties: SimLambdaEventSourceMappingCommandsProperties);
34
+ /**
35
+ * Create an event source mapping from a queue to a function.
36
+ */
37
+ create(command: SimCreateEventSourceMappingCommand, options?: SimLambdaEventSourceMappingCommandOptions): Promise<SimCreateEventSourceMappingCommandOutput>;
38
+ /**
39
+ * Read one event source mapping.
40
+ */
41
+ get(command: SimGetEventSourceMappingCommand, options?: SimLambdaEventSourceMappingCommandOptions): Promise<SimGetEventSourceMappingCommandOutput>;
42
+ /**
43
+ * List the event source mappings, narrowed by queue or function.
44
+ *
45
+ * A listing naming no function authorizes against every function in the
46
+ * Account and Region, because that is what it can report on. A policy naming
47
+ * one function ARN therefore allows only the listing that names it.
48
+ */
49
+ list(command: SimListEventSourceMappingsCommand, options?: SimLambdaEventSourceMappingCommandOptions): Promise<SimListEventSourceMappingsCommandOutput>;
50
+ /**
51
+ * Delete an event source mapping, which stops it polling.
52
+ */
53
+ delete(command: SimDeleteEventSourceMappingCommand, options?: SimLambdaEventSourceMappingCommandOptions): Promise<SimDeleteEventSourceMappingCommandOutput>;
54
+ /**
55
+ * Find a mapping by UUID, for tests inspecting mapping state directly.
56
+ */
57
+ find(uuid: string): SimLambdaEventSourceMapping | undefined;
58
+ }
59
+ export {};
60
+ //# sourceMappingURL=sim-lambda-event-source-mapping-commands.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-event-source-mapping-commands.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/command/event-source-mapping/sim-lambda-event-source-mapping-commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AAC7F,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wDAAwD,CAAC;AACtG,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,4DAA4D,CAAC;AAC7G,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,uDAAuD,CAAC;AAEzG,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,uDAAuD,CAAC;AAEzG,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kDAAkD,CAAC;AAMhG,OAAO,KAAK,EACV,kCAAkC,EAClC,wCAAwC,EACxC,kCAAkC,EAClC,wCAAwC,EACxC,+BAA+B,EAC/B,qCAAqC,EACrC,iCAAiC,EACjC,uCAAuC,EACxC,MAAM,mCAAmC,CAAC;AAE3C,UAAU,6CAA6C;IACrD,QAAQ,CAAC,kBAAkB,EAAE,wBAAwB,CAAC;IACtD,QAAQ,CAAC,OAAO,EAAE,2BAA2B,CAAC;IAC9C,QAAQ,CAAC,MAAM,EAAE,0BAA0B,CAAC;IAC5C,QAAQ,CAAC,SAAS,EAAE,uBAAuB,CAAC;IAC5C,QAAQ,CAAC,GAAG,EAAE,uBAAuB,CAAC;IACtC,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;CAC1C;AAED,UAAU,yCAAyC;IACjD,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC;AAED;;;;;;;GAOG;AACH,qBAAa,mCAAmC;IAC9C,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA0C;IACnE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAC3D,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAgD;IAE3E,YAAY,UAAU,EAAE,6CAA6C,EAOpE;IAED;;OAEG;IACG,MAAM,CACV,OAAO,EAAE,kCAAkC,EAC3C,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,wCAAwC,CAAC,CAKnD;IAED;;OAEG;IACG,GAAG,CACP,OAAO,EAAE,+BAA+B,EACxC,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,qCAAqC,CAAC,CAUhD;IAED;;;;;;OAMG;IACG,IAAI,CACR,OAAO,EAAE,iCAAiC,EAC1C,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,uCAAuC,CAAC,CAoBlD;IAED;;OAEG;IACG,MAAM,CACV,OAAO,EAAE,kCAAkC,EAC3C,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,wCAAwC,CAAC,CAanD;IAED;;OAEG;IACH,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,2BAA2B,GAAG,SAAS,CAE1D;CACF"}
@@ -0,0 +1,89 @@
1
+ import { SimLambdaEventSourceMappingStore } from "../../event-source/sim-lambda-event-source-mapping-store.js";
2
+ import { simLambdaFunctionNameOf } from "../../function/sim-lambda-function-name.js";
3
+ import { CreateEventSourceMappingCommandHandler } from "./create-event-source-mapping.handler.js";
4
+ import { anyFunctionName, SimLambdaEventSourceMappingAccess, } from "./event-source-mapping-access.js";
5
+ /**
6
+ * The event source mapping commands of one simulated Lambda scope.
7
+ *
8
+ * All four act on the same store and authorize against the function the mapping
9
+ * delivers to, so they share one class rather than repeating that wiring.
10
+ * Creating a mapping is the only one with anything else to do, so it is the
11
+ * only one with a handler of its own.
12
+ */
13
+ export class SimLambdaEventSourceMappingCommands {
14
+ mappings = new SimLambdaEventSourceMappingStore();
15
+ access;
16
+ properties;
17
+ constructor(properties) {
18
+ this.properties = properties;
19
+ this.access = new SimLambdaEventSourceMappingAccess({
20
+ mappings: this.mappings,
21
+ functions: properties.functions,
22
+ iam: properties.iam,
23
+ });
24
+ }
25
+ /**
26
+ * Create an event source mapping from a queue to a function.
27
+ */
28
+ async create(command, options) {
29
+ return await new CreateEventSourceMappingCommandHandler({
30
+ ...this.properties,
31
+ mappings: this.mappings,
32
+ }).handle(command, options);
33
+ }
34
+ /**
35
+ * Read one event source mapping.
36
+ */
37
+ async get(command, options) {
38
+ await this.properties.background.sequence();
39
+ const mapping = this.access.require("lambda:GetEventSourceMapping", command.input.UUID, options?.caller);
40
+ return { $metadata: {}, ...mapping.configuration() };
41
+ }
42
+ /**
43
+ * List the event source mappings, narrowed by queue or function.
44
+ *
45
+ * A listing naming no function authorizes against every function in the
46
+ * Account and Region, because that is what it can report on. A policy naming
47
+ * one function ARN therefore allows only the listing that names it.
48
+ */
49
+ async list(command, options) {
50
+ await this.properties.background.sequence();
51
+ const functionName = listedFunctionName(command.input.FunctionName);
52
+ this.access.authorizeFunction("lambda:ListEventSourceMappings", functionName ?? anyFunctionName, options?.caller);
53
+ const matching = this.mappings.matching({
54
+ eventSourceArn: command.input.EventSourceArn,
55
+ functionName,
56
+ });
57
+ return {
58
+ $metadata: {},
59
+ EventSourceMappings: matching.map((mapping) => mapping.configuration()),
60
+ };
61
+ }
62
+ /**
63
+ * Delete an event source mapping, which stops it polling.
64
+ */
65
+ async delete(command, options) {
66
+ await this.properties.background.sequence();
67
+ const mapping = this.access.require("lambda:DeleteEventSourceMapping", command.input.UUID, options?.caller);
68
+ this.properties.pollers.stop(mapping);
69
+ this.mappings.remove(mapping);
70
+ return { $metadata: {}, ...mapping.configuration() };
71
+ }
72
+ /**
73
+ * Find a mapping by UUID, for tests inspecting mapping state directly.
74
+ */
75
+ find(uuid) {
76
+ return this.mappings.find(uuid);
77
+ }
78
+ }
79
+ /**
80
+ * The function name a listing is narrowed by, which is any of them when the
81
+ * request names none.
82
+ */
83
+ function listedFunctionName(requested) {
84
+ if (requested === undefined) {
85
+ return undefined;
86
+ }
87
+ return simLambdaFunctionNameOf(requested);
88
+ }
89
+ //# sourceMappingURL=sim-lambda-event-source-mapping-commands.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-event-source-mapping-commands.js","sourceRoot":"","sources":["../../../../../src/service/lambda/command/event-source-mapping/sim-lambda-event-source-mapping-commands.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,gCAAgC,EAAE,MAAM,6DAA6D,CAAC;AAE/G,OAAO,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AAErF,OAAO,EAAE,sCAAsC,EAAE,MAAM,0CAA0C,CAAC;AAClG,OAAO,EACL,eAAe,EACf,iCAAiC,GAClC,MAAM,kCAAkC,CAAC;AAyB1C;;;;;;;GAOG;AACH,MAAM,OAAO,mCAAmC;IAC7B,QAAQ,GAAG,IAAI,gCAAgC,EAAE,CAAC;IAClD,MAAM,CAAoC;IAC1C,UAAU,CAAgD;IAE3E,YAAY,UAAyD;QACnE,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,MAAM,GAAG,IAAI,iCAAiC,CAAC;YAClD,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,SAAS,EAAE,UAAU,CAAC,SAAS;YAC/B,GAAG,EAAE,UAAU,CAAC,GAAG;SACpB,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,MAAM,CACV,OAA2C,EAC3C,OAAmD;QAEnD,OAAO,MAAM,IAAI,sCAAsC,CAAC;YACtD,GAAG,IAAI,CAAC,UAAU;YAClB,QAAQ,EAAE,IAAI,CAAC,QAAQ;SACxB,CAAC,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC9B,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,GAAG,CACP,OAAwC,EACxC,OAAmD;QAEnD,MAAM,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;QAE5C,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,CACjC,8BAA8B,EAC9B,OAAO,CAAC,KAAK,CAAC,IAAI,EAClB,OAAO,EAAE,MAAM,CAChB,CAAC;QAEF,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,GAAG,OAAO,CAAC,aAAa,EAAE,EAAE,CAAC;IACvD,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,IAAI,CACR,OAA0C,EAC1C,OAAmD;QAEnD,MAAM,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;QAE5C,MAAM,YAAY,GAAG,kBAAkB,CAAC,OAAO,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;QAEpE,IAAI,CAAC,MAAM,CAAC,iBAAiB,CAC3B,gCAAgC,EAChC,YAAY,IAAI,eAAe,EAC/B,OAAO,EAAE,MAAM,CAChB,CAAC;QAEF,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC;YACtC,cAAc,EAAE,OAAO,CAAC,KAAK,CAAC,cAAc;YAC5C,YAAY;SACb,CAAC,CAAC;QAEH,OAAO;YACL,SAAS,EAAE,EAAE;YACb,mBAAmB,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,aAAa,EAAE,CAAC;SACxE,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,MAAM,CACV,OAA2C,EAC3C,OAAmD;QAEnD,MAAM,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;QAE5C,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,CACjC,iCAAiC,EACjC,OAAO,CAAC,KAAK,CAAC,IAAI,EAClB,OAAO,EAAE,MAAM,CAChB,CAAC;QAEF,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACtC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAE9B,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,GAAG,OAAO,CAAC,aAAa,EAAE,EAAE,CAAC;IACvD,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,IAAY;QACf,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAClC,CAAC;CACF;AAED;;;GAGG;AACH,SAAS,kBAAkB,CAAC,SAA6B;IACvD,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;QAC5B,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,CAAC"}
@@ -6,6 +6,7 @@
6
6
  * declare its methods, names one module rather than one per command.
7
7
  */
8
8
  export type { SimAddPermissionCommand, SimAddPermissionCommandOutput, } from "./add-permission/add-permission.command.js";
9
+ export type { SimCreateEventSourceMappingCommand, SimCreateEventSourceMappingCommandInput, SimCreateEventSourceMappingCommandOutput, SimDeleteEventSourceMappingCommand, SimDeleteEventSourceMappingCommandInput, SimDeleteEventSourceMappingCommandOutput, SimEventSourceMappingCommandOutput, SimGetEventSourceMappingCommand, SimGetEventSourceMappingCommandInput, SimGetEventSourceMappingCommandOutput, SimListEventSourceMappingsCommand, SimListEventSourceMappingsCommandInput, SimListEventSourceMappingsCommandOutput, } from "./event-source-mapping/event-source-mapping.command.js";
9
10
  export type { SimCreateFunctionCommand, SimCreateFunctionCommandOutput, } from "./create-function/create-function.command.js";
10
11
  export type { SimCreateFunctionUrlConfigCommand, SimCreateFunctionUrlConfigCommandOutput, } from "./create-function-url-config/create-function-url-config.command.js";
11
12
  export type { SimDeleteFunctionUrlConfigCommand, SimDeleteFunctionUrlConfigCommandOutput, } from "./delete-function-url-config/delete-function-url-config.command.js";
@@ -1 +1 @@
1
- {"version":3,"file":"sim-lambda-command.types.d.ts","sourceRoot":"","sources":["../../../../src/service/lambda/command/sim-lambda-command.types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,YAAY,EACV,uBAAuB,EACvB,6BAA6B,GAC9B,MAAM,4CAA4C,CAAC;AACpD,YAAY,EACV,wBAAwB,EACxB,8BAA8B,GAC/B,MAAM,8CAA8C,CAAC;AACtD,YAAY,EACV,iCAAiC,EACjC,uCAAuC,GACxC,MAAM,oEAAoE,CAAC;AAC5E,YAAY,EACV,iCAAiC,EACjC,uCAAuC,GACxC,MAAM,oEAAoE,CAAC;AAC5E,YAAY,EACV,qBAAqB,EACrB,2BAA2B,GAC5B,MAAM,wCAAwC,CAAC;AAChD,YAAY,EACV,8BAA8B,EAC9B,oCAAoC,GACrC,MAAM,8DAA8D,CAAC;AACtE,YAAY,EACV,mBAAmB,EACnB,yBAAyB,GAC1B,MAAM,oCAAoC,CAAC;AAC5C,YAAY,EACV,gBAAgB,EAChB,sBAAsB,GACvB,MAAM,4BAA4B,CAAC;AACpC,YAAY,EACV,gCAAgC,EAChC,sCAAsC,GACvC,MAAM,kEAAkE,CAAC;AAC1E,YAAY,EACV,0BAA0B,EAC1B,gCAAgC,GACjC,MAAM,kDAAkD,CAAC;AAC1D,YAAY,EACV,iCAAiC,EACjC,uCAAuC,GACxC,MAAM,oEAAoE,CAAC"}
1
+ {"version":3,"file":"sim-lambda-command.types.d.ts","sourceRoot":"","sources":["../../../../src/service/lambda/command/sim-lambda-command.types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,YAAY,EACV,uBAAuB,EACvB,6BAA6B,GAC9B,MAAM,4CAA4C,CAAC;AACpD,YAAY,EACV,kCAAkC,EAClC,uCAAuC,EACvC,wCAAwC,EACxC,kCAAkC,EAClC,uCAAuC,EACvC,wCAAwC,EACxC,kCAAkC,EAClC,+BAA+B,EAC/B,oCAAoC,EACpC,qCAAqC,EACrC,iCAAiC,EACjC,sCAAsC,EACtC,uCAAuC,GACxC,MAAM,wDAAwD,CAAC;AAChE,YAAY,EACV,wBAAwB,EACxB,8BAA8B,GAC/B,MAAM,8CAA8C,CAAC;AACtD,YAAY,EACV,iCAAiC,EACjC,uCAAuC,GACxC,MAAM,oEAAoE,CAAC;AAC5E,YAAY,EACV,iCAAiC,EACjC,uCAAuC,GACxC,MAAM,oEAAoE,CAAC;AAC5E,YAAY,EACV,qBAAqB,EACrB,2BAA2B,GAC5B,MAAM,wCAAwC,CAAC;AAChD,YAAY,EACV,8BAA8B,EAC9B,oCAAoC,GACrC,MAAM,8DAA8D,CAAC;AACtE,YAAY,EACV,mBAAmB,EACnB,yBAAyB,GAC1B,MAAM,oCAAoC,CAAC;AAC5C,YAAY,EACV,gBAAgB,EAChB,sBAAsB,GACvB,MAAM,4BAA4B,CAAC;AACpC,YAAY,EACV,gCAAgC,EAChC,sCAAsC,GACvC,MAAM,kEAAkE,CAAC;AAC1E,YAAY,EACV,0BAA0B,EAC1B,gCAAgC,GACjC,MAAM,kDAAkD,CAAC;AAC1D,YAAY,EACV,iCAAiC,EACjC,uCAAuC,GACxC,MAAM,oEAAoE,CAAC"}
@@ -0,0 +1,27 @@
1
+ import type { SimLambdaFunction } from "../../function/sim-lambda-function.js";
2
+ import type { SimLambdaEventSourceMessage } from "../queue/sim-lambda-event-source-queues.js";
3
+ import type { SimLambdaSqsEventSourceArn } from "../queue/sim-lambda-sqs-event-source-arn.js";
4
+ import type { SimLambdaEventSourceMapping } from "../sim-lambda-event-source-mapping.js";
5
+ import { type SimLambdaSqsBatchOutcome } from "./sim-lambda-sqs-batch-response.js";
6
+ interface SimLambdaEventSourceDeliveryProperties {
7
+ readonly mapping: SimLambdaEventSourceMapping;
8
+ readonly eventSourceArn: SimLambdaSqsEventSourceArn;
9
+ }
10
+ /**
11
+ * Hands one batch to a function and reads what became of it.
12
+ *
13
+ * The batch is invoked directly rather than through the Invoke command because
14
+ * the handler's error has to be seen: an asynchronous invocation drops it, and
15
+ * this is what decides whether the messages go back on the queue.
16
+ */
17
+ export declare class SimLambdaEventSourceDelivery {
18
+ private readonly eventBuilder;
19
+ private readonly batchResponse;
20
+ constructor(properties: SimLambdaEventSourceDeliveryProperties);
21
+ /**
22
+ * Deliver a batch, answering with what to delete and what to leave.
23
+ */
24
+ to(simFunction: SimLambdaFunction, messages: readonly SimLambdaEventSourceMessage[]): Promise<SimLambdaSqsBatchOutcome>;
25
+ }
26
+ export {};
27
+ //# sourceMappingURL=sim-lambda-event-source-delivery.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-event-source-delivery.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/event-source/poll/sim-lambda-event-source-delivery.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC/E,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,4CAA4C,CAAC;AAC9F,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,6CAA6C,CAAC;AAC9F,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,uCAAuC,CAAC;AACzF,OAAO,EACL,KAAK,wBAAwB,EAE9B,MAAM,oCAAoC,CAAC;AAG5C,UAAU,sCAAsC;IAC9C,QAAQ,CAAC,OAAO,EAAE,2BAA2B,CAAC;IAC9C,QAAQ,CAAC,cAAc,EAAE,0BAA0B,CAAC;CACrD;AAED;;;;;;GAMG;AACH,qBAAa,4BAA4B;IACvC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAA2B;IACxD,OAAO,CAAC,QAAQ,CAAC,aAAa,CAA4B;IAE1D,YAAY,UAAU,EAAE,sCAAsC,EAK7D;IAED;;OAEG;IACG,EAAE,CACN,WAAW,EAAE,iBAAiB,EAC9B,QAAQ,EAAE,SAAS,2BAA2B,EAAE,GAC/C,OAAO,CAAC,wBAAwB,CAAC,CAYnC;CACF"}
@@ -0,0 +1,32 @@
1
+ import { SimLambdaSqsBatchResponse, } from "./sim-lambda-sqs-batch-response.js";
2
+ import { SimLambdaSqsEventBuilder } from "./sim-lambda-sqs-event.js";
3
+ /**
4
+ * Hands one batch to a function and reads what became of it.
5
+ *
6
+ * The batch is invoked directly rather than through the Invoke command because
7
+ * the handler's error has to be seen: an asynchronous invocation drops it, and
8
+ * this is what decides whether the messages go back on the queue.
9
+ */
10
+ export class SimLambdaEventSourceDelivery {
11
+ eventBuilder;
12
+ batchResponse;
13
+ constructor(properties) {
14
+ this.eventBuilder = new SimLambdaSqsEventBuilder(properties.eventSourceArn);
15
+ this.batchResponse = new SimLambdaSqsBatchResponse(properties.mapping.reportsBatchItemFailures);
16
+ }
17
+ /**
18
+ * Deliver a batch, answering with what to delete and what to leave.
19
+ */
20
+ async to(simFunction, messages) {
21
+ try {
22
+ return this.batchResponse.handled(messages, await simFunction.invoke(this.eventBuilder.of(messages)));
23
+ }
24
+ catch {
25
+ // As on real Lambda, the handler error goes to the function's logs and
26
+ // not to whoever sent the message. What the sender sees is the batch
27
+ // coming back to the queue.
28
+ return this.batchResponse.failed(messages);
29
+ }
30
+ }
31
+ }
32
+ //# sourceMappingURL=sim-lambda-event-source-delivery.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-event-source-delivery.js","sourceRoot":"","sources":["../../../../../src/service/lambda/event-source/poll/sim-lambda-event-source-delivery.ts"],"names":[],"mappings":"AAIA,OAAO,EAEL,yBAAyB,GAC1B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAOrE;;;;;;GAMG;AACH,MAAM,OAAO,4BAA4B;IACtB,YAAY,CAA2B;IACvC,aAAa,CAA4B;IAE1D,YAAY,UAAkD;QAC5D,IAAI,CAAC,YAAY,GAAG,IAAI,wBAAwB,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC;QAC5E,IAAI,CAAC,aAAa,GAAG,IAAI,yBAAyB,CAChD,UAAU,CAAC,OAAO,CAAC,wBAAwB,CAC5C,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,EAAE,CACN,WAA8B,EAC9B,QAAgD;QAEhD,IAAI,CAAC;YACH,OAAO,IAAI,CAAC,aAAa,CAAC,OAAO,CAC/B,QAAQ,EACR,MAAM,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CACzD,CAAC;QACJ,CAAC;QAAC,MAAM,CAAC;YACP,uEAAuE;YACvE,qEAAqE;YACrE,4BAA4B;YAC5B,OAAO,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;QAC7C,CAAC;IACH,CAAC;CACF"}
@@ -0,0 +1,40 @@
1
+ import type { BackgroundScheduler, BackgroundTask } from "../../../../util/background/background.js";
2
+ interface SimLambdaEventSourcePollScheduleProperties {
3
+ readonly background: BackgroundScheduler;
4
+ readonly poll: BackgroundTask;
5
+ }
6
+ /**
7
+ * When one event source mapping polls next.
8
+ *
9
+ * Real Lambda polls its queue continuously, and nothing in this simulation runs
10
+ * continuously, so every poll is scheduled in response to something: a message
11
+ * arriving, a batch coming back, or a batch that filled the request suggesting
12
+ * there is more waiting.
13
+ */
14
+ export declare class SimLambdaEventSourcePollSchedule {
15
+ private readonly background;
16
+ private readonly poll;
17
+ private scheduled;
18
+ constructor(properties: SimLambdaEventSourcePollScheduleProperties);
19
+ /**
20
+ * Poll as soon as the simulation gets to it, unless a poll is already
21
+ * waiting to happen.
22
+ */
23
+ now(): void;
24
+ /**
25
+ * Poll when a message becomes receivable, which is now for an ordinary send
26
+ * and later for one sent with a delay.
27
+ */
28
+ at(instant: Date): void;
29
+ /**
30
+ * Poll again once a visibility timeout has run, which is an instant on the
31
+ * simulation's clock rather than something that fires.
32
+ *
33
+ * Advancing time is what brings a returned batch back, so this is scheduled
34
+ * on the clock even for a timeout of zero. A poll that ran straight back
35
+ * round would spin on a batch the function keeps failing.
36
+ */
37
+ afterSeconds(seconds: number): void;
38
+ }
39
+ export {};
40
+ //# sourceMappingURL=sim-lambda-event-source-poll-schedule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-lambda-event-source-poll-schedule.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/event-source/poll/sim-lambda-event-source-poll-schedule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,cAAc,EACf,MAAM,2CAA2C,CAAC;AAInD,UAAU,0CAA0C;IAClD,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;IACzC,QAAQ,CAAC,IAAI,EAAE,cAAc,CAAC;CAC/B;AAED;;;;;;;GAOG;AACH,qBAAa,gCAAgC;IAC3C,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAsB;IACjD,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAiB;IAEtC,OAAO,CAAC,SAAS,CAAS;IAE1B,YAAY,UAAU,EAAE,0CAA0C,EAGjE;IAED;;;OAGG;IACH,GAAG,IAAI,IAAI,CAWV;IAED;;;OAGG;IACH,EAAE,CAAC,OAAO,EAAE,IAAI,GAAG,IAAI,CAQtB;IAED;;;;;;;OAOG;IACH,YAAY,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAOlC;CACF"}