@kensio/yulin 1.0.0 → 1.1.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 (693) 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 +30 -1
  229. package/dist/service/aws/factory/sim-aws-account-region-service-builder.js.map +1 -1
  230. package/dist/service/aws/sim-aws-service-accessors.d.ts +61 -0
  231. package/dist/service/aws/sim-aws-service-accessors.d.ts.map +1 -0
  232. package/dist/service/aws/sim-aws-service-accessors.js +71 -0
  233. package/dist/service/aws/sim-aws-service-accessors.js.map +1 -0
  234. package/dist/service/aws/sim-aws.d.ts +10 -46
  235. package/dist/service/aws/sim-aws.d.ts.map +1 -1
  236. package/dist/service/aws/sim-aws.js +12 -60
  237. package/dist/service/aws/sim-aws.js.map +1 -1
  238. package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-configuration.d.ts +29 -0
  239. package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-configuration.d.ts.map +1 -0
  240. package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-configuration.js +57 -0
  241. package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-configuration.js.map +1 -0
  242. package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-filter.d.ts +21 -0
  243. package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-filter.d.ts.map +1 -0
  244. package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-filter.js +38 -0
  245. package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-filter.js.map +1 -0
  246. package/dist/service/cloudformation/cdk/s3/bucket-notifications/error/sim-cdk-bucket-notification-error.d.ts +11 -0
  247. package/dist/service/cloudformation/cdk/s3/bucket-notifications/error/sim-cdk-bucket-notification-error.d.ts.map +1 -0
  248. package/dist/service/cloudformation/cdk/s3/bucket-notifications/error/sim-cdk-bucket-notification-error.js +13 -0
  249. package/dist/service/cloudformation/cdk/s3/bucket-notifications/error/sim-cdk-bucket-notification-error.js.map +1 -0
  250. package/dist/service/cloudformation/cdk/s3/bucket-notifications/property/sim-cdk-bucket-notification-properties.d.ts +48 -0
  251. package/dist/service/cloudformation/cdk/s3/bucket-notifications/property/sim-cdk-bucket-notification-properties.d.ts.map +1 -0
  252. package/dist/service/cloudformation/cdk/s3/bucket-notifications/property/sim-cdk-bucket-notification-properties.js +105 -0
  253. package/dist/service/cloudformation/cdk/s3/bucket-notifications/property/sim-cdk-bucket-notification-properties.js.map +1 -0
  254. package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications-template.factory.d.ts +45 -0
  255. package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications-template.factory.d.ts.map +1 -0
  256. package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications-template.factory.js +109 -0
  257. package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications-template.factory.js.map +1 -0
  258. package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications.d.ts +27 -0
  259. package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications.d.ts.map +1 -0
  260. package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications.js +47 -0
  261. package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications.js.map +1 -0
  262. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-custom-resource-factories.d.ts +23 -0
  263. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-custom-resource-factories.d.ts.map +1 -0
  264. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-custom-resource-factories.js +24 -0
  265. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-custom-resource-factories.js.map +1 -0
  266. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-resolver.d.ts.map +1 -1
  267. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-resolver.js +18 -7
  268. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-resolver.js.map +1 -1
  269. package/dist/service/cloudformation/template/value/sim-cfn-value-shape.d.ts +45 -0
  270. package/dist/service/cloudformation/template/value/sim-cfn-value-shape.d.ts.map +1 -0
  271. package/dist/service/cloudformation/template/value/sim-cfn-value-shape.js +73 -0
  272. package/dist/service/cloudformation/template/value/sim-cfn-value-shape.js.map +1 -0
  273. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-cancellation.d.ts +12 -0
  274. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-cancellation.d.ts.map +1 -1
  275. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-cancellation.js +15 -2
  276. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-cancellation.js.map +1 -1
  277. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-key-actions.d.ts.map +1 -1
  278. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-key-actions.js +15 -3
  279. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-key-actions.js.map +1 -1
  280. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-put-action.d.ts.map +1 -1
  281. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-put-action.js +2 -2
  282. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-put-action.js.map +1 -1
  283. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-update-action.d.ts.map +1 -1
  284. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-update-action.js +6 -2
  285. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-update-action.js.map +1 -1
  286. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-write.d.ts +6 -2
  287. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-write.d.ts.map +1 -1
  288. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-write.js.map +1 -1
  289. package/dist/service/dynamodb/table/sim-dynamodb-table-writes.d.ts +57 -0
  290. package/dist/service/dynamodb/table/sim-dynamodb-table-writes.d.ts.map +1 -0
  291. package/dist/service/dynamodb/table/sim-dynamodb-table-writes.js +72 -0
  292. package/dist/service/dynamodb/table/sim-dynamodb-table-writes.js.map +1 -0
  293. package/dist/service/dynamodb/table/sim-dynamodb-table.d.ts +9 -4
  294. package/dist/service/dynamodb/table/sim-dynamodb-table.d.ts.map +1 -1
  295. package/dist/service/dynamodb/table/sim-dynamodb-table.js +17 -13
  296. package/dist/service/dynamodb/table/sim-dynamodb-table.js.map +1 -1
  297. package/dist/service/lambda/command/authorize/sim-lambda-service-invoke-authorizer.d.ts +56 -0
  298. package/dist/service/lambda/command/authorize/sim-lambda-service-invoke-authorizer.d.ts.map +1 -0
  299. package/dist/service/lambda/command/authorize/sim-lambda-service-invoke-authorizer.js +59 -0
  300. package/dist/service/lambda/command/authorize/sim-lambda-service-invoke-authorizer.js.map +1 -0
  301. package/dist/service/lambda/function/policy/sim-lambda-permission.d.ts +13 -2
  302. package/dist/service/lambda/function/policy/sim-lambda-permission.d.ts.map +1 -1
  303. package/dist/service/lambda/function/policy/sim-lambda-permission.js +17 -4
  304. package/dist/service/lambda/function/policy/sim-lambda-permission.js.map +1 -1
  305. package/dist/service/s3/bucket/notification/sim-s3-lambda-notification.d.ts +39 -0
  306. package/dist/service/s3/bucket/notification/sim-s3-lambda-notification.d.ts.map +1 -0
  307. package/dist/service/s3/bucket/notification/sim-s3-lambda-notification.js +46 -0
  308. package/dist/service/s3/bucket/notification/sim-s3-lambda-notification.js.map +1 -0
  309. package/dist/service/s3/bucket/notification/sim-s3-notification-configuration-reader.d.ts +27 -0
  310. package/dist/service/s3/bucket/notification/sim-s3-notification-configuration-reader.d.ts.map +1 -0
  311. package/dist/service/s3/bucket/notification/sim-s3-notification-configuration-reader.js +88 -0
  312. package/dist/service/s3/bucket/notification/sim-s3-notification-configuration-reader.js.map +1 -0
  313. package/dist/service/s3/bucket/notification/sim-s3-notification-configuration.d.ts +34 -0
  314. package/dist/service/s3/bucket/notification/sim-s3-notification-configuration.d.ts.map +1 -0
  315. package/dist/service/s3/bucket/notification/sim-s3-notification-configuration.js +46 -0
  316. package/dist/service/s3/bucket/notification/sim-s3-notification-configuration.js.map +1 -0
  317. package/dist/service/s3/bucket/notification/sim-s3-notification-event.d.ts +18 -0
  318. package/dist/service/s3/bucket/notification/sim-s3-notification-event.d.ts.map +1 -0
  319. package/dist/service/s3/bucket/notification/sim-s3-notification-event.js +50 -0
  320. package/dist/service/s3/bucket/notification/sim-s3-notification-event.js.map +1 -0
  321. package/dist/service/s3/bucket/notification/sim-s3-notification-filter.d.ts +42 -0
  322. package/dist/service/s3/bucket/notification/sim-s3-notification-filter.d.ts.map +1 -0
  323. package/dist/service/s3/bucket/notification/sim-s3-notification-filter.js +91 -0
  324. package/dist/service/s3/bucket/notification/sim-s3-notification-filter.js.map +1 -0
  325. package/dist/service/s3/bucket/notification/sim-s3-notification-overlap.d.ts +16 -0
  326. package/dist/service/s3/bucket/notification/sim-s3-notification-overlap.d.ts.map +1 -0
  327. package/dist/service/s3/bucket/notification/sim-s3-notification-overlap.js +28 -0
  328. package/dist/service/s3/bucket/notification/sim-s3-notification-overlap.js.map +1 -0
  329. package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.d.ts +13 -0
  330. package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.d.ts.map +1 -0
  331. package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.js +37 -0
  332. package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.js.map +1 -0
  333. package/dist/service/s3/bucket/sim-s3-bucket.d.ts +24 -0
  334. package/dist/service/s3/bucket/sim-s3-bucket.d.ts.map +1 -1
  335. package/dist/service/s3/bucket/sim-s3-bucket.js +31 -1
  336. package/dist/service/s3/bucket/sim-s3-bucket.js.map +1 -1
  337. package/dist/service/s3/cfn/bucket/error/sim-cfn-s3-bucket-error.d.ts +20 -0
  338. package/dist/service/s3/cfn/bucket/error/sim-cfn-s3-bucket-error.d.ts.map +1 -0
  339. package/dist/service/s3/cfn/bucket/error/sim-cfn-s3-bucket-error.js +24 -0
  340. package/dist/service/s3/cfn/bucket/error/sim-cfn-s3-bucket-error.js.map +1 -0
  341. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-configuration.d.ts +33 -0
  342. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-configuration.d.ts.map +1 -0
  343. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-configuration.js +82 -0
  344. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-configuration.js.map +1 -0
  345. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-filter.d.ts +22 -0
  346. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-filter.d.ts.map +1 -0
  347. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-filter.js +54 -0
  348. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-filter.js.map +1 -0
  349. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-handler.resources.d.ts +26 -0
  350. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-handler.resources.d.ts.map +1 -0
  351. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-handler.resources.js +60 -0
  352. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-handler.resources.js.map +1 -0
  353. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-template.factory.d.ts +44 -0
  354. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-template.factory.d.ts.map +1 -0
  355. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-template.factory.js +67 -0
  356. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-template.factory.js.map +1 -0
  357. package/dist/service/s3/cfn/bucket/public-access/sim-cfn-s3-bucket-public-access-configuration.d.ts +24 -0
  358. package/dist/service/s3/cfn/bucket/public-access/sim-cfn-s3-bucket-public-access-configuration.d.ts.map +1 -0
  359. package/dist/service/s3/cfn/bucket/public-access/sim-cfn-s3-bucket-public-access-configuration.js +33 -0
  360. package/dist/service/s3/cfn/bucket/public-access/sim-cfn-s3-bucket-public-access-configuration.js.map +1 -0
  361. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-configurator.d.ts +36 -0
  362. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-configurator.d.ts.map +1 -0
  363. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-configurator.js +69 -0
  364. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-configurator.js.map +1 -0
  365. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-creator.d.ts +9 -5
  366. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-creator.d.ts.map +1 -1
  367. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-creator.js +22 -62
  368. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-creator.js.map +1 -1
  369. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-property-rules.d.ts +33 -0
  370. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-property-rules.d.ts.map +1 -0
  371. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-property-rules.js +105 -0
  372. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-property-rules.js.map +1 -0
  373. package/dist/service/s3/cfn/bucket/website/sim-cfn-s3-bucket-website-configuration.d.ts +29 -0
  374. package/dist/service/s3/cfn/bucket/website/sim-cfn-s3-bucket-website-configuration.d.ts.map +1 -0
  375. package/dist/service/s3/cfn/bucket/website/sim-cfn-s3-bucket-website-configuration.js +59 -0
  376. package/dist/service/s3/cfn/bucket/website/sim-cfn-s3-bucket-website-configuration.js.map +1 -0
  377. package/dist/service/s3/command/bucket/sim-s3-bucket-commands.d.ts +34 -0
  378. package/dist/service/s3/command/bucket/sim-s3-bucket-commands.d.ts.map +1 -0
  379. package/dist/service/s3/command/bucket/sim-s3-bucket-commands.js +35 -0
  380. package/dist/service/s3/command/bucket/sim-s3-bucket-commands.js.map +1 -0
  381. package/dist/service/s3/command/bucket-policy/sim-s3-bucket-policy-commands.d.ts +23 -0
  382. package/dist/service/s3/command/bucket-policy/sim-s3-bucket-policy-commands.d.ts.map +1 -0
  383. package/dist/service/s3/command/bucket-policy/sim-s3-bucket-policy-commands.js +31 -0
  384. package/dist/service/s3/command/bucket-policy/sim-s3-bucket-policy-commands.js.map +1 -0
  385. package/dist/service/s3/command/delete-object/delete-object-authorizer.d.ts +33 -0
  386. package/dist/service/s3/command/delete-object/delete-object-authorizer.d.ts.map +1 -0
  387. package/dist/service/s3/command/delete-object/delete-object-authorizer.js +46 -0
  388. package/dist/service/s3/command/delete-object/delete-object-authorizer.js.map +1 -0
  389. package/dist/service/s3/command/delete-object/delete-object.command.d.ts +24 -0
  390. package/dist/service/s3/command/delete-object/delete-object.command.d.ts.map +1 -0
  391. package/dist/service/s3/command/delete-object/delete-object.command.js +2 -0
  392. package/dist/service/s3/command/delete-object/delete-object.command.js.map +1 -0
  393. package/dist/service/s3/command/delete-object/delete-object.handler.d.ts +38 -0
  394. package/dist/service/s3/command/delete-object/delete-object.handler.d.ts.map +1 -0
  395. package/dist/service/s3/command/delete-object/delete-object.handler.js +53 -0
  396. package/dist/service/s3/command/delete-object/delete-object.handler.js.map +1 -0
  397. package/dist/service/s3/command/delete-objects/delete-object-attempt.d.ts +12 -0
  398. package/dist/service/s3/command/delete-objects/delete-object-attempt.d.ts.map +1 -0
  399. package/dist/service/s3/command/delete-objects/delete-object-attempt.js +15 -0
  400. package/dist/service/s3/command/delete-objects/delete-object-attempt.js.map +1 -0
  401. package/dist/service/s3/command/delete-objects/delete-objects-key-removal.d.ts +28 -0
  402. package/dist/service/s3/command/delete-objects/delete-objects-key-removal.d.ts.map +1 -0
  403. package/dist/service/s3/command/delete-objects/delete-objects-key-removal.js +39 -0
  404. package/dist/service/s3/command/delete-objects/delete-objects-key-removal.js.map +1 -0
  405. package/dist/service/s3/command/delete-objects/delete-objects-outcome.d.ts +34 -0
  406. package/dist/service/s3/command/delete-objects/delete-objects-outcome.d.ts.map +1 -0
  407. package/dist/service/s3/command/delete-objects/delete-objects-outcome.js +64 -0
  408. package/dist/service/s3/command/delete-objects/delete-objects-outcome.js.map +1 -0
  409. package/dist/service/s3/command/delete-objects/delete-objects-request.d.ts +14 -0
  410. package/dist/service/s3/command/delete-objects/delete-objects-request.d.ts.map +1 -0
  411. package/dist/service/s3/command/delete-objects/delete-objects-request.js +34 -0
  412. package/dist/service/s3/command/delete-objects/delete-objects-request.js.map +1 -0
  413. package/dist/service/s3/command/delete-objects/delete-objects.command.d.ts +53 -0
  414. package/dist/service/s3/command/delete-objects/delete-objects.command.d.ts.map +1 -0
  415. package/dist/service/s3/command/delete-objects/delete-objects.command.js +2 -0
  416. package/dist/service/s3/command/delete-objects/delete-objects.command.js.map +1 -0
  417. package/dist/service/s3/command/delete-objects/delete-objects.handler.d.ts +36 -0
  418. package/dist/service/s3/command/delete-objects/delete-objects.handler.d.ts.map +1 -0
  419. package/dist/service/s3/command/delete-objects/delete-objects.handler.js +43 -0
  420. package/dist/service/s3/command/delete-objects/delete-objects.handler.js.map +1 -0
  421. package/dist/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.command.d.ts +34 -0
  422. package/dist/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.command.d.ts.map +1 -0
  423. package/dist/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.command.js +2 -0
  424. package/dist/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.command.js.map +1 -0
  425. package/dist/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.handler.d.ts +35 -0
  426. package/dist/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.handler.d.ts.map +1 -0
  427. package/dist/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.handler.js +40 -0
  428. package/dist/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.handler.js.map +1 -0
  429. package/dist/service/s3/command/notification/sim-s3-notification-authorizer.d.ts +33 -0
  430. package/dist/service/s3/command/notification/sim-s3-notification-authorizer.d.ts.map +1 -0
  431. package/dist/service/s3/command/notification/sim-s3-notification-authorizer.js +50 -0
  432. package/dist/service/s3/command/notification/sim-s3-notification-authorizer.js.map +1 -0
  433. package/dist/service/s3/command/notification/sim-s3-notification-commands.d.ts +19 -0
  434. package/dist/service/s3/command/notification/sim-s3-notification-commands.d.ts.map +1 -0
  435. package/dist/service/s3/command/notification/sim-s3-notification-commands.js +24 -0
  436. package/dist/service/s3/command/notification/sim-s3-notification-commands.js.map +1 -0
  437. package/dist/service/s3/command/object/sim-s3-object-commands.d.ts +31 -0
  438. package/dist/service/s3/command/object/sim-s3-object-commands.d.ts.map +1 -0
  439. package/dist/service/s3/command/object/sim-s3-object-commands.js +45 -0
  440. package/dist/service/s3/command/object/sim-s3-object-commands.js.map +1 -0
  441. package/dist/service/s3/command/public-access-block/sim-s3-public-access-block-commands.d.ts +23 -0
  442. package/dist/service/s3/command/public-access-block/sim-s3-public-access-block-commands.d.ts.map +1 -0
  443. package/dist/service/s3/command/public-access-block/sim-s3-public-access-block-commands.js +31 -0
  444. package/dist/service/s3/command/public-access-block/sim-s3-public-access-block-commands.js.map +1 -0
  445. package/dist/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.command.d.ts +64 -0
  446. package/dist/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.command.d.ts.map +1 -0
  447. package/dist/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.command.js +2 -0
  448. package/dist/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.command.js.map +1 -0
  449. package/dist/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.handler.d.ts +39 -0
  450. package/dist/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.handler.d.ts.map +1 -0
  451. package/dist/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.handler.js +50 -0
  452. package/dist/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.handler.js.map +1 -0
  453. package/dist/service/s3/command/put-object/put-object-authorizer.d.ts +6 -1
  454. package/dist/service/s3/command/put-object/put-object-authorizer.d.ts.map +1 -1
  455. package/dist/service/s3/command/put-object/put-object-authorizer.js +5 -0
  456. package/dist/service/s3/command/put-object/put-object-authorizer.js.map +1 -1
  457. package/dist/service/s3/command/put-object/put-object.handler.d.ts +3 -0
  458. package/dist/service/s3/command/put-object/put-object.handler.d.ts.map +1 -1
  459. package/dist/service/s3/command/put-object/put-object.handler.js +6 -1
  460. package/dist/service/s3/command/put-object/put-object.handler.js.map +1 -1
  461. package/dist/service/s3/command/sim-s3-bucket-command-state.d.ts +23 -0
  462. package/dist/service/s3/command/sim-s3-bucket-command-state.d.ts.map +1 -0
  463. package/dist/service/s3/command/sim-s3-bucket-command-state.js +2 -0
  464. package/dist/service/s3/command/sim-s3-bucket-command-state.js.map +1 -0
  465. package/dist/service/s3/command/sim-s3-command.types.d.ts +4 -0
  466. package/dist/service/s3/command/sim-s3-command.types.d.ts.map +1 -1
  467. package/dist/service/s3/command/sim-s3-request-options.d.ts +11 -0
  468. package/dist/service/s3/command/sim-s3-request-options.d.ts.map +1 -0
  469. package/dist/service/s3/command/sim-s3-request-options.js +2 -0
  470. package/dist/service/s3/command/sim-s3-request-options.js.map +1 -0
  471. package/dist/service/s3/error/sim-s3-notification.error.d.ts +24 -0
  472. package/dist/service/s3/error/sim-s3-notification.error.d.ts.map +1 -0
  473. package/dist/service/s3/error/sim-s3-notification.error.js +24 -0
  474. package/dist/service/s3/error/sim-s3-notification.error.js.map +1 -0
  475. package/dist/service/s3/error/sim-s3.error.d.ts +32 -0
  476. package/dist/service/s3/error/sim-s3.error.d.ts.map +1 -1
  477. package/dist/service/s3/error/sim-s3.error.js +38 -0
  478. package/dist/service/s3/error/sim-s3.error.js.map +1 -1
  479. package/dist/service/s3/index.d.ts +1 -0
  480. package/dist/service/s3/index.d.ts.map +1 -1
  481. package/dist/service/s3/notification/destination/lambda/sim-aws-s3-notification-functions.d.ts +48 -0
  482. package/dist/service/s3/notification/destination/lambda/sim-aws-s3-notification-functions.d.ts.map +1 -0
  483. package/dist/service/s3/notification/destination/lambda/sim-aws-s3-notification-functions.js +78 -0
  484. package/dist/service/s3/notification/destination/lambda/sim-aws-s3-notification-functions.js.map +1 -0
  485. package/dist/service/s3/notification/destination/lambda/sim-s3-lambda-notification-destination.d.ts +30 -0
  486. package/dist/service/s3/notification/destination/lambda/sim-s3-lambda-notification-destination.d.ts.map +1 -0
  487. package/dist/service/s3/notification/destination/lambda/sim-s3-lambda-notification-destination.js +40 -0
  488. package/dist/service/s3/notification/destination/lambda/sim-s3-lambda-notification-destination.js.map +1 -0
  489. package/dist/service/s3/notification/destination/lambda/sim-s3-notification-function-arn.d.ts +24 -0
  490. package/dist/service/s3/notification/destination/lambda/sim-s3-notification-function-arn.d.ts.map +1 -0
  491. package/dist/service/s3/notification/destination/lambda/sim-s3-notification-function-arn.js +45 -0
  492. package/dist/service/s3/notification/destination/lambda/sim-s3-notification-function-arn.js.map +1 -0
  493. package/dist/service/s3/notification/destination/lambda/sim-s3-notification-functions.d.ts +23 -0
  494. package/dist/service/s3/notification/destination/lambda/sim-s3-notification-functions.d.ts.map +1 -0
  495. package/dist/service/s3/notification/destination/lambda/sim-s3-notification-functions.js +2 -0
  496. package/dist/service/s3/notification/destination/lambda/sim-s3-notification-functions.js.map +1 -0
  497. package/dist/service/s3/notification/destination/sim-s3-notification-destination-check.d.ts +20 -0
  498. package/dist/service/s3/notification/destination/sim-s3-notification-destination-check.d.ts.map +1 -0
  499. package/dist/service/s3/notification/destination/sim-s3-notification-destination-check.js +30 -0
  500. package/dist/service/s3/notification/destination/sim-s3-notification-destination-check.js.map +1 -0
  501. package/dist/service/s3/notification/destination/sim-s3-notification-destination.d.ts +50 -0
  502. package/dist/service/s3/notification/destination/sim-s3-notification-destination.d.ts.map +1 -0
  503. package/dist/service/s3/notification/destination/sim-s3-notification-destination.js +2 -0
  504. package/dist/service/s3/notification/destination/sim-s3-notification-destination.js.map +1 -0
  505. package/dist/service/s3/notification/destination/sim-s3-service-notification-destinations.d.ts +36 -0
  506. package/dist/service/s3/notification/destination/sim-s3-service-notification-destinations.d.ts.map +1 -0
  507. package/dist/service/s3/notification/destination/sim-s3-service-notification-destinations.js +48 -0
  508. package/dist/service/s3/notification/destination/sim-s3-service-notification-destinations.js.map +1 -0
  509. package/dist/service/s3/notification/event/sim-s3-event-principal.d.ts +13 -0
  510. package/dist/service/s3/notification/event/sim-s3-event-principal.d.ts.map +1 -0
  511. package/dist/service/s3/notification/event/sim-s3-event-principal.js +20 -0
  512. package/dist/service/s3/notification/event/sim-s3-event-principal.js.map +1 -0
  513. package/dist/service/s3/notification/event/sim-s3-event-records.d.ts +21 -0
  514. package/dist/service/s3/notification/event/sim-s3-event-records.d.ts.map +1 -0
  515. package/dist/service/s3/notification/event/sim-s3-event-records.js +90 -0
  516. package/dist/service/s3/notification/event/sim-s3-event-records.js.map +1 -0
  517. package/dist/service/s3/notification/event/sim-s3-object-etag.d.ts +8 -0
  518. package/dist/service/s3/notification/event/sim-s3-object-etag.d.ts.map +1 -0
  519. package/dist/service/s3/notification/event/sim-s3-object-etag.js +11 -0
  520. package/dist/service/s3/notification/event/sim-s3-object-etag.js.map +1 -0
  521. package/dist/service/s3/notification/event/sim-s3-object-event-builder.d.ts +63 -0
  522. package/dist/service/s3/notification/event/sim-s3-object-event-builder.d.ts.map +1 -0
  523. package/dist/service/s3/notification/event/sim-s3-object-event-builder.js +65 -0
  524. package/dist/service/s3/notification/event/sim-s3-object-event-builder.js.map +1 -0
  525. package/dist/service/s3/notification/event/sim-s3-object-event.d.ts +42 -0
  526. package/dist/service/s3/notification/event/sim-s3-object-event.d.ts.map +1 -0
  527. package/dist/service/s3/notification/event/sim-s3-object-event.js +38 -0
  528. package/dist/service/s3/notification/event/sim-s3-object-event.js.map +1 -0
  529. package/dist/service/s3/notification/sim-s3-notification-ceiling.d.ts +26 -0
  530. package/dist/service/s3/notification/sim-s3-notification-ceiling.d.ts.map +1 -0
  531. package/dist/service/s3/notification/sim-s3-notification-ceiling.js +39 -0
  532. package/dist/service/s3/notification/sim-s3-notification-ceiling.js.map +1 -0
  533. package/dist/service/s3/notification/sim-s3-notification-dispatcher.d.ts +33 -0
  534. package/dist/service/s3/notification/sim-s3-notification-dispatcher.d.ts.map +1 -0
  535. package/dist/service/s3/notification/sim-s3-notification-dispatcher.js +50 -0
  536. package/dist/service/s3/notification/sim-s3-notification-dispatcher.js.map +1 -0
  537. package/dist/service/s3/notification/sim-s3-notification-failures.d.ts +56 -0
  538. package/dist/service/s3/notification/sim-s3-notification-failures.d.ts.map +1 -0
  539. package/dist/service/s3/notification/sim-s3-notification-failures.js +80 -0
  540. package/dist/service/s3/notification/sim-s3-notification-failures.js.map +1 -0
  541. package/dist/service/s3/notification/sim-s3-notification-schedule.d.ts +31 -0
  542. package/dist/service/s3/notification/sim-s3-notification-schedule.d.ts.map +1 -0
  543. package/dist/service/s3/notification/sim-s3-notification-schedule.js +35 -0
  544. package/dist/service/s3/notification/sim-s3-notification-schedule.js.map +1 -0
  545. package/dist/service/s3/notification/sim-s3-object-notifier.d.ts +38 -0
  546. package/dist/service/s3/notification/sim-s3-object-notifier.d.ts.map +1 -0
  547. package/dist/service/s3/notification/sim-s3-object-notifier.js +46 -0
  548. package/dist/service/s3/notification/sim-s3-object-notifier.js.map +1 -0
  549. package/dist/service/s3/notification/sim-s3-object-sequencers.d.ts +19 -0
  550. package/dist/service/s3/notification/sim-s3-object-sequencers.d.ts.map +1 -0
  551. package/dist/service/s3/notification/sim-s3-object-sequencers.js +24 -0
  552. package/dist/service/s3/notification/sim-s3-object-sequencers.js.map +1 -0
  553. package/dist/service/s3/sdk/sim-s3-sdk-command-router.d.ts.map +1 -1
  554. package/dist/service/s3/sdk/sim-s3-sdk-command-router.js +16 -0
  555. package/dist/service/s3/sdk/sim-s3-sdk-command-router.js.map +1 -1
  556. package/dist/service/s3/serve/sim-s3-rest-controller.d.ts +8 -1
  557. package/dist/service/s3/serve/sim-s3-rest-controller.d.ts.map +1 -1
  558. package/dist/service/s3/serve/sim-s3-rest-controller.js +15 -27
  559. package/dist/service/s3/serve/sim-s3-rest-controller.js.map +1 -1
  560. package/dist/service/s3/serve/sim-s3-rest-object-reader.d.ts +17 -0
  561. package/dist/service/s3/serve/sim-s3-rest-object-reader.d.ts.map +1 -0
  562. package/dist/service/s3/serve/sim-s3-rest-object-reader.js +40 -0
  563. package/dist/service/s3/serve/sim-s3-rest-object-reader.js.map +1 -0
  564. package/dist/service/s3/serve/sim-s3-rest-refusal.js +2 -2
  565. package/dist/service/s3/serve/sim-s3-rest-refusal.js.map +1 -1
  566. package/dist/service/s3/sim-s3-commands.d.ts +51 -0
  567. package/dist/service/s3/sim-s3-commands.d.ts.map +1 -0
  568. package/dist/service/s3/sim-s3-commands.js +49 -0
  569. package/dist/service/s3/sim-s3-commands.js.map +1 -0
  570. package/dist/service/s3/sim-s3.d.ts +39 -27
  571. package/dist/service/s3/sim-s3.d.ts.map +1 -1
  572. package/dist/service/s3/sim-s3.js +50 -20
  573. package/dist/service/s3/sim-s3.js.map +1 -1
  574. package/dist/service/s3/storage/filesystem/s3-filesystem-object-keys.d.ts +27 -0
  575. package/dist/service/s3/storage/filesystem/s3-filesystem-object-keys.d.ts.map +1 -0
  576. package/dist/service/s3/storage/filesystem/s3-filesystem-object-keys.js +55 -0
  577. package/dist/service/s3/storage/filesystem/s3-filesystem-object-keys.js.map +1 -0
  578. package/dist/service/s3/storage/filesystem/s3-filesystem-storage.d.ts +11 -2
  579. package/dist/service/s3/storage/filesystem/s3-filesystem-storage.d.ts.map +1 -1
  580. package/dist/service/s3/storage/filesystem/s3-filesystem-storage.js +23 -33
  581. package/dist/service/s3/storage/filesystem/s3-filesystem-storage.js.map +1 -1
  582. package/dist/service/s3/storage/s3-bucket-storage.d.ts +8 -0
  583. package/dist/service/s3/storage/s3-bucket-storage.d.ts.map +1 -1
  584. package/dist/service/s3/storage/s3-memory-storage.d.ts +7 -0
  585. package/dist/service/s3/storage/s3-memory-storage.d.ts.map +1 -1
  586. package/dist/service/s3/storage/s3-memory-storage.js +9 -0
  587. package/dist/service/s3/storage/s3-memory-storage.js.map +1 -1
  588. package/dist/service/sqs/cfn/queue-policy/sim-cfn-sqs-queue-policy-creator.d.ts +42 -0
  589. package/dist/service/sqs/cfn/queue-policy/sim-cfn-sqs-queue-policy-creator.d.ts.map +1 -0
  590. package/dist/service/sqs/cfn/queue-policy/sim-cfn-sqs-queue-policy-creator.js +79 -0
  591. package/dist/service/sqs/cfn/queue-policy/sim-cfn-sqs-queue-policy-creator.js.map +1 -0
  592. package/dist/service/sqs/cfn/sim-sqs-cfn-resource-factory.d.ts +3 -3
  593. package/dist/service/sqs/cfn/sim-sqs-cfn-resource-factory.d.ts.map +1 -1
  594. package/dist/service/sqs/cfn/sim-sqs-cfn-resource-factory.js +10 -3
  595. package/dist/service/sqs/cfn/sim-sqs-cfn-resource-factory.js.map +1 -1
  596. package/dist/service/sqs/command/authorize/sim-sqs-authorizer.d.ts +23 -8
  597. package/dist/service/sqs/command/authorize/sim-sqs-authorizer.d.ts.map +1 -1
  598. package/dist/service/sqs/command/authorize/sim-sqs-authorizer.js +35 -13
  599. package/dist/service/sqs/command/authorize/sim-sqs-authorizer.js.map +1 -1
  600. package/dist/service/sqs/command/authorize/sim-sqs-condition-context.d.ts +13 -0
  601. package/dist/service/sqs/command/authorize/sim-sqs-condition-context.d.ts.map +1 -0
  602. package/dist/service/sqs/command/authorize/sim-sqs-condition-context.js +17 -0
  603. package/dist/service/sqs/command/authorize/sim-sqs-condition-context.js.map +1 -0
  604. package/dist/service/sqs/command/authorize/sim-sqs-queue-resource-policies.d.ts +12 -0
  605. package/dist/service/sqs/command/authorize/sim-sqs-queue-resource-policies.d.ts.map +1 -0
  606. package/dist/service/sqs/command/authorize/sim-sqs-queue-resource-policies.js +25 -0
  607. package/dist/service/sqs/command/authorize/sim-sqs-queue-resource-policies.js.map +1 -0
  608. package/dist/service/sqs/command/message/sim-sqs-change-message-visibility.d.ts +2 -5
  609. package/dist/service/sqs/command/message/sim-sqs-change-message-visibility.d.ts.map +1 -1
  610. package/dist/service/sqs/command/message/sim-sqs-change-message-visibility.js +1 -1
  611. package/dist/service/sqs/command/message/sim-sqs-change-message-visibility.js.map +1 -1
  612. package/dist/service/sqs/command/message/sim-sqs-delete-message-commands.d.ts +3 -6
  613. package/dist/service/sqs/command/message/sim-sqs-delete-message-commands.d.ts.map +1 -1
  614. package/dist/service/sqs/command/message/sim-sqs-delete-message-commands.js +2 -2
  615. package/dist/service/sqs/command/message/sim-sqs-delete-message-commands.js.map +1 -1
  616. package/dist/service/sqs/command/message/sim-sqs-receive-message.d.ts +2 -5
  617. package/dist/service/sqs/command/message/sim-sqs-receive-message.d.ts.map +1 -1
  618. package/dist/service/sqs/command/message/sim-sqs-receive-message.js +1 -1
  619. package/dist/service/sqs/command/message/sim-sqs-receive-message.js.map +1 -1
  620. package/dist/service/sqs/command/message/sim-sqs-send-message-commands.d.ts +3 -6
  621. package/dist/service/sqs/command/message/sim-sqs-send-message-commands.d.ts.map +1 -1
  622. package/dist/service/sqs/command/message/sim-sqs-send-message-commands.js +2 -2
  623. package/dist/service/sqs/command/message/sim-sqs-send-message-commands.js.map +1 -1
  624. package/dist/service/sqs/command/queue/sim-sqs-create-queue.d.ts +2 -5
  625. package/dist/service/sqs/command/queue/sim-sqs-create-queue.d.ts.map +1 -1
  626. package/dist/service/sqs/command/queue/sim-sqs-create-queue.js +1 -1
  627. package/dist/service/sqs/command/queue/sim-sqs-create-queue.js.map +1 -1
  628. package/dist/service/sqs/command/queue/sim-sqs-queue-access.d.ts +22 -14
  629. package/dist/service/sqs/command/queue/sim-sqs-queue-access.d.ts.map +1 -1
  630. package/dist/service/sqs/command/queue/sim-sqs-queue-access.js +31 -20
  631. package/dist/service/sqs/command/queue/sim-sqs-queue-access.js.map +1 -1
  632. package/dist/service/sqs/command/queue/sim-sqs-queue-attribute-commands.d.ts +4 -7
  633. package/dist/service/sqs/command/queue/sim-sqs-queue-attribute-commands.d.ts.map +1 -1
  634. package/dist/service/sqs/command/queue/sim-sqs-queue-attribute-commands.js +3 -3
  635. package/dist/service/sqs/command/queue/sim-sqs-queue-attribute-commands.js.map +1 -1
  636. package/dist/service/sqs/command/queue/sim-sqs-queue-commands.d.ts +4 -7
  637. package/dist/service/sqs/command/queue/sim-sqs-queue-commands.d.ts.map +1 -1
  638. package/dist/service/sqs/command/queue/sim-sqs-queue-commands.js +3 -3
  639. package/dist/service/sqs/command/queue/sim-sqs-queue-commands.js.map +1 -1
  640. package/dist/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.d.ts +4 -1
  641. package/dist/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.d.ts.map +1 -1
  642. package/dist/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.js +4 -1
  643. package/dist/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.js.map +1 -1
  644. package/dist/service/sqs/command/sim-sqs-request-options.d.ts +31 -0
  645. package/dist/service/sqs/command/sim-sqs-request-options.d.ts.map +1 -0
  646. package/dist/service/sqs/command/sim-sqs-request-options.js +10 -0
  647. package/dist/service/sqs/command/sim-sqs-request-options.js.map +1 -0
  648. package/dist/service/sqs/index.d.ts +3 -1
  649. package/dist/service/sqs/index.d.ts.map +1 -1
  650. package/dist/service/sqs/index.js +2 -0
  651. package/dist/service/sqs/index.js.map +1 -1
  652. package/dist/service/sqs/queue/sim-sqs-queue-attribute-names.js +4 -4
  653. package/dist/service/sqs/queue/sim-sqs-queue-attribute-names.js.map +1 -1
  654. package/dist/service/sqs/queue/sim-sqs-queue-attribute-numbers.d.ts +8 -0
  655. package/dist/service/sqs/queue/sim-sqs-queue-attribute-numbers.d.ts.map +1 -1
  656. package/dist/service/sqs/queue/sim-sqs-queue-attribute-numbers.js +21 -5
  657. package/dist/service/sqs/queue/sim-sqs-queue-attribute-numbers.js.map +1 -1
  658. package/dist/service/sqs/queue/sim-sqs-queue-attribute-specs.d.ts +14 -2
  659. package/dist/service/sqs/queue/sim-sqs-queue-attribute-specs.d.ts.map +1 -1
  660. package/dist/service/sqs/queue/sim-sqs-queue-attribute-specs.js +17 -2
  661. package/dist/service/sqs/queue/sim-sqs-queue-attribute-specs.js.map +1 -1
  662. package/dist/service/sqs/queue/sim-sqs-queue-attributes.d.ts +12 -14
  663. package/dist/service/sqs/queue/sim-sqs-queue-attributes.d.ts.map +1 -1
  664. package/dist/service/sqs/queue/sim-sqs-queue-attributes.js +24 -42
  665. package/dist/service/sqs/queue/sim-sqs-queue-attributes.js.map +1 -1
  666. package/dist/service/sqs/queue/sim-sqs-queue-json-attribute.d.ts +53 -0
  667. package/dist/service/sqs/queue/sim-sqs-queue-json-attribute.d.ts.map +1 -0
  668. package/dist/service/sqs/queue/sim-sqs-queue-json-attribute.js +66 -0
  669. package/dist/service/sqs/queue/sim-sqs-queue-json-attribute.js.map +1 -0
  670. package/dist/service/sqs/queue/sim-sqs-queue-json-attributes.d.ts +40 -0
  671. package/dist/service/sqs/queue/sim-sqs-queue-json-attributes.d.ts.map +1 -0
  672. package/dist/service/sqs/queue/sim-sqs-queue-json-attributes.js +65 -0
  673. package/dist/service/sqs/queue/sim-sqs-queue-json-attributes.js.map +1 -0
  674. package/dist/service/sqs/queue/sim-sqs-queue-policy.d.ts +33 -0
  675. package/dist/service/sqs/queue/sim-sqs-queue-policy.d.ts.map +1 -0
  676. package/dist/service/sqs/queue/sim-sqs-queue-policy.js +84 -0
  677. package/dist/service/sqs/queue/sim-sqs-queue-policy.js.map +1 -0
  678. package/dist/service/sqs/sim-sqs.d.ts +1 -4
  679. package/dist/service/sqs/sim-sqs.d.ts.map +1 -1
  680. package/dist/service/sqs/sim-sqs.js.map +1 -1
  681. package/package.json +1 -1
  682. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-identity-source.d.ts +0 -31
  683. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-identity-source.d.ts.map +0 -1
  684. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-identity-source.js +0 -78
  685. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-identity-source.js.map +0 -1
  686. package/dist/service/apigatewayv2/serve/auth/sim-http-api-integration-authorizer.d.ts +0 -42
  687. package/dist/service/apigatewayv2/serve/auth/sim-http-api-integration-authorizer.d.ts.map +0 -1
  688. package/dist/service/apigatewayv2/serve/auth/sim-http-api-integration-authorizer.js +0 -49
  689. package/dist/service/apigatewayv2/serve/auth/sim-http-api-integration-authorizer.js.map +0 -1
  690. package/dist/service/s3/command/sim-s3-command-handlers.d.ts +0 -91
  691. package/dist/service/s3/command/sim-s3-command-handlers.d.ts.map +0 -1
  692. package/dist/service/s3/command/sim-s3-command-handlers.js +0 -115
  693. package/dist/service/s3/command/sim-s3-command-handlers.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-bucket-notification-configuration.handler.d.ts","sourceRoot":"","sources":["../../../../../src/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,2CAA2C,CAAC;AAEnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,wDAAwD,CAAC;AAChE,OAAO,KAAK,EACV,WAAW,EACX,eAAe,EAChB,MAAM,+BAA+B,CAAC;AAGvC,OAAO,KAAK,EACV,4CAA4C,EAC5C,kDAAkD,EACnD,MAAM,oDAAoD,CAAC;AAE5D,UAAU,mDAAmD;IAC3D,QAAQ,CAAC,OAAO,EAAE,GAAG,CAAC,eAAe,EAAE,WAAW,CAAC,CAAC;IACpD,QAAQ,CAAC,GAAG,CAAC,EAAE,uBAAuB,CAAC;IACvC,QAAQ,CAAC,UAAU,CAAC,EAAE,mBAAmB,CAAC;CAC3C;AAED,UAAU,gDAAgD;IACxD,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC;AAED;;;;GAIG;AACH,qBAAa,gDAAiD,YAAW,cAAc,CACrF,4CAA4C,EAC5C,kDAAkD,CACnD;IACC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAoC;IAC5D,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA8B;IACzD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAsB;IAEjD,YAAY,UAAU,EAAE,mDAAmD,EAU1E;IAED;;;;;;OAMG;IACG,MAAM,CACV,OAAO,EAAE,4CAA4C,EACrD,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,kDAAkD,CAAC,CAiB7D;CACF"}
