@kensio/yulin 1.0.0 → 1.2.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 (1052) hide show
  1. package/dist/serve/payload-2/sim-payload-2-event.type.d.ts +14 -1
  2. package/dist/serve/payload-2/sim-payload-2-event.type.d.ts.map +1 -1
  3. package/dist/serve/payload-2/sim-payload-2-request-context.d.ts +6 -1
  4. package/dist/serve/payload-2/sim-payload-2-request-context.d.ts.map +1 -1
  5. package/dist/serve/payload-2/sim-payload-2-request-context.js +4 -0
  6. package/dist/serve/payload-2/sim-payload-2-request-context.js.map +1 -1
  7. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-header-identity-source.d.ts +22 -0
  8. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-header-identity-source.d.ts.map +1 -0
  9. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-header-identity-source.js +27 -0
  10. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-header-identity-source.js.map +1 -0
  11. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-source-parser.d.ts +47 -0
  12. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-source-parser.d.ts.map +1 -0
  13. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-source-parser.js +92 -0
  14. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-source-parser.js.map +1 -0
  15. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-source.d.ts +47 -0
  16. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-source.d.ts.map +1 -0
  17. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-source.js +16 -0
  18. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-source.js.map +1 -0
  19. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-sources.d.ts +29 -0
  20. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-sources.d.ts.map +1 -0
  21. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-sources.js +42 -0
  22. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-sources.js.map +1 -0
  23. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-query-string-identity-source.d.ts +19 -0
  24. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-query-string-identity-source.d.ts.map +1 -0
  25. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-query-string-identity-source.js +24 -0
  26. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-query-string-identity-source.js.map +1 -0
  27. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-route-key-identity-source.d.ts +25 -0
  28. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-route-key-identity-source.d.ts.map +1 -0
  29. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-route-key-identity-source.js +26 -0
  30. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-route-key-identity-source.js.map +1 -0
  31. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorization.d.ts +24 -8
  32. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorization.d.ts.map +1 -1
  33. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorization.js +17 -4
  34. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorization.js.map +1 -1
  35. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer-result-cache.d.ts +49 -0
  36. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer-result-cache.d.ts.map +1 -0
  37. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer-result-cache.js +74 -0
  38. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer-result-cache.js.map +1 -0
  39. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer.d.ts +27 -21
  40. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer.d.ts.map +1 -1
  41. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer.js +5 -23
  42. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer.js.map +1 -1
  43. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-bearer-token.d.ts +9 -0
  44. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-bearer-token.d.ts.map +1 -0
  45. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-bearer-token.js +23 -0
  46. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-bearer-token.js.map +1 -0
  47. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-authorizer.d.ts +29 -0
  48. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-authorizer.d.ts.map +1 -0
  49. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-authorizer.js +32 -0
  50. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-authorizer.js.map +1 -0
  51. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-verification.d.ts +2 -2
  52. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-verification.d.ts.map +1 -1
  53. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-verification.js.map +1 -1
  54. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-request-authorizer.d.ts +56 -0
  55. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-request-authorizer.d.ts.map +1 -0
  56. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-request-authorizer.js +63 -0
  57. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-request-authorizer.js.map +1 -0
  58. package/dist/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.d.ts +8 -2
  59. package/dist/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.d.ts.map +1 -1
  60. package/dist/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.js +16 -5
  61. package/dist/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.js.map +1 -1
  62. package/dist/service/apigatewayv2/api/route/sim-http-api-route.d.ts +8 -10
  63. package/dist/service/apigatewayv2/api/route/sim-http-api-route.d.ts.map +1 -1
  64. package/dist/service/apigatewayv2/api/route/sim-http-api-route.js +3 -3
  65. package/dist/service/apigatewayv2/api/route/sim-http-api-route.js.map +1 -1
  66. package/dist/service/apigatewayv2/api/sim-http-api-execute-api-arn.d.ts +29 -2
  67. package/dist/service/apigatewayv2/api/sim-http-api-execute-api-arn.d.ts.map +1 -1
  68. package/dist/service/apigatewayv2/api/sim-http-api-execute-api-arn.js +40 -2
  69. package/dist/service/apigatewayv2/api/sim-http-api-execute-api-arn.js.map +1 -1
  70. package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.d.ts +6 -0
  71. package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.d.ts.map +1 -1
  72. package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.js +5 -1
  73. package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.js.map +1 -1
  74. package/dist/service/apigatewayv2/api/sim-http-api-proxy-authorization.d.ts +7 -0
  75. package/dist/service/apigatewayv2/api/sim-http-api-proxy-authorization.d.ts.map +1 -1
  76. package/dist/service/apigatewayv2/api/sim-http-api-proxy-authorization.js +10 -1
  77. package/dist/service/apigatewayv2/api/sim-http-api-proxy-authorization.js.map +1 -1
  78. package/dist/service/apigatewayv2/api/sim-http-api-proxy-request-authorizer.d.ts +45 -0
  79. package/dist/service/apigatewayv2/api/sim-http-api-proxy-request-authorizer.d.ts.map +1 -0
  80. package/dist/service/apigatewayv2/api/sim-http-api-proxy-request-authorizer.js +55 -0
  81. package/dist/service/apigatewayv2/api/sim-http-api-proxy-request-authorizer.js.map +1 -0
  82. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-creator.d.ts +4 -5
  83. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-creator.d.ts.map +1 -1
  84. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-creator.js +4 -5
  85. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-creator.js.map +1 -1
  86. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-properties.d.ts +6 -4
  87. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-properties.d.ts.map +1 -1
  88. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-properties.js +29 -15
  89. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-properties.js.map +1 -1
  90. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-jwt-configuration-properties.d.ts +30 -0
  91. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-jwt-configuration-properties.d.ts.map +1 -0
  92. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-jwt-configuration-properties.js +33 -0
  93. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-jwt-configuration-properties.js.map +1 -0
  94. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-request-authorizer-properties.d.ts +36 -0
  95. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-request-authorizer-properties.d.ts.map +1 -0
  96. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-request-authorizer-properties.js +32 -0
  97. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-request-authorizer-properties.js.map +1 -0
  98. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-values.d.ts +4 -25
  99. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-values.d.ts.map +1 -1
  100. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-values.js +4 -55
  101. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-values.js.map +1 -1
  102. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-scalar-values.d.ts +49 -0
  103. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-scalar-values.d.ts.map +1 -0
  104. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-scalar-values.js +98 -0
  105. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-scalar-values.js.map +1 -0
  106. package/dist/service/apigatewayv2/command/authorizer/authorizer.command.d.ts +7 -2
  107. package/dist/service/apigatewayv2/command/authorizer/authorizer.command.d.ts.map +1 -1
  108. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-commands.d.ts +9 -10
  109. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-commands.d.ts.map +1 -1
  110. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-commands.js +22 -24
  111. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-commands.js.map +1 -1
  112. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-input.d.ts +20 -0
  113. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-input.d.ts.map +1 -0
  114. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-input.js +15 -0
  115. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-input.js.map +1 -0
  116. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-options.d.ts +22 -0
  117. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-options.d.ts.map +1 -0
  118. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-options.js +26 -0
  119. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-options.js.map +1 -0
  120. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-jwt-authorizer-input.d.ts +23 -5
  121. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-jwt-authorizer-input.d.ts.map +1 -1
  122. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-jwt-authorizer-input.js +41 -4
  123. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-jwt-authorizer-input.js.map +1 -1
  124. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-request-authorizer-input.d.ts +58 -0
  125. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-request-authorizer-input.d.ts.map +1 -0
  126. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-request-authorizer-input.js +120 -0
  127. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-request-authorizer-input.js.map +1 -0
  128. package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorization-options.d.ts +30 -0
  129. package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorization-options.d.ts.map +1 -0
  130. package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorization-options.js +55 -0
  131. package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorization-options.js.map +1 -0
  132. package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorization.d.ts +11 -12
  133. package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorization.d.ts.map +1 -1
  134. package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorization.js +36 -45
  135. package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorization.js.map +1 -1
  136. package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorizer-input.d.ts +26 -0
  137. package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorizer-input.d.ts.map +1 -0
  138. package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorizer-input.js +40 -0
  139. package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorizer-input.js.map +1 -0
  140. package/dist/service/apigatewayv2/command/route/sim-http-api-route-commands.d.ts.map +1 -1
  141. package/dist/service/apigatewayv2/command/route/sim-http-api-route-commands.js +4 -6
  142. package/dist/service/apigatewayv2/command/route/sim-http-api-route-commands.js.map +1 -1
  143. package/dist/service/apigatewayv2/index.d.ts +11 -2
  144. package/dist/service/apigatewayv2/index.d.ts.map +1 -1
  145. package/dist/service/apigatewayv2/index.js +8 -1
  146. package/dist/service/apigatewayv2/index.js.map +1 -1
  147. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-identity-source.d.ts +25 -0
  148. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-identity-source.d.ts.map +1 -0
  149. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-identity-source.js +41 -0
  150. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-identity-source.js.map +1 -0
  151. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-jwt-authorizer-scheme.d.ts +19 -0
  152. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-jwt-authorizer-scheme.d.ts.map +1 -0
  153. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-jwt-authorizer-scheme.js +32 -0
  154. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-jwt-authorizer-scheme.js.map +1 -0
  155. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-request-authorizer-scheme.d.ts +21 -0
  156. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-request-authorizer-scheme.d.ts.map +1 -0
  157. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-request-authorizer-scheme.js +51 -0
  158. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-request-authorizer-scheme.js.map +1 -0
  159. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-route-authorization.d.ts +11 -2
  160. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-route-authorization.d.ts.map +1 -1
  161. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-route-authorization.js +26 -7
  162. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-route-authorization.js.map +1 -1
  163. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-scheme.d.ts +9 -9
  164. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-scheme.d.ts.map +1 -1
  165. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-scheme.js +42 -45
  166. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-scheme.js.map +1 -1
  167. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-schemes.d.ts +3 -2
  168. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-schemes.d.ts.map +1 -1
  169. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-schemes.js +3 -3
  170. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-schemes.js.map +1 -1
  171. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-value.d.ts +10 -0
  172. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-value.d.ts.map +1 -1
  173. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-value.js +26 -0
  174. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-value.js.map +1 -1
  175. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-decisions.d.ts +36 -0
  176. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-decisions.d.ts.map +1 -0
  177. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-decisions.js +39 -0
  178. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-decisions.js.map +1 -0
  179. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-event.d.ts +58 -0
  180. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-event.d.ts.map +1 -0
  181. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-event.js +58 -0
  182. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-event.js.map +1 -0
  183. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-invocation.d.ts +36 -0
  184. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-invocation.d.ts.map +1 -0
  185. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-invocation.js +52 -0
  186. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-invocation.js.map +1 -0
  187. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-policy.d.ts +27 -0
  188. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-policy.d.ts.map +1 -0
  189. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-policy.js +56 -0
  190. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-policy.js.map +1 -0
  191. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-response.d.ts +52 -0
  192. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-response.d.ts.map +1 -0
  193. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-response.js +112 -0
  194. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-response.js.map +1 -0
  195. package/dist/service/apigatewayv2/serve/auth/sim-http-api-invoke-authorizer.d.ts +60 -0
  196. package/dist/service/apigatewayv2/serve/auth/sim-http-api-invoke-authorizer.d.ts.map +1 -0
  197. package/dist/service/apigatewayv2/serve/auth/sim-http-api-invoke-authorizer.js +64 -0
  198. package/dist/service/apigatewayv2/serve/auth/sim-http-api-invoke-authorizer.js.map +1 -0
  199. package/dist/service/apigatewayv2/serve/auth/sim-http-api-jwt-route-authorizer.d.ts.map +1 -1
  200. package/dist/service/apigatewayv2/serve/auth/sim-http-api-jwt-route-authorizer.js +10 -5
  201. package/dist/service/apigatewayv2/serve/auth/sim-http-api-jwt-route-authorizer.js.map +1 -1
  202. package/dist/service/apigatewayv2/serve/auth/sim-http-api-request-route-authorizer.d.ts +42 -0
  203. package/dist/service/apigatewayv2/serve/auth/sim-http-api-request-route-authorizer.d.ts.map +1 -0
  204. package/dist/service/apigatewayv2/serve/auth/sim-http-api-request-route-authorizer.js +57 -0
  205. package/dist/service/apigatewayv2/serve/auth/sim-http-api-request-route-authorizer.js.map +1 -0
  206. package/dist/service/apigatewayv2/serve/auth/sim-http-api-route-authorizer.d.ts +10 -2
  207. package/dist/service/apigatewayv2/serve/auth/sim-http-api-route-authorizer.d.ts.map +1 -1
  208. package/dist/service/apigatewayv2/serve/auth/sim-http-api-route-authorizer.js +10 -1
  209. package/dist/service/apigatewayv2/serve/auth/sim-http-api-route-authorizer.js.map +1 -1
  210. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.d.ts +7 -14
  211. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.d.ts.map +1 -1
  212. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.js +23 -63
  213. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.js.map +1 -1
  214. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-router.d.ts +14 -7
  215. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-router.d.ts.map +1 -1
  216. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-router.js +12 -4
  217. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-router.js.map +1 -1
  218. package/dist/service/apigatewayv2/serve/sim-http-api-integration-invocation.d.ts +46 -0
  219. package/dist/service/apigatewayv2/serve/sim-http-api-integration-invocation.d.ts.map +1 -0
  220. package/dist/service/apigatewayv2/serve/sim-http-api-integration-invocation.js +70 -0
  221. package/dist/service/apigatewayv2/serve/sim-http-api-integration-invocation.js.map +1 -0
  222. package/dist/service/apigatewayv2/serve/sim-http-api-refusal-response.d.ts +18 -0
  223. package/dist/service/apigatewayv2/serve/sim-http-api-refusal-response.d.ts.map +1 -0
  224. package/dist/service/apigatewayv2/serve/sim-http-api-refusal-response.js +30 -0
  225. package/dist/service/apigatewayv2/serve/sim-http-api-refusal-response.js.map +1 -0
  226. package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts +19 -1
  227. package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts.map +1 -1
  228. package/dist/service/aws/factory/sim-aws-account-region-service-builder.js +34 -1
  229. package/dist/service/aws/factory/sim-aws-account-region-service-builder.js.map +1 -1
  230. package/dist/service/aws/factory/sim-aws-account-service-cache.d.ts.map +1 -1
  231. package/dist/service/aws/factory/sim-aws-account-service-cache.js +2 -0
  232. package/dist/service/aws/factory/sim-aws-account-service-cache.js.map +1 -1
  233. package/dist/service/aws/sim-aws-service-accessors.d.ts +61 -0
  234. package/dist/service/aws/sim-aws-service-accessors.d.ts.map +1 -0
  235. package/dist/service/aws/sim-aws-service-accessors.js +71 -0
  236. package/dist/service/aws/sim-aws-service-accessors.js.map +1 -0
  237. package/dist/service/aws/sim-aws.d.ts +10 -46
  238. package/dist/service/aws/sim-aws.d.ts.map +1 -1
  239. package/dist/service/aws/sim-aws.js +12 -60
  240. package/dist/service/aws/sim-aws.js.map +1 -1
  241. package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-configuration.d.ts +31 -0
  242. package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-configuration.d.ts.map +1 -0
  243. package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-configuration.js +71 -0
  244. package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-configuration.js.map +1 -0
  245. package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-filter.d.ts +21 -0
  246. package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-filter.d.ts.map +1 -0
  247. package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-filter.js +38 -0
  248. package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-filter.js.map +1 -0
  249. package/dist/service/cloudformation/cdk/s3/bucket-notifications/error/sim-cdk-bucket-notification-error.d.ts +11 -0
  250. package/dist/service/cloudformation/cdk/s3/bucket-notifications/error/sim-cdk-bucket-notification-error.d.ts.map +1 -0
  251. package/dist/service/cloudformation/cdk/s3/bucket-notifications/error/sim-cdk-bucket-notification-error.js +13 -0
  252. package/dist/service/cloudformation/cdk/s3/bucket-notifications/error/sim-cdk-bucket-notification-error.js.map +1 -0
  253. package/dist/service/cloudformation/cdk/s3/bucket-notifications/property/sim-cdk-bucket-notification-properties.d.ts +48 -0
  254. package/dist/service/cloudformation/cdk/s3/bucket-notifications/property/sim-cdk-bucket-notification-properties.d.ts.map +1 -0
  255. package/dist/service/cloudformation/cdk/s3/bucket-notifications/property/sim-cdk-bucket-notification-properties.js +105 -0
  256. package/dist/service/cloudformation/cdk/s3/bucket-notifications/property/sim-cdk-bucket-notification-properties.js.map +1 -0
  257. package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications-template.factory.d.ts +45 -0
  258. package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications-template.factory.d.ts.map +1 -0
  259. package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications-template.factory.js +109 -0
  260. package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications-template.factory.js.map +1 -0
  261. package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications.d.ts +27 -0
  262. package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications.d.ts.map +1 -0
  263. package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications.js +47 -0
  264. package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications.js.map +1 -0
  265. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-custom-resource-factories.d.ts +23 -0
  266. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-custom-resource-factories.d.ts.map +1 -0
  267. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-custom-resource-factories.js +24 -0
  268. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-custom-resource-factories.js.map +1 -0
  269. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-resolver.d.ts.map +1 -1
  270. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-resolver.js +18 -7
  271. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-resolver.js.map +1 -1
  272. package/dist/service/cloudformation/template/condition/sim-cfn-condition-comparison.d.ts +27 -0
  273. package/dist/service/cloudformation/template/condition/sim-cfn-condition-comparison.d.ts.map +1 -0
  274. package/dist/service/cloudformation/template/condition/sim-cfn-condition-comparison.js +44 -0
  275. package/dist/service/cloudformation/template/condition/sim-cfn-condition-comparison.js.map +1 -0
  276. package/dist/service/cloudformation/template/condition/sim-cfn-condition-evaluator.d.ts +36 -0
  277. package/dist/service/cloudformation/template/condition/sim-cfn-condition-evaluator.d.ts.map +1 -0
  278. package/dist/service/cloudformation/template/condition/sim-cfn-condition-evaluator.js +68 -0
  279. package/dist/service/cloudformation/template/condition/sim-cfn-condition-evaluator.js.map +1 -0
  280. package/dist/service/cloudformation/template/condition/sim-cfn-condition-expression.d.ts +45 -0
  281. package/dist/service/cloudformation/template/condition/sim-cfn-condition-expression.d.ts.map +1 -0
  282. package/dist/service/cloudformation/template/condition/sim-cfn-condition-expression.js +80 -0
  283. package/dist/service/cloudformation/template/condition/sim-cfn-condition-expression.js.map +1 -0
  284. package/dist/service/cloudformation/template/condition/sim-cfn-conditions.d.ts +28 -0
  285. package/dist/service/cloudformation/template/condition/sim-cfn-conditions.d.ts.map +1 -0
  286. package/dist/service/cloudformation/template/condition/sim-cfn-conditions.js +29 -0
  287. package/dist/service/cloudformation/template/condition/sim-cfn-conditions.js.map +1 -0
  288. package/dist/service/cloudformation/template/condition/sim-cfn-resource-conditions.d.ts +46 -0
  289. package/dist/service/cloudformation/template/condition/sim-cfn-resource-conditions.d.ts.map +1 -0
  290. package/dist/service/cloudformation/template/condition/sim-cfn-resource-conditions.js +94 -0
  291. package/dist/service/cloudformation/template/condition/sim-cfn-resource-conditions.js.map +1 -0
  292. package/dist/service/cloudformation/template/node/fn/find-in-map/sim-cfn-fn-find-in-map.d.ts +0 -1
  293. package/dist/service/cloudformation/template/node/fn/find-in-map/sim-cfn-fn-find-in-map.d.ts.map +1 -1
  294. package/dist/service/cloudformation/template/node/fn/find-in-map/sim-cfn-fn-find-in-map.js +2 -14
  295. package/dist/service/cloudformation/template/node/fn/find-in-map/sim-cfn-fn-find-in-map.js.map +1 -1
  296. package/dist/service/cloudformation/template/node/fn/if/sim-cfn-fn-if.d.ts +31 -0
  297. package/dist/service/cloudformation/template/node/fn/if/sim-cfn-fn-if.d.ts.map +1 -0
  298. package/dist/service/cloudformation/template/node/fn/if/sim-cfn-fn-if.js +52 -0
  299. package/dist/service/cloudformation/template/node/fn/if/sim-cfn-fn-if.js.map +1 -0
  300. package/dist/service/cloudformation/template/node/fn/select/sim-cfn-fn-select.d.ts +39 -0
  301. package/dist/service/cloudformation/template/node/fn/select/sim-cfn-fn-select.d.ts.map +1 -0
  302. package/dist/service/cloudformation/template/node/fn/select/sim-cfn-fn-select.js +82 -0
  303. package/dist/service/cloudformation/template/node/fn/select/sim-cfn-fn-select.js.map +1 -0
  304. package/dist/service/cloudformation/template/node/fn/split/sim-cfn-fn-split.d.ts +31 -0
  305. package/dist/service/cloudformation/template/node/fn/split/sim-cfn-fn-split.d.ts.map +1 -0
  306. package/dist/service/cloudformation/template/node/fn/split/sim-cfn-fn-split.js +45 -0
  307. package/dist/service/cloudformation/template/node/fn/split/sim-cfn-fn-split.js.map +1 -0
  308. package/dist/service/cloudformation/template/node/sim-cfn-list.d.ts +1 -1
  309. package/dist/service/cloudformation/template/node/sim-cfn-list.d.ts.map +1 -1
  310. package/dist/service/cloudformation/template/node/sim-cfn-list.js +3 -2
  311. package/dist/service/cloudformation/template/node/sim-cfn-list.js.map +1 -1
  312. package/dist/service/cloudformation/template/node/sim-cfn-object.d.ts.map +1 -1
  313. package/dist/service/cloudformation/template/node/sim-cfn-object.js +5 -1
  314. package/dist/service/cloudformation/template/node/sim-cfn-object.js.map +1 -1
  315. package/dist/service/cloudformation/template/parse/fn/if/sim-cfn-fn-if-parser.d.ts +19 -0
  316. package/dist/service/cloudformation/template/parse/fn/if/sim-cfn-fn-if-parser.d.ts.map +1 -0
  317. package/dist/service/cloudformation/template/parse/fn/if/sim-cfn-fn-if-parser.js +33 -0
  318. package/dist/service/cloudformation/template/parse/fn/if/sim-cfn-fn-if-parser.js.map +1 -0
  319. package/dist/service/cloudformation/template/parse/fn/select/sim-cfn-fn-select-parser.d.ts +26 -0
  320. package/dist/service/cloudformation/template/parse/fn/select/sim-cfn-fn-select-parser.d.ts.map +1 -0
  321. package/dist/service/cloudformation/template/parse/fn/select/sim-cfn-fn-select-parser.js +35 -0
  322. package/dist/service/cloudformation/template/parse/fn/select/sim-cfn-fn-select-parser.js.map +1 -0
  323. package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parser.d.ts +3 -0
  324. package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parser.d.ts.map +1 -1
  325. package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parser.js +18 -0
  326. package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parser.js.map +1 -1
  327. package/dist/service/cloudformation/template/parse/fn/split/sim-cfn-fn-split-parser.d.ts +25 -0
  328. package/dist/service/cloudformation/template/parse/fn/split/sim-cfn-fn-split-parser.d.ts.map +1 -0
  329. package/dist/service/cloudformation/template/parse/fn/split/sim-cfn-fn-split-parser.js +36 -0
  330. package/dist/service/cloudformation/template/parse/fn/split/sim-cfn-fn-split-parser.js.map +1 -0
  331. package/dist/service/cloudformation/template/resolve/sim-cfn-resolve-context.d.ts +14 -4
  332. package/dist/service/cloudformation/template/resolve/sim-cfn-resolve-context.d.ts.map +1 -1
  333. package/dist/service/cloudformation/template/resolve/sim-cfn-resolve-context.js +7 -5
  334. package/dist/service/cloudformation/template/resolve/sim-cfn-resolve-context.js.map +1 -1
  335. package/dist/service/cloudformation/template/sim-cfn-template-body-validator.d.ts.map +1 -1
  336. package/dist/service/cloudformation/template/sim-cfn-template-body-validator.js +4 -0
  337. package/dist/service/cloudformation/template/sim-cfn-template-body-validator.js.map +1 -1
  338. package/dist/service/cloudformation/template/sim-cfn-template.d.ts +14 -0
  339. package/dist/service/cloudformation/template/sim-cfn-template.d.ts.map +1 -1
  340. package/dist/service/cloudformation/template/sim-cfn-template.js +44 -12
  341. package/dist/service/cloudformation/template/sim-cfn-template.js.map +1 -1
  342. package/dist/service/cloudformation/template/value/sim-cfn-template-value-resolver.d.ts +20 -0
  343. package/dist/service/cloudformation/template/value/sim-cfn-template-value-resolver.d.ts.map +1 -1
  344. package/dist/service/cloudformation/template/value/sim-cfn-template-value-resolver.js +32 -2
  345. package/dist/service/cloudformation/template/value/sim-cfn-template-value-resolver.js.map +1 -1
  346. package/dist/service/cloudformation/template/value/sim-cfn-unresolved-expression.d.ts +11 -0
  347. package/dist/service/cloudformation/template/value/sim-cfn-unresolved-expression.d.ts.map +1 -0
  348. package/dist/service/cloudformation/template/value/sim-cfn-unresolved-expression.js +21 -0
  349. package/dist/service/cloudformation/template/value/sim-cfn-unresolved-expression.js.map +1 -0
  350. package/dist/service/cloudformation/template/value/sim-cfn-value-path.d.ts +22 -0
  351. package/dist/service/cloudformation/template/value/sim-cfn-value-path.d.ts.map +1 -0
  352. package/dist/service/cloudformation/template/value/sim-cfn-value-path.js +92 -0
  353. package/dist/service/cloudformation/template/value/sim-cfn-value-path.js.map +1 -0
  354. package/dist/service/cloudformation/template/value/sim-cfn-value-shape.d.ts +45 -0
  355. package/dist/service/cloudformation/template/value/sim-cfn-value-shape.d.ts.map +1 -0
  356. package/dist/service/cloudformation/template/value/sim-cfn-value-shape.js +73 -0
  357. package/dist/service/cloudformation/template/value/sim-cfn-value-shape.js.map +1 -0
  358. package/dist/service/cloudfront/command/create-distribution/create-distribution.command.d.ts +7 -0
  359. package/dist/service/cloudfront/command/create-distribution/create-distribution.command.d.ts.map +1 -1
  360. package/dist/service/cloudfront/command/create-distribution/create-distribution.handler.d.ts +2 -0
  361. package/dist/service/cloudfront/command/create-distribution/create-distribution.handler.d.ts.map +1 -1
  362. package/dist/service/cloudfront/command/create-distribution/create-distribution.handler.js +1 -1
  363. package/dist/service/cloudfront/command/create-distribution/create-distribution.handler.js.map +1 -1
  364. package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.d.ts +10 -1
  365. package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.d.ts.map +1 -1
  366. package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.js +21 -1
  367. package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.js.map +1 -1
  368. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-dispatcher.d.ts +24 -0
  369. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-dispatcher.d.ts.map +1 -0
  370. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-dispatcher.factory.d.ts +7 -0
  371. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-dispatcher.factory.d.ts.map +1 -0
  372. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-dispatcher.factory.js +38 -0
  373. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-dispatcher.factory.js.map +1 -0
  374. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-dispatcher.js +2 -0
  375. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-dispatcher.js.map +1 -0
  376. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.d.ts +17 -0
  377. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.d.ts.map +1 -0
  378. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.js +37 -0
  379. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.js.map +1 -0
  380. package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.d.ts +38 -0
  381. package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.d.ts.map +1 -0
  382. package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.js +45 -0
  383. package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.js.map +1 -0
  384. package/dist/service/cloudfront/sim-cloudfront.d.ts +3 -0
  385. package/dist/service/cloudfront/sim-cloudfront.d.ts.map +1 -1
  386. package/dist/service/cloudfront/sim-cloudfront.js +4 -1
  387. package/dist/service/cloudfront/sim-cloudfront.js.map +1 -1
  388. package/dist/service/dynamodb/command/sim-dynamodb-command-handlers.d.ts +4 -0
  389. package/dist/service/dynamodb/command/sim-dynamodb-command-handlers.d.ts.map +1 -1
  390. package/dist/service/dynamodb/command/sim-dynamodb-command-handlers.js +2 -0
  391. package/dist/service/dynamodb/command/sim-dynamodb-command-handlers.js.map +1 -1
  392. package/dist/service/dynamodb/command/table/sim-dynamodb-create-table.d.ts +6 -0
  393. package/dist/service/dynamodb/command/table/sim-dynamodb-create-table.d.ts.map +1 -1
  394. package/dist/service/dynamodb/command/table/sim-dynamodb-create-table.js +11 -0
  395. package/dist/service/dynamodb/command/table/sim-dynamodb-create-table.js.map +1 -1
  396. package/dist/service/dynamodb/command/table/sim-dynamodb-unsimulated-table-input.d.ts +6 -5
  397. package/dist/service/dynamodb/command/table/sim-dynamodb-unsimulated-table-input.d.ts.map +1 -1
  398. package/dist/service/dynamodb/command/table/sim-dynamodb-unsimulated-table-input.js +6 -16
  399. package/dist/service/dynamodb/command/table/sim-dynamodb-unsimulated-table-input.js.map +1 -1
  400. package/dist/service/dynamodb/command/table/sim-dynamodb-unsimulated-update-input.d.ts +4 -4
  401. package/dist/service/dynamodb/command/table/sim-dynamodb-unsimulated-update-input.d.ts.map +1 -1
  402. package/dist/service/dynamodb/command/table/sim-dynamodb-unsimulated-update-input.js +4 -9
  403. package/dist/service/dynamodb/command/table/sim-dynamodb-unsimulated-update-input.js.map +1 -1
  404. package/dist/service/dynamodb/command/table/table.command.d.ts +2 -1
  405. package/dist/service/dynamodb/command/table/table.command.d.ts.map +1 -1
  406. package/dist/service/dynamodb/command/table/table.types.d.ts +4 -7
  407. package/dist/service/dynamodb/command/table/table.types.d.ts.map +1 -1
  408. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-cancellation.d.ts +12 -0
  409. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-cancellation.d.ts.map +1 -1
  410. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-cancellation.js +15 -2
  411. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-cancellation.js.map +1 -1
  412. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-key-actions.d.ts.map +1 -1
  413. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-key-actions.js +15 -3
  414. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-key-actions.js.map +1 -1
  415. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-put-action.d.ts.map +1 -1
  416. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-put-action.js +2 -2
  417. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-put-action.js.map +1 -1
  418. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-update-action.d.ts.map +1 -1
  419. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-update-action.js +6 -2
  420. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-update-action.js.map +1 -1
  421. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-write.d.ts +6 -2
  422. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-write.d.ts.map +1 -1
  423. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-write.js.map +1 -1
  424. package/dist/service/dynamodb/sim-dynamodb.d.ts +42 -60
  425. package/dist/service/dynamodb/sim-dynamodb.d.ts.map +1 -1
  426. package/dist/service/dynamodb/sim-dynamodb.js +48 -60
  427. package/dist/service/dynamodb/sim-dynamodb.js.map +1 -1
  428. package/dist/service/dynamodb/stream/sim-dynamodb-item-change.d.ts +34 -0
  429. package/dist/service/dynamodb/stream/sim-dynamodb-item-change.d.ts.map +1 -0
  430. package/dist/service/dynamodb/stream/sim-dynamodb-item-change.js +2 -0
  431. package/dist/service/dynamodb/stream/sim-dynamodb-item-change.js.map +1 -0
  432. package/dist/service/dynamodb/stream/sim-dynamodb-stream-activity.d.ts +42 -0
  433. package/dist/service/dynamodb/stream/sim-dynamodb-stream-activity.d.ts.map +1 -0
  434. package/dist/service/dynamodb/stream/sim-dynamodb-stream-activity.js +35 -0
  435. package/dist/service/dynamodb/stream/sim-dynamodb-stream-activity.js.map +1 -0
  436. package/dist/service/dynamodb/stream/sim-dynamodb-stream-arn.d.ts +22 -0
  437. package/dist/service/dynamodb/stream/sim-dynamodb-stream-arn.d.ts.map +1 -0
  438. package/dist/service/dynamodb/stream/sim-dynamodb-stream-arn.js +30 -0
  439. package/dist/service/dynamodb/stream/sim-dynamodb-stream-arn.js.map +1 -0
  440. package/dist/service/dynamodb/stream/sim-dynamodb-stream-images.d.ts +22 -0
  441. package/dist/service/dynamodb/stream/sim-dynamodb-stream-images.d.ts.map +1 -0
  442. package/dist/service/dynamodb/stream/sim-dynamodb-stream-images.js +27 -0
  443. package/dist/service/dynamodb/stream/sim-dynamodb-stream-images.js.map +1 -0
  444. package/dist/service/dynamodb/stream/sim-dynamodb-stream-record-keys.d.ts +15 -0
  445. package/dist/service/dynamodb/stream/sim-dynamodb-stream-record-keys.d.ts.map +1 -0
  446. package/dist/service/dynamodb/stream/sim-dynamodb-stream-record-keys.js +25 -0
  447. package/dist/service/dynamodb/stream/sim-dynamodb-stream-record-keys.js.map +1 -0
  448. package/dist/service/dynamodb/stream/sim-dynamodb-stream-record-size.d.ts +11 -0
  449. package/dist/service/dynamodb/stream/sim-dynamodb-stream-record-size.d.ts.map +1 -0
  450. package/dist/service/dynamodb/stream/sim-dynamodb-stream-record-size.js +74 -0
  451. package/dist/service/dynamodb/stream/sim-dynamodb-stream-record-size.js.map +1 -0
  452. package/dist/service/dynamodb/stream/sim-dynamodb-stream-record.d.ts +49 -0
  453. package/dist/service/dynamodb/stream/sim-dynamodb-stream-record.d.ts.map +1 -0
  454. package/dist/service/dynamodb/stream/sim-dynamodb-stream-record.js +60 -0
  455. package/dist/service/dynamodb/stream/sim-dynamodb-stream-record.js.map +1 -0
  456. package/dist/service/dynamodb/stream/sim-dynamodb-stream-sequence-numbers.d.ts +18 -0
  457. package/dist/service/dynamodb/stream/sim-dynamodb-stream-sequence-numbers.d.ts.map +1 -0
  458. package/dist/service/dynamodb/stream/sim-dynamodb-stream-sequence-numbers.js +31 -0
  459. package/dist/service/dynamodb/stream/sim-dynamodb-stream-sequence-numbers.js.map +1 -0
  460. package/dist/service/dynamodb/stream/sim-dynamodb-stream-shard.d.ts +39 -0
  461. package/dist/service/dynamodb/stream/sim-dynamodb-stream-shard.d.ts.map +1 -0
  462. package/dist/service/dynamodb/stream/sim-dynamodb-stream-shard.js +64 -0
  463. package/dist/service/dynamodb/stream/sim-dynamodb-stream-shard.js.map +1 -0
  464. package/dist/service/dynamodb/stream/sim-dynamodb-stream-specification.d.ts +28 -0
  465. package/dist/service/dynamodb/stream/sim-dynamodb-stream-specification.d.ts.map +1 -0
  466. package/dist/service/dynamodb/stream/sim-dynamodb-stream-specification.js +30 -0
  467. package/dist/service/dynamodb/stream/sim-dynamodb-stream-specification.js.map +1 -0
  468. package/dist/service/dynamodb/stream/sim-dynamodb-stream-store.d.ts +26 -0
  469. package/dist/service/dynamodb/stream/sim-dynamodb-stream-store.d.ts.map +1 -0
  470. package/dist/service/dynamodb/stream/sim-dynamodb-stream-store.js +29 -0
  471. package/dist/service/dynamodb/stream/sim-dynamodb-stream-store.js.map +1 -0
  472. package/dist/service/dynamodb/stream/sim-dynamodb-stream-update.d.ts +13 -0
  473. package/dist/service/dynamodb/stream/sim-dynamodb-stream-update.d.ts.map +1 -0
  474. package/dist/service/dynamodb/stream/sim-dynamodb-stream-update.js +48 -0
  475. package/dist/service/dynamodb/stream/sim-dynamodb-stream-update.js.map +1 -0
  476. package/dist/service/dynamodb/stream/sim-dynamodb-stream-view-type.d.ts +10 -0
  477. package/dist/service/dynamodb/stream/sim-dynamodb-stream-view-type.d.ts.map +1 -0
  478. package/dist/service/dynamodb/stream/sim-dynamodb-stream-view-type.js +38 -0
  479. package/dist/service/dynamodb/stream/sim-dynamodb-stream-view-type.js.map +1 -0
  480. package/dist/service/dynamodb/stream/sim-dynamodb-stream.d.ts +74 -0
  481. package/dist/service/dynamodb/stream/sim-dynamodb-stream.d.ts.map +1 -0
  482. package/dist/service/dynamodb/stream/sim-dynamodb-stream.js +82 -0
  483. package/dist/service/dynamodb/stream/sim-dynamodb-stream.js.map +1 -0
  484. package/dist/service/dynamodb/stream/sim-dynamodb-stream.types.d.ts +24 -0
  485. package/dist/service/dynamodb/stream/sim-dynamodb-stream.types.d.ts.map +1 -0
  486. package/dist/service/dynamodb/stream/sim-dynamodb-stream.types.js +2 -0
  487. package/dist/service/dynamodb/stream/sim-dynamodb-stream.types.js.map +1 -0
  488. package/dist/service/dynamodb/stream/sim-dynamodb-streamed-table.factory.d.ts +31 -0
  489. package/dist/service/dynamodb/stream/sim-dynamodb-streamed-table.factory.d.ts.map +1 -0
  490. package/dist/service/dynamodb/stream/sim-dynamodb-streamed-table.factory.js +45 -0
  491. package/dist/service/dynamodb/stream/sim-dynamodb-streamed-table.factory.js.map +1 -0
  492. package/dist/service/dynamodb/stream/sim-dynamodb-table-stream.d.ts +97 -0
  493. package/dist/service/dynamodb/stream/sim-dynamodb-table-stream.d.ts.map +1 -0
  494. package/dist/service/dynamodb/stream/sim-dynamodb-table-stream.js +135 -0
  495. package/dist/service/dynamodb/stream/sim-dynamodb-table-stream.js.map +1 -0
  496. package/dist/service/dynamodb/table/sim-dynamodb-table-description.d.ts.map +1 -1
  497. package/dist/service/dynamodb/table/sim-dynamodb-table-description.js +6 -0
  498. package/dist/service/dynamodb/table/sim-dynamodb-table-description.js.map +1 -1
  499. package/dist/service/dynamodb/table/sim-dynamodb-table-items.d.ts +33 -1
  500. package/dist/service/dynamodb/table/sim-dynamodb-table-items.d.ts.map +1 -1
  501. package/dist/service/dynamodb/table/sim-dynamodb-table-items.js +46 -1
  502. package/dist/service/dynamodb/table/sim-dynamodb-table-items.js.map +1 -1
  503. package/dist/service/dynamodb/table/sim-dynamodb-table-storage.d.ts +95 -0
  504. package/dist/service/dynamodb/table/sim-dynamodb-table-storage.d.ts.map +1 -0
  505. package/dist/service/dynamodb/table/sim-dynamodb-table-storage.js +120 -0
  506. package/dist/service/dynamodb/table/sim-dynamodb-table-storage.js.map +1 -0
  507. package/dist/service/dynamodb/table/sim-dynamodb-table-update.d.ts +2 -0
  508. package/dist/service/dynamodb/table/sim-dynamodb-table-update.d.ts.map +1 -1
  509. package/dist/service/dynamodb/table/sim-dynamodb-table-update.js +11 -6
  510. package/dist/service/dynamodb/table/sim-dynamodb-table-update.js.map +1 -1
  511. package/dist/service/dynamodb/table/sim-dynamodb-table-writes.d.ts +57 -0
  512. package/dist/service/dynamodb/table/sim-dynamodb-table-writes.d.ts.map +1 -0
  513. package/dist/service/dynamodb/table/sim-dynamodb-table-writes.js +72 -0
  514. package/dist/service/dynamodb/table/sim-dynamodb-table-writes.js.map +1 -0
  515. package/dist/service/dynamodb/table/sim-dynamodb-table.d.ts +33 -65
  516. package/dist/service/dynamodb/table/sim-dynamodb-table.d.ts.map +1 -1
  517. package/dist/service/dynamodb/table/sim-dynamodb-table.js +52 -91
  518. package/dist/service/dynamodb/table/sim-dynamodb-table.js.map +1 -1
  519. package/dist/service/dynamodb/table/sim-dynamodb-updatable-table.d.ts +6 -3
  520. package/dist/service/dynamodb/table/sim-dynamodb-updatable-table.d.ts.map +1 -1
  521. package/dist/service/dynamodb/time-to-live/sim-dynamodb-table-time-to-live.d.ts.map +1 -1
  522. package/dist/service/dynamodb/time-to-live/sim-dynamodb-table-time-to-live.js +5 -1
  523. package/dist/service/dynamodb/time-to-live/sim-dynamodb-table-time-to-live.js.map +1 -1
  524. package/dist/service/lambda/command/authorize/sim-lambda-service-invoke-authorizer.d.ts +56 -0
  525. package/dist/service/lambda/command/authorize/sim-lambda-service-invoke-authorizer.d.ts.map +1 -0
  526. package/dist/service/lambda/command/authorize/sim-lambda-service-invoke-authorizer.js +59 -0
  527. package/dist/service/lambda/command/authorize/sim-lambda-service-invoke-authorizer.js.map +1 -0
  528. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-input.d.ts +5 -2
  529. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-input.d.ts.map +1 -1
  530. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-input.js +13 -8
  531. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-input.js.map +1 -1
  532. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-refusals.d.ts +4 -0
  533. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-refusals.d.ts.map +1 -1
  534. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-refusals.js +32 -21
  535. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-refusals.js.map +1 -1
  536. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-values.d.ts +1 -6
  537. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-values.d.ts.map +1 -1
  538. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-values.js +1 -22
  539. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-values.js.map +1 -1
  540. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping.handler.d.ts +2 -1
  541. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping.handler.d.ts.map +1 -1
  542. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping.handler.js +3 -2
  543. package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping.handler.js.map +1 -1
  544. package/dist/service/lambda/event-source/poll/sim-lambda-batch-item-failures.d.ts +17 -0
  545. package/dist/service/lambda/event-source/poll/sim-lambda-batch-item-failures.d.ts.map +1 -0
  546. package/dist/service/lambda/event-source/poll/sim-lambda-batch-item-failures.js +46 -0
  547. package/dist/service/lambda/event-source/poll/sim-lambda-batch-item-failures.js.map +1 -0
  548. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-batch-response.d.ts +39 -0
  549. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-batch-response.d.ts.map +1 -0
  550. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-batch-response.js +28 -0
  551. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-batch-response.js.map +1 -0
  552. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-delivery.d.ts +33 -7
  553. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-delivery.d.ts.map +1 -1
  554. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-delivery.js +7 -6
  555. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-delivery.js.map +1 -1
  556. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poller-factory.d.ts +25 -0
  557. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poller-factory.d.ts.map +1 -0
  558. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poller-factory.js +16 -0
  559. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poller-factory.js.map +1 -0
  560. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poller.d.ts +9 -69
  561. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poller.d.ts.map +1 -1
  562. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poller.js +1 -135
  563. package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poller.js.map +1 -1
  564. package/dist/service/lambda/event-source/poll/sim-lambda-sqs-batch-response.d.ts +6 -30
  565. package/dist/service/lambda/event-source/poll/sim-lambda-sqs-batch-response.d.ts.map +1 -1
  566. package/dist/service/lambda/event-source/poll/sim-lambda-sqs-batch-response.js +9 -66
  567. package/dist/service/lambda/event-source/poll/sim-lambda-sqs-batch-response.js.map +1 -1
  568. package/dist/service/lambda/event-source/poll/sim-lambda-sqs-delivery.d.ts +17 -0
  569. package/dist/service/lambda/event-source/poll/sim-lambda-sqs-delivery.d.ts.map +1 -0
  570. package/dist/service/lambda/event-source/poll/sim-lambda-sqs-delivery.js +17 -0
  571. package/dist/service/lambda/event-source/poll/sim-lambda-sqs-delivery.js.map +1 -0
  572. package/dist/service/lambda/event-source/poll/sim-lambda-sqs-event-source-poller.d.ts +88 -0
  573. package/dist/service/lambda/event-source/poll/sim-lambda-sqs-event-source-poller.d.ts.map +1 -0
  574. package/dist/service/lambda/event-source/poll/sim-lambda-sqs-event-source-poller.js +132 -0
  575. package/dist/service/lambda/event-source/poll/sim-lambda-sqs-event-source-poller.js.map +1 -0
  576. package/dist/service/lambda/event-source/poll/sim-lambda-sqs-polled-queue.d.ts +41 -0
  577. package/dist/service/lambda/event-source/poll/sim-lambda-sqs-polled-queue.d.ts.map +1 -0
  578. package/dist/service/lambda/event-source/poll/sim-lambda-sqs-polled-queue.js +60 -0
  579. package/dist/service/lambda/event-source/poll/sim-lambda-sqs-polled-queue.js.map +1 -0
  580. package/dist/service/lambda/event-source/queue/sim-lambda-sqs-event-source-arn.d.ts +23 -5
  581. package/dist/service/lambda/event-source/queue/sim-lambda-sqs-event-source-arn.d.ts.map +1 -1
  582. package/dist/service/lambda/event-source/queue/sim-lambda-sqs-event-source-arn.js +65 -12
  583. package/dist/service/lambda/event-source/queue/sim-lambda-sqs-event-source-arn.js.map +1 -1
  584. package/dist/service/lambda/event-source/sim-lambda-event-source-arn.d.ts +23 -0
  585. package/dist/service/lambda/event-source/sim-lambda-event-source-arn.d.ts.map +1 -0
  586. package/dist/service/lambda/event-source/sim-lambda-event-source-arn.js +30 -0
  587. package/dist/service/lambda/event-source/sim-lambda-event-source-arn.js.map +1 -0
  588. package/dist/service/lambda/event-source/sim-lambda-event-source-batch-rules.d.ts +26 -0
  589. package/dist/service/lambda/event-source/sim-lambda-event-source-batch-rules.d.ts.map +1 -0
  590. package/dist/service/lambda/event-source/sim-lambda-event-source-batch-rules.js +35 -0
  591. package/dist/service/lambda/event-source/sim-lambda-event-source-batch-rules.js.map +1 -0
  592. package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.d.ts +6 -8
  593. package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.d.ts.map +1 -1
  594. package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.js +6 -9
  595. package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.js.map +1 -1
  596. package/dist/service/lambda/event-source/sim-lambda-event-source-pollers.d.ts +5 -5
  597. package/dist/service/lambda/event-source/sim-lambda-event-source-pollers.d.ts.map +1 -1
  598. package/dist/service/lambda/event-source/sim-lambda-event-source-pollers.js +5 -5
  599. package/dist/service/lambda/event-source/sim-lambda-event-source-pollers.js.map +1 -1
  600. package/dist/service/lambda/event-source/sim-lambda-event-source-polling-permission.d.ts +18 -0
  601. package/dist/service/lambda/event-source/sim-lambda-event-source-polling-permission.d.ts.map +1 -0
  602. package/dist/service/lambda/event-source/sim-lambda-event-source-polling-permission.js +23 -0
  603. package/dist/service/lambda/event-source/sim-lambda-event-source-polling-permission.js.map +1 -0
  604. package/dist/service/lambda/event-source/sim-lambda-event-source-role-permissions.d.ts +7 -3
  605. package/dist/service/lambda/event-source/sim-lambda-event-source-role-permissions.d.ts.map +1 -1
  606. package/dist/service/lambda/event-source/sim-lambda-event-source-role-permissions.js +13 -21
  607. package/dist/service/lambda/event-source/sim-lambda-event-source-role-permissions.js.map +1 -1
  608. package/dist/service/lambda/function/policy/sim-lambda-permission.d.ts +13 -2
  609. package/dist/service/lambda/function/policy/sim-lambda-permission.d.ts.map +1 -1
  610. package/dist/service/lambda/function/policy/sim-lambda-permission.js +17 -4
  611. package/dist/service/lambda/function/policy/sim-lambda-permission.js.map +1 -1
  612. package/dist/service/s3/bucket/notification/sim-s3-lambda-notification.d.ts +21 -0
  613. package/dist/service/s3/bucket/notification/sim-s3-lambda-notification.d.ts.map +1 -0
  614. package/dist/service/s3/bucket/notification/sim-s3-lambda-notification.js +25 -0
  615. package/dist/service/s3/bucket/notification/sim-s3-lambda-notification.js.map +1 -0
  616. package/dist/service/s3/bucket/notification/sim-s3-notification-configuration-reader.d.ts +23 -0
  617. package/dist/service/s3/bucket/notification/sim-s3-notification-configuration-reader.d.ts.map +1 -0
  618. package/dist/service/s3/bucket/notification/sim-s3-notification-configuration-reader.js +36 -0
  619. package/dist/service/s3/bucket/notification/sim-s3-notification-configuration-reader.js.map +1 -0
  620. package/dist/service/s3/bucket/notification/sim-s3-notification-configuration.d.ts +47 -0
  621. package/dist/service/s3/bucket/notification/sim-s3-notification-configuration.d.ts.map +1 -0
  622. package/dist/service/s3/bucket/notification/sim-s3-notification-configuration.js +55 -0
  623. package/dist/service/s3/bucket/notification/sim-s3-notification-configuration.js.map +1 -0
  624. package/dist/service/s3/bucket/notification/sim-s3-notification-event.d.ts +18 -0
  625. package/dist/service/s3/bucket/notification/sim-s3-notification-event.d.ts.map +1 -0
  626. package/dist/service/s3/bucket/notification/sim-s3-notification-event.js +50 -0
  627. package/dist/service/s3/bucket/notification/sim-s3-notification-event.js.map +1 -0
  628. package/dist/service/s3/bucket/notification/sim-s3-notification-filter.d.ts +42 -0
  629. package/dist/service/s3/bucket/notification/sim-s3-notification-filter.d.ts.map +1 -0
  630. package/dist/service/s3/bucket/notification/sim-s3-notification-filter.js +91 -0
  631. package/dist/service/s3/bucket/notification/sim-s3-notification-filter.js.map +1 -0
  632. package/dist/service/s3/bucket/notification/sim-s3-notification-ids.d.ts +9 -0
  633. package/dist/service/s3/bucket/notification/sim-s3-notification-ids.d.ts.map +1 -0
  634. package/dist/service/s3/bucket/notification/sim-s3-notification-ids.js +18 -0
  635. package/dist/service/s3/bucket/notification/sim-s3-notification-ids.js.map +1 -0
  636. package/dist/service/s3/bucket/notification/sim-s3-notification-overlap.d.ts +18 -0
  637. package/dist/service/s3/bucket/notification/sim-s3-notification-overlap.d.ts.map +1 -0
  638. package/dist/service/s3/bucket/notification/sim-s3-notification-overlap.js +30 -0
  639. package/dist/service/s3/bucket/notification/sim-s3-notification-overlap.js.map +1 -0
  640. package/dist/service/s3/bucket/notification/sim-s3-notification-properties.d.ts +19 -0
  641. package/dist/service/s3/bucket/notification/sim-s3-notification-properties.d.ts.map +1 -0
  642. package/dist/service/s3/bucket/notification/sim-s3-notification-properties.js +27 -0
  643. package/dist/service/s3/bucket/notification/sim-s3-notification-properties.js.map +1 -0
  644. package/dist/service/s3/bucket/notification/sim-s3-notification.d.ts +61 -0
  645. package/dist/service/s3/bucket/notification/sim-s3-notification.d.ts.map +1 -0
  646. package/dist/service/s3/bucket/notification/sim-s3-notification.js +50 -0
  647. package/dist/service/s3/bucket/notification/sim-s3-notification.js.map +1 -0
  648. package/dist/service/s3/bucket/notification/sim-s3-queue-notification.d.ts +21 -0
  649. package/dist/service/s3/bucket/notification/sim-s3-queue-notification.d.ts.map +1 -0
  650. package/dist/service/s3/bucket/notification/sim-s3-queue-notification.js +24 -0
  651. package/dist/service/s3/bucket/notification/sim-s3-queue-notification.js.map +1 -0
  652. package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-destinations.d.ts +10 -0
  653. package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-destinations.d.ts.map +1 -0
  654. package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-destinations.js +31 -0
  655. package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-destinations.js.map +1 -0
  656. package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.d.ts +13 -0
  657. package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.d.ts.map +1 -0
  658. package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.js +37 -0
  659. package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.js.map +1 -0
  660. package/dist/service/s3/bucket/sim-s3-bucket.d.ts +24 -0
  661. package/dist/service/s3/bucket/sim-s3-bucket.d.ts.map +1 -1
  662. package/dist/service/s3/bucket/sim-s3-bucket.js +31 -1
  663. package/dist/service/s3/bucket/sim-s3-bucket.js.map +1 -1
  664. package/dist/service/s3/cfn/bucket/error/sim-cfn-s3-bucket-error.d.ts +20 -0
  665. package/dist/service/s3/cfn/bucket/error/sim-cfn-s3-bucket-error.d.ts.map +1 -0
  666. package/dist/service/s3/cfn/bucket/error/sim-cfn-s3-bucket-error.js +24 -0
  667. package/dist/service/s3/cfn/bucket/error/sim-cfn-s3-bucket-error.js.map +1 -0
  668. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-configuration.d.ts +36 -0
  669. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-configuration.d.ts.map +1 -0
  670. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-configuration.js +111 -0
  671. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-configuration.js.map +1 -0
  672. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-filter.d.ts +22 -0
  673. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-filter.d.ts.map +1 -0
  674. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-filter.js +54 -0
  675. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-filter.js.map +1 -0
  676. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-handler.resources.d.ts +26 -0
  677. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-handler.resources.d.ts.map +1 -0
  678. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-handler.resources.js +60 -0
  679. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-handler.resources.js.map +1 -0
  680. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-template.factory.d.ts +44 -0
  681. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-template.factory.d.ts.map +1 -0
  682. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-template.factory.js +67 -0
  683. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-template.factory.js.map +1 -0
  684. package/dist/service/s3/cfn/bucket/public-access/sim-cfn-s3-bucket-public-access-configuration.d.ts +24 -0
  685. package/dist/service/s3/cfn/bucket/public-access/sim-cfn-s3-bucket-public-access-configuration.d.ts.map +1 -0
  686. package/dist/service/s3/cfn/bucket/public-access/sim-cfn-s3-bucket-public-access-configuration.js +33 -0
  687. package/dist/service/s3/cfn/bucket/public-access/sim-cfn-s3-bucket-public-access-configuration.js.map +1 -0
  688. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-configurator.d.ts +36 -0
  689. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-configurator.d.ts.map +1 -0
  690. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-configurator.js +69 -0
  691. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-configurator.js.map +1 -0
  692. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-creator.d.ts +9 -5
  693. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-creator.d.ts.map +1 -1
  694. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-creator.js +22 -62
  695. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-creator.js.map +1 -1
  696. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-property-rules.d.ts +33 -0
  697. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-property-rules.d.ts.map +1 -0
  698. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-property-rules.js +105 -0
  699. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-property-rules.js.map +1 -0
  700. package/dist/service/s3/cfn/bucket/website/sim-cfn-s3-bucket-website-configuration.d.ts +29 -0
  701. package/dist/service/s3/cfn/bucket/website/sim-cfn-s3-bucket-website-configuration.d.ts.map +1 -0
  702. package/dist/service/s3/cfn/bucket/website/sim-cfn-s3-bucket-website-configuration.js +59 -0
  703. package/dist/service/s3/cfn/bucket/website/sim-cfn-s3-bucket-website-configuration.js.map +1 -0
  704. package/dist/service/s3/command/bucket/sim-s3-bucket-commands.d.ts +34 -0
  705. package/dist/service/s3/command/bucket/sim-s3-bucket-commands.d.ts.map +1 -0
  706. package/dist/service/s3/command/bucket/sim-s3-bucket-commands.js +35 -0
  707. package/dist/service/s3/command/bucket/sim-s3-bucket-commands.js.map +1 -0
  708. package/dist/service/s3/command/bucket-policy/sim-s3-bucket-policy-commands.d.ts +23 -0
  709. package/dist/service/s3/command/bucket-policy/sim-s3-bucket-policy-commands.d.ts.map +1 -0
  710. package/dist/service/s3/command/bucket-policy/sim-s3-bucket-policy-commands.js +31 -0
  711. package/dist/service/s3/command/bucket-policy/sim-s3-bucket-policy-commands.js.map +1 -0
  712. package/dist/service/s3/command/delete-object/delete-object-authorizer.d.ts +33 -0
  713. package/dist/service/s3/command/delete-object/delete-object-authorizer.d.ts.map +1 -0
  714. package/dist/service/s3/command/delete-object/delete-object-authorizer.js +46 -0
  715. package/dist/service/s3/command/delete-object/delete-object-authorizer.js.map +1 -0
  716. package/dist/service/s3/command/delete-object/delete-object.command.d.ts +24 -0
  717. package/dist/service/s3/command/delete-object/delete-object.command.d.ts.map +1 -0
  718. package/dist/service/s3/command/delete-object/delete-object.command.js +2 -0
  719. package/dist/service/s3/command/delete-object/delete-object.command.js.map +1 -0
  720. package/dist/service/s3/command/delete-object/delete-object.handler.d.ts +38 -0
  721. package/dist/service/s3/command/delete-object/delete-object.handler.d.ts.map +1 -0
  722. package/dist/service/s3/command/delete-object/delete-object.handler.js +53 -0
  723. package/dist/service/s3/command/delete-object/delete-object.handler.js.map +1 -0
  724. package/dist/service/s3/command/delete-objects/delete-object-attempt.d.ts +12 -0
  725. package/dist/service/s3/command/delete-objects/delete-object-attempt.d.ts.map +1 -0
  726. package/dist/service/s3/command/delete-objects/delete-object-attempt.js +15 -0
  727. package/dist/service/s3/command/delete-objects/delete-object-attempt.js.map +1 -0
  728. package/dist/service/s3/command/delete-objects/delete-objects-key-removal.d.ts +28 -0
  729. package/dist/service/s3/command/delete-objects/delete-objects-key-removal.d.ts.map +1 -0
  730. package/dist/service/s3/command/delete-objects/delete-objects-key-removal.js +39 -0
  731. package/dist/service/s3/command/delete-objects/delete-objects-key-removal.js.map +1 -0
  732. package/dist/service/s3/command/delete-objects/delete-objects-outcome.d.ts +34 -0
  733. package/dist/service/s3/command/delete-objects/delete-objects-outcome.d.ts.map +1 -0
  734. package/dist/service/s3/command/delete-objects/delete-objects-outcome.js +64 -0
  735. package/dist/service/s3/command/delete-objects/delete-objects-outcome.js.map +1 -0
  736. package/dist/service/s3/command/delete-objects/delete-objects-request.d.ts +14 -0
  737. package/dist/service/s3/command/delete-objects/delete-objects-request.d.ts.map +1 -0
  738. package/dist/service/s3/command/delete-objects/delete-objects-request.js +34 -0
  739. package/dist/service/s3/command/delete-objects/delete-objects-request.js.map +1 -0
  740. package/dist/service/s3/command/delete-objects/delete-objects.command.d.ts +53 -0
  741. package/dist/service/s3/command/delete-objects/delete-objects.command.d.ts.map +1 -0
  742. package/dist/service/s3/command/delete-objects/delete-objects.command.js +2 -0
  743. package/dist/service/s3/command/delete-objects/delete-objects.command.js.map +1 -0
  744. package/dist/service/s3/command/delete-objects/delete-objects.handler.d.ts +36 -0
  745. package/dist/service/s3/command/delete-objects/delete-objects.handler.d.ts.map +1 -0
  746. package/dist/service/s3/command/delete-objects/delete-objects.handler.js +43 -0
  747. package/dist/service/s3/command/delete-objects/delete-objects.handler.js.map +1 -0
  748. package/dist/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.command.d.ts +35 -0
  749. package/dist/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.command.d.ts.map +1 -0
  750. package/dist/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.command.js +2 -0
  751. package/dist/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.command.js.map +1 -0
  752. package/dist/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.handler.d.ts +35 -0
  753. package/dist/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.handler.d.ts.map +1 -0
  754. package/dist/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.handler.js +40 -0
  755. package/dist/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.handler.js.map +1 -0
  756. package/dist/service/s3/command/notification/sim-s3-notification-authorizer.d.ts +33 -0
  757. package/dist/service/s3/command/notification/sim-s3-notification-authorizer.d.ts.map +1 -0
  758. package/dist/service/s3/command/notification/sim-s3-notification-authorizer.js +50 -0
  759. package/dist/service/s3/command/notification/sim-s3-notification-authorizer.js.map +1 -0
  760. package/dist/service/s3/command/notification/sim-s3-notification-commands.d.ts +19 -0
  761. package/dist/service/s3/command/notification/sim-s3-notification-commands.d.ts.map +1 -0
  762. package/dist/service/s3/command/notification/sim-s3-notification-commands.js +24 -0
  763. package/dist/service/s3/command/notification/sim-s3-notification-commands.js.map +1 -0
  764. package/dist/service/s3/command/object/sim-s3-object-commands.d.ts +31 -0
  765. package/dist/service/s3/command/object/sim-s3-object-commands.d.ts.map +1 -0
  766. package/dist/service/s3/command/object/sim-s3-object-commands.js +45 -0
  767. package/dist/service/s3/command/object/sim-s3-object-commands.js.map +1 -0
  768. package/dist/service/s3/command/public-access-block/sim-s3-public-access-block-commands.d.ts +23 -0
  769. package/dist/service/s3/command/public-access-block/sim-s3-public-access-block-commands.d.ts.map +1 -0
  770. package/dist/service/s3/command/public-access-block/sim-s3-public-access-block-commands.js +31 -0
  771. package/dist/service/s3/command/public-access-block/sim-s3-public-access-block-commands.js.map +1 -0
  772. package/dist/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.command.d.ts +73 -0
  773. package/dist/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.command.d.ts.map +1 -0
  774. package/dist/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.command.js +2 -0
  775. package/dist/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.command.js.map +1 -0
  776. package/dist/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.handler.d.ts +39 -0
  777. package/dist/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.handler.d.ts.map +1 -0
  778. package/dist/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.handler.js +50 -0
  779. package/dist/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.handler.js.map +1 -0
  780. package/dist/service/s3/command/put-object/put-object-authorizer.d.ts +6 -1
  781. package/dist/service/s3/command/put-object/put-object-authorizer.d.ts.map +1 -1
  782. package/dist/service/s3/command/put-object/put-object-authorizer.js +5 -0
  783. package/dist/service/s3/command/put-object/put-object-authorizer.js.map +1 -1
  784. package/dist/service/s3/command/put-object/put-object.handler.d.ts +3 -0
  785. package/dist/service/s3/command/put-object/put-object.handler.d.ts.map +1 -1
  786. package/dist/service/s3/command/put-object/put-object.handler.js +6 -1
  787. package/dist/service/s3/command/put-object/put-object.handler.js.map +1 -1
  788. package/dist/service/s3/command/sim-s3-bucket-command-state.d.ts +23 -0
  789. package/dist/service/s3/command/sim-s3-bucket-command-state.d.ts.map +1 -0
  790. package/dist/service/s3/command/sim-s3-bucket-command-state.js +2 -0
  791. package/dist/service/s3/command/sim-s3-bucket-command-state.js.map +1 -0
  792. package/dist/service/s3/command/sim-s3-command.types.d.ts +4 -0
  793. package/dist/service/s3/command/sim-s3-command.types.d.ts.map +1 -1
  794. package/dist/service/s3/command/sim-s3-request-options.d.ts +11 -0
  795. package/dist/service/s3/command/sim-s3-request-options.d.ts.map +1 -0
  796. package/dist/service/s3/command/sim-s3-request-options.js +2 -0
  797. package/dist/service/s3/command/sim-s3-request-options.js.map +1 -0
  798. package/dist/service/s3/error/sim-s3-notification.error.d.ts +24 -0
  799. package/dist/service/s3/error/sim-s3-notification.error.d.ts.map +1 -0
  800. package/dist/service/s3/error/sim-s3-notification.error.js +24 -0
  801. package/dist/service/s3/error/sim-s3-notification.error.js.map +1 -0
  802. package/dist/service/s3/error/sim-s3.error.d.ts +32 -0
  803. package/dist/service/s3/error/sim-s3.error.d.ts.map +1 -1
  804. package/dist/service/s3/error/sim-s3.error.js +38 -0
  805. package/dist/service/s3/error/sim-s3.error.js.map +1 -1
  806. package/dist/service/s3/index.d.ts +1 -0
  807. package/dist/service/s3/index.d.ts.map +1 -1
  808. package/dist/service/s3/notification/destination/lambda/sim-aws-s3-notification-functions.d.ts +44 -0
  809. package/dist/service/s3/notification/destination/lambda/sim-aws-s3-notification-functions.d.ts.map +1 -0
  810. package/dist/service/s3/notification/destination/lambda/sim-aws-s3-notification-functions.js +75 -0
  811. package/dist/service/s3/notification/destination/lambda/sim-aws-s3-notification-functions.js.map +1 -0
  812. package/dist/service/s3/notification/destination/lambda/sim-s3-lambda-notification-destination.d.ts +30 -0
  813. package/dist/service/s3/notification/destination/lambda/sim-s3-lambda-notification-destination.d.ts.map +1 -0
  814. package/dist/service/s3/notification/destination/lambda/sim-s3-lambda-notification-destination.js +40 -0
  815. package/dist/service/s3/notification/destination/lambda/sim-s3-lambda-notification-destination.js.map +1 -0
  816. package/dist/service/s3/notification/destination/lambda/sim-s3-notification-function-arn.d.ts +24 -0
  817. package/dist/service/s3/notification/destination/lambda/sim-s3-notification-function-arn.d.ts.map +1 -0
  818. package/dist/service/s3/notification/destination/lambda/sim-s3-notification-function-arn.js +45 -0
  819. package/dist/service/s3/notification/destination/lambda/sim-s3-notification-function-arn.js.map +1 -0
  820. package/dist/service/s3/notification/destination/lambda/sim-s3-notification-functions.d.ts +23 -0
  821. package/dist/service/s3/notification/destination/lambda/sim-s3-notification-functions.d.ts.map +1 -0
  822. package/dist/service/s3/notification/destination/lambda/sim-s3-notification-functions.js +2 -0
  823. package/dist/service/s3/notification/destination/lambda/sim-s3-notification-functions.js.map +1 -0
  824. package/dist/service/s3/notification/destination/sim-s3-notification-destination-check.d.ts +20 -0
  825. package/dist/service/s3/notification/destination/sim-s3-notification-destination-check.d.ts.map +1 -0
  826. package/dist/service/s3/notification/destination/sim-s3-notification-destination-check.js +32 -0
  827. package/dist/service/s3/notification/destination/sim-s3-notification-destination-check.js.map +1 -0
  828. package/dist/service/s3/notification/destination/sim-s3-notification-destination.d.ts +68 -0
  829. package/dist/service/s3/notification/destination/sim-s3-notification-destination.d.ts.map +1 -0
  830. package/dist/service/s3/notification/destination/sim-s3-notification-destination.js +2 -0
  831. package/dist/service/s3/notification/destination/sim-s3-notification-destination.js.map +1 -0
  832. package/dist/service/s3/notification/destination/sim-s3-service-notification-destinations.d.ts +38 -0
  833. package/dist/service/s3/notification/destination/sim-s3-service-notification-destinations.d.ts.map +1 -0
  834. package/dist/service/s3/notification/destination/sim-s3-service-notification-destinations.js +50 -0
  835. package/dist/service/s3/notification/destination/sim-s3-service-notification-destinations.js.map +1 -0
  836. package/dist/service/s3/notification/destination/sim-s3-service-principal.d.ts +8 -0
  837. package/dist/service/s3/notification/destination/sim-s3-service-principal.d.ts.map +1 -0
  838. package/dist/service/s3/notification/destination/sim-s3-service-principal.js +8 -0
  839. package/dist/service/s3/notification/destination/sim-s3-service-principal.js.map +1 -0
  840. package/dist/service/s3/notification/destination/sqs/sim-aws-s3-notification-queues.d.ts +40 -0
  841. package/dist/service/s3/notification/destination/sqs/sim-aws-s3-notification-queues.d.ts.map +1 -0
  842. package/dist/service/s3/notification/destination/sqs/sim-aws-s3-notification-queues.js +52 -0
  843. package/dist/service/s3/notification/destination/sqs/sim-aws-s3-notification-queues.js.map +1 -0
  844. package/dist/service/s3/notification/destination/sqs/sim-s3-notification-queue-arn.d.ts +33 -0
  845. package/dist/service/s3/notification/destination/sqs/sim-s3-notification-queue-arn.d.ts.map +1 -0
  846. package/dist/service/s3/notification/destination/sqs/sim-s3-notification-queue-arn.js +64 -0
  847. package/dist/service/s3/notification/destination/sqs/sim-s3-notification-queue-arn.js.map +1 -0
  848. package/dist/service/s3/notification/destination/sqs/sim-s3-notification-queue.d.ts +33 -0
  849. package/dist/service/s3/notification/destination/sqs/sim-s3-notification-queue.d.ts.map +1 -0
  850. package/dist/service/s3/notification/destination/sqs/sim-s3-notification-queue.js +55 -0
  851. package/dist/service/s3/notification/destination/sqs/sim-s3-notification-queue.js.map +1 -0
  852. package/dist/service/s3/notification/destination/sqs/sim-s3-notification-queues.d.ts +23 -0
  853. package/dist/service/s3/notification/destination/sqs/sim-s3-notification-queues.d.ts.map +1 -0
  854. package/dist/service/s3/notification/destination/sqs/sim-s3-notification-queues.js +2 -0
  855. package/dist/service/s3/notification/destination/sqs/sim-s3-notification-queues.js.map +1 -0
  856. package/dist/service/s3/notification/destination/sqs/sim-s3-sqs-notification-destination.d.ts +40 -0
  857. package/dist/service/s3/notification/destination/sqs/sim-s3-sqs-notification-destination.d.ts.map +1 -0
  858. package/dist/service/s3/notification/destination/sqs/sim-s3-sqs-notification-destination.js +51 -0
  859. package/dist/service/s3/notification/destination/sqs/sim-s3-sqs-notification-destination.js.map +1 -0
  860. package/dist/service/s3/notification/event/sim-s3-event-principal.d.ts +13 -0
  861. package/dist/service/s3/notification/event/sim-s3-event-principal.d.ts.map +1 -0
  862. package/dist/service/s3/notification/event/sim-s3-event-principal.js +20 -0
  863. package/dist/service/s3/notification/event/sim-s3-event-principal.js.map +1 -0
  864. package/dist/service/s3/notification/event/sim-s3-event-records.d.ts +21 -0
  865. package/dist/service/s3/notification/event/sim-s3-event-records.d.ts.map +1 -0
  866. package/dist/service/s3/notification/event/sim-s3-event-records.js +90 -0
  867. package/dist/service/s3/notification/event/sim-s3-event-records.js.map +1 -0
  868. package/dist/service/s3/notification/event/sim-s3-object-etag.d.ts +8 -0
  869. package/dist/service/s3/notification/event/sim-s3-object-etag.d.ts.map +1 -0
  870. package/dist/service/s3/notification/event/sim-s3-object-etag.js +11 -0
  871. package/dist/service/s3/notification/event/sim-s3-object-etag.js.map +1 -0
  872. package/dist/service/s3/notification/event/sim-s3-object-event-builder.d.ts +63 -0
  873. package/dist/service/s3/notification/event/sim-s3-object-event-builder.d.ts.map +1 -0
  874. package/dist/service/s3/notification/event/sim-s3-object-event-builder.js +65 -0
  875. package/dist/service/s3/notification/event/sim-s3-object-event-builder.js.map +1 -0
  876. package/dist/service/s3/notification/event/sim-s3-object-event.d.ts +42 -0
  877. package/dist/service/s3/notification/event/sim-s3-object-event.d.ts.map +1 -0
  878. package/dist/service/s3/notification/event/sim-s3-object-event.js +38 -0
  879. package/dist/service/s3/notification/event/sim-s3-object-event.js.map +1 -0
  880. package/dist/service/s3/notification/sim-s3-notification-ceiling.d.ts +26 -0
  881. package/dist/service/s3/notification/sim-s3-notification-ceiling.d.ts.map +1 -0
  882. package/dist/service/s3/notification/sim-s3-notification-ceiling.js +39 -0
  883. package/dist/service/s3/notification/sim-s3-notification-ceiling.js.map +1 -0
  884. package/dist/service/s3/notification/sim-s3-notification-dispatcher.d.ts +33 -0
  885. package/dist/service/s3/notification/sim-s3-notification-dispatcher.d.ts.map +1 -0
  886. package/dist/service/s3/notification/sim-s3-notification-dispatcher.js +53 -0
  887. package/dist/service/s3/notification/sim-s3-notification-dispatcher.js.map +1 -0
  888. package/dist/service/s3/notification/sim-s3-notification-failures.d.ts +56 -0
  889. package/dist/service/s3/notification/sim-s3-notification-failures.d.ts.map +1 -0
  890. package/dist/service/s3/notification/sim-s3-notification-failures.js +80 -0
  891. package/dist/service/s3/notification/sim-s3-notification-failures.js.map +1 -0
  892. package/dist/service/s3/notification/sim-s3-notification-schedule.d.ts +31 -0
  893. package/dist/service/s3/notification/sim-s3-notification-schedule.d.ts.map +1 -0
  894. package/dist/service/s3/notification/sim-s3-notification-schedule.js +35 -0
  895. package/dist/service/s3/notification/sim-s3-notification-schedule.js.map +1 -0
  896. package/dist/service/s3/notification/sim-s3-object-notifier.d.ts +38 -0
  897. package/dist/service/s3/notification/sim-s3-object-notifier.d.ts.map +1 -0
  898. package/dist/service/s3/notification/sim-s3-object-notifier.js +46 -0
  899. package/dist/service/s3/notification/sim-s3-object-notifier.js.map +1 -0
  900. package/dist/service/s3/notification/sim-s3-object-sequencers.d.ts +19 -0
  901. package/dist/service/s3/notification/sim-s3-object-sequencers.d.ts.map +1 -0
  902. package/dist/service/s3/notification/sim-s3-object-sequencers.js +24 -0
  903. package/dist/service/s3/notification/sim-s3-object-sequencers.js.map +1 -0
  904. package/dist/service/s3/sdk/sim-s3-sdk-command-router.d.ts.map +1 -1
  905. package/dist/service/s3/sdk/sim-s3-sdk-command-router.js +16 -0
  906. package/dist/service/s3/sdk/sim-s3-sdk-command-router.js.map +1 -1
  907. package/dist/service/s3/serve/sim-s3-rest-controller.d.ts +8 -1
  908. package/dist/service/s3/serve/sim-s3-rest-controller.d.ts.map +1 -1
  909. package/dist/service/s3/serve/sim-s3-rest-controller.js +15 -27
  910. package/dist/service/s3/serve/sim-s3-rest-controller.js.map +1 -1
  911. package/dist/service/s3/serve/sim-s3-rest-object-reader.d.ts +17 -0
  912. package/dist/service/s3/serve/sim-s3-rest-object-reader.d.ts.map +1 -0
  913. package/dist/service/s3/serve/sim-s3-rest-object-reader.js +40 -0
  914. package/dist/service/s3/serve/sim-s3-rest-object-reader.js.map +1 -0
  915. package/dist/service/s3/serve/sim-s3-rest-refusal.js +2 -2
  916. package/dist/service/s3/serve/sim-s3-rest-refusal.js.map +1 -1
  917. package/dist/service/s3/sim-s3-commands.d.ts +51 -0
  918. package/dist/service/s3/sim-s3-commands.d.ts.map +1 -0
  919. package/dist/service/s3/sim-s3-commands.js +49 -0
  920. package/dist/service/s3/sim-s3-commands.js.map +1 -0
  921. package/dist/service/s3/sim-s3.d.ts +39 -27
  922. package/dist/service/s3/sim-s3.d.ts.map +1 -1
  923. package/dist/service/s3/sim-s3.js +50 -20
  924. package/dist/service/s3/sim-s3.js.map +1 -1
  925. package/dist/service/s3/storage/filesystem/s3-filesystem-object-keys.d.ts +27 -0
  926. package/dist/service/s3/storage/filesystem/s3-filesystem-object-keys.d.ts.map +1 -0
  927. package/dist/service/s3/storage/filesystem/s3-filesystem-object-keys.js +55 -0
  928. package/dist/service/s3/storage/filesystem/s3-filesystem-object-keys.js.map +1 -0
  929. package/dist/service/s3/storage/filesystem/s3-filesystem-storage.d.ts +11 -2
  930. package/dist/service/s3/storage/filesystem/s3-filesystem-storage.d.ts.map +1 -1
  931. package/dist/service/s3/storage/filesystem/s3-filesystem-storage.js +23 -33
  932. package/dist/service/s3/storage/filesystem/s3-filesystem-storage.js.map +1 -1
  933. package/dist/service/s3/storage/s3-bucket-storage.d.ts +8 -0
  934. package/dist/service/s3/storage/s3-bucket-storage.d.ts.map +1 -1
  935. package/dist/service/s3/storage/s3-memory-storage.d.ts +7 -0
  936. package/dist/service/s3/storage/s3-memory-storage.d.ts.map +1 -1
  937. package/dist/service/s3/storage/s3-memory-storage.js +9 -0
  938. package/dist/service/s3/storage/s3-memory-storage.js.map +1 -1
  939. package/dist/service/sqs/cfn/queue-policy/sim-cfn-sqs-queue-policy-creator.d.ts +42 -0
  940. package/dist/service/sqs/cfn/queue-policy/sim-cfn-sqs-queue-policy-creator.d.ts.map +1 -0
  941. package/dist/service/sqs/cfn/queue-policy/sim-cfn-sqs-queue-policy-creator.js +79 -0
  942. package/dist/service/sqs/cfn/queue-policy/sim-cfn-sqs-queue-policy-creator.js.map +1 -0
  943. package/dist/service/sqs/cfn/sim-sqs-cfn-resource-factory.d.ts +3 -3
  944. package/dist/service/sqs/cfn/sim-sqs-cfn-resource-factory.d.ts.map +1 -1
  945. package/dist/service/sqs/cfn/sim-sqs-cfn-resource-factory.js +10 -3
  946. package/dist/service/sqs/cfn/sim-sqs-cfn-resource-factory.js.map +1 -1
  947. package/dist/service/sqs/command/authorize/sim-sqs-authorizer.d.ts +23 -8
  948. package/dist/service/sqs/command/authorize/sim-sqs-authorizer.d.ts.map +1 -1
  949. package/dist/service/sqs/command/authorize/sim-sqs-authorizer.js +35 -13
  950. package/dist/service/sqs/command/authorize/sim-sqs-authorizer.js.map +1 -1
  951. package/dist/service/sqs/command/authorize/sim-sqs-condition-context.d.ts +13 -0
  952. package/dist/service/sqs/command/authorize/sim-sqs-condition-context.d.ts.map +1 -0
  953. package/dist/service/sqs/command/authorize/sim-sqs-condition-context.js +21 -0
  954. package/dist/service/sqs/command/authorize/sim-sqs-condition-context.js.map +1 -0
  955. package/dist/service/sqs/command/authorize/sim-sqs-queue-resource-policies.d.ts +12 -0
  956. package/dist/service/sqs/command/authorize/sim-sqs-queue-resource-policies.d.ts.map +1 -0
  957. package/dist/service/sqs/command/authorize/sim-sqs-queue-resource-policies.js +25 -0
  958. package/dist/service/sqs/command/authorize/sim-sqs-queue-resource-policies.js.map +1 -0
  959. package/dist/service/sqs/command/authorize/sim-sqs-service-send-authorizer.d.ts +40 -0
  960. package/dist/service/sqs/command/authorize/sim-sqs-service-send-authorizer.d.ts.map +1 -0
  961. package/dist/service/sqs/command/authorize/sim-sqs-service-send-authorizer.js +40 -0
  962. package/dist/service/sqs/command/authorize/sim-sqs-service-send-authorizer.js.map +1 -0
  963. package/dist/service/sqs/command/message/sim-sqs-change-message-visibility.d.ts +2 -5
  964. package/dist/service/sqs/command/message/sim-sqs-change-message-visibility.d.ts.map +1 -1
  965. package/dist/service/sqs/command/message/sim-sqs-change-message-visibility.js +1 -1
  966. package/dist/service/sqs/command/message/sim-sqs-change-message-visibility.js.map +1 -1
  967. package/dist/service/sqs/command/message/sim-sqs-delete-message-commands.d.ts +3 -6
  968. package/dist/service/sqs/command/message/sim-sqs-delete-message-commands.d.ts.map +1 -1
  969. package/dist/service/sqs/command/message/sim-sqs-delete-message-commands.js +2 -2
  970. package/dist/service/sqs/command/message/sim-sqs-delete-message-commands.js.map +1 -1
  971. package/dist/service/sqs/command/message/sim-sqs-receive-message.d.ts +2 -5
  972. package/dist/service/sqs/command/message/sim-sqs-receive-message.d.ts.map +1 -1
  973. package/dist/service/sqs/command/message/sim-sqs-receive-message.js +1 -1
  974. package/dist/service/sqs/command/message/sim-sqs-receive-message.js.map +1 -1
  975. package/dist/service/sqs/command/message/sim-sqs-send-message-commands.d.ts +3 -6
  976. package/dist/service/sqs/command/message/sim-sqs-send-message-commands.d.ts.map +1 -1
  977. package/dist/service/sqs/command/message/sim-sqs-send-message-commands.js +2 -2
  978. package/dist/service/sqs/command/message/sim-sqs-send-message-commands.js.map +1 -1
  979. package/dist/service/sqs/command/queue/sim-sqs-create-queue.d.ts +2 -5
  980. package/dist/service/sqs/command/queue/sim-sqs-create-queue.d.ts.map +1 -1
  981. package/dist/service/sqs/command/queue/sim-sqs-create-queue.js +1 -1
  982. package/dist/service/sqs/command/queue/sim-sqs-create-queue.js.map +1 -1
  983. package/dist/service/sqs/command/queue/sim-sqs-queue-access.d.ts +22 -14
  984. package/dist/service/sqs/command/queue/sim-sqs-queue-access.d.ts.map +1 -1
  985. package/dist/service/sqs/command/queue/sim-sqs-queue-access.js +31 -20
  986. package/dist/service/sqs/command/queue/sim-sqs-queue-access.js.map +1 -1
  987. package/dist/service/sqs/command/queue/sim-sqs-queue-attribute-commands.d.ts +4 -7
  988. package/dist/service/sqs/command/queue/sim-sqs-queue-attribute-commands.d.ts.map +1 -1
  989. package/dist/service/sqs/command/queue/sim-sqs-queue-attribute-commands.js +3 -3
  990. package/dist/service/sqs/command/queue/sim-sqs-queue-attribute-commands.js.map +1 -1
  991. package/dist/service/sqs/command/queue/sim-sqs-queue-commands.d.ts +4 -7
  992. package/dist/service/sqs/command/queue/sim-sqs-queue-commands.d.ts.map +1 -1
  993. package/dist/service/sqs/command/queue/sim-sqs-queue-commands.js +3 -3
  994. package/dist/service/sqs/command/queue/sim-sqs-queue-commands.js.map +1 -1
  995. package/dist/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.d.ts +4 -1
  996. package/dist/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.d.ts.map +1 -1
  997. package/dist/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.js +4 -1
  998. package/dist/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.js.map +1 -1
  999. package/dist/service/sqs/command/sim-sqs-request-options.d.ts +47 -0
  1000. package/dist/service/sqs/command/sim-sqs-request-options.d.ts.map +1 -0
  1001. package/dist/service/sqs/command/sim-sqs-request-options.js +19 -0
  1002. package/dist/service/sqs/command/sim-sqs-request-options.js.map +1 -0
  1003. package/dist/service/sqs/index.d.ts +4 -2
  1004. package/dist/service/sqs/index.d.ts.map +1 -1
  1005. package/dist/service/sqs/index.js +3 -1
  1006. package/dist/service/sqs/index.js.map +1 -1
  1007. package/dist/service/sqs/queue/sim-sqs-queue-arn.d.ts +17 -2
  1008. package/dist/service/sqs/queue/sim-sqs-queue-arn.d.ts.map +1 -1
  1009. package/dist/service/sqs/queue/sim-sqs-queue-arn.js +9 -5
  1010. package/dist/service/sqs/queue/sim-sqs-queue-arn.js.map +1 -1
  1011. package/dist/service/sqs/queue/sim-sqs-queue-attribute-names.js +4 -4
  1012. package/dist/service/sqs/queue/sim-sqs-queue-attribute-names.js.map +1 -1
  1013. package/dist/service/sqs/queue/sim-sqs-queue-attribute-numbers.d.ts +8 -0
  1014. package/dist/service/sqs/queue/sim-sqs-queue-attribute-numbers.d.ts.map +1 -1
  1015. package/dist/service/sqs/queue/sim-sqs-queue-attribute-numbers.js +21 -5
  1016. package/dist/service/sqs/queue/sim-sqs-queue-attribute-numbers.js.map +1 -1
  1017. package/dist/service/sqs/queue/sim-sqs-queue-attribute-specs.d.ts +14 -2
  1018. package/dist/service/sqs/queue/sim-sqs-queue-attribute-specs.d.ts.map +1 -1
  1019. package/dist/service/sqs/queue/sim-sqs-queue-attribute-specs.js +17 -2
  1020. package/dist/service/sqs/queue/sim-sqs-queue-attribute-specs.js.map +1 -1
  1021. package/dist/service/sqs/queue/sim-sqs-queue-attributes.d.ts +12 -14
  1022. package/dist/service/sqs/queue/sim-sqs-queue-attributes.d.ts.map +1 -1
  1023. package/dist/service/sqs/queue/sim-sqs-queue-attributes.js +24 -42
  1024. package/dist/service/sqs/queue/sim-sqs-queue-attributes.js.map +1 -1
  1025. package/dist/service/sqs/queue/sim-sqs-queue-json-attribute.d.ts +53 -0
  1026. package/dist/service/sqs/queue/sim-sqs-queue-json-attribute.d.ts.map +1 -0
  1027. package/dist/service/sqs/queue/sim-sqs-queue-json-attribute.js +66 -0
  1028. package/dist/service/sqs/queue/sim-sqs-queue-json-attribute.js.map +1 -0
  1029. package/dist/service/sqs/queue/sim-sqs-queue-json-attributes.d.ts +40 -0
  1030. package/dist/service/sqs/queue/sim-sqs-queue-json-attributes.d.ts.map +1 -0
  1031. package/dist/service/sqs/queue/sim-sqs-queue-json-attributes.js +65 -0
  1032. package/dist/service/sqs/queue/sim-sqs-queue-json-attributes.js.map +1 -0
  1033. package/dist/service/sqs/queue/sim-sqs-queue-policy.d.ts +33 -0
  1034. package/dist/service/sqs/queue/sim-sqs-queue-policy.d.ts.map +1 -0
  1035. package/dist/service/sqs/queue/sim-sqs-queue-policy.js +84 -0
  1036. package/dist/service/sqs/queue/sim-sqs-queue-policy.js.map +1 -0
  1037. package/dist/service/sqs/sim-sqs.d.ts +1 -4
  1038. package/dist/service/sqs/sim-sqs.d.ts.map +1 -1
  1039. package/dist/service/sqs/sim-sqs.js.map +1 -1
  1040. package/package.json +4 -4
  1041. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-identity-source.d.ts +0 -31
  1042. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-identity-source.d.ts.map +0 -1
  1043. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-identity-source.js +0 -78
  1044. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-identity-source.js.map +0 -1
  1045. package/dist/service/apigatewayv2/serve/auth/sim-http-api-integration-authorizer.d.ts +0 -42
  1046. package/dist/service/apigatewayv2/serve/auth/sim-http-api-integration-authorizer.d.ts.map +0 -1
  1047. package/dist/service/apigatewayv2/serve/auth/sim-http-api-integration-authorizer.js +0 -49
  1048. package/dist/service/apigatewayv2/serve/auth/sim-http-api-integration-authorizer.js.map +0 -1
  1049. package/dist/service/s3/command/sim-s3-command-handlers.d.ts +0 -91
  1050. package/dist/service/s3/command/sim-s3-command-handlers.d.ts.map +0 -1
  1051. package/dist/service/s3/command/sim-s3-command-handlers.js +0 -115
  1052. package/dist/service/s3/command/sim-s3-command-handlers.js.map +0 -1
