@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,55 @@
1
+ import { SimSqsRequestedSystemAttributes } from "../../message/sim-sqs-message-system-attributes.js";
2
+ import { makeSimSqsReceiptHandle } from "../../message/sim-sqs-receipt-handle.js";
3
+ import { assertWaitTime, refuseUnsimulatedReceiveInput, requestedMessageCount, visibilityTimeoutFor, } from "./sim-sqs-receive-limits.js";
4
+ import { SimSqsReceivedMessageView } from "./sim-sqs-received-message-view.js";
5
+ /**
6
+ * One checked receive request.
7
+ *
8
+ * Everything a receive decides before it hands anything out lives here: how many
9
+ * messages it may take, how long they stay hidden, and how they are reported. The
10
+ * whole request is checked before the first message is touched, so an invalid
11
+ * request never half-receives one.
12
+ */
13
+ export class SimSqsReceiveRequest {
14
+ messageCount;
15
+ visibilityTimeoutSeconds;
16
+ view;
17
+ constructor(input, queue) {
18
+ this.messageCount = requestedMessageCount(input.MaxNumberOfMessages);
19
+ this.visibilityTimeoutSeconds = visibilityTimeoutFor(queue, input);
20
+ this.view = new SimSqsReceivedMessageView({
21
+ systemAttributes: SimSqsRequestedSystemAttributes.of(input.MessageSystemAttributeNames, input.AttributeNames),
22
+ messageAttributeNames: input.MessageAttributeNames,
23
+ });
24
+ }
25
+ /**
26
+ * Read a receive request, refusing one real SQS would refuse.
27
+ */
28
+ static of(input, queue) {
29
+ refuseUnsimulatedReceiveInput(input);
30
+ assertWaitTime(input.WaitTimeSeconds);
31
+ return new this(input, queue);
32
+ }
33
+ /**
34
+ * Take the messages this request found, or nothing at all.
35
+ *
36
+ * Real SQS sends no `Messages` field rather than an empty list when there is
37
+ * nothing to hand out, so an empty receive is reported as absence.
38
+ */
39
+ taken(queue, found, receivedAt) {
40
+ if (found.length === 0) {
41
+ return undefined;
42
+ }
43
+ return found.map((message) => this.take(queue, message, receivedAt));
44
+ }
45
+ /**
46
+ * Take one message: hide it, record the handle it went out under, and report it.
47
+ */
48
+ take(queue, message, receivedAt) {
49
+ const receiptHandle = makeSimSqsReceiptHandle();
50
+ message.receiveAt(receivedAt, this.visibilityTimeoutSeconds, receiptHandle);
51
+ queue.recordHandle(receiptHandle, message);
52
+ return this.view.of(message, receiptHandle);
53
+ }
54
+ }
55
+ //# sourceMappingURL=sim-sqs-receive-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sqs-receive-request.js","sourceRoot":"","sources":["../../../../../src/service/sqs/command/message/sim-sqs-receive-request.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,+BAA+B,EAAE,MAAM,oDAAoD,CAAC;AACrG,OAAO,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AAMlF,OAAO,EACL,cAAc,EACd,6BAA6B,EAC7B,qBAAqB,EACrB,oBAAoB,GACrB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAE/E;;;;;;;GAOG;AACH,MAAM,OAAO,oBAAoB;IACf,YAAY,CAAS;IAEpB,wBAAwB,CAAS;IACjC,IAAI,CAA4B;IAEjD,YACE,KAAoC,EACpC,KAAkB;QAElB,IAAI,CAAC,YAAY,GAAG,qBAAqB,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;QACrE,IAAI,CAAC,wBAAwB,GAAG,oBAAoB,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;QACnE,IAAI,CAAC,IAAI,GAAG,IAAI,yBAAyB,CAAC;YACxC,gBAAgB,EAAE,+BAA+B,CAAC,EAAE,CAClD,KAAK,CAAC,2BAA2B,EACjC,KAAK,CAAC,cAAc,CACrB;YACD,qBAAqB,EAAE,KAAK,CAAC,qBAAqB;SACnD,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAE,CACP,KAAoC,EACpC,KAAkB;QAElB,6BAA6B,CAAC,KAAK,CAAC,CAAC;QACrC,cAAc,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;QAEtC,OAAO,IAAI,IAAI,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IAChC,CAAC;IAED;;;;;OAKG;IACH,KAAK,CACH,KAAkB,EAClB,KAA+B,EAC/B,UAAgB;QAEhB,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACvB,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC;IACvE,CAAC;IAED;;OAEG;IACK,IAAI,CACV,KAAkB,EAClB,OAAsB,EACtB,UAAgB;QAEhB,MAAM,aAAa,GAAG,uBAAuB,EAAE,CAAC;QAEhD,OAAO,CAAC,SAAS,CAAC,UAAU,EAAE,IAAI,CAAC,wBAAwB,EAAE,aAAa,CAAC,CAAC;QAC5E,KAAK,CAAC,YAAY,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;QAE3C,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;IAC9C,CAAC;CACF"}
@@ -0,0 +1,25 @@
1
+ import type { SimSqsMessage } from "../../message/sim-sqs-message.js";
2
+ import type { SimSqsRequestedSystemAttributes } from "../../message/sim-sqs-message-system-attributes.js";
3
+ import type { SimSqsReceivedMessage } from "./receive.command.js";
4
+ interface SimSqsReceivedMessageViewProperties {
5
+ readonly systemAttributes: SimSqsRequestedSystemAttributes;
6
+ readonly messageAttributeNames: readonly string[] | undefined;
7
+ }
8
+ /**
9
+ * How one receive request reports the messages it takes.
10
+ *
11
+ * Both attribute kinds are reported only when the request named them, which is
12
+ * what real SQS does. A consumer that never named an attribute gets a message
13
+ * without it here, rather than one that would lose the attribute on AWS.
14
+ */
15
+ export declare class SimSqsReceivedMessageView {
16
+ private readonly systemAttributes;
17
+ private readonly messageAttributeNames;
18
+ constructor(properties: SimSqsReceivedMessageViewProperties);
19
+ /**
20
+ * One received message as SQS reports it.
21
+ */
22
+ of(message: SimSqsMessage, receiptHandle: string): SimSqsReceivedMessage;
23
+ }
24
+ export {};
25
+ //# sourceMappingURL=sim-sqs-received-message-view.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sqs-received-message-view.d.ts","sourceRoot":"","sources":["../../../../../src/service/sqs/command/message/sim-sqs-received-message-view.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEtE,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,oDAAoD,CAAC;AAC1G,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAElE,UAAU,mCAAmC;IAC3C,QAAQ,CAAC,gBAAgB,EAAE,+BAA+B,CAAC;IAC3D,QAAQ,CAAC,qBAAqB,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;CAC/D;AAED;;;;;;GAMG;AACH,qBAAa,yBAAyB;IACpC,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAkC;IACnE,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAgC;IAEtE,YAAY,UAAU,EAAE,mCAAmC,EAG1D;IAED;;OAEG;IACH,EAAE,CAAC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,GAAG,qBAAqB,CAWvE;CACF"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * How one receive request reports the messages it takes.
3
+ *
4
+ * Both attribute kinds are reported only when the request named them, which is
5
+ * what real SQS does. A consumer that never named an attribute gets a message
6
+ * without it here, rather than one that would lose the attribute on AWS.
7
+ */
8
+ export class SimSqsReceivedMessageView {
9
+ systemAttributes;
10
+ messageAttributeNames;
11
+ constructor(properties) {
12
+ this.systemAttributes = properties.systemAttributes;
13
+ this.messageAttributeNames = properties.messageAttributeNames;
14
+ }
15
+ /**
16
+ * One received message as SQS reports it.
17
+ */
18
+ of(message, receiptHandle) {
19
+ return {
20
+ MessageId: message.messageId,
21
+ ReceiptHandle: receiptHandle,
22
+ MD5OfBody: message.body.digest,
23
+ Body: message.body.value,
24
+ Attributes: this.systemAttributes.from(message.systemAttributeValues()),
25
+ ...reportedMessageAttributes(message.attributes.selected(this.messageAttributeNames)),
26
+ };
27
+ }
28
+ }
29
+ function reportedMessageAttributes(selected) {
30
+ if (selected.isEmpty) {
31
+ return {};
32
+ }
33
+ return {
34
+ MessageAttributes: selected.reported(),
35
+ MD5OfMessageAttributes: selected.digest(),
36
+ };
37
+ }
38
+ //# sourceMappingURL=sim-sqs-received-message-view.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sqs-received-message-view.js","sourceRoot":"","sources":["../../../../../src/service/sqs/command/message/sim-sqs-received-message-view.ts"],"names":[],"mappings":"AAUA;;;;;;GAMG;AACH,MAAM,OAAO,yBAAyB;IACnB,gBAAgB,CAAkC;IAClD,qBAAqB,CAAgC;IAEtE,YAAY,UAA+C;QACzD,IAAI,CAAC,gBAAgB,GAAG,UAAU,CAAC,gBAAgB,CAAC;QACpD,IAAI,CAAC,qBAAqB,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAChE,CAAC;IAED;;OAEG;IACH,EAAE,CAAC,OAAsB,EAAE,aAAqB;QAC9C,OAAO;YACL,SAAS,EAAE,OAAO,CAAC,SAAS;YAC5B,aAAa,EAAE,aAAa;YAC5B,SAAS,EAAE,OAAO,CAAC,IAAI,CAAC,MAAM;YAC9B,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,KAAK;YACxB,UAAU,EAAE,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,OAAO,CAAC,qBAAqB,EAAE,CAAC;YACvE,GAAG,yBAAyB,CAC1B,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,qBAAqB,CAAC,CACxD;SACF,CAAC;IACJ,CAAC;CACF;AAED,SAAS,yBAAyB,CAChC,QAAiC;IAEjC,IAAI,QAAQ,CAAC,OAAO,EAAE,CAAC;QACrB,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,OAAO;QACL,iBAAiB,EAAE,QAAQ,CAAC,QAAQ,EAAE;QACtC,sBAAsB,EAAE,QAAQ,CAAC,MAAM,EAAE;KAC1C,CAAC;AACJ,CAAC"}
@@ -0,0 +1,32 @@
1
+ import type { SimAwsCaller } from "../../../aws/caller/sim-aws-caller.js";
2
+ import type { SimSqsMessageWriter } from "../../message/sim-sqs-message-writer.js";
3
+ import type { SimSqsQueueAccess } from "../queue/sim-sqs-queue-access.js";
4
+ import type { SimSendMessageBatchCommand, SimSendMessageBatchCommandOutput, SimSendMessageCommand, SimSendMessageCommandOutput } from "./send.command.js";
5
+ interface SimSqsSendMessageCommandsProperties {
6
+ readonly access: SimSqsQueueAccess;
7
+ readonly writer: SimSqsMessageWriter;
8
+ }
9
+ interface SimSqsSendMessageCommandsOptions {
10
+ readonly caller?: SimAwsCaller;
11
+ }
12
+ /**
13
+ * The commands that put messages on a queue.
14
+ */
15
+ export declare class SimSqsSendMessageCommands {
16
+ private readonly access;
17
+ private readonly writer;
18
+ constructor(properties: SimSqsSendMessageCommandsProperties);
19
+ /**
20
+ * Send one message.
21
+ */
22
+ send(command: SimSendMessageCommand, options?: SimSqsSendMessageCommandsOptions): SimSendMessageCommandOutput;
23
+ /**
24
+ * Send up to ten messages at once.
25
+ *
26
+ * A message one entry cannot send is reported in `Failed` while the rest of the
27
+ * batch goes through, as real SQS reports it.
28
+ */
29
+ sendBatch(command: SimSendMessageBatchCommand, options?: SimSqsSendMessageCommandsOptions): SimSendMessageBatchCommandOutput;
30
+ }
31
+ export {};
32
+ //# sourceMappingURL=sim-sqs-send-message-commands.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sqs-send-message-commands.d.ts","sourceRoot":"","sources":["../../../../../src/service/sqs/command/message/sim-sqs-send-message-commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAM1E,OAAO,KAAK,EACV,0BAA0B,EAC1B,gCAAgC,EAChC,qBAAqB,EACrB,2BAA2B,EAE5B,MAAM,mBAAmB,CAAC;AAQ3B,UAAU,mCAAmC;IAC3C,QAAQ,CAAC,MAAM,EAAE,iBAAiB,CAAC;IACnC,QAAQ,CAAC,MAAM,EAAE,mBAAmB,CAAC;CACtC;AAED,UAAU,gCAAgC;IACxC,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC;AAED;;GAEG;AACH,qBAAa,yBAAyB;IACpC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoB;IAC3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAsB;IAE7C,YAAY,UAAU,EAAE,mCAAmC,EAG1D;IAED;;OAEG;IACH,IAAI,CACF,OAAO,EAAE,qBAAqB,EAC9B,OAAO,CAAC,EAAE,gCAAgC,GACzC,2BAA2B,CAc7B;IAED;;;;;OAKG;IACH,SAAS,CACP,OAAO,EAAE,0BAA0B,EACnC,OAAO,CAAC,EAAE,gCAAgC,GACzC,gCAAgC,CA2BlC;CACF"}
@@ -0,0 +1,56 @@
1
+ import { requireBatchEntries, runBatch } from "./sim-sqs-batch-entries.js";
2
+ import { sentMessageAttributesDigest, sentMessageWrite, } from "./sim-sqs-sent-message.js";
3
+ /**
4
+ * Real SQS authorizes a batch send as `sqs:SendMessage`. There is no
5
+ * `sqs:SendMessageBatch` action, so a policy naming one grants nothing.
6
+ */
7
+ const messageSendAction = "sqs:SendMessage";
8
+ /**
9
+ * The commands that put messages on a queue.
10
+ */
11
+ export class SimSqsSendMessageCommands {
12
+ access;
13
+ writer;
14
+ constructor(properties) {
15
+ this.access = properties.access;
16
+ this.writer = properties.writer;
17
+ }
18
+ /**
19
+ * Send one message.
20
+ */
21
+ send(command, options) {
22
+ const queue = this.access.requireByUrl(messageSendAction, command.input.QueueUrl, options?.caller);
23
+ const message = this.writer.write(queue, sentMessageWrite(command.input));
24
+ return {
25
+ $metadata: {},
26
+ MessageId: message.messageId,
27
+ MD5OfMessageBody: message.body.digest,
28
+ MD5OfMessageAttributes: sentMessageAttributesDigest(message),
29
+ };
30
+ }
31
+ /**
32
+ * Send up to ten messages at once.
33
+ *
34
+ * A message one entry cannot send is reported in `Failed` while the rest of the
35
+ * batch goes through, as real SQS reports it.
36
+ */
37
+ sendBatch(command, options) {
38
+ const queue = this.access.requireByUrl(messageSendAction, command.input.QueueUrl, options?.caller);
39
+ const entries = requireBatchEntries(command.input.Entries, "SendMessage");
40
+ const outcome = runBatch(entries, (entry, id) => {
41
+ const message = this.writer.write(queue, sentMessageWrite(entry));
42
+ return {
43
+ Id: id,
44
+ MessageId: message.messageId,
45
+ MD5OfMessageBody: message.body.digest,
46
+ MD5OfMessageAttributes: sentMessageAttributesDigest(message),
47
+ };
48
+ });
49
+ return {
50
+ $metadata: {},
51
+ Successful: outcome.successful,
52
+ Failed: outcome.failed,
53
+ };
54
+ }
55
+ }
56
+ //# sourceMappingURL=sim-sqs-send-message-commands.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sqs-send-message-commands.js","sourceRoot":"","sources":["../../../../../src/service/sqs/command/message/sim-sqs-send-message-commands.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAC3E,OAAO,EACL,2BAA2B,EAC3B,gBAAgB,GACjB,MAAM,2BAA2B,CAAC;AASnC;;;GAGG;AACH,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;AAW5C;;GAEG;AACH,MAAM,OAAO,yBAAyB;IACnB,MAAM,CAAoB;IAC1B,MAAM,CAAsB;IAE7C,YAAY,UAA+C;QACzD,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;QAChC,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAClC,CAAC;IAED;;OAEG;IACH,IAAI,CACF,OAA8B,EAC9B,OAA0C;QAE1C,MAAM,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,YAAY,CACpC,iBAAiB,EACjB,OAAO,CAAC,KAAK,CAAC,QAAQ,EACtB,OAAO,EAAE,MAAM,CAChB,CAAC;QACF,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,EAAE,gBAAgB,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC;QAE1E,OAAO;YACL,SAAS,EAAE,EAAE;YACb,SAAS,EAAE,OAAO,CAAC,SAAS;YAC5B,gBAAgB,EAAE,OAAO,CAAC,IAAI,CAAC,MAAM;YACrC,sBAAsB,EAAE,2BAA2B,CAAC,OAAO,CAAC;SAC7D,CAAC;IACJ,CAAC;IAED;;;;;OAKG;IACH,SAAS,CACP,OAAmC,EACnC,OAA0C;QAE1C,MAAM,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,YAAY,CACpC,iBAAiB,EACjB,OAAO,CAAC,KAAK,CAAC,QAAQ,EACtB,OAAO,EAAE,MAAM,CAChB,CAAC;QACF,MAAM,OAAO,GAAG,mBAAmB,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;QAE1E,MAAM,OAAO,GAAG,QAAQ,CACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,EAAqC,EAAE;YAC/C,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,EAAE,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAC;YAElE,OAAO;gBACL,EAAE,EAAE,EAAE;gBACN,SAAS,EAAE,OAAO,CAAC,SAAS;gBAC5B,gBAAgB,EAAE,OAAO,CAAC,IAAI,CAAC,MAAM;gBACrC,sBAAsB,EAAE,2BAA2B,CAAC,OAAO,CAAC;aAC7D,CAAC;QACJ,CAAC,CACF,CAAC;QAEF,OAAO;YACL,SAAS,EAAE,EAAE;YACb,UAAU,EAAE,OAAO,CAAC,UAAU;YAC9B,MAAM,EAAE,OAAO,CAAC,MAAM;SACvB,CAAC;IACJ,CAAC;CACF"}
@@ -0,0 +1,18 @@
1
+ import type { SimSqsMessage } from "../../message/sim-sqs-message.js";
2
+ import type { SimSqsMessageWrite } from "../../message/sim-sqs-message-writer.js";
3
+ import type { SimSqsSentMessage } from "./send.command.js";
4
+ /**
5
+ * Read the message a send request describes, refusing the fields this simulation
6
+ * does not model.
7
+ *
8
+ * The FIFO fields are refused because there are no FIFO queues here to give them
9
+ * meaning, and a message accepted with a `MessageGroupId` that ordered nothing
10
+ * would be a message a test believed was ordered.
11
+ */
12
+ export declare function sentMessageWrite(sent: SimSqsSentMessage): SimSqsMessageWrite;
13
+ /**
14
+ * The digest of a message's attributes, which SQS reports only when there are
15
+ * some.
16
+ */
17
+ export declare function sentMessageAttributesDigest(message: SimSqsMessage): string | undefined;
18
+ //# sourceMappingURL=sim-sqs-sent-message.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sqs-sent-message.d.ts","sourceRoot":"","sources":["../../../../../src/service/sqs/command/message/sim-sqs-sent-message.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEtE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAClF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE3D;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,iBAAiB,GAAG,kBAAkB,CAuB5E;AAED;;;GAGG;AACH,wBAAgB,2BAA2B,CACzC,OAAO,EAAE,aAAa,GACrB,MAAM,GAAG,SAAS,CAMpB"}
@@ -0,0 +1,37 @@
1
+ import { SimSqsUnsupportedOperation } from "../../error/sim-sqs.error.js";
2
+ import { SimSqsMessageAttributes } from "../../message/sim-sqs-message-attributes.js";
3
+ /**
4
+ * Read the message a send request describes, refusing the fields this simulation
5
+ * does not model.
6
+ *
7
+ * The FIFO fields are refused because there are no FIFO queues here to give them
8
+ * meaning, and a message accepted with a `MessageGroupId` that ordered nothing
9
+ * would be a message a test believed was ordered.
10
+ */
11
+ export function sentMessageWrite(sent) {
12
+ if (sent.MessageDeduplicationId !== undefined ||
13
+ sent.MessageGroupId !== undefined) {
14
+ throw new SimSqsUnsupportedOperation("MessageDeduplicationId and MessageGroupId apply to FIFO queues, which " +
15
+ "simulated SQS does not support");
16
+ }
17
+ if (sent.MessageSystemAttributes !== undefined) {
18
+ throw new SimSqsUnsupportedOperation("MessageSystemAttributes carry the X-Ray trace header, which simulated " +
19
+ "SQS does not model");
20
+ }
21
+ return {
22
+ body: sent.MessageBody,
23
+ attributes: SimSqsMessageAttributes.of(sent.MessageAttributes),
24
+ delaySeconds: sent.DelaySeconds,
25
+ };
26
+ }
27
+ /**
28
+ * The digest of a message's attributes, which SQS reports only when there are
29
+ * some.
30
+ */
31
+ export function sentMessageAttributesDigest(message) {
32
+ if (message.attributes.isEmpty) {
33
+ return undefined;
34
+ }
35
+ return message.attributes.digest();
36
+ }
37
+ //# sourceMappingURL=sim-sqs-sent-message.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sqs-sent-message.js","sourceRoot":"","sources":["../../../../../src/service/sqs/command/message/sim-sqs-sent-message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAE1E,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AAItF;;;;;;;GAOG;AACH,MAAM,UAAU,gBAAgB,CAAC,IAAuB;IACtD,IACE,IAAI,CAAC,sBAAsB,KAAK,SAAS;QACzC,IAAI,CAAC,cAAc,KAAK,SAAS,EACjC,CAAC;QACD,MAAM,IAAI,0BAA0B,CAClC,wEAAwE;YACtE,gCAAgC,CACnC,CAAC;IACJ,CAAC;IAED,IAAI,IAAI,CAAC,uBAAuB,KAAK,SAAS,EAAE,CAAC;QAC/C,MAAM,IAAI,0BAA0B,CAClC,wEAAwE;YACtE,oBAAoB,CACvB,CAAC;IACJ,CAAC;IAED,OAAO;QACL,IAAI,EAAE,IAAI,CAAC,WAAW;QACtB,UAAU,EAAE,uBAAuB,CAAC,EAAE,CAAC,IAAI,CAAC,iBAAiB,CAAC;QAC9D,YAAY,EAAE,IAAI,CAAC,YAAY;KAChC,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,2BAA2B,CACzC,OAAsB;IAEtB,IAAI,OAAO,CAAC,UAAU,CAAC,OAAO,EAAE,CAAC;QAC/B,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO,OAAO,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC;AACrC,CAAC"}
@@ -0,0 +1,114 @@
1
+ import type { SimResponseMetadata } from "../../../aws/metadata/response-metadata.type.js";
2
+ import type { SimSqsQueueAttributeInput } from "../../queue/sim-sqs-queue-attributes.js";
3
+ /**
4
+ * Minimal structural sim SQS CreateQueue command.
5
+ *
6
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sqs/command/CreateQueueCommand/
7
+ */
8
+ export interface SimCreateQueueCommand {
9
+ readonly input: SimCreateQueueCommandInput;
10
+ }
11
+ export interface SimCreateQueueCommandInput {
12
+ readonly QueueName?: string | undefined;
13
+ readonly Attributes?: SimSqsQueueAttributeInput | undefined;
14
+ /** The SQS API names this parameter in lower case, unlike every other one. */
15
+ readonly tags?: Readonly<Record<string, string>> | undefined;
16
+ }
17
+ export interface SimCreateQueueCommandOutput {
18
+ readonly QueueUrl?: string | undefined;
19
+ readonly $metadata: SimResponseMetadata;
20
+ }
21
+ /**
22
+ * Minimal structural sim SQS GetQueueUrl command.
23
+ *
24
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sqs/command/GetQueueUrlCommand/
25
+ */
26
+ export interface SimGetQueueUrlCommand {
27
+ readonly input: SimGetQueueUrlCommandInput;
28
+ }
29
+ export interface SimGetQueueUrlCommandInput {
30
+ readonly QueueName?: string | undefined;
31
+ readonly QueueOwnerAWSAccountId?: string | undefined;
32
+ }
33
+ export interface SimGetQueueUrlCommandOutput {
34
+ readonly QueueUrl?: string | undefined;
35
+ readonly $metadata: SimResponseMetadata;
36
+ }
37
+ /**
38
+ * Minimal structural sim SQS ListQueues command.
39
+ *
40
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sqs/command/ListQueuesCommand/
41
+ */
42
+ export interface SimListQueuesCommand {
43
+ readonly input: SimListQueuesCommandInput;
44
+ }
45
+ export interface SimListQueuesCommandInput {
46
+ readonly QueueNamePrefix?: string | undefined;
47
+ readonly MaxResults?: number | undefined;
48
+ readonly NextToken?: string | undefined;
49
+ }
50
+ export interface SimListQueuesCommandOutput {
51
+ readonly QueueUrls?: readonly string[] | undefined;
52
+ readonly NextToken?: string | undefined;
53
+ readonly $metadata: SimResponseMetadata;
54
+ }
55
+ /**
56
+ * Minimal structural sim SQS DeleteQueue command.
57
+ *
58
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sqs/command/DeleteQueueCommand/
59
+ */
60
+ export interface SimDeleteQueueCommand {
61
+ readonly input: SimDeleteQueueCommandInput;
62
+ }
63
+ export interface SimDeleteQueueCommandInput {
64
+ readonly QueueUrl?: string | undefined;
65
+ }
66
+ export interface SimDeleteQueueCommandOutput {
67
+ readonly $metadata: SimResponseMetadata;
68
+ }
69
+ /**
70
+ * Minimal structural sim SQS GetQueueAttributes command.
71
+ *
72
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sqs/command/GetQueueAttributesCommand/
73
+ */
74
+ export interface SimGetQueueAttributesCommand {
75
+ readonly input: SimGetQueueAttributesCommandInput;
76
+ }
77
+ export interface SimGetQueueAttributesCommandInput {
78
+ readonly QueueUrl?: string | undefined;
79
+ readonly AttributeNames?: readonly string[] | undefined;
80
+ }
81
+ export interface SimGetQueueAttributesCommandOutput {
82
+ readonly Attributes?: Record<string, string> | undefined;
83
+ readonly $metadata: SimResponseMetadata;
84
+ }
85
+ /**
86
+ * Minimal structural sim SQS SetQueueAttributes command.
87
+ *
88
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sqs/command/SetQueueAttributesCommand/
89
+ */
90
+ export interface SimSetQueueAttributesCommand {
91
+ readonly input: SimSetQueueAttributesCommandInput;
92
+ }
93
+ export interface SimSetQueueAttributesCommandInput {
94
+ readonly QueueUrl?: string | undefined;
95
+ readonly Attributes?: SimSqsQueueAttributeInput | undefined;
96
+ }
97
+ export interface SimSetQueueAttributesCommandOutput {
98
+ readonly $metadata: SimResponseMetadata;
99
+ }
100
+ /**
101
+ * Minimal structural sim SQS PurgeQueue command.
102
+ *
103
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sqs/command/PurgeQueueCommand/
104
+ */
105
+ export interface SimPurgeQueueCommand {
106
+ readonly input: SimPurgeQueueCommandInput;
107
+ }
108
+ export interface SimPurgeQueueCommandInput {
109
+ readonly QueueUrl?: string | undefined;
110
+ }
111
+ export interface SimPurgeQueueCommandOutput {
112
+ readonly $metadata: SimResponseMetadata;
113
+ }
114
+ //# sourceMappingURL=queue.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queue.command.d.ts","sourceRoot":"","sources":["../../../../../src/service/sqs/command/queue/queue.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AAEzF;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,KAAK,EAAE,0BAA0B,CAAC;CAC5C;AAED,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,QAAQ,CAAC,UAAU,CAAC,EAAE,yBAAyB,GAAG,SAAS,CAAC;IAC5D,8EAA8E;IAC9E,QAAQ,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,SAAS,CAAC;CAC9D;AAED,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC;AAED;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,KAAK,EAAE,0BAA0B,CAAC;CAC5C;AAED,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,QAAQ,CAAC,sBAAsB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACtD;AAED,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC;AAED;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,KAAK,EAAE,yBAAyB,CAAC;CAC3C;AAED,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9C,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACzC;AAED,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;IACnD,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC;AAED;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,KAAK,EAAE,0BAA0B,CAAC;CAC5C;AAED,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACxC;AAED,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC;AAED;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,KAAK,EAAE,iCAAiC,CAAC;CACnD;AAED,MAAM,WAAW,iCAAiC;IAChD,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,QAAQ,CAAC,cAAc,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;CACzD;AAED,MAAM,WAAW,kCAAkC;IACjD,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAAC;IACzD,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC;AAED;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,KAAK,EAAE,iCAAiC,CAAC;CACnD;AAED,MAAM,WAAW,iCAAiC;IAChD,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,QAAQ,CAAC,UAAU,CAAC,EAAE,yBAAyB,GAAG,SAAS,CAAC;CAC7D;AAED,MAAM,WAAW,kCAAkC;IACjD,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC;AAED;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,KAAK,EAAE,yBAAyB,CAAC;CAC3C;AAED,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACxC;AAED,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=queue.command.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queue.command.js","sourceRoot":"","sources":["../../../../../src/service/sqs/command/queue/queue.command.ts"],"names":[],"mappings":""}
@@ -0,0 +1,51 @@
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 { SimSqsDeadLetterTargets } from "../../queue/sim-sqs-dead-letter-targets.js";
5
+ import type { SimSqsQueueActivity } from "../../queue/sim-sqs-queue-activity.js";
6
+ import type { SimSqsQueueStore } from "../../queue/sim-sqs-queue-store.js";
7
+ import type { SimSqsQueueAccess } from "./sim-sqs-queue-access.js";
8
+ import type { SimCreateQueueCommand, SimCreateQueueCommandOutput } from "./queue.command.js";
9
+ interface SimSqsCreateQueueProperties {
10
+ readonly queues: SimSqsQueueStore;
11
+ readonly access: SimSqsQueueAccess;
12
+ readonly accountRegionScope: SimAwsAccountRegionScope;
13
+ readonly clock: BackgroundScheduler;
14
+ readonly deadLetterTargets: SimSqsDeadLetterTargets;
15
+ readonly activity: SimSqsQueueActivity;
16
+ }
17
+ interface SimSqsCreateQueueOptions {
18
+ readonly caller?: SimAwsCaller;
19
+ }
20
+ /**
21
+ * The CreateQueue command.
22
+ *
23
+ * Real SQS treats it as idempotent: a request for a name that is already taken
24
+ * returns the existing queue's URL when the attributes it names match, and fails
25
+ * when they differ. That is what makes a deployment which creates its own queue
26
+ * safe to run twice.
27
+ */
28
+ export declare class SimSqsCreateQueue {
29
+ private readonly queues;
30
+ private readonly access;
31
+ private readonly accountRegionScope;
32
+ private readonly clock;
33
+ private readonly deadLetterTargets;
34
+ private readonly activity;
35
+ constructor(properties: SimSqsCreateQueueProperties);
36
+ /**
37
+ * Create a queue, or answer with the existing one of that name.
38
+ */
39
+ handle(command: SimCreateQueueCommand, options?: SimSqsCreateQueueOptions): SimCreateQueueCommandOutput;
40
+ /**
41
+ * Create the queue itself, once the name is known to be free.
42
+ *
43
+ * The requested attributes are applied to the new queue rather than folded
44
+ * into its defaults, so a queue created with a redrive policy has that policy
45
+ * checked the same way SetQueueAttributes checks one. The queue is only
46
+ * stored once the attributes have been accepted.
47
+ */
48
+ private created;
49
+ }
50
+ export {};
51
+ //# sourceMappingURL=sim-sqs-create-queue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sqs-create-queue.d.ts","sourceRoot":"","sources":["../../../../../src/service/sqs/command/queue/sim-sqs-create-queue.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,4CAA4C,CAAC;AAM1F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAEjF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAEnE,OAAO,KAAK,EACV,qBAAqB,EACrB,2BAA2B,EAC5B,MAAM,oBAAoB,CAAC;AAE5B,UAAU,2BAA2B;IACnC,QAAQ,CAAC,MAAM,EAAE,gBAAgB,CAAC;IAClC,QAAQ,CAAC,MAAM,EAAE,iBAAiB,CAAC;IACnC,QAAQ,CAAC,kBAAkB,EAAE,wBAAwB,CAAC;IACtD,QAAQ,CAAC,KAAK,EAAE,mBAAmB,CAAC;IACpC,QAAQ,CAAC,iBAAiB,EAAE,uBAAuB,CAAC;IACpD,QAAQ,CAAC,QAAQ,EAAE,mBAAmB,CAAC;CACxC;AAED,UAAU,wBAAwB;IAChC,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC;AAED;;;;;;;GAOG;AACH,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmB;IAC1C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoB;IAC3C,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAA2B;IAC9D,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAsB;IAC5C,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAA0B;IAC5D,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAsB;IAE/C,YAAY,UAAU,EAAE,2BAA2B,EAOlD;IAED;;OAEG;IACH,MAAM,CACJ,OAAO,EAAE,qBAAqB,EAC9B,OAAO,CAAC,EAAE,wBAAwB,GACjC,2BAA2B,CAoB7B;IAED;;;;;;;OAOG;IACH,OAAO,CAAC,OAAO;CAsBhB"}
@@ -0,0 +1,70 @@
1
+ import { SimSqsQueue } from "../../queue/sim-sqs-queue.js";
2
+ import { SimSqsQueueAttributes, } from "../../queue/sim-sqs-queue-attributes.js";
3
+ import { SimSqsQueueName } from "../../queue/sim-sqs-queue-name.js";
4
+ import { refuseUnsimulatedQueueInput } from "./sim-sqs-unsimulated-queue-input.js";
5
+ /**
6
+ * The CreateQueue command.
7
+ *
8
+ * Real SQS treats it as idempotent: a request for a name that is already taken
9
+ * returns the existing queue's URL when the attributes it names match, and fails
10
+ * when they differ. That is what makes a deployment which creates its own queue
11
+ * safe to run twice.
12
+ */
13
+ export class SimSqsCreateQueue {
14
+ queues;
15
+ access;
16
+ accountRegionScope;
17
+ clock;
18
+ deadLetterTargets;
19
+ activity;
20
+ constructor(properties) {
21
+ this.queues = properties.queues;
22
+ this.access = properties.access;
23
+ this.accountRegionScope = properties.accountRegionScope;
24
+ this.clock = properties.clock;
25
+ this.deadLetterTargets = properties.deadLetterTargets;
26
+ this.activity = properties.activity;
27
+ }
28
+ /**
29
+ * Create a queue, or answer with the existing one of that name.
30
+ */
31
+ handle(command, options) {
32
+ const input = command.input;
33
+ refuseUnsimulatedQueueInput(input);
34
+ const name = SimSqsQueueName.required(input.QueueName);
35
+ const requested = input.Attributes ?? {};
36
+ this.access.authorizeName("sqs:CreateQueue", name.value, options?.caller);
37
+ const existing = this.queues.find(name.value);
38
+ if (existing !== undefined) {
39
+ return {
40
+ $metadata: {},
41
+ QueueUrl: existing.urlWhenAttributesMatch(requested),
42
+ };
43
+ }
44
+ return { $metadata: {}, QueueUrl: this.created(name, requested).url };
45
+ }
46
+ /**
47
+ * Create the queue itself, once the name is known to be free.
48
+ *
49
+ * The requested attributes are applied to the new queue rather than folded
50
+ * into its defaults, so a queue created with a redrive policy has that policy
51
+ * checked the same way SetQueueAttributes checks one. The queue is only
52
+ * stored once the attributes have been accepted.
53
+ */
54
+ created(name, requested) {
55
+ const createdAt = this.clock.now();
56
+ this.queues.assertNameAvailable(name.value, createdAt);
57
+ const queue = new SimSqsQueue({
58
+ name,
59
+ accountRegionScope: this.accountRegionScope,
60
+ attributes: SimSqsQueueAttributes.defaults(),
61
+ createdAt,
62
+ deadLetterTargets: this.deadLetterTargets,
63
+ activity: this.activity,
64
+ });
65
+ queue.applyAttributes(requested, createdAt);
66
+ this.queues.add(queue);
67
+ return queue;
68
+ }
69
+ }
70
+ //# sourceMappingURL=sim-sqs-create-queue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sqs-create-queue.js","sourceRoot":"","sources":["../../../../../src/service/sqs/command/queue/sim-sqs-create-queue.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAEL,qBAAqB,GACtB,MAAM,yCAAyC,CAAC;AAEjD,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAGpE,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AAmBnF;;;;;;;GAOG;AACH,MAAM,OAAO,iBAAiB;IACX,MAAM,CAAmB;IACzB,MAAM,CAAoB;IAC1B,kBAAkB,CAA2B;IAC7C,KAAK,CAAsB;IAC3B,iBAAiB,CAA0B;IAC3C,QAAQ,CAAsB;IAE/C,YAAY,UAAuC;QACjD,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;QAChC,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;QAChC,IAAI,CAAC,kBAAkB,GAAG,UAAU,CAAC,kBAAkB,CAAC;QACxD,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;QAC9B,IAAI,CAAC,iBAAiB,GAAG,UAAU,CAAC,iBAAiB,CAAC;QACtD,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC;IACtC,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,OAA8B,EAC9B,OAAkC;QAElC,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC;QAE5B,2BAA2B,CAAC,KAAK,CAAC,CAAC;QAEnC,MAAM,IAAI,GAAG,eAAe,CAAC,QAAQ,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QACvD,MAAM,SAAS,GAAG,KAAK,CAAC,UAAU,IAAI,EAAE,CAAC;QAEzC,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,iBAAiB,EAAE,IAAI,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QAE1E,MAAM,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAE9C,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;YAC3B,OAAO;gBACL,SAAS,EAAE,EAAE;gBACb,QAAQ,EAAE,QAAQ,CAAC,sBAAsB,CAAC,SAAS,CAAC;aACrD,CAAC;QACJ,CAAC;QAED,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC,GAAG,EAAE,CAAC;IACxE,CAAC;IAED;;;;;;;OAOG;IACK,OAAO,CACb,IAAqB,EACrB,SAAoC;QAEpC,MAAM,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC;QAEnC,IAAI,CAAC,MAAM,CAAC,mBAAmB,CAAC,IAAI,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;QAEvD,MAAM,KAAK,GAAG,IAAI,WAAW,CAAC;YAC5B,IAAI;YACJ,kBAAkB,EAAE,IAAI,CAAC,kBAAkB;YAC3C,UAAU,EAAE,qBAAqB,CAAC,QAAQ,EAAE;YAC5C,SAAS;YACT,iBAAiB,EAAE,IAAI,CAAC,iBAAiB;YACzC,QAAQ,EAAE,IAAI,CAAC,QAAQ;SACxB,CAAC,CAAC;QAEH,KAAK,CAAC,eAAe,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;QAC5C,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QAEvB,OAAO,KAAK,CAAC;IACf,CAAC;CACF"}
@@ -0,0 +1,63 @@
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 { SimSqsQueue } from "../../queue/sim-sqs-queue.js";
5
+ import type { SimSqsQueueStore } from "../../queue/sim-sqs-queue-store.js";
6
+ import type { SimSqsAuthorizer } from "../authorize/sim-sqs-authorizer.js";
7
+ interface SimSqsQueueAccessProperties {
8
+ readonly queues: SimSqsQueueStore;
9
+ readonly authorizer: SimSqsAuthorizer;
10
+ readonly accountRegionScope: SimAwsAccountRegionScope;
11
+ readonly clock: BackgroundScheduler;
12
+ }
13
+ /**
14
+ * How a request reaches the queue it names.
15
+ *
16
+ * Every operation but ListQueues and CreateQueue starts the same way: read the
17
+ * queue URL, authorize the action against the ARN that URL implies, then look the
18
+ * queue up. Authorization comes first because real IAM decides before the
19
+ * service does anything, so a caller with no permission is refused whether or not
20
+ * the queue exists.
21
+ */
22
+ export declare class SimSqsQueueAccess {
23
+ private readonly queues;
24
+ private readonly authorizer;
25
+ private readonly accountRegionScope;
26
+ private readonly clock;
27
+ constructor(properties: SimSqsQueueAccessProperties);
28
+ /**
29
+ * Ensure the caller may perform an action on the queue of a given name.
30
+ */
31
+ authorizeName(action: string, name: string, caller?: SimAwsCaller): void;
32
+ /**
33
+ * Ensure the caller may perform an action naming no particular queue.
34
+ */
35
+ authorizeAnyQueue(action: string, caller?: SimAwsCaller): void;
36
+ /**
37
+ * Resolve the queue a request names by name, authorizing the action first.
38
+ */
39
+ requireByName(action: string, name: string | undefined, caller?: SimAwsCaller): SimSqsQueue;
40
+ /**
41
+ * Resolve the queue a request names by URL, authorizing the action first.
42
+ */
43
+ requireByUrl(action: string, queueUrl: string | undefined, caller?: SimAwsCaller): SimSqsQueue;
44
+ /**
45
+ * The queue of a name, with every queue brought up to date first.
46
+ *
47
+ * Every queue and not just this one, because a message moves to a dead-letter
48
+ * queue when its source queue notices, and a request may be about the
49
+ * dead-letter queue rather than the source.
50
+ */
51
+ private upToDate;
52
+ /**
53
+ * Read the queue name out of the URL a request carries.
54
+ *
55
+ * A URL naming another account or region reaches nothing, rather than having
56
+ * its name read out and looked up locally. A queue URL is scoped, and treating
57
+ * a foreign one as local would let a test pass while the real call crossed an
58
+ * account boundary it has no permission for.
59
+ */
60
+ private nameFromUrl;
61
+ }
62
+ export {};
63
+ //# sourceMappingURL=sim-sqs-queue-access.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sqs-queue-access.d.ts","sourceRoot":"","sources":["../../../../../src/service/sqs/command/queue/sim-sqs-queue-access.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;AAM7F,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAEhE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAE3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAU3E,UAAU,2BAA2B;IACnC,QAAQ,CAAC,MAAM,EAAE,gBAAgB,CAAC;IAClC,QAAQ,CAAC,UAAU,EAAE,gBAAgB,CAAC;IACtC,QAAQ,CAAC,kBAAkB,EAAE,wBAAwB,CAAC;IACtD,QAAQ,CAAC,KAAK,EAAE,mBAAmB,CAAC;CACrC;AAED;;;;;;;;GAQG;AACH,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmB;IAC1C,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAmB;IAC9C,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAA2B;IAC9D,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAsB;IAE5C,YAAY,UAAU,EAAE,2BAA2B,EAKlD;IAED;;OAEG;IACH,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,YAAY,GAAG,IAAI,CAMvE;IAED;;OAEG;IACH,iBAAiB,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,YAAY,GAAG,IAAI,CAE7D;IAED;;OAEG;IACH,aAAa,CACX,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,MAAM,CAAC,EAAE,YAAY,GACpB,WAAW,CAUb;IAED;;OAEG;IACH,YAAY,CACV,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,GAAG,SAAS,EAC5B,MAAM,CAAC,EAAE,YAAY,GACpB,WAAW,CAMb;IAED;;;;;;OAMG;IACH,OAAO,CAAC,QAAQ;IAMhB;;;;;;;OAOG;IACH,OAAO,CAAC,WAAW;CA4BpB"}