@@ -0,0 +1,40 @@
1
+ import { BackgroundTasks, } from "../../../../util/background/background.js";
2
+ import { assertDefined } from "../../../../util/type-guard/defined.js";
3
+ import { SimIamAllowAllAuth, } from "../../../iam/authorize/sim-iam-inter-service-auth-z.js";
4
+ import { SimS3NotificationAuthorizer } from "../notification/sim-s3-notification-authorizer.js";
5
+ import { requireSimS3Bucket } from "../require-sim-s3-bucket.js";
6
+ /**
7
+ * Simulated S3 GetBucketNotificationConfiguration command handler.
8
+ *
9
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/GetBucketNotificationConfigurationCommand/
10
+ */
11
+ export class GetBucketNotificationConfigurationCommandHandler {
12
+ buckets;
13
+ authorizer;
14
+ background;
15
+ constructor(properties) {
16
+ const { buckets, iam = new SimIamAllowAllAuth(), background = new BackgroundTasks(), } = properties;
17
+ this.buckets = buckets;
18
+ this.authorizer = new SimS3NotificationAuthorizer({ iam });
19
+ this.background = background;
20
+ }
21
+ /**
22
+ * Read a Bucket's event notification configuration.
23
+ *
24
+ * A Bucket nobody has configured answers an empty configuration rather than
25
+ * an error, which is what real S3 does: a Bucket always has a notification
26
+ * configuration, it is just usually empty.
27
+ */
28
+ async handle(command, options) {
29
+ assertDefined(command.input.Bucket, "GetBucketNotificationConfigurationCommand.input.Bucket");
30
+ const bucketName = command.input.Bucket;
31
+ const bucket = requireSimS3Bucket(this.buckets, bucketName);
32
+ await this.background.sequence();
33
+ this.authorizer.authorizeRead(bucket, options?.caller);
34
+ return {
35
+ ...bucket.getNotifications().toOutput(),
36
+ $metadata: {},
37
+ };
38
+ }
39
+ }
40
+ //# sourceMappingURL=get-bucket-notification-configuration.handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-bucket-notification-configuration.handler.js","sourceRoot":"","sources":["../../../../../src/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,eAAe,GAChB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAEvE,OAAO,EACL,kBAAkB,GAEnB,MAAM,wDAAwD,CAAC;AAKhE,OAAO,EAAE,2BAA2B,EAAE,MAAM,mDAAmD,CAAC;AAChG,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAgBjE;;;;GAIG;AACH,MAAM,OAAO,gDAAgD;IAI1C,OAAO,CAAoC;IAC3C,UAAU,CAA8B;IACxC,UAAU,CAAsB;IAEjD,YAAY,UAA+D;QACzE,MAAM,EACJ,OAAO,EACP,GAAG,GAAG,IAAI,kBAAkB,EAAE,EAC9B,UAAU,GAAG,IAAI,eAAe,EAAE,GACnC,GAAG,UAAU,CAAC;QAEf,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,UAAU,GAAG,IAAI,2BAA2B,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC;QAC3D,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,MAAM,CACV,OAAqD,EACrD,OAA0D;QAE1D,aAAa,CACX,OAAO,CAAC,KAAK,CAAC,MAAM,EACpB,wDAAwD,CACzD,CAAC;QAEF,MAAM,UAAU,GAAG,OAAO,CAAC,KAAK,CAAC,MAAyB,CAAC;QAC3D,MAAM,MAAM,GAAG,kBAAkB,CAAC,IAAI,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC;QAE5D,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;QAEjC,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QAEvD,OAAO;YACL,GAAG,MAAM,CAAC,gBAAgB,EAAE,CAAC,QAAQ,EAAE;YACvC,SAAS,EAAE,EAAE;SACd,CAAC;IACJ,CAAC;CACF"}
@@ -0,0 +1,33 @@
1
+ import type { SimAwsCaller } from "../../../aws/caller/sim-aws-caller.js";
2
+ import type { SimIamInterServiceAuthZ } from "../../../iam/authorize/sim-iam-inter-service-auth-z.js";
3
+ import type { SimS3Bucket } from "../../bucket/sim-s3-bucket.js";
4
+ interface SimS3NotificationAuthorizerProperties {
5
+ readonly iam: SimIamInterServiceAuthZ;
6
+ }
7
+ /**
8
+ * Applies IAM authorization to the S3 event notification commands.
9
+ *
10
+ * The IAM action names do not match the API names: reading the configuration
11
+ * is governed by s3:GetBucketNotification and replacing it by
12
+ * s3:PutBucketNotification, while the operations are called
13
+ * GetBucketNotificationConfiguration and PutBucketNotificationConfiguration.
14
+ * `sim-s3-public-access-block-authorizer.ts` has the same mismatch for the same
15
+ * reason: the permission is older than the operation name.
16
+ */
17
+ export declare class SimS3NotificationAuthorizer {
18
+ private static readonly readAction;
19
+ private static readonly writeAction;
20
+ private readonly iam;
21
+ constructor(properties: SimS3NotificationAuthorizerProperties);
22
+ /**
23
+ * Ensure the caller may read the Bucket's notification configuration.
24
+ */
25
+ authorizeRead(bucket: SimS3Bucket, caller?: SimAwsCaller): void;
26
+ /**
27
+ * Ensure the caller may replace the Bucket's notification configuration.
28
+ */
29
+ authorizeWrite(bucket: SimS3Bucket, caller?: SimAwsCaller): void;
30
+ private authorize;
31
+ }
32
+ export {};
33
+ //# sourceMappingURL=sim-s3-notification-authorizer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-s3-notification-authorizer.d.ts","sourceRoot":"","sources":["../../../../../src/service/s3/command/notification/sim-s3-notification-authorizer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wDAAwD,CAAC;AAGtG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAGjE,UAAU,qCAAqC;IAC7C,QAAQ,CAAC,GAAG,EAAE,uBAAuB,CAAC;CACvC;AAED;;;;;;;;;GASG;AACH,qBAAa,2BAA2B;IACtC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,UAAU,CAA8B;IAChE,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,WAAW,CAA8B;IAEjE,OAAO,CAAC,QAAQ,CAAC,GAAG,CAA0B;IAE9C,YAAY,UAAU,EAAE,qCAAqC,EAE5D;IAED;;OAEG;IACH,aAAa,CAAC,MAAM,EAAE,WAAW,EAAE,MAAM,CAAC,EAAE,YAAY,GAAG,IAAI,CAE9D;IAED;;OAEG;IACH,cAAc,CAAC,MAAM,EAAE,WAAW,EAAE,MAAM,CAAC,EAAE,YAAY,GAAG,IAAI,CAE/D;IAED,OAAO,CAAC,SAAS;CAqBlB"}
@@ -0,0 +1,50 @@
1
+ import { SimIamAccessDenied } from "../../../iam/error/sim-iam.error.js";
2
+ import { simS3BucketArn } from "../../bucket/sim-s3-bucket-arn.js";
3
+ import { simS3BucketResourcePolicies } from "../authorize/sim-s3-bucket-resource-policies.js";
4
+ /**
5
+ * Applies IAM authorization to the S3 event notification commands.
6
+ *
7
+ * The IAM action names do not match the API names: reading the configuration
8
+ * is governed by s3:GetBucketNotification and replacing it by
9
+ * s3:PutBucketNotification, while the operations are called
10
+ * GetBucketNotificationConfiguration and PutBucketNotificationConfiguration.
11
+ * `sim-s3-public-access-block-authorizer.ts` has the same mismatch for the same
12
+ * reason: the permission is older than the operation name.
13
+ */
14
+ export class SimS3NotificationAuthorizer {
15
+ static readAction = "s3:GetBucketNotification";
16
+ static writeAction = "s3:PutBucketNotification";
17
+ iam;
18
+ constructor(properties) {
19
+ this.iam = properties.iam;
20
+ }
21
+ /**
22
+ * Ensure the caller may read the Bucket's notification configuration.
23
+ */
24
+ authorizeRead(bucket, caller) {
25
+ this.authorize(SimS3NotificationAuthorizer.readAction, bucket, caller);
26
+ }
27
+ /**
28
+ * Ensure the caller may replace the Bucket's notification configuration.
29
+ */
30
+ authorizeWrite(bucket, caller) {
31
+ this.authorize(SimS3NotificationAuthorizer.writeAction, bucket, caller);
32
+ }
33
+ authorize(action, bucket, caller) {
34
+ const resource = simS3BucketArn(bucket.bucketName);
35
+ const decision = this.iam.authorize({
36
+ action,
37
+ resource,
38
+ caller,
39
+ resourcePolicies: simS3BucketResourcePolicies(bucket),
40
+ });
41
+ if (decision.isDenied) {
42
+ throw new SimIamAccessDenied({
43
+ principal: decision.caller.principal,
44
+ action,
45
+ resource,
46
+ });
47
+ }
48
+ }
49
+ }
50
+ //# sourceMappingURL=sim-s3-notification-authorizer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-s3-notification-authorizer.js","sourceRoot":"","sources":["../../../../../src/service/s3/command/notification/sim-s3-notification-authorizer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAEnE,OAAO,EAAE,2BAA2B,EAAE,MAAM,iDAAiD,CAAC;AAM9F;;;;;;;;;GASG;AACH,MAAM,OAAO,2BAA2B;IAC9B,MAAM,CAAU,UAAU,GAAG,0BAA0B,CAAC;IACxD,MAAM,CAAU,WAAW,GAAG,0BAA0B,CAAC;IAEhD,GAAG,CAA0B;IAE9C,YAAY,UAAiD;QAC3D,IAAI,CAAC,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC;IAC5B,CAAC;IAED;;OAEG;IACH,aAAa,CAAC,MAAmB,EAAE,MAAqB;QACtD,IAAI,CAAC,SAAS,CAAC,2BAA2B,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IACzE,CAAC;IAED;;OAEG;IACH,cAAc,CAAC,MAAmB,EAAE,MAAqB;QACvD,IAAI,CAAC,SAAS,CAAC,2BAA2B,CAAC,WAAW,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1E,CAAC;IAEO,SAAS,CACf,MAAc,EACd,MAAmB,EACnB,MAAqB;QAErB,MAAM,QAAQ,GAAG,cAAc,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QACnD,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC;YAClC,MAAM;YACN,QAAQ;YACR,MAAM;YACN,gBAAgB,EAAE,2BAA2B,CAAC,MAAM,CAAC;SACtD,CAAC,CAAC;QAEH,IAAI,QAAQ,CAAC,QAAQ,EAAE,CAAC;YACtB,MAAM,IAAI,kBAAkB,CAAC;gBAC3B,SAAS,EAAE,QAAQ,CAAC,MAAM,CAAC,SAAS;gBACpC,MAAM;gBACN,QAAQ;aACT,CAAC,CAAC;QACL,CAAC;IACH,CAAC;CACF"}
@@ -0,0 +1,19 @@
1
+ import type { SimS3BucketCommandState } from "../sim-s3-bucket-command-state.js";
2
+ import type * as simS3Commands from "../sim-s3-command.types.js";
3
+ import type { SimS3RequestOptions } from "../sim-s3-request-options.js";
4
+ /**
5
+ * The event notification commands of one simulated S3 scope.
6
+ */
7
+ export declare class SimS3NotificationCommands {
8
+ private readonly state;
9
+ constructor(state: SimS3BucketCommandState);
10
+ /**
11
+ * Replace a Bucket's event notification configuration.
12
+ */
13
+ put(command: simS3Commands.SimPutBucketNotificationConfigurationCommand, options?: SimS3RequestOptions): Promise<simS3Commands.SimPutBucketNotificationConfigurationCommandOutput>;
14
+ /**
15
+ * Read a Bucket's event notification configuration.
16
+ */
17
+ get(command: simS3Commands.SimGetBucketNotificationConfigurationCommand, options?: SimS3RequestOptions): Promise<simS3Commands.SimGetBucketNotificationConfigurationCommandOutput>;
18
+ }
19
+ //# sourceMappingURL=sim-s3-notification-commands.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-s3-notification-commands.d.ts","sourceRoot":"","sources":["../../../../../src/service/s3/command/notification/sim-s3-notification-commands.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,KAAK,KAAK,aAAa,MAAM,4BAA4B,CAAC;AACjE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAExE;;GAEG;AACH,qBAAa,yBAAyB;IACpC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAA0B;IAEhD,YAAY,KAAK,EAAE,uBAAuB,EAEzC;IAED;;OAEG;IACG,GAAG,CACP,OAAO,EAAE,aAAa,CAAC,4CAA4C,EACnE,OAAO,CAAC,EAAE,mBAAmB,GAC5B,OAAO,CAAC,aAAa,CAAC,kDAAkD,CAAC,CAI3E;IAED;;OAEG;IACG,GAAG,CACP,OAAO,EAAE,aAAa,CAAC,4CAA4C,EACnE,OAAO,CAAC,EAAE,mBAAmB,GAC5B,OAAO,CAAC,aAAa,CAAC,kDAAkD,CAAC,CAI3E;CACF"}
@@ -0,0 +1,24 @@
1
+ import { GetBucketNotificationConfigurationCommandHandler } from "../get-bucket-notification-configuration/get-bucket-notification-configuration.handler.js";
2
+ import { PutBucketNotificationConfigurationCommandHandler } from "../put-bucket-notification-configuration/put-bucket-notification-configuration.handler.js";
3
+ /**
4
+ * The event notification commands of one simulated S3 scope.
5
+ */
6
+ export class SimS3NotificationCommands {
7
+ state;
8
+ constructor(state) {
9
+ this.state = state;
10
+ }
11
+ /**
12
+ * Replace a Bucket's event notification configuration.
13
+ */
14
+ async put(command, options) {
15
+ return await new PutBucketNotificationConfigurationCommandHandler(this.state).handle(command, options);
16
+ }
17
+ /**
18
+ * Read a Bucket's event notification configuration.
19
+ */
20
+ async get(command, options) {
21
+ return await new GetBucketNotificationConfigurationCommandHandler(this.state).handle(command, options);
22
+ }
23
+ }
24
+ //# sourceMappingURL=sim-s3-notification-commands.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-s3-notification-commands.js","sourceRoot":"","sources":["../../../../../src/service/s3/command/notification/sim-s3-notification-commands.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gDAAgD,EAAE,MAAM,2FAA2F,CAAC;AAC7J,OAAO,EAAE,gDAAgD,EAAE,MAAM,2FAA2F,CAAC;AAK7J;;GAEG;AACH,MAAM,OAAO,yBAAyB;IACnB,KAAK,CAA0B;IAEhD,YAAY,KAA8B;QACxC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,GAAG,CACP,OAAmE,EACnE,OAA6B;QAE7B,OAAO,MAAM,IAAI,gDAAgD,CAC/D,IAAI,CAAC,KAAK,CACX,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC7B,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,GAAG,CACP,OAAmE,EACnE,OAA6B;QAE7B,OAAO,MAAM,IAAI,gDAAgD,CAC/D,IAAI,CAAC,KAAK,CACX,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC7B,CAAC;CACF"}
@@ -0,0 +1,31 @@
1
+ import type { SimS3BucketCommandState } from "../sim-s3-bucket-command-state.js";
2
+ import type * as simS3Commands from "../sim-s3-command.types.js";
3
+ import type { SimS3RequestOptions } from "../sim-s3-request-options.js";
4
+ /**
5
+ * The Object commands of one simulated S3 scope.
6
+ */
7
+ export declare class SimS3ObjectCommands {
8
+ private readonly state;
9
+ constructor(state: SimS3BucketCommandState);
10
+ /**
11
+ * Store an Object in a Bucket.
12
+ */
13
+ put(command: simS3Commands.SimPutObjectCommand, options?: SimS3RequestOptions): Promise<simS3Commands.SimPutObjectCommandOutput>;
14
+ /**
15
+ * Read an Object from a Bucket.
16
+ */
17
+ get(command: simS3Commands.SimGetObjectCommand, options?: SimS3RequestOptions): Promise<simS3Commands.SimGetObjectCommandOutput>;
18
+ /**
19
+ * Remove an Object from a Bucket.
20
+ */
21
+ delete(command: simS3Commands.SimDeleteObjectCommand, options?: SimS3RequestOptions): Promise<simS3Commands.SimDeleteObjectCommandOutput>;
22
+ /**
23
+ * Remove several Objects from a Bucket in one request.
24
+ */
25
+ deleteMany(command: simS3Commands.SimDeleteObjectsCommand, options?: SimS3RequestOptions): Promise<simS3Commands.SimDeleteObjectsCommandOutput>;
26
+ /**
27
+ * List the Objects in a Bucket.
28
+ */
29
+ list(command: simS3Commands.SimListObjectsCommand, options?: SimS3RequestOptions): Promise<simS3Commands.SimListObjectsCommandOutput>;
30
+ }
31
+ //# sourceMappingURL=sim-s3-object-commands.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-s3-object-commands.d.ts","sourceRoot":"","sources":["../../../../../src/service/s3/command/object/sim-s3-object-commands.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,KAAK,KAAK,aAAa,MAAM,4BAA4B,CAAC;AACjE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAExE;;GAEG;AACH,qBAAa,mBAAmB;IAC9B,OAAO,CAAC,QAAQ,CAAC,KAAK,CAA0B;IAEhD,YAAY,KAAK,EAAE,uBAAuB,EAEzC;IAED;;OAEG;IACG,GAAG,CACP,OAAO,EAAE,aAAa,CAAC,mBAAmB,EAC1C,OAAO,CAAC,EAAE,mBAAmB,GAC5B,OAAO,CAAC,aAAa,CAAC,yBAAyB,CAAC,CAKlD;IAED;;OAEG;IACG,GAAG,CACP,OAAO,EAAE,aAAa,CAAC,mBAAmB,EAC1C,OAAO,CAAC,EAAE,mBAAmB,GAC5B,OAAO,CAAC,aAAa,CAAC,yBAAyB,CAAC,CAKlD;IAED;;OAEG;IACG,MAAM,CACV,OAAO,EAAE,aAAa,CAAC,sBAAsB,EAC7C,OAAO,CAAC,EAAE,mBAAmB,GAC5B,OAAO,CAAC,aAAa,CAAC,4BAA4B,CAAC,CAKrD;IAED;;OAEG;IACG,UAAU,CACd,OAAO,EAAE,aAAa,CAAC,uBAAuB,EAC9C,OAAO,CAAC,EAAE,mBAAmB,GAC5B,OAAO,CAAC,aAAa,CAAC,6BAA6B,CAAC,CAKtD;IAED;;OAEG;IACG,IAAI,CACR,OAAO,EAAE,aAAa,CAAC,qBAAqB,EAC5C,OAAO,CAAC,EAAE,mBAAmB,GAC5B,OAAO,CAAC,aAAa,CAAC,2BAA2B,CAAC,CAKpD;CACF"}
@@ -0,0 +1,45 @@
1
+ import { DeleteObjectCommandHandler } from "../delete-object/delete-object.handler.js";
2
+ import { DeleteObjectsCommandHandler } from "../delete-objects/delete-objects.handler.js";
3
+ import { GetObjectCommandHandler } from "../get-object/get-object.handler.js";
4
+ import { ListObjectsCommandHandler } from "../list-objects/list-objects.handler.js";
5
+ import { PutObjectCommandHandler } from "../put-object/put-object.handler.js";
6
+ /**
7
+ * The Object commands of one simulated S3 scope.
8
+ */
9
+ export class SimS3ObjectCommands {
10
+ state;
11
+ constructor(state) {
12
+ this.state = state;
13
+ }
14
+ /**
15
+ * Store an Object in a Bucket.
16
+ */
17
+ async put(command, options) {
18
+ return await new PutObjectCommandHandler(this.state).handle(command, options);
19
+ }
20
+ /**
21
+ * Read an Object from a Bucket.
22
+ */
23
+ async get(command, options) {
24
+ return await new GetObjectCommandHandler(this.state).handle(command, options);
25
+ }
26
+ /**
27
+ * Remove an Object from a Bucket.
28
+ */
29
+ async delete(command, options) {
30
+ return await new DeleteObjectCommandHandler(this.state).handle(command, options);
31
+ }
32
+ /**
33
+ * Remove several Objects from a Bucket in one request.
34
+ */
35
+ async deleteMany(command, options) {
36
+ return await new DeleteObjectsCommandHandler(this.state).handle(command, options);
37
+ }
38
+ /**
39
+ * List the Objects in a Bucket.
40
+ */
41
+ async list(command, options) {
42
+ return await new ListObjectsCommandHandler(this.state).handle(command, options);
43
+ }
44
+ }
45
+ //# sourceMappingURL=sim-s3-object-commands.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-s3-object-commands.js","sourceRoot":"","sources":["../../../../../src/service/s3/command/object/sim-s3-object-commands.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,2CAA2C,CAAC;AACvF,OAAO,EAAE,2BAA2B,EAAE,MAAM,6CAA6C,CAAC;AAC1F,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAK9E;;GAEG;AACH,MAAM,OAAO,mBAAmB;IACb,KAAK,CAA0B;IAEhD,YAAY,KAA8B;QACxC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,GAAG,CACP,OAA0C,EAC1C,OAA6B;QAE7B,OAAO,MAAM,IAAI,uBAAuB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CACzD,OAAO,EACP,OAAO,CACR,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,GAAG,CACP,OAA0C,EAC1C,OAA6B;QAE7B,OAAO,MAAM,IAAI,uBAAuB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CACzD,OAAO,EACP,OAAO,CACR,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,MAAM,CACV,OAA6C,EAC7C,OAA6B;QAE7B,OAAO,MAAM,IAAI,0BAA0B,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAC5D,OAAO,EACP,OAAO,CACR,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,UAAU,CACd,OAA8C,EAC9C,OAA6B;QAE7B,OAAO,MAAM,IAAI,2BAA2B,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAC7D,OAAO,EACP,OAAO,CACR,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,IAAI,CACR,OAA4C,EAC5C,OAA6B;QAE7B,OAAO,MAAM,IAAI,yBAAyB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAC3D,OAAO,EACP,OAAO,CACR,CAAC;IACJ,CAAC;CACF"}
@@ -0,0 +1,23 @@
1
+ import type { SimS3BucketCommandState } from "../sim-s3-bucket-command-state.js";
2
+ import type * as simS3Commands from "../sim-s3-command.types.js";
3
+ import type { SimS3RequestOptions } from "../sim-s3-request-options.js";
4
+ /**
5
+ * The Block Public Access commands of one simulated S3 scope.
6
+ */
7
+ export declare class SimS3PublicAccessBlockCommands {
8
+ private readonly state;
9
+ constructor(state: SimS3BucketCommandState);
10
+ /**
11
+ * Replace a Bucket's Block Public Access settings.
12
+ */
13
+ put(command: simS3Commands.SimPutPublicAccessBlockCommand, options?: SimS3RequestOptions): Promise<simS3Commands.SimPutPublicAccessBlockCommandOutput>;
14
+ /**
15
+ * Read a Bucket's Block Public Access settings.
16
+ */
17
+ get(command: simS3Commands.SimGetPublicAccessBlockCommand, options?: SimS3RequestOptions): Promise<simS3Commands.SimGetPublicAccessBlockCommandOutput>;
18
+ /**
19
+ * Remove a Bucket's Block Public Access settings.
20
+ */
21
+ delete(command: simS3Commands.SimDeletePublicAccessBlockCommand, options?: SimS3RequestOptions): Promise<simS3Commands.SimDeletePublicAccessBlockCommandOutput>;
22
+ }
23
+ //# sourceMappingURL=sim-s3-public-access-block-commands.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-s3-public-access-block-commands.d.ts","sourceRoot":"","sources":["../../../../../src/service/s3/command/public-access-block/sim-s3-public-access-block-commands.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,KAAK,KAAK,aAAa,MAAM,4BAA4B,CAAC;AACjE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAExE;;GAEG;AACH,qBAAa,8BAA8B;IACzC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAA0B;IAEhD,YAAY,KAAK,EAAE,uBAAuB,EAEzC;IAED;;OAEG;IACG,GAAG,CACP,OAAO,EAAE,aAAa,CAAC,8BAA8B,EACrD,OAAO,CAAC,EAAE,mBAAmB,GAC5B,OAAO,CAAC,aAAa,CAAC,oCAAoC,CAAC,CAK7D;IAED;;OAEG;IACG,GAAG,CACP,OAAO,EAAE,aAAa,CAAC,8BAA8B,EACrD,OAAO,CAAC,EAAE,mBAAmB,GAC5B,OAAO,CAAC,aAAa,CAAC,oCAAoC,CAAC,CAK7D;IAED;;OAEG;IACG,MAAM,CACV,OAAO,EAAE,aAAa,CAAC,iCAAiC,EACxD,OAAO,CAAC,EAAE,mBAAmB,GAC5B,OAAO,CAAC,aAAa,CAAC,uCAAuC,CAAC,CAKhE;CACF"}
@@ -0,0 +1,31 @@
1
+ import { DeletePublicAccessBlockCommandHandler } from "../delete-public-access-block/delete-public-access-block.handler.js";
2
+ import { GetPublicAccessBlockCommandHandler } from "../get-public-access-block/get-public-access-block.handler.js";
3
+ import { PutPublicAccessBlockCommandHandler } from "../put-public-access-block/put-public-access-block.handler.js";
4
+ /**
5
+ * The Block Public Access commands of one simulated S3 scope.
6
+ */
7
+ export class SimS3PublicAccessBlockCommands {
8
+ state;
9
+ constructor(state) {
10
+ this.state = state;
11
+ }
12
+ /**
13
+ * Replace a Bucket's Block Public Access settings.
14
+ */
15
+ async put(command, options) {
16
+ return await new PutPublicAccessBlockCommandHandler(this.state).handle(command, options);
17
+ }
18
+ /**
19
+ * Read a Bucket's Block Public Access settings.
20
+ */
21
+ async get(command, options) {
22
+ return await new GetPublicAccessBlockCommandHandler(this.state).handle(command, options);
23
+ }
24
+ /**
25
+ * Remove a Bucket's Block Public Access settings.
26
+ */
27
+ async delete(command, options) {
28
+ return await new DeletePublicAccessBlockCommandHandler(this.state).handle(command, options);
29
+ }
30
+ }
31
+ //# sourceMappingURL=sim-s3-public-access-block-commands.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-s3-public-access-block-commands.js","sourceRoot":"","sources":["../../../../../src/service/s3/command/public-access-block/sim-s3-public-access-block-commands.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qCAAqC,EAAE,MAAM,qEAAqE,CAAC;AAC5H,OAAO,EAAE,kCAAkC,EAAE,MAAM,+DAA+D,CAAC;AACnH,OAAO,EAAE,kCAAkC,EAAE,MAAM,+DAA+D,CAAC;AAKnH;;GAEG;AACH,MAAM,OAAO,8BAA8B;IACxB,KAAK,CAA0B;IAEhD,YAAY,KAA8B;QACxC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,GAAG,CACP,OAAqD,EACrD,OAA6B;QAE7B,OAAO,MAAM,IAAI,kCAAkC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CACpE,OAAO,EACP,OAAO,CACR,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,GAAG,CACP,OAAqD,EACrD,OAA6B;QAE7B,OAAO,MAAM,IAAI,kCAAkC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CACpE,OAAO,EACP,OAAO,CACR,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,MAAM,CACV,OAAwD,EACxD,OAA6B;QAE7B,OAAO,MAAM,IAAI,qCAAqC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CACvE,OAAO,EACP,OAAO,CACR,CAAC;IACJ,CAAC;CACF"}
@@ -0,0 +1,64 @@
1
+ import type { SimResponseMetadata } from "../../../aws/metadata/response-metadata.type.js";
2
+ /**
3
+ * Minimal structural sim S3 PutBucketNotificationConfiguration command.
4
+ */
5
+ export interface SimPutBucketNotificationConfigurationCommand {
6
+ readonly input: SimPutBucketNotificationConfigurationCommandInput;
7
+ }
8
+ /**
9
+ * Minimal structural sim S3 PutBucketNotificationConfiguration input.
10
+ */
11
+ export interface SimPutBucketNotificationConfigurationCommandInput {
12
+ readonly Bucket?: string | undefined;
13
+ readonly NotificationConfiguration?: SimS3NotificationConfigurationInput | undefined;
14
+ readonly SkipDestinationValidation?: boolean | undefined;
15
+ }
16
+ /**
17
+ * Minimal structural sim S3 PutBucketNotificationConfiguration output.
18
+ */
19
+ export interface SimPutBucketNotificationConfigurationCommandOutput {
20
+ readonly $metadata: SimResponseMetadata;
21
+ }
22
+ /**
23
+ * Minimal structural sim S3 notification configuration.
24
+ *
25
+ * The four destination groups are nested under this on the way in and sit at
26
+ * the top level of the GetBucketNotificationConfiguration response on the way
27
+ * out, which is what real S3 does and what
28
+ * SimS3NotificationConfigurationOutput exists to say.
29
+ */
30
+ export interface SimS3NotificationConfigurationInput {
31
+ readonly LambdaFunctionConfigurations?: readonly SimS3LambdaFunctionConfigurationInput[] | undefined;
32
+ readonly QueueConfigurations?: readonly unknown[] | undefined;
33
+ readonly TopicConfigurations?: readonly unknown[] | undefined;
34
+ readonly EventBridgeConfiguration?: object | undefined;
35
+ }
36
+ /**
37
+ * Minimal structural sim S3 Lambda function notification configuration.
38
+ */
39
+ export interface SimS3LambdaFunctionConfigurationInput {
40
+ readonly Id?: string | undefined;
41
+ readonly LambdaFunctionArn?: string | undefined;
42
+ readonly Events?: readonly string[] | undefined;
43
+ readonly Filter?: SimS3NotificationFilterInput | undefined;
44
+ }
45
+ /**
46
+ * Minimal structural sim S3 notification object key filter.
47
+ */
48
+ export interface SimS3NotificationFilterInput {
49
+ readonly Key?: SimS3NotificationKeyFilterInput | undefined;
50
+ }
51
+ /**
52
+ * Minimal structural sim S3 notification object key filter rules.
53
+ */
54
+ export interface SimS3NotificationKeyFilterInput {
55
+ readonly FilterRules?: readonly SimS3NotificationFilterRuleInput[] | undefined;
56
+ }
57
+ /**
58
+ * Minimal structural sim S3 notification object key filter rule.
59
+ */
60
+ export interface SimS3NotificationFilterRuleInput {
61
+ readonly Name?: string | undefined;
62
+ readonly Value?: string | undefined;
63
+ }
64
+ //# sourceMappingURL=put-bucket-notification-configuration.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"put-bucket-notification-configuration.command.d.ts","sourceRoot":"","sources":["../../../../../src/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAE3F;;GAEG;AACH,MAAM,WAAW,4CAA4C;IAC3D,QAAQ,CAAC,KAAK,EAAE,iDAAiD,CAAC;CACnE;AAED;;GAEG;AACH,MAAM,WAAW,iDAAiD;IAChE,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,QAAQ,CAAC,yBAAyB,CAAC,EACjC,mCAAmC,GAAG,SAAS,CAAC;IAClD,QAAQ,CAAC,yBAAyB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC1D;AAED;;GAEG;AACH,MAAM,WAAW,kDAAkD;IACjE,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,mCAAmC;IAClD,QAAQ,CAAC,4BAA4B,CAAC,EACpC,SAAS,qCAAqC,EAAE,GAAG,SAAS,CAAC;IAC/D,QAAQ,CAAC,mBAAmB,CAAC,EAAE,SAAS,OAAO,EAAE,GAAG,SAAS,CAAC;IAC9D,QAAQ,CAAC,mBAAmB,CAAC,EAAE,SAAS,OAAO,EAAE,GAAG,SAAS,CAAC;IAC9D,QAAQ,CAAC,wBAAwB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACxD;AAED;;GAEG;AACH,MAAM,WAAW,qCAAqC;IACpD,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChD,QAAQ,CAAC,MAAM,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;IAChD,QAAQ,CAAC,MAAM,CAAC,EAAE,4BAA4B,GAAG,SAAS,CAAC;CAC5D;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,GAAG,CAAC,EAAE,+BAA+B,GAAG,SAAS,CAAC;CAC5D;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,CAAC,WAAW,CAAC,EACnB,SAAS,gCAAgC,EAAE,GAAG,SAAS,CAAC;CAC3D;AAED;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=put-bucket-notification-configuration.command.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"put-bucket-notification-configuration.command.js","sourceRoot":"","sources":["../../../../../src/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.command.ts"],"names":[],"mappings":""}
@@ -0,0 +1,39 @@
1
+ import type { CommandHandler } from "../../../../command/command-handler.js";
2
+ import { type BackgroundScheduler } from "../../../../util/background/background.js";
3
+ import type { SimAwsCaller } from "../../../aws/caller/sim-aws-caller.js";
4
+ import { type SimIamInterServiceAuthZ } from "../../../iam/authorize/sim-iam-inter-service-auth-z.js";
5
+ import type { SimS3Bucket, SimS3BucketName } from "../../bucket/sim-s3-bucket.js";
6
+ import type { SimS3NotificationDestinations } from "../../notification/destination/sim-s3-notification-destination.js";
7
+ import type { SimPutBucketNotificationConfigurationCommand, SimPutBucketNotificationConfigurationCommandOutput } from "./put-bucket-notification-configuration.command.js";
8
+ interface PutBucketNotificationConfigurationHandlerProperties {
9
+ readonly buckets: Map<SimS3BucketName, SimS3Bucket>;
10
+ readonly iam?: SimIamInterServiceAuthZ;
11
+ readonly background?: BackgroundScheduler;
12
+ readonly notificationDestinations: SimS3NotificationDestinations;
13
+ }
14
+ interface PutBucketNotificationConfigurationHandlerOptions {
15
+ readonly caller?: SimAwsCaller;
16
+ }
17
+ /**
18
+ * Simulated S3 PutBucketNotificationConfiguration command handler.
19
+ *
20
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/PutBucketNotificationConfigurationCommand/
21
+ */
22
+ export declare class PutBucketNotificationConfigurationCommandHandler implements CommandHandler<SimPutBucketNotificationConfigurationCommand, SimPutBucketNotificationConfigurationCommandOutput> {
23
+ private readonly buckets;
24
+ private readonly authorizer;
25
+ private readonly background;
26
+ private readonly destinations;
27
+ private readonly reader;
28
+ constructor(properties: PutBucketNotificationConfigurationHandlerProperties);
29
+ /**
30
+ * Replace a Bucket's whole event notification configuration.
31
+ *
32
+ * The request is read, then every destination it names is checked, and only
33
+ * then is anything stored, so a request the simulator refuses leaves the
34
+ * Bucket's previous configuration exactly as it was.
35
+ */
36
+ handle(command: SimPutBucketNotificationConfigurationCommand, options?: PutBucketNotificationConfigurationHandlerOptions): Promise<SimPutBucketNotificationConfigurationCommandOutput>;
37
+ }
38
+ export {};
39
+ //# sourceMappingURL=put-bucket-notification-configuration.handler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"put-bucket-notification-configuration.handler.d.ts","sourceRoot":"","sources":["../../../../../src/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,2CAA2C,CAAC;AAEnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,wDAAwD,CAAC;AAEhE,OAAO,KAAK,EACV,WAAW,EACX,eAAe,EAChB,MAAM,+BAA+B,CAAC;AAEvC,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,mEAAmE,CAAC;AAGvH,OAAO,KAAK,EACV,4CAA4C,EAC5C,kDAAkD,EACnD,MAAM,oDAAoD,CAAC;AAE5D,UAAU,mDAAmD;IAC3D,QAAQ,CAAC,OAAO,EAAE,GAAG,CAAC,eAAe,EAAE,WAAW,CAAC,CAAC;IACpD,QAAQ,CAAC,GAAG,CAAC,EAAE,uBAAuB,CAAC;IACvC,QAAQ,CAAC,UAAU,CAAC,EAAE,mBAAmB,CAAC;IAC1C,QAAQ,CAAC,wBAAwB,EAAE,6BAA6B,CAAC;CAClE;AAED,UAAU,gDAAgD;IACxD,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC;AAED;;;;GAIG;AACH,qBAAa,gDAAiD,YAAW,cAAc,CACrF,4CAA4C,EAC5C,kDAAkD,CACnD;IACC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAoC;IAC5D,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA8B;IACzD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAsB;IACjD,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAoC;IACjE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA8C;IAErE,YAAY,UAAU,EAAE,mDAAmD,EAc1E;IAED;;;;;;OAMG;IACG,MAAM,CACV,OAAO,EAAE,4CAA4C,EACrD,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,kDAAkD,CAAC,CA+B7D;CACF"}
@@ -0,0 +1,50 @@
1
+ import { BackgroundTasks, } from "../../../../util/background/background.js";
2
+ import { assertDefined } from "../../../../util/type-guard/defined.js";
3
+ import { SimIamAllowAllAuth, } from "../../../iam/authorize/sim-iam-inter-service-auth-z.js";
4
+ import { SimS3NotificationConfigurationReader } from "../../bucket/notification/sim-s3-notification-configuration-reader.js";
5
+ import { SimS3NotificationDestinationCheck } from "../../notification/destination/sim-s3-notification-destination-check.js";
6
+ import { SimS3NotificationAuthorizer } from "../notification/sim-s3-notification-authorizer.js";
7
+ import { requireSimS3Bucket } from "../require-sim-s3-bucket.js";
8
+ /**
9
+ * Simulated S3 PutBucketNotificationConfiguration command handler.
10
+ *
11
+ * https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/PutBucketNotificationConfigurationCommand/
12
+ */
13
+ export class PutBucketNotificationConfigurationCommandHandler {
14
+ buckets;
15
+ authorizer;
16
+ background;
17
+ destinations;
18
+ reader = new SimS3NotificationConfigurationReader();
19
+ constructor(properties) {
20
+ const { buckets, iam = new SimIamAllowAllAuth(), background = new BackgroundTasks(), notificationDestinations, } = properties;
21
+ this.buckets = buckets;
22
+ this.authorizer = new SimS3NotificationAuthorizer({ iam });
23
+ this.background = background;
24
+ this.destinations = new SimS3NotificationDestinationCheck(notificationDestinations);
25
+ }
26
+ /**
27
+ * Replace a Bucket's whole event notification configuration.
28
+ *
29
+ * The request is read, then every destination it names is checked, and only
30
+ * then is anything stored, so a request the simulator refuses leaves the
31
+ * Bucket's previous configuration exactly as it was.
32
+ */
33
+ async handle(command, options) {
34
+ const input = command.input;
35
+ assertDefined(input.Bucket, "PutBucketNotificationConfigurationCommand.input.Bucket");
36
+ assertDefined(input.NotificationConfiguration, "PutBucketNotificationConfigurationCommand.input.NotificationConfiguration");
37
+ const bucket = requireSimS3Bucket(this.buckets, input.Bucket);
38
+ await this.background.sequence();
39
+ this.authorizer.authorizeWrite(bucket, options?.caller);
40
+ const configuration = this.reader.read(input.NotificationConfiguration);
41
+ if (input.SkipDestinationValidation !== true) {
42
+ this.destinations.check(bucket, configuration);
43
+ }
44
+ bucket.configureNotifications(configuration);
45
+ return {
46
+ $metadata: {},
47
+ };
48
+ }
49
+ }
50
+ //# sourceMappingURL=put-bucket-notification-configuration.handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"put-bucket-notification-configuration.handler.js","sourceRoot":"","sources":["../../../../../src/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,eAAe,GAChB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAEvE,OAAO,EACL,kBAAkB,GAEnB,MAAM,wDAAwD,CAAC;AAChE,OAAO,EAAE,oCAAoC,EAAE,MAAM,uEAAuE,CAAC;AAK7H,OAAO,EAAE,iCAAiC,EAAE,MAAM,yEAAyE,CAAC;AAE5H,OAAO,EAAE,2BAA2B,EAAE,MAAM,mDAAmD,CAAC;AAChG,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAiBjE;;;;GAIG;AACH,MAAM,OAAO,gDAAgD;IAI1C,OAAO,CAAoC;IAC3C,UAAU,CAA8B;IACxC,UAAU,CAAsB;IAChC,YAAY,CAAoC;IAChD,MAAM,GAAG,IAAI,oCAAoC,EAAE,CAAC;IAErE,YAAY,UAA+D;QACzE,MAAM,EACJ,OAAO,EACP,GAAG,GAAG,IAAI,kBAAkB,EAAE,EAC9B,UAAU,GAAG,IAAI,eAAe,EAAE,EAClC,wBAAwB,GACzB,GAAG,UAAU,CAAC;QAEf,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,UAAU,GAAG,IAAI,2BAA2B,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC;QAC3D,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,YAAY,GAAG,IAAI,iCAAiC,CACvD,wBAAwB,CACzB,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,MAAM,CACV,OAAqD,EACrD,OAA0D;QAE1D,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC;QAC5B,aAAa,CACX,KAAK,CAAC,MAAM,EACZ,wDAAwD,CACzD,CAAC;QACF,aAAa,CACX,KAAK,CAAC,yBAAyB,EAC/B,2EAA2E,CAC5E,CAAC;QAEF,MAAM,MAAM,GAAG,kBAAkB,CAC/B,IAAI,CAAC,OAAO,EACZ,KAAK,CAAC,MAAyB,CAChC,CAAC;QAEF,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;QAEjC,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QAExD,MAAM,aAAa,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC;QAExE,IAAI,KAAK,CAAC,yBAAyB,KAAK,IAAI,EAAE,CAAC;YAC7C,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;QACjD,CAAC;QAED,MAAM,CAAC,sBAAsB,CAAC,aAAa,CAAC,CAAC;QAE7C,OAAO;YACL,SAAS,EAAE,EAAE;SACd,CAAC;IACJ,CAAC;CACF"}
@@ -1,4 +1,5 @@
1
1
  import type { SimAwsCaller } from "../../../aws/caller/sim-aws-caller.js";
