@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,82 @@
1
+ import { SimCfnValueShape } from "../../../../cloudformation/template/value/sim-cfn-value-shape.js";
2
+ import { s3BucketNotificationError } from "../error/sim-cfn-s3-bucket-error.js";
3
+ import { SimCfnS3BucketNotificationFilter } from "./sim-cfn-s3-bucket-notification-filter.js";
4
+ /**
5
+ * The destination groups an AWS::S3::Bucket NotificationConfiguration carries.
6
+ */
7
+ const configurationNames = new Set([
8
+ "EventBridgeConfiguration",
9
+ "LambdaConfigurations",
10
+ "QueueConfigurations",
11
+ "TopicConfigurations",
12
+ ]);
13
+ /**
14
+ * The names one CloudFormation LambdaConfiguration carries.
15
+ *
16
+ * There is no `Id`, unlike the request shape. CloudFormation does not let a
17
+ * template name a configuration, so S3 generates the id.
18
+ */
19
+ const lambdaConfigurationNames = new Set([
20
+ "Event",
21
+ "Filter",
22
+ "Function",
23
+ ]);
24
+ /**
25
+ * Reads the `NotificationConfiguration` property of an AWS::S3::Bucket Resource
26
+ * into a PutBucketNotificationConfiguration request.
27
+ *
28
+ * CloudFormation and the SDK name the same configuration differently in four
29
+ * places, and each of them is a silent failure if read at the wrong name:
30
+ * `LambdaConfigurations` against `LambdaFunctionConfigurations`, a single
31
+ * `Event` string against an `Events` list, `Function` against
32
+ * `LambdaFunctionArn`, and `Filter.S3Key.Rules` against `Filter.Key.FilterRules`.
33
+ *
34
+ * Only the shape is read here. Whether the configuration is one simulated S3
35
+ * accepts is the command's question, so a template and an SDK caller are
36
+ * answered by the same validation.
37
+ */
38
+ export class SimCfnS3BucketNotificationConfiguration {
39
+ shape;
40
+ filter;
41
+ constructor(logicalId) {
42
+ this.shape = new SimCfnValueShape((reason) => s3BucketNotificationError(logicalId, reason));
43
+ this.filter = new SimCfnS3BucketNotificationFilter(this.shape);
44
+ }
45
+ /**
46
+ * Read a whole notification configuration.
47
+ *
48
+ * A destination group this simulator cannot deliver to is carried through
49
+ * untouched, so the command refuses it by name rather than dropping it. The
50
+ * names happen to match: CloudFormation and the SDK both call them
51
+ * `QueueConfigurations`, `TopicConfigurations` and `EventBridgeConfiguration`.
52
+ */
53
+ read(value) {
54
+ const record = this.shape.record(value, "NotificationConfiguration");
55
+ this.shape.knownKeys(record, configurationNames, "NotificationConfiguration");
56
+ return {
57
+ LambdaFunctionConfigurations: this.shape.present(record["LambdaConfigurations"], (configurations) => this.lambdaConfigurations(configurations)),
58
+ QueueConfigurations: this.shape.present(record["QueueConfigurations"], (configurations) => this.shape.list(configurations, "QueueConfigurations")),
59
+ TopicConfigurations: this.shape.present(record["TopicConfigurations"], (configurations) => this.shape.list(configurations, "TopicConfigurations")),
60
+ EventBridgeConfiguration: this.shape.present(record["EventBridgeConfiguration"], (configuration) => this.shape.record(configuration, "EventBridgeConfiguration")),
61
+ };
62
+ }
63
+ lambdaConfigurations(value) {
64
+ return this.shape
65
+ .list(value, "LambdaConfigurations")
66
+ .map((configuration) => this.lambdaConfiguration(configuration));
67
+ }
68
+ lambdaConfiguration(value) {
69
+ const record = this.shape.record(value, "LambdaConfigurations entry");
70
+ this.shape.knownKeys(record, lambdaConfigurationNames, "LambdaConfigurations entry");
71
+ return {
72
+ LambdaFunctionArn: this.shape.present(record["Function"], (arn) => this.shape.string(arn, "Function")),
73
+ // CloudFormation states one event per configuration, where the request
74
+ // takes a list, so one configuration becomes a one-element Events list.
75
+ Events: this.shape.present(record["Event"], (event) => [
76
+ this.shape.string(event, "Event"),
77
+ ]),
78
+ Filter: this.shape.present(record["Filter"], (filter) => this.filter.read(filter)),
79
+ };
80
+ }
81
+ }
82
+ //# sourceMappingURL=sim-cfn-s3-bucket-notification-configuration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-s3-bucket-notification-configuration.js","sourceRoot":"","sources":["../../../../../../src/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-configuration.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kEAAkE,CAAC;AAKpG,OAAO,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAC;AAChF,OAAO,EAAE,gCAAgC,EAAE,MAAM,4CAA4C,CAAC;AAE9F;;GAEG;AACH,MAAM,kBAAkB,GAAwB,IAAI,GAAG,CAAC;IACtD,0BAA0B;IAC1B,sBAAsB;IACtB,qBAAqB;IACrB,qBAAqB;CACtB,CAAC,CAAC;AAEH;;;;;GAKG;AACH,MAAM,wBAAwB,GAAwB,IAAI,GAAG,CAAC;IAC5D,OAAO;IACP,QAAQ;IACR,UAAU;CACX,CAAC,CAAC;AAEH;;;;;;;;;;;;;GAaG;AACH,MAAM,OAAO,uCAAuC;IACjC,KAAK,CAAmB;IACxB,MAAM,CAAmC;IAE1D,YAAY,SAAiB;QAC3B,IAAI,CAAC,KAAK,GAAG,IAAI,gBAAgB,CAAC,CAAC,MAAM,EAAE,EAAE,CAC3C,yBAAyB,CAAC,SAAS,EAAE,MAAM,CAAC,CAC7C,CAAC;QACF,IAAI,CAAC,MAAM,GAAG,IAAI,gCAAgC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACjE,CAAC;IAED;;;;;;;OAOG;IACH,IAAI,CAAC,KAA0B;QAC7B,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,EAAE,2BAA2B,CAAC,CAAC;QACrE,IAAI,CAAC,KAAK,CAAC,SAAS,CAClB,MAAM,EACN,kBAAkB,EAClB,2BAA2B,CAC5B,CAAC;QAEF,OAAO;YACL,4BAA4B,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,CAC9C,MAAM,CAAC,sBAAsB,CAAC,EAC9B,CAAC,cAAc,EAAE,EAAE,CAAC,IAAI,CAAC,oBAAoB,CAAC,cAAc,CAAC,CAC9D;YACD,mBAAmB,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,CACrC,MAAM,CAAC,qBAAqB,CAAC,EAC7B,CAAC,cAAc,EAAE,EAAE,CACjB,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,EAAE,qBAAqB,CAAC,CACzD;YACD,mBAAmB,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,CACrC,MAAM,CAAC,qBAAqB,CAAC,EAC7B,CAAC,cAAc,EAAE,EAAE,CACjB,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc,EAAE,qBAAqB,CAAC,CACzD;YACD,wBAAwB,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,CAC1C,MAAM,CAAC,0BAA0B,CAAC,EAClC,CAAC,aAAa,EAAE,EAAE,CAChB,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,aAAa,EAAE,0BAA0B,CAAC,CAC/D;SACF,CAAC;IACJ,CAAC;IAEO,oBAAoB,CAC1B,KAA0B;QAE1B,OAAO,IAAI,CAAC,KAAK;aACd,IAAI,CAAC,KAAK,EAAE,sBAAsB,CAAC;aACnC,GAAG,CAAC,CAAC,aAAa,EAAE,EAAE,CAAC,IAAI,CAAC,mBAAmB,CAAC,aAAa,CAAC,CAAC,CAAC;IACrE,CAAC;IAEO,mBAAmB,CACzB,KAA0B;QAE1B,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,EAAE,4BAA4B,CAAC,CAAC;QACtE,IAAI,CAAC,KAAK,CAAC,SAAS,CAClB,MAAM,EACN,wBAAwB,EACxB,4BAA4B,CAC7B,CAAC;QAEF,OAAO;YACL,iBAAiB,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,EAAE,CAChE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,EAAE,UAAU,CAAC,CACnC;YACD,uEAAuE;YACvE,wEAAwE;YACxE,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC;gBACrD,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,EAAE,OAAO,CAAC;aAClC,CAAC;YACF,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,EAAE,CACtD,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CACzB;SACF,CAAC;IACJ,CAAC;CACF"}
@@ -0,0 +1,22 @@
1
+ import type { SimCfnTemplateValue } from "../../../../cloudformation/template/value/sim-cfn-template-value.js";
2
+ import type { SimCfnValueShape } from "../../../../cloudformation/template/value/sim-cfn-value-shape.js";
3
+ import type { SimS3NotificationFilterInput } from "../../../command/put-bucket-notification-configuration/put-bucket-notification-configuration.command.js";
4
+ /**
5
+ * Reads the object key filter CloudFormation writes into one notification
6
+ * configuration, in the shape PutBucketNotificationConfiguration takes.
7
+ *
8
+ * Which rule names S3 filters on, and what happens when one is repeated, is the
9
+ * command's question. This translates the names CloudFormation puts around the
10
+ * rules into the names the request uses.
11
+ */
12
+ export declare class SimCfnS3BucketNotificationFilter {
13
+ private readonly shape;
14
+ constructor(shape: SimCfnValueShape);
15
+ /**
16
+ * Read a whole filter.
17
+ */
18
+ read(value: SimCfnTemplateValue): SimS3NotificationFilterInput;
19
+ private keyFilter;
20
+ private filterRule;
21
+ }
22
+ //# sourceMappingURL=sim-cfn-s3-bucket-notification-filter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-s3-bucket-notification-filter.d.ts","sourceRoot":"","sources":["../../../../../../src/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-filter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qEAAqE,CAAC;AAC/G,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kEAAkE,CAAC;AACzG,OAAO,KAAK,EACV,4BAA4B,EAG7B,MAAM,yGAAyG,CAAC;AAejH;;;;;;;GAOG;AACH,qBAAa,gCAAgC;IAC3C,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAmB;IAEzC,YAAY,KAAK,EAAE,gBAAgB,EAElC;IAED;;OAEG;IACH,IAAI,CAAC,KAAK,EAAE,mBAAmB,GAAG,4BAA4B,CAO7D;IAED,OAAO,CAAC,SAAS;IAejB,OAAO,CAAC,UAAU;CAenB"}
@@ -0,0 +1,54 @@
1
+ /**
2
+ * The names each level of a CloudFormation key filter carries.
3
+ *
4
+ * There are three wire spellings of this filter. CloudFormation writes
5
+ * `Filter.S3Key.Rules`, the SDK writes `Filter.Key.FilterRules`, and the REST
6
+ * XML writes `Filter.S3Key.FilterRule`. Reading only the CloudFormation one and
7
+ * refusing the others matters: a reader that finds nothing at the name it looked
8
+ * for deploys an unfiltered configuration, and the Stack succeeds.
9
+ */
10
+ const filterNames = new Set(["S3Key"]);
11
+ const keyFilterNames = new Set(["Rules"]);
12
+ const filterRuleNames = new Set(["Name", "Value"]);
13
+ /**
14
+ * Reads the object key filter CloudFormation writes into one notification
15
+ * configuration, in the shape PutBucketNotificationConfiguration takes.
16
+ *
17
+ * Which rule names S3 filters on, and what happens when one is repeated, is the
18
+ * command's question. This translates the names CloudFormation puts around the
19
+ * rules into the names the request uses.
20
+ */
21
+ export class SimCfnS3BucketNotificationFilter {
22
+ shape;
23
+ constructor(shape) {
24
+ this.shape = shape;
25
+ }
26
+ /**
27
+ * Read a whole filter.
28
+ */
29
+ read(value) {
30
+ const record = this.shape.record(value, "Filter");
31
+ this.shape.knownKeys(record, filterNames, "Filter");
32
+ return {
33
+ Key: this.shape.present(record["S3Key"], (key) => this.keyFilter(key)),
34
+ };
35
+ }
36
+ keyFilter(value) {
37
+ const record = this.shape.record(value, "Filter S3Key");
38
+ this.shape.knownKeys(record, keyFilterNames, "Filter S3Key");
39
+ return {
40
+ FilterRules: this.shape.present(record["Rules"], (rules) => this.shape
41
+ .list(rules, "Filter S3Key Rules")
42
+ .map((rule) => this.filterRule(rule))),
43
+ };
44
+ }
45
+ filterRule(value) {
46
+ const record = this.shape.record(value, "Rules entry");
47
+ this.shape.knownKeys(record, filterRuleNames, "Rules entry");
48
+ return {
49
+ Name: this.shape.present(record["Name"], (name) => this.shape.string(name, "Rules entry Name")),
50
+ Value: this.shape.present(record["Value"], (ruleValue) => this.shape.string(ruleValue, "Rules entry Value")),
51
+ };
52
+ }
53
+ }
54
+ //# sourceMappingURL=sim-cfn-s3-bucket-notification-filter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-s3-bucket-notification-filter.js","sourceRoot":"","sources":["../../../../../../src/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-filter.ts"],"names":[],"mappings":"AAQA;;;;;;;;GAQG;AACH,MAAM,WAAW,GAAwB,IAAI,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;AAC5D,MAAM,cAAc,GAAwB,IAAI,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;AAC/D,MAAM,eAAe,GAAwB,IAAI,GAAG,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;AAExE;;;;;;;GAOG;AACH,MAAM,OAAO,gCAAgC;IAC1B,KAAK,CAAmB;IAEzC,YAAY,KAAuB;QACjC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,KAA0B;QAC7B,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;QAClD,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;QAEpD,OAAO;YACL,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;SACvE,CAAC;IACJ,CAAC;IAEO,SAAS,CACf,KAA0B;QAE1B,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,EAAE,cAAc,CAAC,CAAC;QACxD,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,cAAc,EAAE,cAAc,CAAC,CAAC;QAE7D,OAAO;YACL,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,EAAE,CACzD,IAAI,CAAC,KAAK;iBACP,IAAI,CAAC,KAAK,EAAE,oBAAoB,CAAC;iBACjC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CACxC;SACF,CAAC;IACJ,CAAC;IAEO,UAAU,CAChB,KAA0B;QAE1B,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,EAAE,aAAa,CAAC,CAAC;QACvD,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,eAAe,EAAE,aAAa,CAAC,CAAC;QAE7D,OAAO;YACL,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,EAAE,CAChD,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAC5C;YACD,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,SAAS,EAAE,EAAE,CACvD,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,SAAS,EAAE,mBAAmB,CAAC,CAClD;SACF,CAAC;IACJ,CAAC;CACF"}
@@ -0,0 +1,26 @@
1
+ import type { SimCfnTemplateValueRecord } from "../../../../cloudformation/template/value/sim-cfn-template-value.js";
2
+ /**
3
+ * The Resources standing around a Bucket that notifies a function, which are
4
+ * the same in every test about the NotificationConfiguration property itself.
5
+ */
6
+ /**
7
+ * How the template names the function the notification is delivered to.
8
+ */
9
+ export declare const handlerArn: SimCfnTemplateValueRecord;
10
+ /**
11
+ * The execution role the function runs as.
12
+ */
13
+ export declare const handlerRole: SimCfnTemplateValueRecord;
14
+ /**
15
+ * The function the notification is delivered to.
16
+ */
17
+ export declare const handler: SimCfnTemplateValueRecord;
18
+ /**
19
+ * The permission letting S3 invoke the function for events from this Bucket.
20
+ *
21
+ * It names the Bucket by ARN literal rather than by `Fn::GetAtt`, because the
22
+ * Bucket already names the function, and CloudFormation refuses the two
23
+ * together as a circular dependency.
24
+ */
25
+ export declare const handlerPermission: SimCfnTemplateValueRecord;
26
+ //# sourceMappingURL=sim-cfn-s3-bucket-notification-handler.resources.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-s3-bucket-notification-handler.resources.d.ts","sourceRoot":"","sources":["../../../../../../src/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-handler.resources.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qEAAqE,CAAC;AAErH;;;GAGG;AAEH;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,yBAExB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,yBAezB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,yBASrB,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,EAAE,yBAS/B,CAAC"}
@@ -0,0 +1,60 @@
1
+ /**
2
+ * The Resources standing around a Bucket that notifies a function, which are
3
+ * the same in every test about the NotificationConfiguration property itself.
4
+ */
5
+ /**
6
+ * How the template names the function the notification is delivered to.
7
+ */
8
+ export const handlerArn = {
9
+ "Fn::GetAtt": ["Handler", "Arn"],
10
+ };
11
+ /**
12
+ * The execution role the function runs as.
13
+ */
14
+ export const handlerRole = {
15
+ Type: "AWS::IAM::Role",
16
+ Properties: {
17
+ RoleName: "thumbnailer-role",
18
+ AssumeRolePolicyDocument: {
19
+ Version: "2012-10-17",
20
+ Statement: [
21
+ {
22
+ Effect: "Allow",
23
+ Principal: { Service: "lambda.amazonaws.com" },
24
+ Action: "sts:AssumeRole",
25
+ },
26
+ ],
27
+ },
28
+ },
29
+ };
30
+ /**
31
+ * The function the notification is delivered to.
32
+ */
33
+ export const handler = {
34
+ Type: "AWS::Lambda::Function",
35
+ Properties: {
36
+ FunctionName: "thumbnailer",
37
+ Role: { "Fn::GetAtt": ["HandlerRole", "Arn"] },
38
+ Code: { ZipFile: "exports.handler = async () => 'thumbnailed';" },
39
+ Handler: "index.handler",
40
+ Runtime: "nodejs20.x",
41
+ },
42
+ };
43
+ /**
44
+ * The permission letting S3 invoke the function for events from this Bucket.
45
+ *
46
+ * It names the Bucket by ARN literal rather than by `Fn::GetAtt`, because the
47
+ * Bucket already names the function, and CloudFormation refuses the two
48
+ * together as a circular dependency.
49
+ */
50
+ export const handlerPermission = {
51
+ Type: "AWS::Lambda::Permission",
52
+ Properties: {
53
+ Action: "lambda:InvokeFunction",
54
+ FunctionName: handlerArn,
55
+ Principal: "s3.amazonaws.com",
56
+ SourceAccount: { Ref: "AWS::AccountId" },
57
+ SourceArn: "arn:aws:s3:::uploads",
58
+ },
59
+ };
60
+ //# sourceMappingURL=sim-cfn-s3-bucket-notification-handler.resources.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-s3-bucket-notification-handler.resources.js","sourceRoot":"","sources":["../../../../../../src/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-handler.resources.ts"],"names":[],"mappings":"AAEA;;;GAGG;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,UAAU,GAA8B;IACnD,YAAY,EAAE,CAAC,SAAS,EAAE,KAAK,CAAC;CACjC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAA8B;IACpD,IAAI,EAAE,gBAAgB;IACtB,UAAU,EAAE;QACV,QAAQ,EAAE,kBAAkB;QAC5B,wBAAwB,EAAE;YACxB,OAAO,EAAE,YAAY;YACrB,SAAS,EAAE;gBACT;oBACE,MAAM,EAAE,OAAO;oBACf,SAAS,EAAE,EAAE,OAAO,EAAE,sBAAsB,EAAE;oBAC9C,MAAM,EAAE,gBAAgB;iBACzB;aACF;SACF;KACF;CACF,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,OAAO,GAA8B;IAChD,IAAI,EAAE,uBAAuB;IAC7B,UAAU,EAAE;QACV,YAAY,EAAE,aAAa;QAC3B,IAAI,EAAE,EAAE,YAAY,EAAE,CAAC,aAAa,EAAE,KAAK,CAAC,EAAE;QAC9C,IAAI,EAAE,EAAE,OAAO,EAAE,8CAA8C,EAAE;QACjE,OAAO,EAAE,eAAe;QACxB,OAAO,EAAE,YAAY;KACtB;CACF,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA8B;IAC1D,IAAI,EAAE,yBAAyB;IAC/B,UAAU,EAAE;QACV,MAAM,EAAE,uBAAuB;QAC/B,YAAY,EAAE,UAAU;QACxB,SAAS,EAAE,kBAAkB;QAC7B,aAAa,EAAE,EAAE,GAAG,EAAE,gBAAgB,EAAE;QACxC,SAAS,EAAE,sBAAsB;KAClC;CACF,CAAC"}
@@ -0,0 +1,44 @@
1
+ import { MappedFactory } from "@kensio/part-factory";
2
+ import type { CfnTemplateBodyRecord } from "../../../../cloudformation/template/sim-cfn-template.js";
3
+ import type { SimCfnTemplateValueRecord } from "../../../../cloudformation/template/value/sim-cfn-template-value.js";
4
+ /**
5
+ * What a test asks for when it wants a template configuring Bucket event
6
+ * notifications through the AWS::S3::Bucket NotificationConfiguration property.
7
+ */
8
+ export interface SimCfnS3BucketNotificationTemplateInput {
9
+ /**
10
+ * The configuration the Bucket carries, in the CloudFormation shape.
11
+ *
12
+ * Left empty, the Bucket gets a working Lambda notification. A test that
13
+ * states one replaces it outright, which is what a test about a configuration
14
+ * the reader refuses needs: the factory merges its defaults into whatever it
15
+ * is given, so a default stated here would put back the very property the
16
+ * test is about leaving out.
17
+ */
18
+ readonly notificationConfiguration: SimCfnTemplateValueRecord;
19
+ /**
20
+ * Whether the template grants S3 permission to invoke the function, which S3
21
+ * checks as the configuration is applied.
22
+ */
23
+ readonly permitted: boolean;
24
+ }
25
+ /**
26
+ * Builds a template configuring Bucket event notifications from an
27
+ * AWS::S3::Bucket Resource.
28
+ *
29
+ * ```typescript
30
+ * const stack = await simAws.cloudFormation().deployTemplate({
31
+ * stackName: "uploads-stack",
32
+ * template: simCfnS3BucketNotificationTemplateFactory.make({
33
+ * notificationConfiguration: { LambdaConfigurations: [] },
34
+ * }),
35
+ * });
36
+ * ```
37
+ *
38
+ * The Bucket names itself rather than letting CloudFormation name it, which is
39
+ * what a real template does here so the permission can name it by ARN literal.
40
+ * The `DependsOn` puts the permission in place before S3 validates the
41
+ * destination.
42
+ */
43
+ export declare const simCfnS3BucketNotificationTemplateFactory: MappedFactory<SimCfnS3BucketNotificationTemplateInput, CfnTemplateBodyRecord, undefined>;
44
+ //# sourceMappingURL=sim-cfn-s3-bucket-notification-template.factory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-s3-bucket-notification-template.factory.d.ts","sourceRoot":"","sources":["../../../../../../src/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-template.factory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAErD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yDAAyD,CAAC;AACrG,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qEAAqE,CAAC;AAQrH;;;GAGG;AACH,MAAM,WAAW,uCAAuC;IACtD;;;;;;;;OAQG;IACH,QAAQ,CAAC,yBAAyB,EAAE,yBAAyB,CAAC;IAC9D;;;OAGG;IACH,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;CAC7B;AAMD;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,yCAAyC,0FAoBrD,CAAC"}
@@ -0,0 +1,67 @@
1
+ import { MappedFactory } from "@kensio/part-factory";
2
+ import { handler, handlerArn, handlerPermission, handlerRole, } from "./sim-cfn-s3-bucket-notification-handler.resources.js";
3
+ const workingConfiguration = {
4
+ LambdaConfigurations: [{ Event: "s3:ObjectCreated:*", Function: handlerArn }],
5
+ };
6
+ /**
7
+ * Builds a template configuring Bucket event notifications from an
8
+ * AWS::S3::Bucket Resource.
9
+ *
10
+ * ```typescript
11
+ * const stack = await simAws.cloudFormation().deployTemplate({
12
+ * stackName: "uploads-stack",
13
+ * template: simCfnS3BucketNotificationTemplateFactory.make({
14
+ * notificationConfiguration: { LambdaConfigurations: [] },
15
+ * }),
16
+ * });
17
+ * ```
18
+ *
19
+ * The Bucket names itself rather than letting CloudFormation name it, which is
20
+ * what a real template does here so the permission can name it by ARN literal.
21
+ * The `DependsOn` puts the permission in place before S3 validates the
22
+ * destination.
23
+ */
24
+ export const simCfnS3BucketNotificationTemplateFactory = new MappedFactory(() => ({ notificationConfiguration: {}, permitted: true }), (input) => ({
25
+ Resources: {
26
+ HandlerRole: handlerRole,
27
+ Handler: handler,
28
+ ...invokePermission(input),
29
+ Bucket: {
30
+ Type: "AWS::S3::Bucket",
31
+ ...dependsOnPermission(input),
32
+ Properties: {
33
+ BucketName: "uploads",
34
+ NotificationConfiguration: notificationConfiguration(input),
35
+ },
36
+ },
37
+ },
38
+ }));
39
+ /**
40
+ * The permission Resource, for a template that grants one.
41
+ */
42
+ function invokePermission(input) {
43
+ if (!input.permitted) {
44
+ return {};
45
+ }
46
+ return { HandlerPermission: handlerPermission };
47
+ }
48
+ /**
49
+ * The `DependsOn` the Bucket carries.
50
+ */
51
+ function dependsOnPermission(input) {
52
+ if (!input.permitted) {
53
+ return {};
54
+ }
55
+ return { DependsOn: ["HandlerPermission"] };
56
+ }
57
+ /**
58
+ * The configuration the Bucket carries, which is a working Lambda notification
59
+ * for a test that states none of its own.
60
+ */
61
+ function notificationConfiguration(input) {
62
+ if (Object.keys(input.notificationConfiguration).length > 0) {
63
+ return input.notificationConfiguration;
64
+ }
65
+ return workingConfiguration;
66
+ }
67
+ //# sourceMappingURL=sim-cfn-s3-bucket-notification-template.factory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-s3-bucket-notification-template.factory.js","sourceRoot":"","sources":["../../../../../../src/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-template.factory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAIrD,OAAO,EACL,OAAO,EACP,UAAU,EACV,iBAAiB,EACjB,WAAW,GACZ,MAAM,uDAAuD,CAAC;AAwB/D,MAAM,oBAAoB,GAA8B;IACtD,oBAAoB,EAAE,CAAC,EAAE,KAAK,EAAE,oBAAoB,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC;CAC9E,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAG,IAAI,aAAa,CAIxE,GAAG,EAAE,CAAC,CAAC,EAAE,yBAAyB,EAAE,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAC1D,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;IACV,SAAS,EAAE;QACT,WAAW,EAAE,WAAW;QACxB,OAAO,EAAE,OAAO;QAChB,GAAG,gBAAgB,CAAC,KAAK,CAAC;QAC1B,MAAM,EAAE;YACN,IAAI,EAAE,iBAAiB;YACvB,GAAG,mBAAmB,CAAC,KAAK,CAAC;YAC7B,UAAU,EAAE;gBACV,UAAU,EAAE,SAAS;gBACrB,yBAAyB,EAAE,yBAAyB,CAAC,KAAK,CAAC;aAC5D;SACF;KACF;CACF,CAAC,CACH,CAAC;AAEF;;GAEG;AACH,SAAS,gBAAgB,CACvB,KAA8C;IAE9C,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE,CAAC;QACrB,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,CAAC;AAClD,CAAC;AAED;;GAEG;AACH,SAAS,mBAAmB,CAC1B,KAA8C;IAE9C,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE,CAAC;QACrB,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,OAAO,EAAE,SAAS,EAAE,CAAC,mBAAmB,CAAC,EAAE,CAAC;AAC9C,CAAC;AAED;;;GAGG;AACH,SAAS,yBAAyB,CAChC,KAA8C;IAE9C,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC5D,OAAO,KAAK,CAAC,yBAAyB,CAAC;IACzC,CAAC;IAED,OAAO,oBAAoB,CAAC;AAC9B,CAAC"}
@@ -0,0 +1,24 @@
1
+ import type { SimCfnTemplateValueRecord } from "../../../../cloudformation/template/value/sim-cfn-template-value.js";
2
+ import type { SimS3PublicAccessBlockConfiguration } from "../../../bucket/public-access/sim-s3-public-access-block.js";
3
+ /**
4
+ * Reads the `PublicAccessBlockConfiguration` property of an AWS::S3::Bucket
5
+ * Resource, which a template uses to open a Bucket up from the all-blocked
6
+ * state a new Bucket starts in.
7
+ *
8
+ * CloudFormation names the settings exactly as PutPublicAccessBlock does, so
9
+ * the property is handed to the command rather than translated here.
10
+ */
11
+ export declare class SimCfnS3BucketPublicAccessConfiguration {
12
+ private readonly properties;
13
+ private readonly shape;
14
+ constructor(logicalId: string, properties: SimCfnTemplateValueRecord);
15
+ /**
16
+ * The settings to apply, or nothing when the Resource declares none.
17
+ *
18
+ * Settings that are there but are not the shape they should be fail the
19
+ * Resource. Read as nothing, the Bucket would stay fully blocked and refuse
20
+ * the public policy the template went on to attach.
21
+ */
22
+ read(): SimS3PublicAccessBlockConfiguration | undefined;
23
+ }
24
+ //# sourceMappingURL=sim-cfn-s3-bucket-public-access-configuration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-s3-bucket-public-access-configuration.d.ts","sourceRoot":"","sources":["../../../../../../src/service/s3/cfn/bucket/public-access/sim-cfn-s3-bucket-public-access-configuration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qEAAqE,CAAC;AAErH,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,6DAA6D,CAAC;AAGvH;;;;;;;GAOG;AACH,qBAAa,uCAAuC;IAClD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA4B;IACvD,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAmB;IAEzC,YAAY,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,yBAAyB,EAKnE;IAED;;;;;;OAMG;IACH,IAAI,IAAI,mCAAmC,GAAG,SAAS,CAQtD;CACF"}
@@ -0,0 +1,33 @@
1
+ import { SimCfnValueShape } from "../../../../cloudformation/template/value/sim-cfn-value-shape.js";
2
+ import { s3BucketResourceError } from "../error/sim-cfn-s3-bucket-error.js";
3
+ /**
4
+ * Reads the `PublicAccessBlockConfiguration` property of an AWS::S3::Bucket
5
+ * Resource, which a template uses to open a Bucket up from the all-blocked
6
+ * state a new Bucket starts in.
7
+ *
8
+ * CloudFormation names the settings exactly as PutPublicAccessBlock does, so
9
+ * the property is handed to the command rather than translated here.
10
+ */
11
+ export class SimCfnS3BucketPublicAccessConfiguration {
12
+ properties;
13
+ shape;
14
+ constructor(logicalId, properties) {
15
+ this.properties = properties;
16
+ this.shape = new SimCfnValueShape((reason) => s3BucketResourceError(logicalId, reason));
17
+ }
18
+ /**
19
+ * The settings to apply, or nothing when the Resource declares none.
20
+ *
21
+ * Settings that are there but are not the shape they should be fail the
22
+ * Resource. Read as nothing, the Bucket would stay fully blocked and refuse
23
+ * the public policy the template went on to attach.
24
+ */
25
+ read() {
26
+ const declared = this.properties["PublicAccessBlockConfiguration"];
27
+ if (declared === undefined) {
28
+ return undefined;
29
+ }
30
+ return this.shape.record(declared, "PublicAccessBlockConfiguration");
31
+ }
32
+ }
33
+ //# sourceMappingURL=sim-cfn-s3-bucket-public-access-configuration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-s3-bucket-public-access-configuration.js","sourceRoot":"","sources":["../../../../../../src/service/s3/cfn/bucket/public-access/sim-cfn-s3-bucket-public-access-configuration.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kEAAkE,CAAC;AAEpG,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAE5E;;;;;;;GAOG;AACH,MAAM,OAAO,uCAAuC;IACjC,UAAU,CAA4B;IACtC,KAAK,CAAmB;IAEzC,YAAY,SAAiB,EAAE,UAAqC;QAClE,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,KAAK,GAAG,IAAI,gBAAgB,CAAC,CAAC,MAAM,EAAE,EAAE,CAC3C,qBAAqB,CAAC,SAAS,EAAE,MAAM,CAAC,CACzC,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,IAAI;QACF,MAAM,QAAQ,GAAG,IAAI,CAAC,UAAU,CAAC,gCAAgC,CAAC,CAAC;QAEnE,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;YAC3B,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,EAAE,gCAAgC,CAAC,CAAC;IACvE,CAAC;CACF"}
@@ -0,0 +1,36 @@
1
+ import type { SimCfnResource } from "../../../cloudformation/resource/sim-cfn-resource.js";
2
+ import type { SimCfnTemplateValueRecord } from "../../../cloudformation/template/value/sim-cfn-template-value.js";
3
+ import type { SimS3 } from "../../sim-s3.js";
4
+ interface SimCfnS3BucketConfiguratorProperties {
5
+ readonly simS3: SimS3;
6
+ readonly resource: SimCfnResource;
7
+ readonly properties: SimCfnTemplateValueRecord;
8
+ readonly bucketName: string;
9
+ }
10
+ /**
11
+ * Applies the configurations an AWS::S3::Bucket Resource declares to the
12
+ * Bucket that was created for it.
13
+ *
14
+ * Each one goes through the command an SDK caller would reach, so a template
15
+ * and an SDK caller are validated identically.
16
+ */
17
+ export declare class SimCfnS3BucketConfigurator {
18
+ private readonly simS3;
19
+ private readonly resource;
20
+ private readonly properties;
21
+ private readonly bucketName;
22
+ constructor(properties: SimCfnS3BucketConfiguratorProperties);
23
+ /**
24
+ * Apply every configuration the Resource declares.
25
+ *
26
+ * Notifications go last, because S3 checks every destination the
27
+ * configuration names, and the Resources those destinations live on have to
28
+ * exist by then.
29
+ */
30
+ configure(): Promise<void>;
31
+ private configureWebsite;
32
+ private configurePublicAccess;
33
+ private configureNotifications;
34
+ }
35
+ export {};
36
+ //# sourceMappingURL=sim-cfn-s3-bucket-configurator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-s3-bucket-configurator.d.ts","sourceRoot":"","sources":["../../../../../src/service/s3/cfn/bucket/sim-cfn-s3-bucket-configurator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sDAAsD,CAAC;AAC3F,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kEAAkE,CAAC;AAClH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAK7C,UAAU,oCAAoC;IAC5C,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;IACtB,QAAQ,CAAC,QAAQ,EAAE,cAAc,CAAC;IAClC,QAAQ,CAAC,UAAU,EAAE,yBAAyB,CAAC;IAC/C,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;AAED;;;;;;GAMG;AACH,qBAAa,0BAA0B;IACrC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAQ;IAC9B,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAiB;IAC1C,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA4B;IACvD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAS;IAEpC,YAAY,UAAU,EAAE,oCAAoC,EAK3D;IAED;;;;;;OAMG;IACG,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC,CAI/B;YAEa,gBAAgB;YAehB,qBAAqB;YAkBrB,sBAAsB;CAkBrC"}
@@ -0,0 +1,69 @@
1
+ import { SimCfnS3BucketNotificationConfiguration } from "./notification/sim-cfn-s3-bucket-notification-configuration.js";
2
+ import { SimCfnS3BucketPublicAccessConfiguration } from "./public-access/sim-cfn-s3-bucket-public-access-configuration.js";
3
+ import { SimCfnS3BucketWebsiteConfiguration } from "./website/sim-cfn-s3-bucket-website-configuration.js";
4
+ /**
5
+ * Applies the configurations an AWS::S3::Bucket Resource declares to the
6
+ * Bucket that was created for it.
7
+ *
8
+ * Each one goes through the command an SDK caller would reach, so a template
9
+ * and an SDK caller are validated identically.
10
+ */
11
+ export class SimCfnS3BucketConfigurator {
12
+ simS3;
13
+ resource;
14
+ properties;
15
+ bucketName;
16
+ constructor(properties) {
17
+ this.simS3 = properties.simS3;
18
+ this.resource = properties.resource;
19
+ this.properties = properties.properties;
20
+ this.bucketName = properties.bucketName;
21
+ }
22
+ /**
23
+ * Apply every configuration the Resource declares.
24
+ *
25
+ * Notifications go last, because S3 checks every destination the
26
+ * configuration names, and the Resources those destinations live on have to
27
+ * exist by then.
28
+ */
29
+ async configure() {
30
+ await this.configureWebsite();
31
+ await this.configurePublicAccess();
32
+ await this.configureNotifications();
33
+ }
34
+ async configureWebsite() {
35
+ const config = new SimCfnS3BucketWebsiteConfiguration(this.resource.logicalId, this.properties).read();
36
+ if (config === undefined) {
37
+ return;
38
+ }
39
+ await this.simS3.putBucketWebsite({
40
+ input: { Bucket: this.bucketName, WebsiteConfiguration: config },
41
+ });
42
+ }
43
+ async configurePublicAccess() {
44
+ const config = new SimCfnS3BucketPublicAccessConfiguration(this.resource.logicalId, this.properties).read();
45
+ if (config === undefined) {
46
+ return;
47
+ }
48
+ await this.simS3.putPublicAccessBlock({
49
+ input: {
50
+ Bucket: this.bucketName,
51
+ PublicAccessBlockConfiguration: config,
52
+ },
53
+ });
54
+ }
55
+ async configureNotifications() {
56
+ const declared = this.properties["NotificationConfiguration"];
57
+ if (declared === undefined) {
58
+ return;
59
+ }
60
+ const config = new SimCfnS3BucketNotificationConfiguration(this.resource.logicalId).read(declared);
61
+ await this.simS3.putBucketNotificationConfiguration({
62
+ input: {
63
+ Bucket: this.bucketName,
64
+ NotificationConfiguration: config,
65
+ },
66
+ });
67
+ }
68
+ }
69
+ //# sourceMappingURL=sim-cfn-s3-bucket-configurator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-cfn-s3-bucket-configurator.js","sourceRoot":"","sources":["../../../../../src/service/s3/cfn/bucket/sim-cfn-s3-bucket-configurator.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,uCAAuC,EAAE,MAAM,gEAAgE,CAAC;AACzH,OAAO,EAAE,uCAAuC,EAAE,MAAM,kEAAkE,CAAC;AAC3H,OAAO,EAAE,kCAAkC,EAAE,MAAM,sDAAsD,CAAC;AAS1G;;;;;;GAMG;AACH,MAAM,OAAO,0BAA0B;IACpB,KAAK,CAAQ;IACb,QAAQ,CAAiB;IACzB,UAAU,CAA4B;IACtC,UAAU,CAAS;IAEpC,YAAY,UAAgD;QAC1D,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;QAC9B,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC;QACpC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;QACxC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;IAC1C,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,SAAS;QACb,MAAM,IAAI,CAAC,gBAAgB,EAAE,CAAC;QAC9B,MAAM,IAAI,CAAC,qBAAqB,EAAE,CAAC;QACnC,MAAM,IAAI,CAAC,sBAAsB,EAAE,CAAC;IACtC,CAAC;IAEO,KAAK,CAAC,gBAAgB;QAC5B,MAAM,MAAM,GAAG,IAAI,kCAAkC,CACnD,IAAI,CAAC,QAAQ,CAAC,SAAS,EACvB,IAAI,CAAC,UAAU,CAChB,CAAC,IAAI,EAAE,CAAC;QAET,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACzB,OAAO;QACT,CAAC;QAED,MAAM,IAAI,CAAC,KAAK,CAAC,gBAAgB,CAAC;YAChC,KAAK,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,UAAU,EAAE,oBAAoB,EAAE,MAAM,EAAE;SACjE,CAAC,CAAC;IACL,CAAC;IAEO,KAAK,CAAC,qBAAqB;QACjC,MAAM,MAAM,GAAG,IAAI,uCAAuC,CACxD,IAAI,CAAC,QAAQ,CAAC,SAAS,EACvB,IAAI,CAAC,UAAU,CAChB,CAAC,IAAI,EAAE,CAAC;QAET,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACzB,OAAO;QACT,CAAC;QAED,MAAM,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC;YACpC,KAAK,EAAE;gBACL,MAAM,EAAE,IAAI,CAAC,UAAU;gBACvB,8BAA8B,EAAE,MAAM;aACvC;SACF,CAAC,CAAC;IACL,CAAC;IAEO,KAAK,CAAC,sBAAsB;QAClC,MAAM,QAAQ,GAAG,IAAI,CAAC,UAAU,CAAC,2BAA2B,CAAC,CAAC;QAE9D,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;YAC3B,OAAO;QACT,CAAC;QAED,MAAM,MAAM,GAAG,IAAI,uCAAuC,CACxD,IAAI,CAAC,QAAQ,CAAC,SAAS,CACxB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAEjB,MAAM,IAAI,CAAC,KAAK,CAAC,kCAAkC,CAAC;YAClD,KAAK,EAAE;gBACL,MAAM,EAAE,IAAI,CAAC,UAAU;gBACvB,yBAAyB,EAAE,MAAM;aAClC;SACF,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -12,16 +12,20 @@ export declare class SimCfnS3BucketCreator {
12
12
  private readonly simS3;