@@ -1,9 +1,9 @@
1
1
  import type { BackgroundScheduler } from "../../../../util/background/background.js";
2
- import type { SimAwsCaller } from "../../../aws/caller/sim-aws-caller.js";
3
2
  import type { SimAwsAccountRegionScope } from "../../../aws/sim-aws-account-region-scope.js";
4
3
  import type { SimSqsQueue } from "../../queue/sim-sqs-queue.js";
5
4
  import type { SimSqsQueueStore } from "../../queue/sim-sqs-queue-store.js";
6
5
  import type { SimSqsAuthorizer } from "../authorize/sim-sqs-authorizer.js";
6
+ import type { SimSqsRequestOptions } from "../sim-sqs-request-options.js";
7
7
  interface SimSqsQueueAccessProperties {
8
8
  readonly queues: SimSqsQueueStore;
9
9
  readonly authorizer: SimSqsAuthorizer;
@@ -14,10 +14,14 @@ interface SimSqsQueueAccessProperties {
14
14
  * How a request reaches the queue it names.
15
15
  *
16
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.
17
+ * queue URL, find the queue that URL implies, authorize the action against it,
18
+ * then require it to be there.
19
+ *
20
+ * Finding the queue comes before authorizing because the queue's own policy is
21
+ * part of the decision, and nothing can supply a policy without first having the
22
+ * queue. A caller with no permission is still refused for a queue that does not
23
+ * exist rather than told the queue is missing, because a queue that is not there
24
+ * contributes no policy and cannot admit anyone.
21
25
  */
22
26
  export declare class SimSqsQueueAccess {
23
27
  private readonly queues;
@@ -27,28 +31,32 @@ export declare class SimSqsQueueAccess {
27
31
  constructor(properties: SimSqsQueueAccessProperties);
28
32
  /**
29
33
  * Ensure the caller may perform an action on the queue of a given name.
34
+ *
35
+ * The queue need not exist, which is what CreateQueue needs: it authorizes
36
+ * against the ARN the queue is about to have. A queue that is there brings its
37
+ * policy into the decision.
30
38
  */
31
- authorizeName(action: string, name: string, caller?: SimAwsCaller): void;
39
+ authorizeName(action: string, name: string, options?: SimSqsRequestOptions): void;
32
40
  /**
33
41
  * Ensure the caller may perform an action naming no particular queue.
34
42
  */
35
- authorizeAnyQueue(action: string, caller?: SimAwsCaller): void;
43
+ authorizeAnyQueue(action: string, options?: SimSqsRequestOptions): void;
36
44
  /**
37
45
  * Resolve the queue a request names by name, authorizing the action first.
38
46
  */
39
- requireByName(action: string, name: string | undefined, caller?: SimAwsCaller): SimSqsQueue;
47
+ requireByName(action: string, name: string | undefined, options?: SimSqsRequestOptions): SimSqsQueue;
40
48
  /**
41
49
  * Resolve the queue a request names by URL, authorizing the action first.
42
50
  */
43
- requireByUrl(action: string, queueUrl: string | undefined, caller?: SimAwsCaller): SimSqsQueue;
51
+ requireByUrl(action: string, queueUrl: string | undefined, options?: SimSqsRequestOptions): SimSqsQueue;
44
52
  /**
45
- * The queue of a name, with every queue brought up to date first.
53
+ * The queue of a name, once the caller is allowed to reach it.
46
54
  *
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.
55
+ * Every queue is brought up to date first and not just this one, because a
56
+ * message moves to a dead-letter queue when its source queue notices, and a
57
+ * request may be about the dead-letter queue rather than the source.
50
58
  */
51
- private upToDate;
59
+ private authorized;
52
60
  /**
53
61
  * Read the queue name out of the URL a request carries.
54
62
  *
@@ -1 +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,EA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OAAO,CAAC,UAAU;IAWlB;;;;;;;OAOG;IACH,OAAO,CAAC,WAAW;CA4BpB"}
@@ -12,10 +12,14 @@ function operationName(action) {
12
12
  * How a request reaches the queue it names.
13
13
  *
14
14
  * Every operation but ListQueues and CreateQueue starts the same way: read the
15
- * queue URL, authorize the action against the ARN that URL implies, then look the
16
- * queue up. Authorization comes first because real IAM decides before the
17
- * service does anything, so a caller with no permission is refused whether or not
18
- * the queue exists.
15
+ * queue URL, find the queue that URL implies, authorize the action against it,
16
+ * then require it to be there.
17
+ *
18
+ * Finding the queue comes before authorizing because the queue's own policy is
19
+ * part of the decision, and nothing can supply a policy without first having the
20
+ * queue. A caller with no permission is still refused for a queue that does not
21
+ * exist rather than told the queue is missing, because a queue that is not there
22
+ * contributes no policy and cannot admit anyone.
19
23
  */
20
24
  export class SimSqsQueueAccess {
21
25
  queues;
@@ -30,43 +34,50 @@ export class SimSqsQueueAccess {
30
34
  }
31
35
  /**
32
36
  * Ensure the caller may perform an action on the queue of a given name.
37
+ *
38
+ * The queue need not exist, which is what CreateQueue needs: it authorizes
39
+ * against the ARN the queue is about to have. A queue that is there brings its
40
+ * policy into the decision.
33
41
  */
34
- authorizeName(action, name, caller) {
35
- this.authorizer.authorizeQueue(action, sqsQueueArnPrefix(this.accountRegionScope) + name, caller);
42
+ authorizeName(action, name, options) {
43
+ this.authorizer.authorizeQueue({
44
+ action,
45
+ queueArn: sqsQueueArnPrefix(this.accountRegionScope) + name,
46
+ queue: this.queues.find(name),
47
+ options,
48
+ });
36
49
  }
37
50
  /**
38
51
  * Ensure the caller may perform an action naming no particular queue.
39
52
  */
40
- authorizeAnyQueue(action, caller) {
41
- this.authorizer.authorizeAnyQueue(action, caller);
53
+ authorizeAnyQueue(action, options) {
54
+ this.authorizer.authorizeAnyQueue(action, options);
42
55
  }
43
56
  /**
44
57
  * Resolve the queue a request names by name, authorizing the action first.
45
58
  */
46
- requireByName(action, name, caller) {
59
+ requireByName(action, name, options) {
47
60
  if (name === undefined || name === "") {
48
61
  throw new SimSqsValidationException(`${operationName(action)} requires a QueueName`);
49
62
  }
50
- this.authorizeName(action, name, caller);
51
- return this.upToDate(name);
63
+ return this.authorized(action, name, options);
52
64
  }
53
65
  /**
54
66
  * Resolve the queue a request names by URL, authorizing the action first.
55
67
  */
56
- requireByUrl(action, queueUrl, caller) {
57
- const name = this.nameFromUrl(action, queueUrl);
58
- this.authorizeName(action, name, caller);
59
- return this.upToDate(name);
68
+ requireByUrl(action, queueUrl, options) {
69
+ return this.authorized(action, this.nameFromUrl(action, queueUrl), options);
60
70
  }
61
71
  /**
62
- * The queue of a name, with every queue brought up to date first.
72
+ * The queue of a name, once the caller is allowed to reach it.
63
73
  *
64
- * Every queue and not just this one, because a message moves to a dead-letter
65
- * queue when its source queue notices, and a request may be about the
66
- * dead-letter queue rather than the source.
74
+ * Every queue is brought up to date first and not just this one, because a
75
+ * message moves to a dead-letter queue when its source queue notices, and a
76
+ * request may be about the dead-letter queue rather than the source.
67
77
  */
68
- upToDate(name) {
78
+ authorized(action, name, options) {
69
79
  this.queues.applyLifecycle(this.clock.now());
80
+ this.authorizeName(action, name, options);
70
81
  return this.queues.require(name);
71
82
  }
72
83
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"sim-sqs-queue-access.js","sourceRoot":"","sources":["../../../../../src/service/sqs/command/queue/sim-sqs-queue-access.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,oBAAoB,EACpB,uBAAuB,EACvB,yBAAyB,GAC1B,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAErE,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAGlE;;;GAGG;AACH,SAAS,aAAa,CAAC,MAAc;IACnC,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;AACpC,CAAC;AASD;;;;;;;;GAQG;AACH,MAAM,OAAO,iBAAiB;IACX,MAAM,CAAmB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SAAS,IAAI,KAAK,CAAC,UAAU,KAAK,UAAU,EAAE,CAAC;YACrE,MAAM,IAAI,uBAAuB,CAC/B,uCAAuC,QAAQ,iBAAiB;gBAC9D,GAAG,KAAK,CAAC,SAAS,OAAO,KAAK,CAAC,UAAU,2BAA2B;gBACpE,cAAc,SAAS,OAAO,UAAU,EAAE,CAC7C,CAAC;QACJ,CAAC;QAED,OAAO,KAAK,CAAC,IAAI,CAAC;IACpB,CAAC;CACF"}
@@ -1,14 +1,11 @@
1
1
  import type { BackgroundScheduler } from "../../../../util/background/background.js";
2
- import type { SimAwsCaller } from "../../../aws/caller/sim-aws-caller.js";
2
+ import type { SimSqsRequestOptions } from "../sim-sqs-request-options.js";
3
3
  import type { SimSqsQueueAccess } from "./sim-sqs-queue-access.js";
4
4
  import type { SimGetQueueAttributesCommand, SimGetQueueAttributesCommandOutput, SimPurgeQueueCommand, SimPurgeQueueCommandOutput, SimSetQueueAttributesCommand, SimSetQueueAttributesCommandOutput } from "./queue.command.js";
5
5
  interface SimSqsQueueAttributeCommandsProperties {
6
6
  readonly access: SimSqsQueueAccess;
7
7
  readonly clock: BackgroundScheduler;
8
8
  }
9
- interface SimSqsQueueAttributeCommandsOptions {
10
- readonly caller?: SimAwsCaller;
11
- }
12
9
  /**
13
10
  * The commands that read and change what a queue does, rather than what is on it.
14
11
  */
@@ -25,11 +22,11 @@ export declare class SimSqsQueueAttributeCommands {
25
22
  * refused, because that is what real SQS does with an attribute a queue has no
26
23
  * value for.
27
24
  */
28
- getQueueAttributes(command: SimGetQueueAttributesCommand, options?: SimSqsQueueAttributeCommandsOptions): SimGetQueueAttributesCommandOutput;
25
+ getQueueAttributes(command: SimGetQueueAttributesCommand, options?: SimSqsRequestOptions): SimGetQueueAttributesCommandOutput;
29
26
  /**
30
27
  * Change the attributes of a queue.
31
28
  */
32
- setQueueAttributes(command: SimSetQueueAttributesCommand, options?: SimSqsQueueAttributeCommandsOptions): SimSetQueueAttributesCommandOutput;
29
+ setQueueAttributes(command: SimSetQueueAttributesCommand, options?: SimSqsRequestOptions): SimSetQueueAttributesCommandOutput;
33
30
  /**
34
31
  * Delete every message on a queue.
35
32
  *
@@ -38,7 +35,7 @@ export declare class SimSqsQueueAttributeCommands {
38
35
  * purged. This purge happens at once, which is a deliberate simplification: a
39
36
  * test can then assert on an empty queue immediately.
40
37
  */
41
- purgeQueue(command: SimPurgeQueueCommand, options?: SimSqsQueueAttributeCommandsOptions): SimPurgeQueueCommandOutput;
38
+ purgeQueue(command: SimPurgeQueueCommand, options?: SimSqsRequestOptions): SimPurgeQueueCommandOutput;
42
39
  private reportedAttributes;
43
40
  }
44
41
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"sim-sqs-queue-attribute-commands.d.ts","sourceRoot":"","sources":["../../../../../src/service/sqs/command/queue/sim-sqs-queue-attribute-commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAI1E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,EACV,4BAA4B,EAC5B,kCAAkC,EAClC,oBAAoB,EACpB,0BAA0B,EAC1B,4BAA4B,EAC5B,kCAAkC,EACnC,MAAM,oBAAoB,CAAC;AAE5B,UAAU,sCAAsC;IAC9C,QAAQ,CAAC,MAAM,EAAE,iBAAiB,CAAC;IACnC,QAAQ,CAAC,KAAK,EAAE,mBAAmB,CAAC;CACrC;AAED,UAAU,mCAAmC;IAC3C,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC;AAED;;GAEG;AACH,qBAAa,4BAA4B;IACvC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoB;IAC3C,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAsB;IAE5C,YAAY,UAAU,EAAE,sCAAsC,EAG7D;IAED;;;;;;;;OAQG;IACH,kBAAkB,CAChB,OAAO,EAAE,4BAA4B,EACrC,OAAO,CAAC,EAAE,mCAAmC,GAC5C,kCAAkC,CAmBpC;IAED;;OAEG;IACH,kBAAkB,CAChB,OAAO,EAAE,4BAA4B,EACrC,OAAO,CAAC,EAAE,mCAAmC,GAC5C,kCAAkC,CAiBpC;IAED;;;;;;;OAOG;IACH,UAAU,CACR,OAAO,EAAE,oBAAoB,EAC7B,OAAO,CAAC,EAAE,mCAAmC,GAC5C,0BAA0B,CAU5B;IAED,OAAO,CAAC,kBAAkB;CAoB3B"}
1
+ {"version":3,"file":"sim-sqs-queue-attribute-commands.d.ts","sourceRoot":"","sources":["../../../../../src/service/sqs/command/queue/sim-sqs-queue-attribute-commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAI1E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,EACV,4BAA4B,EAC5B,kCAAkC,EAClC,oBAAoB,EACpB,0BAA0B,EAC1B,4BAA4B,EAC5B,kCAAkC,EACnC,MAAM,oBAAoB,CAAC;AAE5B,UAAU,sCAAsC;IAC9C,QAAQ,CAAC,MAAM,EAAE,iBAAiB,CAAC;IACnC,QAAQ,CAAC,KAAK,EAAE,mBAAmB,CAAC;CACrC;AAED;;GAEG;AACH,qBAAa,4BAA4B;IACvC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoB;IAC3C,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAsB;IAE5C,YAAY,UAAU,EAAE,sCAAsC,EAG7D;IAED;;;;;;;;OAQG;IACH,kBAAkB,CAChB,OAAO,EAAE,4BAA4B,EACrC,OAAO,CAAC,EAAE,oBAAoB,GAC7B,kCAAkC,CAmBpC;IAED;;OAEG;IACH,kBAAkB,CAChB,OAAO,EAAE,4BAA4B,EACrC,OAAO,CAAC,EAAE,oBAAoB,GAC7B,kCAAkC,CAiBpC;IAED;;;;;;;OAOG;IACH,UAAU,CACR,OAAO,EAAE,oBAAoB,EAC7B,OAAO,CAAC,EAAE,oBAAoB,GAC7B,0BAA0B,CAU5B;IAED,OAAO,CAAC,kBAAkB;CAoB3B"}
@@ -20,7 +20,7 @@ export class SimSqsQueueAttributeCommands {
20
20
  * value for.
21
21
  */
22
22
  getQueueAttributes(command, options) {
23
- const queue = this.access.requireByUrl("sqs:GetQueueAttributes", command.input.QueueUrl, options?.caller);
23
+ const queue = this.access.requireByUrl("sqs:GetQueueAttributes", command.input.QueueUrl, options);
24
24
  const requested = command.input.AttributeNames ?? [];
25
25
  for (const name of requested) {
26
26
  SimSqsQueueAttributeNames.assertReadable(name);
@@ -35,7 +35,7 @@ export class SimSqsQueueAttributeCommands {
35
35
  * Change the attributes of a queue.
36
36
  */
37
37
  setQueueAttributes(command, options) {
38
- const queue = this.access.requireByUrl("sqs:SetQueueAttributes", command.input.QueueUrl, options?.caller);
38
+ const queue = this.access.requireByUrl("sqs:SetQueueAttributes", command.input.QueueUrl, options);
39
39
  const requested = command.input.Attributes;
40
40
  if (requested === undefined) {
41
41
  throw new SimSqsValidationException("SetQueueAttributes requires Attributes");
@@ -52,7 +52,7 @@ export class SimSqsQueueAttributeCommands {
52
52
  * test can then assert on an empty queue immediately.
53
53
  */
54
54
  purgeQueue(command, options) {
55
- const queue = this.access.requireByUrl("sqs:PurgeQueue", command.input.QueueUrl, options?.caller);
55
+ const queue = this.access.requireByUrl("sqs:PurgeQueue", command.input.QueueUrl, options);
56
56
  queue.purge(this.clock.now());
57
57
  return { $metadata: {} };
58
58
  }
@@ -1 +1 @@
1
- {"version":3,"file":"sim-sqs-queue-attribute-commands.js","sourceRoot":"","sources":["../../../../../src/service/sqs/command/queue/sim-sqs-queue-attribute-commands.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AAEzE,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"}
@@ -1,5 +1,5 @@
1
1
  import type { BackgroundScheduler } from "../../../../util/background/background.js";
2
- import type { SimAwsCaller } from "../../../aws/caller/sim-aws-caller.js";
2
+ import type { SimSqsRequestOptions } from "../sim-sqs-request-options.js";
3
3
  import type { SimAwsAccountRegionScope } from "../../../aws/sim-aws-account-region-scope.js";
4
4
  import type { SimSqsQueueStore } from "../../queue/sim-sqs-queue-store.js";
5
5
  import type { SimSqsQueueAccess } from "./sim-sqs-queue-access.js";
@@ -10,9 +10,6 @@ interface SimSqsQueueCommandsProperties {
10
10
  readonly accountRegionScope: SimAwsAccountRegionScope;
11
11
  readonly clock: BackgroundScheduler;
12
12
  }
13
- interface SimSqsQueueCommandsOptions {
14
- readonly caller?: SimAwsCaller;
15
- }
16
13
  /**
17
14
  * The commands that find and delete queues.
18
15
  */
@@ -25,7 +22,7 @@ export declare class SimSqsQueueCommands {
25
22
  /**
26
23
  * Get the URL of a queue by name.
27
24
  */
28
- getQueueUrl(command: SimGetQueueUrlCommand, options?: SimSqsQueueCommandsOptions): SimGetQueueUrlCommandOutput;
25
+ getQueueUrl(command: SimGetQueueUrlCommand, options?: SimSqsRequestOptions): SimGetQueueUrlCommandOutput;
29
26
  /**
30
27
  * List the queues in this scope, oldest first.
31
28
  *
@@ -33,7 +30,7 @@ export declare class SimSqsQueueCommands {
33
30
  * against every queue in the account and region and does not filter the list
34
31
  * by what the caller can reach.
35
32
  */
36
- listQueues(command: SimListQueuesCommand, options?: SimSqsQueueCommandsOptions): SimListQueuesCommandOutput;
33
+ listQueues(command: SimListQueuesCommand, options?: SimSqsRequestOptions): SimListQueuesCommandOutput;
37
34
  /**
38
35
  * Delete a queue and everything on it.
39
36
  *
@@ -41,7 +38,7 @@ export declare class SimSqsQueueCommands {
41
38
  * The name it held is not free straight away either way: real SQS refuses to
42
39
  * reuse it for 60 seconds, and so does this.
43
40
  */
44
- deleteQueue(command: SimDeleteQueueCommand, options?: SimSqsQueueCommandsOptions): SimDeleteQueueCommandOutput;
41
+ deleteQueue(command: SimDeleteQueueCommand, options?: SimSqsRequestOptions): SimDeleteQueueCommandOutput;
45
42
  }
46
43
  export {};
47
44
  //# sourceMappingURL=sim-sqs-queue-commands.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sim-sqs-queue-commands.d.ts","sourceRoot":"","sources":["../../../../../src/service/sqs/command/queue/sim-sqs-queue-commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AAC7F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGnE,OAAO,KAAK,EACV,qBAAqB,EACrB,2BAA2B,EAC3B,qBAAqB,EACrB,2BAA2B,EAC3B,oBAAoB,EACpB,0BAA0B,EAC3B,MAAM,oBAAoB,CAAC;AAE5B,UAAU,6BAA6B;IACrC,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;CACrC;AAED,UAAU,0BAA0B;IAClC,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC;AAED;;GAEG;AACH,qBAAa,mBAAmB;IAC9B,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;IAE5C,YAAY,UAAU,EAAE,6BAA6B,EAKpD;IAED;;OAEG;IACH,WAAW,CACT,OAAO,EAAE,qBAAqB,EAC9B,OAAO,CAAC,EAAE,0BAA0B,GACnC,2BAA2B,CAa7B;IAED;;;;;;OAMG;IACH,UAAU,CACR,OAAO,EAAE,oBAAoB,EAC7B,OAAO,CAAC,EAAE,0BAA0B,GACnC,0BAA0B,CAe5B;IAED;;;;;;OAMG;IACH,WAAW,CACT,OAAO,EAAE,qBAAqB,EAC9B,OAAO,CAAC,EAAE,0BAA0B,GACnC,2BAA2B,CAU7B;CACF"}
1
+ {"version":3,"file":"sim-sqs-queue-commands.d.ts","sourceRoot":"","sources":["../../../../../src/service/sqs/command/queue/sim-sqs-queue-commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AAC7F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGnE,OAAO,KAAK,EACV,qBAAqB,EACrB,2BAA2B,EAC3B,qBAAqB,EACrB,2BAA2B,EAC3B,oBAAoB,EACpB,0BAA0B,EAC3B,MAAM,oBAAoB,CAAC;AAE5B,UAAU,6BAA6B;IACrC,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;CACrC;AAED;;GAEG;AACH,qBAAa,mBAAmB;IAC9B,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;IAE5C,YAAY,UAAU,EAAE,6BAA6B,EAKpD;IAED;;OAEG;IACH,WAAW,CACT,OAAO,EAAE,qBAAqB,EAC9B,OAAO,CAAC,EAAE,oBAAoB,GAC7B,2BAA2B,CAa7B;IAED;;;;;;OAMG;IACH,UAAU,CACR,OAAO,EAAE,oBAAoB,EAC7B,OAAO,CAAC,EAAE,oBAAoB,GAC7B,0BAA0B,CAe5B;IAED;;;;;;OAMG;IACH,WAAW,CACT,OAAO,EAAE,qBAAqB,EAC9B,OAAO,CAAC,EAAE,oBAAoB,GAC7B,2BAA2B,CAU7B;CACF"}
@@ -19,7 +19,7 @@ export class SimSqsQueueCommands {
19
19
  */
20
20
  getQueueUrl(command, options) {
21
21
  refuseForeignQueueOwner(command.input.QueueOwnerAWSAccountId, this.accountRegionScope.accountId);
22
- const queue = this.access.requireByName("sqs:GetQueueUrl", command.input.QueueName, options?.caller);
22
+ const queue = this.access.requireByName("sqs:GetQueueUrl", command.input.QueueName, options);
23
23
  return { $metadata: {}, QueueUrl: queue.url };
24
24
  }
25
25
  /**
@@ -31,7 +31,7 @@ export class SimSqsQueueCommands {
31
31
  */
32
32
  listQueues(command, options) {
33
33
  const input = command.input;
34
- this.access.authorizeAnyQueue("sqs:ListQueues", options?.caller);
34
+ this.access.authorizeAnyQueue("sqs:ListQueues", options);
35
35
  const page = new SimSqsQueuePage(this.queues.withNamePrefix(input.QueueNamePrefix), input);
36
36
  return {
37
37
  $metadata: {},
@@ -47,7 +47,7 @@ export class SimSqsQueueCommands {
47
47
  * reuse it for 60 seconds, and so does this.
48
48
  */
49
49
  deleteQueue(command, options) {
50
- const queue = this.access.requireByUrl("sqs:DeleteQueue", command.input.QueueUrl, options?.caller);
50
+ const queue = this.access.requireByUrl("sqs:DeleteQueue", command.input.QueueUrl, options);
51
51
  this.queues.remove(queue, this.clock.now());
52
52
  return { $metadata: {} };
53
53
  }
@@ -1 +1 @@
1
- {"version":3,"file":"sim-sqs-queue-commands.js","sourceRoot":"","sources":["../../../../../src/service/sqs/command/queue/sim-sqs-queue-commands.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAqB/E;;GAEG;AACH,MAAM,OAAO,mBAAmB;IACb,MAAM,CAAmB;IACzB,MAAM,CAAoB;IAC1B,kBAAkB,CAA2B;IAC7C,KAAK,CAAsB;IAE5C,YAAY,UAAyC;QACnD,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;IAChC,CAAC;IAED;;OAEG;IACH,WAAW,CACT,OAA8B,EAC9B,OAAoC;QAEpC,uBAAuB,CACrB,OAAO,CAAC,KAAK,CAAC,sBAAsB,EACpC,IAAI,CAAC,kBAAkB,CAAC,SAAS,CAClC,CAAC;QAEF,MAAM,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,aAAa,CACrC,iBAAiB,EACjB,OAAO,CAAC,KAAK,CAAC,SAAS,EACvB,OAAO,EAAE,MAAM,CAChB,CAAC;QAEF,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK,CAAC,GAAG,EAAE,CAAC;IAChD,CAAC;IAED;;;;;;OAMG;IACH,UAAU,CACR,OAA6B,EAC7B,OAAoC;QAEpC,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC;QAE5B,IAAI,CAAC,MAAM,CAAC,iBAAiB,CAAC,gBAAgB,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QAEjE,MAAM,IAAI,GAAG,IAAI,eAAe,CAC9B,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,KAAK,CAAC,eAAe,CAAC,EACjD,KAAK,CACN,CAAC;QAEF,OAAO;YACL,SAAS,EAAE,EAAE;YACb,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC;YAChD,SAAS,EAAE,IAAI,CAAC,SAAS;SAC1B,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,WAAW,CACT,OAA8B,EAC9B,OAAoC;QAEpC,MAAM,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,YAAY,CACpC,iBAAiB,EACjB,OAAO,CAAC,KAAK,CAAC,QAAQ,EACtB,OAAO,EAAE,MAAM,CAChB,CAAC;QAEF,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC;QAE5C,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;IAC3B,CAAC;CACF"}
1
+ {"version":3,"file":"sim-sqs-queue-commands.js","sourceRoot":"","sources":["../../../../../src/service/sqs/command/queue/sim-sqs-queue-commands.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAiB/E;;GAEG;AACH,MAAM,OAAO,mBAAmB;IACb,MAAM,CAAmB;IACzB,MAAM,CAAoB;IAC1B,kBAAkB,CAA2B;IAC7C,KAAK,CAAsB;IAE5C,YAAY,UAAyC;QACnD,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,CA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AAE,CAAC;IAC3B,CAAC;CACF"}
@@ -12,7 +12,10 @@ export declare function refuseUnsimulatedQueueInput(input: SimCreateQueueCommand
12
12
  /**
13
13
  * Refuse a request for a queue owned by another Account.
14
14
  *
15
- * Cross-account access needs a queue policy, which is not simulated.
15
+ * One simulated SQS holds one Account's queues, so it has nothing of another
16
+ * Account's to answer with. A queue policy admits another Account's principal
17
+ * to a queue here; it does not make another Account's queues reachable through
18
+ * this one.
16
19
  */
17
20
  export declare function refuseForeignQueueOwner(owner: string | undefined, accountId: SimAwsAccountId): void;
18
21
  //# sourceMappingURL=sim-sqs-unsimulated-queue-input.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sim-sqs-unsimulated-queue-input.d.ts","sourceRoot":"","sources":["../../../../../src/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAEvE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAErE;;;;;;;GAOG;AACH,wBAAgB,2BAA2B,CACzC,KAAK,EAAE,0BAA0B,GAChC,IAAI,CAON;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,MAAM,GAAG,SAAS,EACzB,SAAS,EAAE,eAAe,GACzB,IAAI,CAON"}
1
+ {"version":3,"file":"sim-sqs-unsimulated-queue-input.d.ts","sourceRoot":"","sources":["../../../../../src/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAEvE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAErE;;;;;;;GAOG;AACH,wBAAgB,2BAA2B,CACzC,KAAK,EAAE,0BAA0B,GAChC,IAAI,CAON;AAED;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,MAAM,GAAG,SAAS,EACzB,SAAS,EAAE,eAAe,GACzB,IAAI,CAON"}
@@ -16,7 +16,10 @@ export function refuseUnsimulatedQueueInput(input) {
16
16
  /**
17
17
  * Refuse a request for a queue owned by another Account.
18
18
  *
19
- * Cross-account access needs a queue policy, which is not simulated.
19
+ * One simulated SQS holds one Account's queues, so it has nothing of another
20
+ * Account's to answer with. A queue policy admits another Account's principal
21
+ * to a queue here; it does not make another Account's queues reachable through
22
+ * this one.
20
23
  */
21
24
  export function refuseForeignQueueOwner(owner, accountId) {
22
25
  if (owner !== undefined && owner !== accountId) {
@@ -1 +1 @@
1
- {"version":3,"file":"sim-sqs-unsimulated-queue-input.js","sourceRoot":"","sources":["../../../../../src/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAG1E;;;;;;;GAOG;AACH,MAAM,UAAU,2BAA2B,CACzC,KAAiC;IAEjC,IAAI,KAAK,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;QAC7B,MAAM,IAAI,0BAA0B,CAClC,wEAAwE;YACtE,eAAe,CAClB,CAAC;IACJ,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,uBAAuB,CACrC,KAAyB,EACzB,SAA0B;IAE1B,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QAC/C,MAAM,IAAI,0BAA0B,CAClC,0BAA0B,KAAK,8BAA8B;YAC3D,6CAA6C,CAChD,CAAC;IACJ,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"sim-sqs-unsimulated-queue-input.js","sourceRoot":"","sources":["../../../../../src/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAG1E;;;;;;;GAOG;AACH,MAAM,UAAU,2BAA2B,CACzC,KAAiC;IAEjC,IAAI,KAAK,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;QAC7B,MAAM,IAAI,0BAA0B,CAClC,wEAAwE;YACtE,eAAe,CAClB,CAAC;IACJ,CAAC;AACH,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,uBAAuB,CACrC,KAAyB,EACzB,SAA0B;IAE1B,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QAC/C,MAAM,IAAI,0BAA0B,CAClC,0BAA0B,KAAK,8BAA8B;YAC3D,6CAA6C,CAChD,CAAC;IACJ,CAAC;AACH,CAAC"}
@@ -0,0 +1,47 @@
1
+ import type { SimAwsCaller } from "../../aws/caller/sim-aws-caller.js";
2
+ /**
3
+ * The condition key naming what a simulated service is reaching the queue for,
4
+ * such as the S3 Bucket an event came from.
5
+ *
6
+ * This is the key a queue policy granting a service principal access is nearly
7
+ * always conditioned on, under `ArnLike`, since a service principal is shared
8
+ * by every resource of that service.
9
+ */
10
+ export declare const simSqsSourceArnConditionKey = "aws:SourceArn";
11
+ /**
12
+ * The condition key naming the Account owning the resource a simulated service
13
+ * is reaching the queue for.
14
+ *
15
+ * It only has a job when that resource and the queue are in different Accounts,
16
+ * which is why AWS's own documented destination queue policies carry it
17
+ * alongside the source ARN.
18
+ */
19
+ export declare const simSqsSourceAccountConditionKey = "aws:SourceAccount";
20
+ /**
21
+ * What an SQS request carries besides its command input.
22
+ */
23
+ export interface SimSqsRequestOptions {
24
+ /**
25
+ * Who is making the request. An omitted caller is the Account root, as it is
26
+ * everywhere else in the simulation.
27
+ */
28
+ readonly caller?: SimAwsCaller;
29
+ /**
30
+ * What the caller is reaching the queue for, supplied to IAM as
31
+ * `aws:SourceArn`.
32
+ *
33
+ * This is for a simulated service making a request on a resource's behalf,
34
+ * which is how real AWS supplies it. A value the caller does not have is left
35
+ * out rather than supplied empty, so a statement conditioned on it fails to
36
+ * match instead of matching an empty string.
37
+ */
38
+ readonly sourceArn?: string;
39
+ /**
40
+ * The Account owning the resource the caller is reaching the queue for,
41
+ * supplied to IAM as `aws:SourceAccount`.
42
+ *
43
+ * Left out the same way when the caller has no value for it.
44
+ */
45
+ readonly sourceAccount?: string;
46
+ }
47
+ //# sourceMappingURL=sim-sqs-request-options.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sqs-request-options.d.ts","sourceRoot":"","sources":["../../../../src/service/sqs/command/sim-sqs-request-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAEvE;;;;;;;GAOG;AACH,eAAO,MAAM,2BAA2B,kBAAkB,CAAC;AAE3D;;;;;;;GAOG;AACH,eAAO,MAAM,+BAA+B,sBAAsB,CAAC;AAEnE;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;IAE/B;;;;;;;;OAQG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAE5B;;;;;OAKG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;CACjC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * The condition key naming what a simulated service is reaching the queue for,
3
+ * such as the S3 Bucket an event came from.
4
+ *
5
+ * This is the key a queue policy granting a service principal access is nearly
6
+ * always conditioned on, under `ArnLike`, since a service principal is shared
7
+ * by every resource of that service.
8
+ */
9
+ export const simSqsSourceArnConditionKey = "aws:SourceArn";
10
+ /**
11
+ * The condition key naming the Account owning the resource a simulated service
12
+ * is reaching the queue for.
13
+ *
14
+ * It only has a job when that resource and the queue are in different Accounts,
15
+ * which is why AWS's own documented destination queue policies carry it
16
+ * alongside the source ARN.
17
+ */
18
+ export const simSqsSourceAccountConditionKey = "aws:SourceAccount";
19
+ //# sourceMappingURL=sim-sqs-request-options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-sqs-request-options.js","sourceRoot":"","sources":["../../../../src/service/sqs/command/sim-sqs-request-options.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,eAAe,CAAC;AAE3D;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,mBAAmB,CAAC"}
@@ -1,9 +1,11 @@
1
- export { SimSqs, type SimSqsRequestOptions } from "./sim-sqs.js";
1
+ export { SimSqs } from "./sim-sqs.js";
2
+ export { simSqsSourceAccountConditionKey, simSqsSourceArnConditionKey, type SimSqsRequestOptions, } from "./command/sim-sqs-request-options.js";
2
3
  export { SimSqsQueue } from "./queue/sim-sqs-queue.js";
3
4
  export { SimSqsQueueActivity, type SimSqsQueueWatcher, } from "./queue/sim-sqs-queue-activity.js";
4
- export { sqsAnyQueueArn, SimSqsQueueArn, sqsQueueArnPrefix, sqsQueueUrlPrefix, } from "./queue/sim-sqs-queue-arn.js";
5
+ export { sqsAnyQueueArn, SimSqsQueueArn, type SimSqsQueueLocation, sqsQueueArnPrefix, sqsQueueUrl, } from "./queue/sim-sqs-queue-arn.js";
5
6
  export { type SimSqsQueueAttributeInput, SimSqsQueueAttributes, } from "./queue/sim-sqs-queue-attributes.js";
6
7
  export { SimSqsQueueName } from "./queue/sim-sqs-queue-name.js";
8
+ export { SimSqsQueuePolicy } from "./queue/sim-sqs-queue-policy.js";
7
9
  export { SimSqsRedrivePolicy } from "./queue/sim-sqs-redrive-policy.js";
8
10
  export { SimSqsQueueUrl, type SimSqsQueueUrlParts, } from "./queue/sim-sqs-queue-url.js";
9
11
  export { SimSqsMessage } from "./message/sim-sqs-message.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/service/sqs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EACL,mBAAmB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,CAAC;AAC3C,OAAO,EACL,cAAc,EACd,cAAc,EACd,KAAK,mBAAmB,EACxB,iBAAiB,EACjB,WAAW,GACZ,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,KAAK,yBAAyB,EAC9B,qBAAqB,GACtB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EACL,cAAc,EACd,KAAK,mBAAmB,GACzB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AAClF,YAAY,EACV,2BAA2B,EAC3B,2BAA2B,GAC5B,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EACL,8BAA8B,EAC9B,uBAAuB,EACvB,WAAW,EACX,oBAAoB,EACpB,0BAA0B,EAC1B,2BAA2B,EAC3B,yBAAyB,EACzB,4BAA4B,EAC5B,2BAA2B,EAC3B,wBAAwB,EACxB,0BAA0B,EAC1B,uBAAuB,EACvB,qBAAqB,EACrB,4BAA4B,EAC5B,kCAAkC,EAClC,0BAA0B,EAC1B,yBAAyB,GAC1B,MAAM,0BAA0B,CAAC"}
@@ -1,9 +1,11 @@
1
1
  export { SimSqs } from "./sim-sqs.js";
2
+ export { simSqsSourceAccountConditionKey, simSqsSourceArnConditionKey, } from "./command/sim-sqs-request-options.js";
2
3
  export { SimSqsQueue } from "./queue/sim-sqs-queue.js";
3
4
  export { SimSqsQueueActivity, } from "./queue/sim-sqs-queue-activity.js";
4
- export { sqsAnyQueueArn, SimSqsQueueArn, sqsQueueArnPrefix, sqsQueueUrlPrefix, } from "./queue/sim-sqs-queue-arn.js";
5
+ export { sqsAnyQueueArn, SimSqsQueueArn, sqsQueueArnPrefix, sqsQueueUrl, } from "./queue/sim-sqs-queue-arn.js";
5
6
  export { SimSqsQueueAttributes, } from "./queue/sim-sqs-queue-attributes.js";
6
7
  export { SimSqsQueueName } from "./queue/sim-sqs-queue-name.js";
8
+ export { SimSqsQueuePolicy } from "./queue/sim-sqs-queue-policy.js";
7
9
  export { SimSqsRedrivePolicy } from "./queue/sim-sqs-redrive-policy.js";
8
10
  export { SimSqsQueueUrl, } from "./queue/sim-sqs-queue-url.js";
9
11
  export { SimSqsMessage } from "./message/sim-sqs-message.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/service/sqs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAA6B,MAAM,cAAc,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EACL,mBAAmB,GAEpB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,iBAAiB,GAClB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAEL,qBAAqB,GACtB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EACL,cAAc,GAEf,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AAKlF,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EACL,8BAA8B,EAC9B,uBAAuB,EACvB,WAAW,EACX,oBAAoB,EACpB,0BAA0B,EAC1B,2BAA2B,EAC3B,yBAAyB,EACzB,4BAA4B,EAC5B,2BAA2B,EAC3B,wBAA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 -17,9 +17,24 @@ export declare function sqsQueueArnPrefix(accountRegionScope: SimAwsAccountRegio
17
17
  */
18
18
  export declare function sqsAnyQueueArn(accountRegionScope: SimAwsAccountRegionScope): string;
19
19
  /**
20
- * The part of a queue URL that comes before the queue's own name.
20
+ * Where one queue is, in the three facts both its ARN and its URL carry.
21
+ *
22
+ * The strings are unbranded because the callers that have only read an ARN,
23
+ * rather than been handed a scope, have nothing but strings to offer.
24
+ */
25
+ export interface SimSqsQueueLocation {
26
+ readonly regionName: string;
27
+ readonly accountId: string;
28
+ readonly name: string;
29
+ }
30
+ /**
31
+ * The URL SQS requests name a queue by.
32
+ *
33
+ * Anything holding a queue ARN builds the URL here rather than writing the
34
+ * format out again: a simulated service reaching a queue by ARN, an event
35
+ * source mapping polling one, and the queue itself all mean the same URL.
21
36
  */
22
- export declare function sqsQueueUrlPrefix(accountRegionScope: SimAwsAccountRegionScope): string;
37
+ export declare function sqsQueueUrl(location: SimSqsQueueLocation): string;
23
38
  interface SimSqsQueueArnProperties {
24
39
  readonly name: SimSqsQueueName;
25
40
  readonly accountRegionScope: SimAwsAccountRegionScope;
@@ -1 +1 @@
1
- {"version":3,"file":"sim-sqs-queue-arn.d.ts","sourceRoot":"","sources":["../../../../src/service/sqs/queue/sim-sqs-queue-arn.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE/D;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAC/B,kBAAkB,EAAE,wBAAwB,GAC3C,MAAM,CAIR;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAC5B,kBAAkB,EAAE,wBAAwB,GAC3C,MAAM,CAER;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAC/B,kBAAkB,EAAE,wBAAwB,GAC3C,MAAM,CAIR;AAED,UAAU,wBAAwB;IAChC,QAAQ,CAAC,IAAI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EAM/C;CACF"}
@@ -20,11 +20,15 @@ export function sqsAnyQueueArn(accountRegionScope) {
20
20
  return `${sqsQueueArnPrefix(accountRegionScope)}*`;
21
21
  }
22
22
  /**
23
- * The part of a queue URL that comes before the queue's own name.
23
+ * The URL SQS requests name a queue by.
24
+ *
25
+ * Anything holding a queue ARN builds the URL here rather than writing the
26
+ * format out again: a simulated service reaching a queue by ARN, an event
27
+ * source mapping polling one, and the queue itself all mean the same URL.
24
28
  */
25
- export function sqsQueueUrlPrefix(accountRegionScope) {
26
- const { regionName, accountId } = accountRegionScope;
27
- return `https://sqs.${regionName}.amazonaws.com/${accountId}/`;
29
+ export function sqsQueueUrl(location) {
30
+ const { regionName, accountId, name } = location;
31
+ return `https://sqs.${regionName}.amazonaws.com/${accountId}/${name}`;
28
32
  }
29
33
  /**
30
34
  * The ARN and URL of one simulated queue.
@@ -41,7 +45,7 @@ export class SimSqsQueueArn {
41
45
  const { name, accountRegionScope } = properties;
42
46
  this.name = name.value;
43
47
  this.value = sqsQueueArnPrefix(accountRegionScope) + name.value;
44
- this.url = sqsQueueUrlPrefix(accountRegionScope) + name.value;
48
+ this.url = sqsQueueUrl({ ...accountRegionScope, name: name.value });
45
49
  }
46
50
  }
47
51
  //# sourceMappingURL=sim-sqs-queue-arn.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sim-sqs-queue-arn.js","sourceRoot":"","sources":["../../../../src/service/sqs/queue/sim-sqs-queue-arn.ts"],"names":[],"mappings":"AAGA;;;;;;;GAOG;AACH,MAAM,UAAU,iBAAiB,CAC/B,kBAA4C;IAE5C,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,GAAG,kBAAkB,CAAC;IAErD,OAAO,eAAe,UAAU,IAAI,SAAS,GAAG,CAAC;AACnD,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,cAAc,CAC5B,kBAA4C;IAE5C,OAAO,GAAG,iBAAiB,CAAC,kBAAkB,CAAC,GAAG,CAAC;AACrD,CAAC;AAED;;G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