2
+ import type { SimAwsResolvedCaller } from "../../../aws/caller/sim-aws-caller-resolver.js";
2
3
  import type { SimIamInterServiceAuthZ } from "../../../iam/authorize/sim-iam-inter-service-auth-z.js";
3
4
  import type { SimS3Bucket } from "../../bucket/sim-s3-bucket.js";
4
5
  interface PutObjectAuthorizerProperties {
@@ -17,8 +18,12 @@ export declare class PutObjectAuthorizer {
17
18
  constructor(properties: PutObjectAuthorizerProperties);
18
19
  /**
19
20
  * Ensure the caller may create or replace the requested S3 Object.
21
+ *
22
+ * The resolved caller is returned rather than discarded, because it is the
23
+ * only place in the request where the principal has been worked out, and an
24
+ * Object event notification has to say who caused it.
20
25
  */
21
- authorize(bucket: SimS3Bucket, key: string, caller?: SimAwsCaller): void;
26
+ authorize(bucket: SimS3Bucket, key: string, caller?: SimAwsCaller): SimAwsResolvedCaller;
22
27
  }
23
28
  export {};
24
29
  //# sourceMappingURL=put-object-authorizer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"put-object-authorizer.d.ts","sourceRoot":"","sources":["../../../../../src/service/s3/command/put-object/put-object-authorizer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wDAAwD,CAAC;AAEtG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAEjE,UAAU,6BAA6B;IACrC,QAAQ,CAAC,GAAG,EAAE,uBAAuB,CAAC;CACvC;AAED;;;;;;GAMG;AACH,qBAAa,mBAAmB;IAC9B,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAkB;IAEhD,OAAO,CAAC,QAAQ,CAAC,GAAG,CAA0B;IAE9C,YAAY,UAAU,EAAE,6BAA6B,EAEpD;IAED;;OAEG;IACH,SAAS,CAAC,MAAM,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,YAAY,GAAG,IAAI,CA0BvE;CACF"}
1
+ {"version":3,"file":"put-object-authorizer.d.ts","sourceRoot":"","sources":["../../../../../src/service/s3/command/put-object/put-object-authorizer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AAC3F,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wDAAwD,CAAC;AAEtG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAEjE,UAAU,6BAA6B;IACrC,QAAQ,CAAC,GAAG,EAAE,uBAAuB,CAAC;CACvC;AAED;;;;;;GAMG;AACH,qBAAa,mBAAmB;IAC9B,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAkB;IAEhD,OAAO,CAAC,QAAQ,CAAC,GAAG,CAA0B;IAE9C,YAAY,UAAU,EAAE,6BAA6B,EAEpD;IAED;;;;;;OAMG;IACH,SAAS,CACP,MAAM,EAAE,WAAW,EACnB,GAAG,EAAE,MAAM,EACX,MAAM,CAAC,EAAE,YAAY,GACpB,oBAAoB,CA4BtB;CACF"}
@@ -14,6 +14,10 @@ export class PutObjectAuthorizer {
14
14
  }
15
15
  /**
16
16
  * Ensure the caller may create or replace the requested S3 Object.
17
+ *
18
+ * The resolved caller is returned rather than discarded, because it is the
19
+ * only place in the request where the principal has been worked out, and an
20
+ * Object event notification has to say who caused it.
17
21
  */
18
22
  authorize(bucket, key, caller) {
19
23
  const resource = `arn:aws:s3:::${bucket.bucketName}/${key}`;
@@ -39,6 +43,7 @@ export class PutObjectAuthorizer {
39
43
  resource,
40
44
  });
41
45
  }
46
+ return decision.caller;
42
47
  }