13
13
  constructor(properties: SimCfnS3BucketCreatorProperties);
14
14
  /**
15
- * Create a simulated Bucket, with its website configuration when declared.
15
+ * Create a simulated Bucket, with the configurations it declares.
16
+ *
17
+ * Which properties the Resource carries is checked before anything is
18
+ * created, so a Resource asking for something this simulation does not model
19
+ * fails the Stack rather than leaving a Bucket behind that is configured
20
+ * differently from the template. What each of them says is then checked as it
21
+ * is applied.
16
22
  */
17
23
  create(resource: SimCfnResource, properties: SimCfnTemplateValueRecord): Promise<SimS3Bucket>;
18
24
  /**
19
- * Read PublicAccessBlockConfiguration, which a template uses to open a
20
- * Bucket up from the all-blocked state a new Bucket starts in.
25
+ * A Resource without a BucketName is named after its logical id, rather than
26
+ * the generated name real CloudFormation invents.
21
27
  */
22
- private publicAccessConfigurationForResource;
23
28
  private bucketNameForResource;
24
- private websiteConfigurationForResource;
25
29
  }
26
30
  export {};
27
31
  //# sourceMappingURL=sim-cfn-s3-bucket-creator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sim-cfn-s3-bucket-creator.d.ts","sourceRoot":"","sources":["../../../../../src/service/s3/cfn/bucket/sim-cfn-s3-bucket-creator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sDAAsD,CAAC;AAC3F,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kEAAkE,CAAC;AAClH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAMjE,UAAU,+BAA+B;IACvC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;CACvB;AAED;;GAEG;AACH,qBAAa,qBAAqB;IAChC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAQ;IAE9B,YAAY,UAAU,EAAE,+BAA+B,EAEtD;IAED;;OAEG;IACG,MAAM,CACV,QAAQ,EAAE,cAAc,EACxB,UAAU,EAAE,yBAAyB,GACpC,OAAO,CAAC,WAAW,CAAC,CAwCtB;IAED;;;OAGG;IACH,OAAO,CAAC,oCAAoC;IAiB5C,OAAO,CAAC,qBAAqB;IAa7B,OAAO,CAAC,+BAA+B;CAqCxC"}
1
+ {"version":3,"file":"sim-cfn-s3-bucket-creator.d.ts","sourceRoot":"","sources":["../../../../../src/service/s3/cfn/bucket/sim-cfn-s3-bucket-creator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sDAAsD,CAAC;AAC3F,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kEAAkE,CAAC;AAClH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAMjE,UAAU,+BAA+B;IACvC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;CACvB;AAED;;GAEG;AACH,qBAAa,qBAAqB;IAChC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAQ;IAE9B,YAAY,UAAU,EAAE,+BAA+B,EAEtD;IAED;;;;;;;;OAQG;IACG,MAAM,CACV,QAAQ,EAAE,cAAc,EACxB,UAAU,EAAE,yBAAyB,GACpC,OAAO,CAAC,WAAW,CAAC,CAyBtB;IAED;;;OAGG;IACH,OAAO,CAAC,qBAAqB;CAY9B"}