43
48
  }
44
49
  //# sourceMappingURL=put-object-authorizer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"put-object-authorizer.js","sourceRoot":"","sources":["../../../../../src/service/s3/command/put-object/put-object-authorizer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAOzE;;;;;;GAMG;AACH,MAAM,OAAO,mBAAmB;IACtB,MAAM,CAAU,MAAM,GAAG,cAAc,CAAC;IAE/B,GAAG,CAA0B;IAE9C,YAAY,UAAyC;QACnD,IAAI,CAAC,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC;IAC5B,CAAC;IAED;;OAEG;IACH,SAAS,CAAC,MAAmB,EAAE,GAAW,EAAE,MAAqB;QAC/D,MAAM,QAAQ,GAAG,gBAAgB,MAAM,CAAC,UAAU,IAAI,GAAG,EAAE,CAAC;QAC5D,MAAM,MAAM,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;QAClC,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC;YAClC,MAAM,EAAE,mBAAmB,CAAC,MAAM;YAClC,QAAQ;YACR,MAAM;YACN,gBAAgB,EACd,MAAM,KAAK,SAAS;gBAClB,CAAC,CAAC,EAAE;gBACJ,CAAC,CAAC;oBACE;wBACE,QAAQ,EAAE,MAAM;wBAChB,UAAU,EAAE,cAAc;wBAC1B,WAAW,EAAE,gBAAgB,MAAM,CAAC,UAAU,EAAE;qBACjD;iBACF;SACR,CAAC,CAAC;QAEH,IAAI,QAAQ,CAAC,QAAQ,EAAE,CAAC;YACtB,MAAM,IAAI,kBAAkB,CAAC;gBAC3B,SAAS,EAAE,QAAQ,CAAC,MAAM,CAAC,SAAS;gBACpC,MAAM,EAAE,mBAAmB,CAAC,MAAM;gBAClC,QAAQ;aACT,CAAC,CAAC;QACL,CAAC;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"put-object-authorizer.js","sourceRoot":"","sources":["../../../../../src/service/s3/command/put-object/put-object-authorizer.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAOzE;;;;;;GAMG;AACH,MAAM,OAAO,mBAAmB;IACtB,MAAM,CAAU,MAAM,GAAG,cAAc,CAAC;IAE/B,GAAG,CAA0B;IAE9C,YAAY,UAAyC;QACnD,IAAI,CAAC,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC;IAC5B,CAAC;IAED;;;;;;OAMG;IACH,SAAS,CACP,MAAmB,EACnB,GAAW,EACX,MAAqB;QAErB,MAAM,QAAQ,GAAG,gBAAgB,MAAM,CAAC,UAAU,IAAI,GAAG,EAAE,CAAC;QAC5D,MAAM,MAAM,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;QAClC,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC;YAClC,MAAM,EAAE,mBAAmB,CAAC,MAAM;YAClC,QAAQ;YACR,MAAM;YACN,gBAAgB,EACd,MAAM,KAAK,SAAS;gBAClB,CAAC,CAAC,EAAE;gBACJ,CAAC,CAAC;oBACE;wBACE,QAAQ,EAAE,MAAM;wBAChB,UAAU,EAAE,cAAc;wBAC1B,WAAW,EAAE,gBAAgB,MAAM,CAAC,UAAU,EAAE;qBACjD;iBACF;SACR,CAAC,CAAC;QAEH,IAAI,QAAQ,CAAC,QAAQ,EAAE,CAAC;YACtB,MAAM,IAAI,kBAAkB,CAAC;gBAC3B,SAAS,EAAE,QAAQ,CAAC,MAAM,CAAC,SAAS;gBACpC,MAAM,EAAE,mBAAmB,CAAC,MAAM;gBAClC,QAAQ;aACT,CAAC,CAAC;QACL,CAAC;QAED,OAAO,QAAQ,CAAC,MAAM,CAAC;IACzB,CAAC;CACF"}
@@ -4,10 +4,12 @@ import type { SimS3Bucket, SimS3BucketName } from "../../bucket/sim-s3-bucket.js
4
4
  import { type BackgroundScheduler } from "../../../../util/background/background.js";
5
5
  import { type SimIamInterServiceAuthZ } from "../../../iam/authorize/sim-iam-inter-service-auth-z.js";
6
6
  import type { SimAwsCaller } from "../../../aws/caller/sim-aws-caller.js";
7
+ import type { SimS3ObjectNotifier } from "../../notification/sim-s3-object-notifier.js";
7
8
  interface PutObjectCommandHandlerProperties {
8
9
  readonly buckets: Map<SimS3BucketName, SimS3Bucket>;
9
10
  readonly iam?: SimIamInterServiceAuthZ;
10
11
  readonly background?: BackgroundScheduler;
12
+ readonly notifications: SimS3ObjectNotifier;
11
13
  }
12
14
  interface PutObjectCommandHandlerOptions {
13
15
  readonly caller?: SimAwsCaller;
@@ -22,6 +24,7 @@ export declare class PutObjectCommandHandler implements CommandHandler<SimPutObj
22
24
  private readonly authorizer;
23
25
  private readonly objectBuilder;
24
26
  private readonly background;
27
+ private readonly notifications;
25
28
  constructor(properties: PutObjectCommandHandlerProperties);
26
29
  /**
27
30
  * Simulate putting an Object into an S3 Bucket.
@@ -1 +1 @@
1
- {"version":3,"file":"put-object.handler.d.ts","sourceRoot":"","sources":["../../../../../src/service/s3/command/put-object/put-object.handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,KAAK,EACV,mBAAmB,EACnB,yBAAyB,EAC1B,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EACV,WAAW,EACX,eAAe,EAChB,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,2CAA2C,CAAC;AAEnD,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,wDAAwD,CAAC;AAChE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAI1E,UAAU,iCAAiC;IACzC,QAAQ,CAAC,OAAO,EAAE,GAAG,CAAC,eAAe,EAAE,WAAW,CAAC,CAAC;IACpD,QAAQ,CAAC,GAAG,CAAC,EAAE,uBAAuB,CAAC;IACvC,QAAQ,CAAC,UAAU,CAAC,EAAE,mBAAmB,CAAC;CAC3C;AAED,UAAU,8BAA8B;IACtC,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC;AAED;;;;GAIG;AACH,qBAAa,uBAAwB,YAAW,cAAc,CAC5D,mBAAmB,EACnB,yBAAyB,CAC1B;IACC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAoC;IAC5D,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAsB;IACjD,OAAO,CAAC,QAAQ,CAAC,aAAa,CAA0B;IACxD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAsB;IAEjD,YAAY,UAAU,EAAE,iCAAiC,EASxD;IAED;;;;;;;;;;;OAWG;IACG,MAAM,CACV,OAAO,EAAE,mBAAmB,EAC5B,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,yBAAyB,CAAC,CAqBpC;CACF"}
1
+ {"version":3,"file":"put-object.handler.d.ts","sourceRoot":"","sources":["../../../../../src/service/s3/command/put-object/put-object.handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,KAAK,EACV,mBAAmB,EACnB,yBAAyB,EAC1B,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EACV,WAAW,EACX,eAAe,EAChB,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,2CAA2C,CAAC;AAEnD,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,wDAAwD,CAAC;AAChE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAG1E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AAExF,UAAU,iCAAiC;IACzC,QAAQ,CAAC,OAAO,EAAE,GAAG,CAAC,eAAe,EAAE,WAAW,CAAC,CAAC;IACpD,QAAQ,CAAC,GAAG,CAAC,EAAE,uBAAuB,CAAC;IACvC,QAAQ,CAAC,UAAU,CAAC,EAAE,mBAAmB,CAAC;IAC1C,QAAQ,CAAC,aAAa,EAAE,mBAAmB,CAAC;CAC7C;AAED,UAAU,8BAA8B;IACtC,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC;AAED;;;;GAIG;AACH,qBAAa,uBAAwB,YAAW,cAAc,CAC5D,mBAAmB,EACnB,yBAAyB,CAC1B;IACC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAoC;IAC5D,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAsB;IACjD,OAAO,CAAC,QAAQ,CAAC,aAAa,CAA0B;IACxD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAsB;IACjD,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAsB;IAEpD,YAAY,UAAU,EAAE,iCAAiC,EAUxD;IAED;;;;;;;;;;;OAWG;IACG,MAAM,CACV,OAAO,EAAE,mBAAmB,EAC5B,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,yBAAyB,CAAC,CA6BpC;CACF"}