@kensio/yulin 0.47.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 (1306) hide show
  1. package/README.md +1 -0
  2. package/dist/config/eslint/cffjs2.eslint.config.d.ts +1 -1
  3. package/dist/sdk/router/resolve-sim-sdk-command-router.d.ts.map +1 -1
  4. package/dist/sdk/router/resolve-sim-sdk-command-router.js +3 -0
  5. package/dist/sdk/router/resolve-sim-sdk-command-router.js.map +1 -1
  6. package/dist/serve/controller/factory/sim-aws-service-controller-factory.d.ts.map +1 -1
  7. package/dist/serve/controller/factory/sim-aws-service-controller-factory.js +4 -0
  8. package/dist/serve/controller/factory/sim-aws-service-controller-factory.js.map +1 -1
  9. package/dist/serve/controller/sim-aws-service-signing-name.d.ts.map +1 -1
  10. package/dist/serve/controller/sim-aws-service-signing-name.js +5 -0
  11. package/dist/serve/controller/sim-aws-service-signing-name.js.map +1 -1
  12. package/dist/serve/controller/sim-service-controller.d.ts +1 -1
  13. package/dist/serve/controller/sim-service-controller.d.ts.map +1 -1
  14. package/dist/serve/controller/sim-service-controller.js.map +1 -1
  15. package/dist/serve/http/url/sim-aws-local-url.d.ts.map +1 -1
  16. package/dist/serve/http/url/sim-aws-local-url.js +1 -0
  17. package/dist/serve/http/url/sim-aws-local-url.js.map +1 -1
  18. package/dist/{service/lambda/serve/event/sim-lambda-url-body-encoding.d.ts → serve/payload-2/sim-payload-2-body-encoding.d.ts} +7 -7
  19. package/dist/serve/payload-2/sim-payload-2-body-encoding.d.ts.map +1 -0
  20. package/dist/{service/lambda/serve/event/sim-lambda-url-body-encoding.js → serve/payload-2/sim-payload-2-body-encoding.js} +7 -7
  21. package/dist/serve/payload-2/sim-payload-2-body-encoding.js.map +1 -0
  22. package/dist/serve/payload-2/sim-payload-2-connection.d.ts +19 -0
  23. package/dist/serve/payload-2/sim-payload-2-connection.d.ts.map +1 -0
  24. package/dist/serve/payload-2/sim-payload-2-connection.js +25 -0
  25. package/dist/serve/payload-2/sim-payload-2-connection.js.map +1 -0
  26. package/dist/serve/payload-2/sim-payload-2-endpoint.d.ts +26 -0
  27. package/dist/serve/payload-2/sim-payload-2-endpoint.d.ts.map +1 -0
  28. package/dist/serve/payload-2/sim-payload-2-endpoint.js +2 -0
  29. package/dist/serve/payload-2/sim-payload-2-endpoint.js.map +1 -0
  30. package/dist/serve/payload-2/sim-payload-2-event-builder.d.ts +51 -0
  31. package/dist/serve/payload-2/sim-payload-2-event-builder.d.ts.map +1 -0
  32. package/dist/serve/payload-2/sim-payload-2-event-builder.js +98 -0
  33. package/dist/serve/payload-2/sim-payload-2-event-builder.js.map +1 -0
  34. package/dist/{service/lambda/serve/event/sim-lambda-url-event-time.d.ts → serve/payload-2/sim-payload-2-event-time.d.ts} +3 -3
  35. package/dist/serve/payload-2/sim-payload-2-event-time.d.ts.map +1 -0
  36. package/dist/{service/lambda/serve/event/sim-lambda-url-event-time.js → serve/payload-2/sim-payload-2-event-time.js} +4 -4
  37. package/dist/serve/payload-2/sim-payload-2-event-time.js.map +1 -0
  38. package/dist/serve/payload-2/sim-payload-2-event.type.d.ts +136 -0
  39. package/dist/serve/payload-2/sim-payload-2-event.type.d.ts.map +1 -0
  40. package/dist/serve/payload-2/sim-payload-2-event.type.js +2 -0
  41. package/dist/serve/payload-2/sim-payload-2-event.type.js.map +1 -0
  42. package/dist/serve/payload-2/sim-payload-2-iam-caller.d.ts +29 -0
  43. package/dist/serve/payload-2/sim-payload-2-iam-caller.d.ts.map +1 -0
  44. package/dist/{service/lambda/serve/event/sim-lambda-url-iam-authorizer.js → serve/payload-2/sim-payload-2-iam-caller.js} +8 -9
  45. package/dist/serve/payload-2/sim-payload-2-iam-caller.js.map +1 -0
  46. package/dist/serve/payload-2/sim-payload-2-request-context.d.ts +46 -0
  47. package/dist/serve/payload-2/sim-payload-2-request-context.d.ts.map +1 -0
  48. package/dist/serve/payload-2/sim-payload-2-request-context.js +58 -0
  49. package/dist/serve/payload-2/sim-payload-2-request-context.js.map +1 -0
  50. package/dist/{service/lambda/serve/event/sim-lambda-url-request-parts.d.ts → serve/payload-2/sim-payload-2-request-parts.d.ts} +15 -4
  51. package/dist/serve/payload-2/sim-payload-2-request-parts.d.ts.map +1 -0
  52. package/dist/{service/lambda/serve/event/sim-lambda-url-request-parts.js → serve/payload-2/sim-payload-2-request-parts.js} +17 -5
  53. package/dist/serve/payload-2/sim-payload-2-request-parts.js.map +1 -0
  54. package/dist/serve/payload-2/sim-payload-2-response-builder.d.ts +26 -0
  55. package/dist/serve/payload-2/sim-payload-2-response-builder.d.ts.map +1 -0
  56. package/dist/{service/lambda/serve/response/sim-lambda-url-response-builder.js → serve/payload-2/sim-payload-2-response-builder.js} +13 -8
  57. package/dist/serve/payload-2/sim-payload-2-response-builder.js.map +1 -0
  58. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-header-identity-source.d.ts +22 -0
  59. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-header-identity-source.d.ts.map +1 -0
  60. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-header-identity-source.js +27 -0
  61. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-header-identity-source.js.map +1 -0
  62. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-source-parser.d.ts +47 -0
  63. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-source-parser.d.ts.map +1 -0
  64. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-source-parser.js +92 -0
  65. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-source-parser.js.map +1 -0
  66. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-source.d.ts +47 -0
  67. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-source.d.ts.map +1 -0
  68. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-source.js +16 -0
  69. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-source.js.map +1 -0
  70. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-sources.d.ts +29 -0
  71. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-sources.d.ts.map +1 -0
  72. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-sources.js +42 -0
  73. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-sources.js.map +1 -0
  74. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-query-string-identity-source.d.ts +19 -0
  75. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-query-string-identity-source.d.ts.map +1 -0
  76. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-query-string-identity-source.js +24 -0
  77. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-query-string-identity-source.js.map +1 -0
  78. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-route-key-identity-source.d.ts +25 -0
  79. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-route-key-identity-source.d.ts.map +1 -0
  80. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-route-key-identity-source.js +26 -0
  81. package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-route-key-identity-source.js.map +1 -0
  82. package/dist/service/apigatewayv2/api/authorizer/sim-cognito-http-api-jwt-issuer-keys.d.ts +29 -0
  83. package/dist/service/apigatewayv2/api/authorizer/sim-cognito-http-api-jwt-issuer-keys.d.ts.map +1 -0
  84. package/dist/service/apigatewayv2/api/authorizer/sim-cognito-http-api-jwt-issuer-keys.js +43 -0
  85. package/dist/service/apigatewayv2/api/authorizer/sim-cognito-http-api-jwt-issuer-keys.js.map +1 -0
  86. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorization.d.ts +82 -0
  87. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorization.d.ts.map +1 -0
  88. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorization.js +66 -0
  89. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorization.js.map +1 -0
  90. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer-result-cache.d.ts +49 -0
  91. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer-result-cache.d.ts.map +1 -0
  92. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer-result-cache.js +74 -0
  93. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer-result-cache.js.map +1 -0
  94. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer-store.d.ts +31 -0
  95. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer-store.d.ts.map +1 -0
  96. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer-store.js +46 -0
  97. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer-store.js.map +1 -0
  98. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer.d.ts +65 -0
  99. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer.d.ts.map +1 -0
  100. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer.js +25 -0
  101. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer.js.map +1 -0
  102. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-bearer-token.d.ts +9 -0
  103. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-bearer-token.d.ts.map +1 -0
  104. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-bearer-token.js +23 -0
  105. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-bearer-token.js.map +1 -0
  106. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-authorizer.d.ts +29 -0
  107. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-authorizer.d.ts.map +1 -0
  108. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-authorizer.js +32 -0
  109. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-authorizer.js.map +1 -0
  110. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-claim-checks.d.ts +60 -0
  111. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-claim-checks.d.ts.map +1 -0
  112. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-claim-checks.js +84 -0
  113. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-claim-checks.js.map +1 -0
  114. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-claims.d.ts +34 -0
  115. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-claims.d.ts.map +1 -0
  116. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-claims.js +75 -0
  117. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-claims.js.map +1 -0
  118. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-configuration.d.ts +38 -0
  119. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-configuration.d.ts.map +1 -0
  120. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-configuration.js +34 -0
  121. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-configuration.js.map +1 -0
  122. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-issuer-keys.d.ts +37 -0
  123. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-issuer-keys.d.ts.map +1 -0
  124. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-issuer-keys.js +18 -0
  125. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-issuer-keys.js.map +1 -0
  126. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-verification.d.ts +43 -0
  127. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-verification.d.ts.map +1 -0
  128. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-verification.js +70 -0
  129. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-verification.js.map +1 -0
  130. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-request-authorizer.d.ts +56 -0
  131. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-request-authorizer.d.ts.map +1 -0
  132. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-request-authorizer.js +63 -0
  133. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-request-authorizer.js.map +1 -0
  134. package/dist/service/apigatewayv2/api/integration/sim-http-api-integration-store.d.ts +27 -0
  135. package/dist/service/apigatewayv2/api/integration/sim-http-api-integration-store.d.ts.map +1 -0
  136. package/dist/service/apigatewayv2/api/integration/sim-http-api-integration-store.js +40 -0
  137. package/dist/service/apigatewayv2/api/integration/sim-http-api-integration-store.js.map +1 -0
  138. package/dist/service/apigatewayv2/api/integration/sim-http-api-integration.d.ts +66 -0
  139. package/dist/service/apigatewayv2/api/integration/sim-http-api-integration.d.ts.map +1 -0
  140. package/dist/service/apigatewayv2/api/integration/sim-http-api-integration.js +54 -0
  141. package/dist/service/apigatewayv2/api/integration/sim-http-api-integration.js.map +1 -0
  142. package/dist/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.d.ts +37 -0
  143. package/dist/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.d.ts.map +1 -0
  144. package/dist/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.js +74 -0
  145. package/dist/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.js.map +1 -0
  146. package/dist/service/apigatewayv2/api/route/key/sim-http-api-default-route-key.d.ts +36 -0
  147. package/dist/service/apigatewayv2/api/route/key/sim-http-api-default-route-key.d.ts.map +1 -0
  148. package/dist/service/apigatewayv2/api/route/key/sim-http-api-default-route-key.js +44 -0
  149. package/dist/service/apigatewayv2/api/route/key/sim-http-api-default-route-key.js.map +1 -0
  150. package/dist/service/apigatewayv2/api/route/key/sim-http-api-method-route-key.d.ts +48 -0
  151. package/dist/service/apigatewayv2/api/route/key/sim-http-api-method-route-key.d.ts.map +1 -0
  152. package/dist/service/apigatewayv2/api/route/key/sim-http-api-method-route-key.js +62 -0
  153. package/dist/service/apigatewayv2/api/route/key/sim-http-api-method-route-key.js.map +1 -0
  154. package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-key-parser.d.ts +18 -0
  155. package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-key-parser.d.ts.map +1 -0
  156. package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-key-parser.js +37 -0
  157. package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-key-parser.js.map +1 -0
  158. package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-key.d.ts +38 -0
  159. package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-key.d.ts.map +1 -0
  160. package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-key.js +2 -0
  161. package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-key.js.map +1 -0
  162. package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-method.d.ts +32 -0
  163. package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-method.d.ts.map +1 -0
  164. package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-method.js +65 -0
  165. package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-method.js.map +1 -0
  166. package/dist/service/apigatewayv2/api/route/path/sim-http-api-greedy-segment.d.ts +27 -0
  167. package/dist/service/apigatewayv2/api/route/path/sim-http-api-greedy-segment.d.ts.map +1 -0
  168. package/dist/service/apigatewayv2/api/route/path/sim-http-api-greedy-segment.js +35 -0
  169. package/dist/service/apigatewayv2/api/route/path/sim-http-api-greedy-segment.js.map +1 -0
  170. package/dist/service/apigatewayv2/api/route/path/sim-http-api-literal-segment.d.ts +23 -0
  171. package/dist/service/apigatewayv2/api/route/path/sim-http-api-literal-segment.d.ts.map +1 -0
  172. package/dist/service/apigatewayv2/api/route/path/sim-http-api-literal-segment.js +32 -0
  173. package/dist/service/apigatewayv2/api/route/path/sim-http-api-literal-segment.js.map +1 -0
  174. package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-parameters.d.ts +36 -0
  175. package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-parameters.d.ts.map +1 -0
  176. package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-parameters.js +48 -0
  177. package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-parameters.js.map +1 -0
  178. package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segment-parser.d.ts +18 -0
  179. package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segment-parser.d.ts.map +1 -0
  180. package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segment-parser.js +47 -0
  181. package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segment-parser.js.map +1 -0
  182. package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segment.d.ts +48 -0
  183. package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segment.d.ts.map +1 -0
  184. package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segment.js +23 -0
  185. package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segment.js.map +1 -0
  186. package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segments.d.ts +10 -0
  187. package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segments.d.ts.map +1 -0
  188. package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segments.js +19 -0
  189. package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segments.js.map +1 -0
  190. package/dist/service/apigatewayv2/api/route/path/sim-http-api-route-path-parser.d.ts +29 -0
  191. package/dist/service/apigatewayv2/api/route/path/sim-http-api-route-path-parser.d.ts.map +1 -0
  192. package/dist/service/apigatewayv2/api/route/path/sim-http-api-route-path-parser.js +63 -0
  193. package/dist/service/apigatewayv2/api/route/path/sim-http-api-route-path-parser.js.map +1 -0
  194. package/dist/service/apigatewayv2/api/route/path/sim-http-api-route-path.d.ts +42 -0
  195. package/dist/service/apigatewayv2/api/route/path/sim-http-api-route-path.d.ts.map +1 -0
  196. package/dist/service/apigatewayv2/api/route/path/sim-http-api-route-path.js +61 -0
  197. package/dist/service/apigatewayv2/api/route/path/sim-http-api-route-path.js.map +1 -0
  198. package/dist/service/apigatewayv2/api/route/path/sim-http-api-variable-segment.d.ts +23 -0
  199. package/dist/service/apigatewayv2/api/route/path/sim-http-api-variable-segment.d.ts.map +1 -0
  200. package/dist/service/apigatewayv2/api/route/path/sim-http-api-variable-segment.js +32 -0
  201. package/dist/service/apigatewayv2/api/route/path/sim-http-api-variable-segment.js.map +1 -0
  202. package/dist/service/apigatewayv2/api/route/sim-http-api-route-rank.d.ts +47 -0
  203. package/dist/service/apigatewayv2/api/route/sim-http-api-route-rank.d.ts.map +1 -0
  204. package/dist/service/apigatewayv2/api/route/sim-http-api-route-rank.js +66 -0
  205. package/dist/service/apigatewayv2/api/route/sim-http-api-route-rank.js.map +1 -0
  206. package/dist/service/apigatewayv2/api/route/sim-http-api-route-request.d.ts +18 -0
  207. package/dist/service/apigatewayv2/api/route/sim-http-api-route-request.d.ts.map +1 -0
  208. package/dist/service/apigatewayv2/api/route/sim-http-api-route-request.js +16 -0
  209. package/dist/service/apigatewayv2/api/route/sim-http-api-route-request.js.map +1 -0
  210. package/dist/service/apigatewayv2/api/route/sim-http-api-route-scopes.d.ts +23 -0
  211. package/dist/service/apigatewayv2/api/route/sim-http-api-route-scopes.d.ts.map +1 -0
  212. package/dist/service/apigatewayv2/api/route/sim-http-api-route-scopes.js +35 -0
  213. package/dist/service/apigatewayv2/api/route/sim-http-api-route-scopes.js.map +1 -0
  214. package/dist/service/apigatewayv2/api/route/sim-http-api-route-selector.d.ts +36 -0
  215. package/dist/service/apigatewayv2/api/route/sim-http-api-route-selector.d.ts.map +1 -0
  216. package/dist/service/apigatewayv2/api/route/sim-http-api-route-selector.js +49 -0
  217. package/dist/service/apigatewayv2/api/route/sim-http-api-route-selector.js.map +1 -0
  218. package/dist/service/apigatewayv2/api/route/sim-http-api-route-store.d.ts +42 -0
  219. package/dist/service/apigatewayv2/api/route/sim-http-api-route-store.d.ts.map +1 -0
  220. package/dist/service/apigatewayv2/api/route/sim-http-api-route-store.js +60 -0
  221. package/dist/service/apigatewayv2/api/route/sim-http-api-route-store.js.map +1 -0
  222. package/dist/service/apigatewayv2/api/route/sim-http-api-route-view.d.ts +20 -0
  223. package/dist/service/apigatewayv2/api/route/sim-http-api-route-view.d.ts.map +1 -0
  224. package/dist/service/apigatewayv2/api/route/sim-http-api-route-view.js +19 -0
  225. package/dist/service/apigatewayv2/api/route/sim-http-api-route-view.js.map +1 -0
  226. package/dist/service/apigatewayv2/api/route/sim-http-api-route.d.ts +63 -0
  227. package/dist/service/apigatewayv2/api/route/sim-http-api-route.d.ts.map +1 -0
  228. package/dist/service/apigatewayv2/api/route/sim-http-api-route.js +56 -0
  229. package/dist/service/apigatewayv2/api/route/sim-http-api-route.js.map +1 -0
  230. package/dist/service/apigatewayv2/api/sim-http-api-execute-api-arn.d.ts +78 -0
  231. package/dist/service/apigatewayv2/api/sim-http-api-execute-api-arn.d.ts.map +1 -0
  232. package/dist/service/apigatewayv2/api/sim-http-api-execute-api-arn.js +86 -0
  233. package/dist/service/apigatewayv2/api/sim-http-api-execute-api-arn.js.map +1 -0
  234. package/dist/service/apigatewayv2/api/sim-http-api-host.d.ts +32 -0
  235. package/dist/service/apigatewayv2/api/sim-http-api-host.d.ts.map +1 -0
  236. package/dist/service/apigatewayv2/api/sim-http-api-host.js +31 -0
  237. package/dist/service/apigatewayv2/api/sim-http-api-host.js.map +1 -0
  238. package/dist/service/apigatewayv2/api/sim-http-api-id.d.ts +12 -0
  239. package/dist/service/apigatewayv2/api/sim-http-api-id.d.ts.map +1 -0
  240. package/dist/service/apigatewayv2/api/sim-http-api-id.js +9 -0
  241. package/dist/service/apigatewayv2/api/sim-http-api-id.js.map +1 -0
  242. package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.d.ts +78 -0
  243. package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.d.ts.map +1 -0
  244. package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.js +114 -0
  245. package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.js.map +1 -0
  246. package/dist/service/apigatewayv2/api/sim-http-api-match.d.ts +56 -0
  247. package/dist/service/apigatewayv2/api/sim-http-api-match.d.ts.map +1 -0
  248. package/dist/service/apigatewayv2/api/sim-http-api-match.js +46 -0
  249. package/dist/service/apigatewayv2/api/sim-http-api-match.js.map +1 -0
  250. package/dist/service/apigatewayv2/api/sim-http-api-proxy-authorization.d.ts +35 -0
  251. package/dist/service/apigatewayv2/api/sim-http-api-proxy-authorization.d.ts.map +1 -0
  252. package/dist/service/apigatewayv2/api/sim-http-api-proxy-authorization.js +52 -0
  253. package/dist/service/apigatewayv2/api/sim-http-api-proxy-authorization.js.map +1 -0
  254. package/dist/service/apigatewayv2/api/sim-http-api-proxy-request-authorizer.d.ts +45 -0
  255. package/dist/service/apigatewayv2/api/sim-http-api-proxy-request-authorizer.d.ts.map +1 -0
  256. package/dist/service/apigatewayv2/api/sim-http-api-proxy-request-authorizer.js +55 -0
  257. package/dist/service/apigatewayv2/api/sim-http-api-proxy-request-authorizer.js.map +1 -0
  258. package/dist/service/apigatewayv2/api/sim-http-api-request.d.ts +22 -0
  259. package/dist/service/apigatewayv2/api/sim-http-api-request.d.ts.map +1 -0
  260. package/dist/service/apigatewayv2/api/sim-http-api-request.js +23 -0
  261. package/dist/service/apigatewayv2/api/sim-http-api-request.js.map +1 -0
  262. package/dist/service/apigatewayv2/api/sim-http-api-store.d.ts +29 -0
  263. package/dist/service/apigatewayv2/api/sim-http-api-store.d.ts.map +1 -0
  264. package/dist/service/apigatewayv2/api/sim-http-api-store.js +35 -0
  265. package/dist/service/apigatewayv2/api/sim-http-api-store.js.map +1 -0
  266. package/dist/service/apigatewayv2/api/sim-http-api-view.d.ts +40 -0
  267. package/dist/service/apigatewayv2/api/sim-http-api-view.d.ts.map +1 -0
  268. package/dist/service/apigatewayv2/api/sim-http-api-view.js +23 -0
  269. package/dist/service/apigatewayv2/api/sim-http-api-view.js.map +1 -0
  270. package/dist/service/apigatewayv2/api/sim-http-api.d.ts +73 -0
  271. package/dist/service/apigatewayv2/api/sim-http-api.d.ts.map +1 -0
  272. package/dist/service/apigatewayv2/api/sim-http-api.js +80 -0
  273. package/dist/service/apigatewayv2/api/sim-http-api.js.map +1 -0
  274. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage-selector.d.ts +34 -0
  275. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage-selector.d.ts.map +1 -0
  276. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage-selector.js +53 -0
  277. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage-selector.js.map +1 -0
  278. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage-store.d.ts +21 -0
  279. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage-store.d.ts.map +1 -0
  280. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage-store.js +26 -0
  281. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage-store.js.map +1 -0
  282. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage.d.ts +46 -0
  283. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage.d.ts.map +1 -0
  284. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage.js +47 -0
  285. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage.js.map +1 -0
  286. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-creator.d.ts +33 -0
  287. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-creator.d.ts.map +1 -0
  288. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-creator.js +49 -0
  289. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-creator.js.map +1 -0
  290. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-document.d.ts +38 -0
  291. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-document.d.ts.map +1 -0
  292. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-document.js +47 -0
  293. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-document.js.map +1 -0
  294. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-import-properties.d.ts +31 -0
  295. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-import-properties.d.ts.map +1 -0
  296. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-import-properties.js +36 -0
  297. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-import-properties.js.map +1 -0
  298. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-properties.d.ts +39 -0
  299. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-properties.d.ts.map +1 -0
  300. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-properties.js +79 -0
  301. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-properties.js.map +1 -0
  302. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-property-rules.d.ts +47 -0
  303. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-property-rules.d.ts.map +1 -0
  304. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-property-rules.js +83 -0
  305. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-property-rules.js.map +1 -0
  306. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-creator.d.ts +28 -0
  307. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-creator.d.ts.map +1 -0
  308. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-creator.js +39 -0
  309. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-creator.js.map +1 -0
  310. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-properties.d.ts +36 -0
  311. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-properties.d.ts.map +1 -0
  312. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-properties.js +81 -0
  313. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-properties.js.map +1 -0
  314. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-jwt-configuration-properties.d.ts +30 -0
  315. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-jwt-configuration-properties.d.ts.map +1 -0
  316. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-jwt-configuration-properties.js +33 -0
  317. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-jwt-configuration-properties.js.map +1 -0
  318. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-request-authorizer-properties.d.ts +36 -0
  319. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-request-authorizer-properties.d.ts.map +1 -0
  320. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-request-authorizer-properties.js +32 -0
  321. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-request-authorizer-properties.js.map +1 -0
  322. package/dist/service/apigatewayv2/cfn/integration/sim-cfn-http-api-integration-creator.d.ts +27 -0
  323. package/dist/service/apigatewayv2/cfn/integration/sim-cfn-http-api-integration-creator.d.ts.map +1 -0
  324. package/dist/service/apigatewayv2/cfn/integration/sim-cfn-http-api-integration-creator.js +38 -0
  325. package/dist/service/apigatewayv2/cfn/integration/sim-cfn-http-api-integration-creator.js.map +1 -0
  326. package/dist/service/apigatewayv2/cfn/integration/sim-cfn-http-api-integration-properties.d.ts +34 -0
  327. package/dist/service/apigatewayv2/cfn/integration/sim-cfn-http-api-integration-properties.d.ts.map +1 -0
  328. package/dist/service/apigatewayv2/cfn/integration/sim-cfn-http-api-integration-properties.js +59 -0
  329. package/dist/service/apigatewayv2/cfn/integration/sim-cfn-http-api-integration-properties.js.map +1 -0
  330. package/dist/service/apigatewayv2/cfn/route/sim-cfn-http-api-route-creator.d.ts +32 -0
  331. package/dist/service/apigatewayv2/cfn/route/sim-cfn-http-api-route-creator.d.ts.map +1 -0
  332. package/dist/service/apigatewayv2/cfn/route/sim-cfn-http-api-route-creator.js +42 -0
  333. package/dist/service/apigatewayv2/cfn/route/sim-cfn-http-api-route-creator.js.map +1 -0
  334. package/dist/service/apigatewayv2/cfn/route/sim-cfn-http-api-route-properties.d.ts +35 -0
  335. package/dist/service/apigatewayv2/cfn/route/sim-cfn-http-api-route-properties.d.ts.map +1 -0
  336. package/dist/service/apigatewayv2/cfn/route/sim-cfn-http-api-route-properties.js +57 -0
  337. package/dist/service/apigatewayv2/cfn/route/sim-cfn-http-api-route-properties.js.map +1 -0
  338. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-parser.d.ts +40 -0
  339. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-parser.d.ts.map +1 -0
  340. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-parser.js +47 -0
  341. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-parser.js.map +1 -0
  342. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-values.d.ts +34 -0
  343. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-values.d.ts.map +1 -0
  344. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-values.js +57 -0
  345. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-values.js.map +1 -0
  346. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-resource-factory.d.ts +32 -0
  347. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-resource-factory.d.ts.map +1 -0
  348. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-resource-factory.js +85 -0
  349. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-resource-factory.js.map +1 -0
  350. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-scalar-values.d.ts +49 -0
  351. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-scalar-values.d.ts.map +1 -0
  352. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-scalar-values.js +98 -0
  353. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-scalar-values.js.map +1 -0
  354. package/dist/service/apigatewayv2/cfn/sim-cfn-http-api-imports.d.ts +28 -0
  355. package/dist/service/apigatewayv2/cfn/sim-cfn-http-api-imports.d.ts.map +1 -0
  356. package/dist/service/apigatewayv2/cfn/sim-cfn-http-api-imports.js +39 -0
  357. package/dist/service/apigatewayv2/cfn/sim-cfn-http-api-imports.js.map +1 -0
  358. package/dist/service/apigatewayv2/cfn/sim-cfn-http-api-template.factory.d.ts +52 -0
  359. package/dist/service/apigatewayv2/cfn/sim-cfn-http-api-template.factory.d.ts.map +1 -0
  360. package/dist/service/apigatewayv2/cfn/sim-cfn-http-api-template.factory.js +145 -0
  361. package/dist/service/apigatewayv2/cfn/sim-cfn-http-api-template.factory.js.map +1 -0
  362. package/dist/service/apigatewayv2/cfn/sim-cfn-imported-http-api-template.factory.d.ts +45 -0
  363. package/dist/service/apigatewayv2/cfn/sim-cfn-imported-http-api-template.factory.d.ts.map +1 -0
  364. package/dist/service/apigatewayv2/cfn/sim-cfn-imported-http-api-template.factory.js +97 -0
  365. package/dist/service/apigatewayv2/cfn/sim-cfn-imported-http-api-template.factory.js.map +1 -0
  366. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-creator.d.ts +25 -0
  367. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-creator.d.ts.map +1 -0
  368. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-creator.js +35 -0
  369. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-creator.js.map +1 -0
  370. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.d.ts +36 -0
  371. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.d.ts.map +1 -0
  372. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.js +63 -0
  373. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.js.map +1 -0
  374. package/dist/service/apigatewayv2/command/api/api.command.d.ts +83 -0
  375. package/dist/service/apigatewayv2/command/api/api.command.d.ts.map +1 -0
  376. package/dist/service/apigatewayv2/command/api/api.command.js +2 -0
  377. package/dist/service/apigatewayv2/command/api/api.command.js.map +1 -0
  378. package/dist/service/apigatewayv2/command/api/sim-http-api-commands.d.ts +49 -0
  379. package/dist/service/apigatewayv2/command/api/sim-http-api-commands.d.ts.map +1 -0
  380. package/dist/service/apigatewayv2/command/api/sim-http-api-commands.js +98 -0
  381. package/dist/service/apigatewayv2/command/api/sim-http-api-commands.js.map +1 -0
  382. package/dist/service/apigatewayv2/command/api/sim-http-api-import-commands.d.ts +52 -0
  383. package/dist/service/apigatewayv2/command/api/sim-http-api-import-commands.d.ts.map +1 -0
  384. package/dist/service/apigatewayv2/command/api/sim-http-api-import-commands.js +63 -0
  385. package/dist/service/apigatewayv2/command/api/sim-http-api-import-commands.js.map +1 -0
  386. package/dist/service/apigatewayv2/command/api/sim-http-api-import-input.d.ts +28 -0
  387. package/dist/service/apigatewayv2/command/api/sim-http-api-import-input.d.ts.map +1 -0
  388. package/dist/service/apigatewayv2/command/api/sim-http-api-import-input.js +44 -0
  389. package/dist/service/apigatewayv2/command/api/sim-http-api-import-input.js.map +1 -0
  390. package/dist/service/apigatewayv2/command/authorize/sim-api-gateway-v2-authorizer.d.ts +42 -0
  391. package/dist/service/apigatewayv2/command/authorize/sim-api-gateway-v2-authorizer.d.ts.map +1 -0
  392. package/dist/service/apigatewayv2/command/authorize/sim-api-gateway-v2-authorizer.js +36 -0
  393. package/dist/service/apigatewayv2/command/authorize/sim-api-gateway-v2-authorizer.js.map +1 -0
  394. package/dist/service/apigatewayv2/command/authorizer/authorizer.command.d.ts +68 -0
  395. package/dist/service/apigatewayv2/command/authorizer/authorizer.command.d.ts.map +1 -0
  396. package/dist/service/apigatewayv2/command/authorizer/authorizer.command.js +2 -0
  397. package/dist/service/apigatewayv2/command/authorizer/authorizer.command.js.map +1 -0
  398. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-commands.d.ts +36 -0
  399. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-commands.d.ts.map +1 -0
  400. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-commands.js +102 -0
  401. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-commands.js.map +1 -0
  402. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-input.d.ts +20 -0
  403. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-input.d.ts.map +1 -0
  404. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-input.js +15 -0
  405. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-input.js.map +1 -0
  406. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-options.d.ts +22 -0
  407. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-options.d.ts.map +1 -0
  408. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-options.js +26 -0
  409. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-options.js.map +1 -0
  410. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-jwt-authorizer-input.d.ts +52 -0
  411. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-jwt-authorizer-input.d.ts.map +1 -0
  412. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-jwt-authorizer-input.js +105 -0
  413. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-jwt-authorizer-input.js.map +1 -0
  414. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-request-authorizer-input.d.ts +58 -0
  415. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-request-authorizer-input.d.ts.map +1 -0
  416. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-request-authorizer-input.js +120 -0
  417. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-request-authorizer-input.js.map +1 -0
  418. package/dist/service/apigatewayv2/command/integration/integration.command.d.ts +38 -0
  419. package/dist/service/apigatewayv2/command/integration/integration.command.d.ts.map +1 -0
  420. package/dist/service/apigatewayv2/command/integration/integration.command.js +2 -0
  421. package/dist/service/apigatewayv2/command/integration/integration.command.js.map +1 -0
  422. package/dist/service/apigatewayv2/command/integration/sim-http-api-integration-commands.d.ts +23 -0
  423. package/dist/service/apigatewayv2/command/integration/sim-http-api-integration-commands.d.ts.map +1 -0
  424. package/dist/service/apigatewayv2/command/integration/sim-http-api-integration-commands.js +73 -0
  425. package/dist/service/apigatewayv2/command/integration/sim-http-api-integration-commands.js.map +1 -0
  426. package/dist/service/apigatewayv2/command/route/route.command.d.ts +39 -0
  427. package/dist/service/apigatewayv2/command/route/route.command.d.ts.map +1 -0
  428. package/dist/service/apigatewayv2/command/route/route.command.js +2 -0
  429. package/dist/service/apigatewayv2/command/route/route.command.js.map +1 -0
  430. package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorization-options.d.ts +30 -0
  431. package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorization-options.d.ts.map +1 -0
  432. package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorization-options.js +55 -0
  433. package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorization-options.js.map +1 -0
  434. package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorization.d.ts +52 -0
  435. package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorization.d.ts.map +1 -0
  436. package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorization.js +87 -0
  437. package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorization.js.map +1 -0
  438. package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorizer-input.d.ts +26 -0
  439. package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorizer-input.d.ts.map +1 -0
  440. package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorizer-input.js +40 -0
  441. package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorizer-input.js.map +1 -0
  442. package/dist/service/apigatewayv2/command/route/sim-http-api-route-commands.d.ts +25 -0
  443. package/dist/service/apigatewayv2/command/route/sim-http-api-route-commands.d.ts.map +1 -0
  444. package/dist/service/apigatewayv2/command/route/sim-http-api-route-commands.js +82 -0
  445. package/dist/service/apigatewayv2/command/route/sim-http-api-route-commands.js.map +1 -0
  446. package/dist/service/apigatewayv2/command/route/sim-http-api-route-target.d.ts +27 -0
  447. package/dist/service/apigatewayv2/command/route/sim-http-api-route-target.d.ts.map +1 -0
  448. package/dist/service/apigatewayv2/command/route/sim-http-api-route-target.js +44 -0
  449. package/dist/service/apigatewayv2/command/route/sim-http-api-route-target.js.map +1 -0
  450. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-command.types.d.ts +9 -0
  451. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-command.types.d.ts.map +1 -0
  452. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-command.types.js +2 -0
  453. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-command.types.js.map +1 -0
  454. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-request-options.d.ts +8 -0
  455. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-request-options.d.ts.map +1 -0
  456. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-request-options.js +2 -0
  457. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-request-options.js.map +1 -0
  458. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-unsimulated-input.d.ts +42 -0
  459. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-unsimulated-input.d.ts.map +1 -0
  460. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-unsimulated-input.js +77 -0
  461. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-unsimulated-input.js.map +1 -0
  462. package/dist/service/apigatewayv2/command/sim-http-api-access.d.ts +45 -0
  463. package/dist/service/apigatewayv2/command/sim-http-api-access.d.ts.map +1 -0
  464. package/dist/service/apigatewayv2/command/sim-http-api-access.js +40 -0
  465. package/dist/service/apigatewayv2/command/sim-http-api-access.js.map +1 -0
  466. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-commands.d.ts +27 -0
  467. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-commands.d.ts.map +1 -0
  468. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-commands.js +70 -0
  469. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-commands.js.map +1 -0
  470. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-rules.d.ts +29 -0
  471. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-rules.d.ts.map +1 -0
  472. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-rules.js +52 -0
  473. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-rules.js.map +1 -0
  474. package/dist/service/apigatewayv2/command/stage/stage.command.d.ts +38 -0
  475. package/dist/service/apigatewayv2/command/stage/stage.command.d.ts.map +1 -0
  476. package/dist/service/apigatewayv2/command/stage/stage.command.js +2 -0
  477. package/dist/service/apigatewayv2/command/stage/stage.command.js.map +1 -0
  478. package/dist/service/apigatewayv2/error/sim-api-gateway-v2.error.d.ts +42 -0
  479. package/dist/service/apigatewayv2/error/sim-api-gateway-v2.error.d.ts.map +1 -0
  480. package/dist/service/apigatewayv2/error/sim-api-gateway-v2.error.js +45 -0
  481. package/dist/service/apigatewayv2/error/sim-api-gateway-v2.error.js.map +1 -0
  482. package/dist/service/apigatewayv2/index.d.ts +38 -0
  483. package/dist/service/apigatewayv2/index.d.ts.map +1 -0
  484. package/dist/service/apigatewayv2/index.js +30 -0
  485. package/dist/service/apigatewayv2/index.js.map +1 -0
  486. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-body.d.ts +10 -0
  487. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-body.d.ts.map +1 -0
  488. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-body.js +29 -0
  489. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-body.js.map +1 -0
  490. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-command.d.ts +18 -0
  491. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-command.d.ts.map +1 -0
  492. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-command.js +29 -0
  493. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-command.js.map +1 -0
  494. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-document.d.ts +47 -0
  495. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-document.d.ts.map +1 -0
  496. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-document.factory.d.ts +30 -0
  497. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-document.factory.d.ts.map +1 -0
  498. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-document.factory.js +26 -0
  499. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-document.factory.js.map +1 -0
  500. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-document.js +109 -0
  501. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-document.js.map +1 -0
  502. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-identity-source.d.ts +25 -0
  503. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-identity-source.d.ts.map +1 -0
  504. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-identity-source.js +41 -0
  505. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-identity-source.js.map +1 -0
  506. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-import.d.ts +33 -0
  507. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-import.d.ts.map +1 -0
  508. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-import.js +59 -0
  509. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-import.js.map +1 -0
  510. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration-references.d.ts +55 -0
  511. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration-references.d.ts.map +1 -0
  512. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration-references.js +95 -0
  513. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration-references.js.map +1 -0
  514. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration.d.ts +37 -0
  515. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration.d.ts.map +1 -0
  516. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration.factory.d.ts +19 -0
  517. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration.factory.d.ts.map +1 -0
  518. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration.factory.js +20 -0
  519. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration.factory.js.map +1 -0
  520. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration.js +86 -0
  521. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration.js.map +1 -0
  522. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integrations.d.ts +29 -0
  523. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integrations.d.ts.map +1 -0
  524. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integrations.js +37 -0
  525. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integrations.js.map +1 -0
  526. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-jwt-authorizer-scheme.d.ts +19 -0
  527. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-jwt-authorizer-scheme.d.ts.map +1 -0
  528. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-jwt-authorizer-scheme.js +32 -0
  529. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-jwt-authorizer-scheme.js.map +1 -0
  530. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-object.d.ts +47 -0
  531. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-object.d.ts.map +1 -0
  532. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-object.js +63 -0
  533. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-object.js.map +1 -0
  534. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-operation.d.ts +56 -0
  535. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-operation.d.ts.map +1 -0
  536. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-operation.js +80 -0
  537. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-operation.js.map +1 -0
  538. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-path-item.d.ts +24 -0
  539. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-path-item.d.ts.map +1 -0
  540. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-path-item.js +70 -0
  541. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-path-item.js.map +1 -0
  542. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-paths.d.ts +18 -0
  543. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-paths.d.ts.map +1 -0
  544. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-paths.js +24 -0
  545. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-paths.js.map +1 -0
  546. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-pointer.d.ts +33 -0
  547. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-pointer.d.ts.map +1 -0
  548. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-pointer.js +49 -0
  549. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-pointer.js.map +1 -0
  550. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-refusal.d.ts +11 -0
  551. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-refusal.d.ts.map +1 -0
  552. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-refusal.js +12 -0
  553. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-refusal.js.map +1 -0
  554. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-request-authorizer-scheme.d.ts +21 -0
  555. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-request-authorizer-scheme.d.ts.map +1 -0
  556. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-request-authorizer-scheme.js +51 -0
  557. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-request-authorizer-scheme.js.map +1 -0
  558. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-route-authorization.d.ts +44 -0
  559. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-route-authorization.d.ts.map +1 -0
  560. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-route-authorization.js +62 -0
  561. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-route-authorization.js.map +1 -0
  562. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-scheme.d.ts +29 -0
  563. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-scheme.d.ts.map +1 -0
  564. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-scheme.js +82 -0
  565. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-scheme.js.map +1 -0
  566. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-schemes.d.ts +40 -0
  567. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-schemes.d.ts.map +1 -0
  568. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-schemes.js +49 -0
  569. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-schemes.js.map +1 -0
  570. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-value.d.ts +65 -0
  571. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-value.d.ts.map +1 -0
  572. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-value.js +128 -0
  573. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-value.js.map +1 -0
  574. package/dist/service/apigatewayv2/registry/sim-http-api-registry.d.ts +31 -0
  575. package/dist/service/apigatewayv2/registry/sim-http-api-registry.d.ts.map +1 -0
  576. package/dist/service/apigatewayv2/registry/sim-http-api-registry.js +42 -0
  577. package/dist/service/apigatewayv2/registry/sim-http-api-registry.js.map +1 -0
  578. package/dist/service/apigatewayv2/sdk/sim-api-gateway-v2-sdk-command-router.d.ts +19 -0
  579. package/dist/service/apigatewayv2/sdk/sim-api-gateway-v2-sdk-command-router.d.ts.map +1 -0
  580. package/dist/service/apigatewayv2/sdk/sim-api-gateway-v2-sdk-command-router.js +81 -0
  581. package/dist/service/apigatewayv2/sdk/sim-api-gateway-v2-sdk-command-router.js.map +1 -0
  582. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-decisions.d.ts +36 -0
  583. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-decisions.d.ts.map +1 -0
  584. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-decisions.js +39 -0
  585. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-decisions.js.map +1 -0
  586. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-event.d.ts +58 -0
  587. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-event.d.ts.map +1 -0
  588. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-event.js +58 -0
  589. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-event.js.map +1 -0
  590. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-invocation.d.ts +36 -0
  591. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-invocation.d.ts.map +1 -0
  592. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-invocation.js +52 -0
  593. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-invocation.js.map +1 -0
  594. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-policy.d.ts +27 -0
  595. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-policy.d.ts.map +1 -0
  596. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-policy.js +56 -0
  597. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-policy.js.map +1 -0
  598. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-response.d.ts +52 -0
  599. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-response.d.ts.map +1 -0
  600. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-response.js +112 -0
  601. package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-response.js.map +1 -0
  602. package/dist/service/apigatewayv2/serve/auth/sim-http-api-iam-route-authorizer.d.ts +40 -0
  603. package/dist/service/apigatewayv2/serve/auth/sim-http-api-iam-route-authorizer.d.ts.map +1 -0
  604. package/dist/service/apigatewayv2/serve/auth/sim-http-api-iam-route-authorizer.js +57 -0
  605. package/dist/service/apigatewayv2/serve/auth/sim-http-api-iam-route-authorizer.js.map +1 -0
  606. package/dist/service/apigatewayv2/serve/auth/sim-http-api-invoke-authorizer.d.ts +60 -0
  607. package/dist/service/apigatewayv2/serve/auth/sim-http-api-invoke-authorizer.d.ts.map +1 -0
  608. package/dist/service/apigatewayv2/serve/auth/sim-http-api-invoke-authorizer.js +64 -0
  609. package/dist/service/apigatewayv2/serve/auth/sim-http-api-invoke-authorizer.js.map +1 -0
  610. package/dist/service/apigatewayv2/serve/auth/sim-http-api-jwt-route-authorizer.d.ts +27 -0
  611. package/dist/service/apigatewayv2/serve/auth/sim-http-api-jwt-route-authorizer.d.ts.map +1 -0
  612. package/dist/service/apigatewayv2/serve/auth/sim-http-api-jwt-route-authorizer.js +54 -0
  613. package/dist/service/apigatewayv2/serve/auth/sim-http-api-jwt-route-authorizer.js.map +1 -0
  614. package/dist/service/apigatewayv2/serve/auth/sim-http-api-request-route-authorizer.d.ts +42 -0
  615. package/dist/service/apigatewayv2/serve/auth/sim-http-api-request-route-authorizer.d.ts.map +1 -0
  616. package/dist/service/apigatewayv2/serve/auth/sim-http-api-request-route-authorizer.js +57 -0
  617. package/dist/service/apigatewayv2/serve/auth/sim-http-api-request-route-authorizer.js.map +1 -0
  618. package/dist/service/apigatewayv2/serve/auth/sim-http-api-route-authorize-input.d.ts +28 -0
  619. package/dist/service/apigatewayv2/serve/auth/sim-http-api-route-authorize-input.d.ts.map +1 -0
  620. package/dist/service/apigatewayv2/serve/auth/sim-http-api-route-authorize-input.js +2 -0
  621. package/dist/service/apigatewayv2/serve/auth/sim-http-api-route-authorize-input.js.map +1 -0
  622. package/dist/service/apigatewayv2/serve/auth/sim-http-api-route-authorizer.d.ts +40 -0
  623. package/dist/service/apigatewayv2/serve/auth/sim-http-api-route-authorizer.d.ts.map +1 -0
  624. package/dist/service/apigatewayv2/serve/auth/sim-http-api-route-authorizer.js +51 -0
  625. package/dist/service/apigatewayv2/serve/auth/sim-http-api-route-authorizer.js.map +1 -0
  626. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.d.ts +37 -0
  627. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.d.ts.map +1 -0
  628. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.js +91 -0
  629. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.js.map +1 -0
  630. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-error-response.d.ts +52 -0
  631. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-error-response.d.ts.map +1 -0
  632. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-error-response.js +72 -0
  633. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-error-response.js.map +1 -0
  634. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-router.d.ts +71 -0
  635. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-router.d.ts.map +1 -0
  636. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-router.js +75 -0
  637. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-router.js.map +1 -0
  638. package/dist/service/apigatewayv2/serve/sim-http-api-endpoint.d.ts +14 -0
  639. package/dist/service/apigatewayv2/serve/sim-http-api-endpoint.d.ts.map +1 -0
  640. package/dist/service/apigatewayv2/serve/sim-http-api-endpoint.js +21 -0
  641. package/dist/service/apigatewayv2/serve/sim-http-api-endpoint.js.map +1 -0
  642. package/dist/service/apigatewayv2/serve/sim-http-api-integration-invocation.d.ts +46 -0
  643. package/dist/service/apigatewayv2/serve/sim-http-api-integration-invocation.d.ts.map +1 -0
  644. package/dist/service/apigatewayv2/serve/sim-http-api-integration-invocation.js +70 -0
  645. package/dist/service/apigatewayv2/serve/sim-http-api-integration-invocation.js.map +1 -0
  646. package/dist/service/apigatewayv2/serve/sim-http-api-refusal-response.d.ts +18 -0
  647. package/dist/service/apigatewayv2/serve/sim-http-api-refusal-response.d.ts.map +1 -0
  648. package/dist/service/apigatewayv2/serve/sim-http-api-refusal-response.js +30 -0
  649. package/dist/service/apigatewayv2/serve/sim-http-api-refusal-response.js.map +1 -0
  650. package/dist/service/apigatewayv2/sim-api-gateway-v2.d.ts +125 -0
  651. package/dist/service/apigatewayv2/sim-api-gateway-v2.d.ts.map +1 -0
  652. package/dist/service/apigatewayv2/sim-api-gateway-v2.js +198 -0
  653. package/dist/service/apigatewayv2/sim-api-gateway-v2.js.map +1 -0
  654. package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts +30 -1
  655. package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts.map +1 -1
  656. package/dist/service/aws/factory/sim-aws-account-region-service-builder.js +55 -1
  657. package/dist/service/aws/factory/sim-aws-account-region-service-builder.js.map +1 -1
  658. package/dist/service/aws/factory/sim-aws-service-factory.d.ts +13 -0
  659. package/dist/service/aws/factory/sim-aws-service-factory.d.ts.map +1 -1
  660. package/dist/service/aws/factory/sim-aws-service-factory.js +15 -0
  661. package/dist/service/aws/factory/sim-aws-service-factory.js.map +1 -1
  662. package/dist/service/aws/sim-aws-account-region-scope.d.ts +5 -0
  663. package/dist/service/aws/sim-aws-account-region-scope.d.ts.map +1 -1
  664. package/dist/service/aws/sim-aws-account-region-scope.js +6 -0
  665. package/dist/service/aws/sim-aws-account-region-scope.js.map +1 -1
  666. package/dist/service/aws/sim-aws-service-accessors.d.ts +61 -0
  667. package/dist/service/aws/sim-aws-service-accessors.d.ts.map +1 -0
  668. package/dist/service/aws/sim-aws-service-accessors.js +71 -0
  669. package/dist/service/aws/sim-aws-service-accessors.js.map +1 -0
  670. package/dist/service/aws/sim-aws.d.ts +10 -43
  671. package/dist/service/aws/sim-aws.d.ts.map +1 -1
  672. package/dist/service/aws/sim-aws.js +12 -56
  673. package/dist/service/aws/sim-aws.js.map +1 -1
  674. package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-configuration.d.ts +29 -0
  675. package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-configuration.d.ts.map +1 -0
  676. package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-configuration.js +57 -0
  677. package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-configuration.js.map +1 -0
  678. package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-filter.d.ts +21 -0
  679. package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-filter.d.ts.map +1 -0
  680. package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-filter.js +38 -0
  681. package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-filter.js.map +1 -0
  682. package/dist/service/cloudformation/cdk/s3/bucket-notifications/error/sim-cdk-bucket-notification-error.d.ts +11 -0
  683. package/dist/service/cloudformation/cdk/s3/bucket-notifications/error/sim-cdk-bucket-notification-error.d.ts.map +1 -0
  684. package/dist/service/cloudformation/cdk/s3/bucket-notifications/error/sim-cdk-bucket-notification-error.js +13 -0
  685. package/dist/service/cloudformation/cdk/s3/bucket-notifications/error/sim-cdk-bucket-notification-error.js.map +1 -0
  686. package/dist/service/cloudformation/cdk/s3/bucket-notifications/property/sim-cdk-bucket-notification-properties.d.ts +48 -0
  687. package/dist/service/cloudformation/cdk/s3/bucket-notifications/property/sim-cdk-bucket-notification-properties.d.ts.map +1 -0
  688. package/dist/service/cloudformation/cdk/s3/bucket-notifications/property/sim-cdk-bucket-notification-properties.js +105 -0
  689. package/dist/service/cloudformation/cdk/s3/bucket-notifications/property/sim-cdk-bucket-notification-properties.js.map +1 -0
  690. package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications-template.factory.d.ts +45 -0
  691. package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications-template.factory.d.ts.map +1 -0
  692. package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications-template.factory.js +109 -0
  693. package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications-template.factory.js.map +1 -0
  694. package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications.d.ts +27 -0
  695. package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications.d.ts.map +1 -0
  696. package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications.js +47 -0
  697. package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications.js.map +1 -0
  698. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-api-gateway-v2-cfn-value-adapter.d.ts +7 -0
  699. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-api-gateway-v2-cfn-value-adapter.d.ts.map +1 -0
  700. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-api-gateway-v2-cfn-value-adapter.js +40 -0
  701. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-api-gateway-v2-cfn-value-adapter.js.map +1 -0
  702. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-authorizer-cfn.d.ts +24 -0
  703. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-authorizer-cfn.d.ts.map +1 -0
  704. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-authorizer-cfn.js +26 -0
  705. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-authorizer-cfn.js.map +1 -0
  706. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-cfn.d.ts +29 -0
  707. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-cfn.d.ts.map +1 -0
  708. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-cfn.js +34 -0
  709. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-cfn.js.map +1 -0
  710. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-integration-cfn.d.ts +25 -0
  711. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-integration-cfn.d.ts.map +1 -0
  712. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-integration-cfn.js +27 -0
  713. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-integration-cfn.js.map +1 -0
  714. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-route-cfn.d.ts +24 -0
  715. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-route-cfn.d.ts.map +1 -0
  716. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-route-cfn.js +26 -0
  717. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-route-cfn.js.map +1 -0
  718. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-stage-cfn.d.ts +24 -0
  719. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-stage-cfn.d.ts.map +1 -0
  720. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-stage-cfn.js +23 -0
  721. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-stage-cfn.js.map +1 -0
  722. package/dist/service/cloudformation/resource/cfn/sim-cfn-resource-value-adapter.d.ts.map +1 -1
  723. package/dist/service/cloudformation/resource/cfn/sim-cfn-resource-value-adapter.js +2 -0
  724. package/dist/service/cloudformation/resource/cfn/sim-cfn-resource-value-adapter.js.map +1 -1
  725. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-custom-resource-factories.d.ts +23 -0
  726. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-custom-resource-factories.d.ts.map +1 -0
  727. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-custom-resource-factories.js +24 -0
  728. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-custom-resource-factories.js.map +1 -0
  729. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.d.ts +20 -0
  730. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.d.ts.map +1 -0
  731. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.js +74 -0
  732. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.js.map +1 -0
  733. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-resolver.d.ts.map +1 -1
  734. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-resolver.js +22 -52
  735. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-resolver.js.map +1 -1
  736. package/dist/service/cloudformation/template/value/sim-cfn-value-shape.d.ts +45 -0
  737. package/dist/service/cloudformation/template/value/sim-cfn-value-shape.d.ts.map +1 -0
  738. package/dist/service/cloudformation/template/value/sim-cfn-value-shape.js +73 -0
  739. package/dist/service/cloudformation/template/value/sim-cfn-value-shape.js.map +1 -0
  740. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.d.ts +3 -3
  741. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.d.ts.map +1 -1
  742. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js +30 -23
  743. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js.map +1 -1
  744. package/dist/service/cognito/cfn/client/sim-cfn-cognito-token-validity-units.d.ts +28 -0
  745. package/dist/service/cognito/cfn/client/sim-cfn-cognito-token-validity-units.d.ts.map +1 -0
  746. package/dist/service/cognito/cfn/client/sim-cfn-cognito-token-validity-units.js +39 -0
  747. package/dist/service/cognito/cfn/client/sim-cfn-cognito-token-validity-units.js.map +1 -0
  748. package/dist/service/cognito/cfn/sim-cfn-cognito-generated-name.d.ts +32 -0
  749. package/dist/service/cognito/cfn/sim-cfn-cognito-generated-name.d.ts.map +1 -0
  750. package/dist/service/cognito/cfn/sim-cfn-cognito-generated-name.js +41 -0
  751. package/dist/service/cognito/cfn/sim-cfn-cognito-generated-name.js.map +1 -0
  752. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.d.ts +13 -0
  753. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.d.ts.map +1 -1
  754. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js +45 -1
  755. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js.map +1 -1
  756. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-commands.d.ts.map +1 -1
  757. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-commands.js +1 -0
  758. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-commands.js.map +1 -1
  759. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.d.ts +4 -0
  760. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.d.ts.map +1 -1
  761. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.js +5 -0
  762. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.js.map +1 -1
  763. package/dist/service/cognito/command/client/user-pool-client.command.d.ts +6 -3
  764. package/dist/service/cognito/command/client/user-pool-client.command.d.ts.map +1 -1
  765. package/dist/service/cognito/command/sim-cognito-canonical-value.d.ts +28 -0
  766. package/dist/service/cognito/command/sim-cognito-canonical-value.d.ts.map +1 -0
  767. package/dist/service/cognito/command/sim-cognito-canonical-value.js +44 -0
  768. package/dist/service/cognito/command/sim-cognito-canonical-value.js.map +1 -0
  769. package/dist/service/cognito/command/sim-cognito-unsimulated-structure.d.ts +23 -0
  770. package/dist/service/cognito/command/sim-cognito-unsimulated-structure.d.ts.map +1 -0
  771. package/dist/service/cognito/command/sim-cognito-unsimulated-structure.js +38 -0
  772. package/dist/service/cognito/command/sim-cognito-unsimulated-structure.js.map +1 -0
  773. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-features.d.ts +8 -3
  774. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-features.d.ts.map +1 -1
  775. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-features.js +39 -5
  776. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-features.js.map +1 -1
  777. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-messaging.d.ts +13 -2
  778. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-messaging.d.ts.map +1 -1
  779. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-messaging.js +41 -6
  780. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-messaging.js.map +1 -1
  781. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-commands.d.ts.map +1 -1
  782. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-commands.js +1 -0
  783. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-commands.js.map +1 -1
  784. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.d.ts +4 -0
  785. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.d.ts.map +1 -1
  786. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.js +5 -0
  787. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.js.map +1 -1
  788. package/dist/service/cognito/command/user-pool/user-pool.command.d.ts +5 -3
  789. package/dist/service/cognito/command/user-pool/user-pool.command.d.ts.map +1 -1
  790. package/dist/service/cognito/user-pool/auth/sim-cognito-signed-in.factory.d.ts +44 -0
  791. package/dist/service/cognito/user-pool/auth/sim-cognito-signed-in.factory.d.ts.map +1 -0
  792. package/dist/service/cognito/user-pool/auth/sim-cognito-signed-in.factory.js +88 -0
  793. package/dist/service/cognito/user-pool/auth/sim-cognito-signed-in.factory.js.map +1 -0
  794. package/dist/service/cognito/user-pool/client/sim-cognito-unsimulated-client-settings.d.ts +42 -0
  795. package/dist/service/cognito/user-pool/client/sim-cognito-unsimulated-client-settings.d.ts.map +1 -0
  796. package/dist/service/cognito/user-pool/client/sim-cognito-unsimulated-client-settings.js +44 -0
  797. package/dist/service/cognito/user-pool/client/sim-cognito-unsimulated-client-settings.js.map +1 -0
  798. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.d.ts +6 -0
  799. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.d.ts.map +1 -1
  800. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.js +2 -0
  801. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.js.map +1 -1
  802. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.d.ts +7 -0
  803. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.d.ts.map +1 -1
  804. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.js +6 -0
  805. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.js.map +1 -1
  806. package/dist/service/cognito/user-pool/sim-cognito-unsimulated-pool-settings.d.ts +50 -0
  807. package/dist/service/cognito/user-pool/sim-cognito-unsimulated-pool-settings.d.ts.map +1 -0
  808. package/dist/service/cognito/user-pool/sim-cognito-unsimulated-pool-settings.js +61 -0
  809. package/dist/service/cognito/user-pool/sim-cognito-unsimulated-pool-settings.js.map +1 -0
  810. package/dist/service/cognito/user-pool/sim-cognito-user-pool-factory.d.ts +6 -0
  811. package/dist/service/cognito/user-pool/sim-cognito-user-pool-factory.d.ts.map +1 -1
  812. package/dist/service/cognito/user-pool/sim-cognito-user-pool-factory.js +2 -0
  813. package/dist/service/cognito/user-pool/sim-cognito-user-pool-factory.js.map +1 -1
  814. package/dist/service/cognito/user-pool/sim-cognito-user-pool.d.ts +7 -0
  815. package/dist/service/cognito/user-pool/sim-cognito-user-pool.d.ts.map +1 -1
  816. package/dist/service/cognito/user-pool/sim-cognito-user-pool.js +6 -0
  817. package/dist/service/cognito/user-pool/sim-cognito-user-pool.js.map +1 -1
  818. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-cancellation.d.ts +12 -0
  819. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-cancellation.d.ts.map +1 -1
  820. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-cancellation.js +15 -2
  821. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-cancellation.js.map +1 -1
  822. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-key-actions.d.ts.map +1 -1
  823. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-key-actions.js +15 -3
  824. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-key-actions.js.map +1 -1
  825. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-put-action.d.ts.map +1 -1
  826. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-put-action.js +2 -2
  827. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-put-action.js.map +1 -1
  828. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-update-action.d.ts.map +1 -1
  829. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-update-action.js +6 -2
  830. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-update-action.js.map +1 -1
  831. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-write.d.ts +6 -2
  832. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-write.d.ts.map +1 -1
  833. package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-write.js.map +1 -1
  834. package/dist/service/dynamodb/table/sim-dynamodb-table-writes.d.ts +57 -0
  835. package/dist/service/dynamodb/table/sim-dynamodb-table-writes.d.ts.map +1 -0
  836. package/dist/service/dynamodb/table/sim-dynamodb-table-writes.js +72 -0
  837. package/dist/service/dynamodb/table/sim-dynamodb-table-writes.js.map +1 -0
  838. package/dist/service/dynamodb/table/sim-dynamodb-table.d.ts +9 -4
  839. package/dist/service/dynamodb/table/sim-dynamodb-table.d.ts.map +1 -1
  840. package/dist/service/dynamodb/table/sim-dynamodb-table.js +17 -13
  841. package/dist/service/dynamodb/table/sim-dynamodb-table.js.map +1 -1
  842. package/dist/service/iam/authorize/match/condition/arn/equals/sim-iam-arn-equals.d.ts +14 -0
  843. package/dist/service/iam/authorize/match/condition/arn/equals/sim-iam-arn-equals.d.ts.map +1 -0
  844. package/dist/service/iam/authorize/match/condition/arn/equals/sim-iam-arn-equals.js +17 -0
  845. package/dist/service/iam/authorize/match/condition/arn/equals/sim-iam-arn-equals.js.map +1 -0
  846. package/dist/service/iam/authorize/match/condition/arn/like/sim-iam-arn-like.d.ts +13 -0
  847. package/dist/service/iam/authorize/match/condition/arn/like/sim-iam-arn-like.d.ts.map +1 -0
  848. package/dist/service/iam/authorize/match/condition/arn/like/sim-iam-arn-like.js +16 -0
  849. package/dist/service/iam/authorize/match/condition/arn/like/sim-iam-arn-like.js.map +1 -0
  850. package/dist/service/iam/authorize/match/condition/sim-iam-condition-operator-parser.d.ts.map +1 -1
  851. package/dist/service/iam/authorize/match/condition/sim-iam-condition-operator-parser.js +4 -0
  852. package/dist/service/iam/authorize/match/condition/sim-iam-condition-operator-parser.js.map +1 -1
  853. package/dist/service/iam/authorize/match/sim-iam-policy-principal-matcher.d.ts +4 -0
  854. package/dist/service/iam/authorize/match/sim-iam-policy-principal-matcher.d.ts.map +1 -1
  855. package/dist/service/iam/authorize/match/sim-iam-policy-principal-matcher.js +4 -3
  856. package/dist/service/iam/authorize/match/sim-iam-policy-principal-matcher.js.map +1 -1
  857. package/dist/service/iam/authorize/sim-iam-arn-match.d.ts +12 -0
  858. package/dist/service/iam/authorize/sim-iam-arn-match.d.ts.map +1 -0
  859. package/dist/service/iam/authorize/sim-iam-arn-match.js +45 -0
  860. package/dist/service/iam/authorize/sim-iam-arn-match.js.map +1 -0
  861. package/dist/service/iam/command/role/list-roles/list-roles.handler.js +2 -2
  862. package/dist/service/iam/command/role/list-roles/list-roles.handler.js.map +1 -1
  863. package/dist/service/lambda/command/authorize/sim-lambda-service-invoke-authorizer.d.ts +56 -0
  864. package/dist/service/lambda/command/authorize/sim-lambda-service-invoke-authorizer.d.ts.map +1 -0
  865. package/dist/service/lambda/command/authorize/sim-lambda-service-invoke-authorizer.js +59 -0
  866. package/dist/service/lambda/command/authorize/sim-lambda-service-invoke-authorizer.js.map +1 -0
  867. package/dist/service/lambda/function/policy/sim-lambda-permission.d.ts +17 -5
  868. package/dist/service/lambda/function/policy/sim-lambda-permission.d.ts.map +1 -1
  869. package/dist/service/lambda/function/policy/sim-lambda-permission.js +21 -7
  870. package/dist/service/lambda/function/policy/sim-lambda-permission.js.map +1 -1
  871. package/dist/service/lambda/serve/event/sim-lambda-url-endpoint.d.ts +13 -0
  872. package/dist/service/lambda/serve/event/sim-lambda-url-endpoint.d.ts.map +1 -0
  873. package/dist/service/lambda/serve/event/sim-lambda-url-endpoint.js +19 -0
  874. package/dist/service/lambda/serve/event/sim-lambda-url-endpoint.js.map +1 -0
  875. package/dist/service/lambda/serve/event/sim-lambda-url-event.type.d.ts +9 -93
  876. package/dist/service/lambda/serve/event/sim-lambda-url-event.type.d.ts.map +1 -1
  877. package/dist/service/lambda/serve/sim-lambda-controller.d.ts.map +1 -1
  878. package/dist/service/lambda/serve/sim-lambda-controller.js +6 -5
  879. package/dist/service/lambda/serve/sim-lambda-controller.js.map +1 -1
  880. package/dist/service/route53/resolve/sim-r53-service-target-resolver.d.ts +12 -0
  881. package/dist/service/route53/resolve/sim-r53-service-target-resolver.d.ts.map +1 -1
  882. package/dist/service/route53/resolve/sim-r53-service-target-resolver.js +32 -0
  883. package/dist/service/route53/resolve/sim-r53-service-target-resolver.js.map +1 -1
  884. package/dist/service/s3/bucket/notification/sim-s3-lambda-notification.d.ts +39 -0
  885. package/dist/service/s3/bucket/notification/sim-s3-lambda-notification.d.ts.map +1 -0
  886. package/dist/service/s3/bucket/notification/sim-s3-lambda-notification.js +46 -0
  887. package/dist/service/s3/bucket/notification/sim-s3-lambda-notification.js.map +1 -0
  888. package/dist/service/s3/bucket/notification/sim-s3-notification-configuration-reader.d.ts +27 -0
  889. package/dist/service/s3/bucket/notification/sim-s3-notification-configuration-reader.d.ts.map +1 -0
  890. package/dist/service/s3/bucket/notification/sim-s3-notification-configuration-reader.js +88 -0
  891. package/dist/service/s3/bucket/notification/sim-s3-notification-configuration-reader.js.map +1 -0
  892. package/dist/service/s3/bucket/notification/sim-s3-notification-configuration.d.ts +34 -0
  893. package/dist/service/s3/bucket/notification/sim-s3-notification-configuration.d.ts.map +1 -0
  894. package/dist/service/s3/bucket/notification/sim-s3-notification-configuration.js +46 -0
  895. package/dist/service/s3/bucket/notification/sim-s3-notification-configuration.js.map +1 -0
  896. package/dist/service/s3/bucket/notification/sim-s3-notification-event.d.ts +18 -0
  897. package/dist/service/s3/bucket/notification/sim-s3-notification-event.d.ts.map +1 -0
  898. package/dist/service/s3/bucket/notification/sim-s3-notification-event.js +50 -0
  899. package/dist/service/s3/bucket/notification/sim-s3-notification-event.js.map +1 -0
  900. package/dist/service/s3/bucket/notification/sim-s3-notification-filter.d.ts +42 -0
  901. package/dist/service/s3/bucket/notification/sim-s3-notification-filter.d.ts.map +1 -0
  902. package/dist/service/s3/bucket/notification/sim-s3-notification-filter.js +91 -0
  903. package/dist/service/s3/bucket/notification/sim-s3-notification-filter.js.map +1 -0
  904. package/dist/service/s3/bucket/notification/sim-s3-notification-overlap.d.ts +16 -0
  905. package/dist/service/s3/bucket/notification/sim-s3-notification-overlap.d.ts.map +1 -0
  906. package/dist/service/s3/bucket/notification/sim-s3-notification-overlap.js +28 -0
  907. package/dist/service/s3/bucket/notification/sim-s3-notification-overlap.js.map +1 -0
  908. package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.d.ts +13 -0
  909. package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.d.ts.map +1 -0
  910. package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.js +37 -0
  911. package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.js.map +1 -0
  912. package/dist/service/s3/bucket/sim-s3-bucket.d.ts +24 -0
  913. package/dist/service/s3/bucket/sim-s3-bucket.d.ts.map +1 -1
  914. package/dist/service/s3/bucket/sim-s3-bucket.js +31 -1
  915. package/dist/service/s3/bucket/sim-s3-bucket.js.map +1 -1
  916. package/dist/service/s3/bucket/website/redirect/s3-bucket-website-redirects.js +2 -2
  917. package/dist/service/s3/bucket/website/redirect/s3-bucket-website-redirects.js.map +1 -1
  918. package/dist/service/s3/cfn/bucket/error/sim-cfn-s3-bucket-error.d.ts +20 -0
  919. package/dist/service/s3/cfn/bucket/error/sim-cfn-s3-bucket-error.d.ts.map +1 -0
  920. package/dist/service/s3/cfn/bucket/error/sim-cfn-s3-bucket-error.js +24 -0
  921. package/dist/service/s3/cfn/bucket/error/sim-cfn-s3-bucket-error.js.map +1 -0
  922. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-configuration.d.ts +33 -0
  923. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-configuration.d.ts.map +1 -0
  924. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-configuration.js +82 -0
  925. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-configuration.js.map +1 -0
  926. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-filter.d.ts +22 -0
  927. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-filter.d.ts.map +1 -0
  928. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-filter.js +54 -0
  929. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-filter.js.map +1 -0
  930. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-handler.resources.d.ts +26 -0
  931. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-handler.resources.d.ts.map +1 -0
  932. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-handler.resources.js +60 -0
  933. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-handler.resources.js.map +1 -0
  934. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-template.factory.d.ts +44 -0
  935. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-template.factory.d.ts.map +1 -0
  936. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-template.factory.js +67 -0
  937. package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-template.factory.js.map +1 -0
  938. package/dist/service/s3/cfn/bucket/public-access/sim-cfn-s3-bucket-public-access-configuration.d.ts +24 -0
  939. package/dist/service/s3/cfn/bucket/public-access/sim-cfn-s3-bucket-public-access-configuration.d.ts.map +1 -0
  940. package/dist/service/s3/cfn/bucket/public-access/sim-cfn-s3-bucket-public-access-configuration.js +33 -0
  941. package/dist/service/s3/cfn/bucket/public-access/sim-cfn-s3-bucket-public-access-configuration.js.map +1 -0
  942. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-configurator.d.ts +36 -0
  943. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-configurator.d.ts.map +1 -0
  944. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-configurator.js +69 -0
  945. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-configurator.js.map +1 -0
  946. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-creator.d.ts +9 -5
  947. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-creator.d.ts.map +1 -1
  948. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-creator.js +22 -62
  949. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-creator.js.map +1 -1
  950. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-property-rules.d.ts +33 -0
  951. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-property-rules.d.ts.map +1 -0
  952. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-property-rules.js +105 -0
  953. package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-property-rules.js.map +1 -0
  954. package/dist/service/s3/cfn/bucket/website/sim-cfn-s3-bucket-website-configuration.d.ts +29 -0
  955. package/dist/service/s3/cfn/bucket/website/sim-cfn-s3-bucket-website-configuration.d.ts.map +1 -0
  956. package/dist/service/s3/cfn/bucket/website/sim-cfn-s3-bucket-website-configuration.js +59 -0
  957. package/dist/service/s3/cfn/bucket/website/sim-cfn-s3-bucket-website-configuration.js.map +1 -0
  958. package/dist/service/s3/command/bucket/sim-s3-bucket-commands.d.ts +34 -0
  959. package/dist/service/s3/command/bucket/sim-s3-bucket-commands.d.ts.map +1 -0
  960. package/dist/service/s3/command/bucket/sim-s3-bucket-commands.js +35 -0
  961. package/dist/service/s3/command/bucket/sim-s3-bucket-commands.js.map +1 -0
  962. package/dist/service/s3/command/bucket-policy/sim-s3-bucket-policy-commands.d.ts +23 -0
  963. package/dist/service/s3/command/bucket-policy/sim-s3-bucket-policy-commands.d.ts.map +1 -0
  964. package/dist/service/s3/command/bucket-policy/sim-s3-bucket-policy-commands.js +31 -0
  965. package/dist/service/s3/command/bucket-policy/sim-s3-bucket-policy-commands.js.map +1 -0
  966. package/dist/service/s3/command/delete-object/delete-object-authorizer.d.ts +33 -0
  967. package/dist/service/s3/command/delete-object/delete-object-authorizer.d.ts.map +1 -0
  968. package/dist/service/s3/command/delete-object/delete-object-authorizer.js +46 -0
  969. package/dist/service/s3/command/delete-object/delete-object-authorizer.js.map +1 -0
  970. package/dist/service/s3/command/delete-object/delete-object.command.d.ts +24 -0
  971. package/dist/service/s3/command/delete-object/delete-object.command.d.ts.map +1 -0
  972. package/dist/service/s3/command/delete-object/delete-object.command.js +2 -0
  973. package/dist/service/s3/command/delete-object/delete-object.command.js.map +1 -0
  974. package/dist/service/s3/command/delete-object/delete-object.handler.d.ts +38 -0
  975. package/dist/service/s3/command/delete-object/delete-object.handler.d.ts.map +1 -0
  976. package/dist/service/s3/command/delete-object/delete-object.handler.js +53 -0
  977. package/dist/service/s3/command/delete-object/delete-object.handler.js.map +1 -0
  978. package/dist/service/s3/command/delete-objects/delete-object-attempt.d.ts +12 -0
  979. package/dist/service/s3/command/delete-objects/delete-object-attempt.d.ts.map +1 -0
  980. package/dist/service/s3/command/delete-objects/delete-object-attempt.js +15 -0
  981. package/dist/service/s3/command/delete-objects/delete-object-attempt.js.map +1 -0
  982. package/dist/service/s3/command/delete-objects/delete-objects-key-removal.d.ts +28 -0
  983. package/dist/service/s3/command/delete-objects/delete-objects-key-removal.d.ts.map +1 -0
  984. package/dist/service/s3/command/delete-objects/delete-objects-key-removal.js +39 -0
  985. package/dist/service/s3/command/delete-objects/delete-objects-key-removal.js.map +1 -0
  986. package/dist/service/s3/command/delete-objects/delete-objects-outcome.d.ts +34 -0
  987. package/dist/service/s3/command/delete-objects/delete-objects-outcome.d.ts.map +1 -0
  988. package/dist/service/s3/command/delete-objects/delete-objects-outcome.js +64 -0
  989. package/dist/service/s3/command/delete-objects/delete-objects-outcome.js.map +1 -0
  990. package/dist/service/s3/command/delete-objects/delete-objects-request.d.ts +14 -0
  991. package/dist/service/s3/command/delete-objects/delete-objects-request.d.ts.map +1 -0
  992. package/dist/service/s3/command/delete-objects/delete-objects-request.js +34 -0
  993. package/dist/service/s3/command/delete-objects/delete-objects-request.js.map +1 -0
  994. package/dist/service/s3/command/delete-objects/delete-objects.command.d.ts +53 -0
  995. package/dist/service/s3/command/delete-objects/delete-objects.command.d.ts.map +1 -0
  996. package/dist/service/s3/command/delete-objects/delete-objects.command.js +2 -0
  997. package/dist/service/s3/command/delete-objects/delete-objects.command.js.map +1 -0
  998. package/dist/service/s3/command/delete-objects/delete-objects.handler.d.ts +36 -0
  999. package/dist/service/s3/command/delete-objects/delete-objects.handler.d.ts.map +1 -0
  1000. package/dist/service/s3/command/delete-objects/delete-objects.handler.js +43 -0
  1001. package/dist/service/s3/command/delete-objects/delete-objects.handler.js.map +1 -0
  1002. package/dist/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.command.d.ts +34 -0
  1003. package/dist/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.command.d.ts.map +1 -0
  1004. package/dist/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.command.js +2 -0
  1005. package/dist/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.command.js.map +1 -0
  1006. package/dist/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.handler.d.ts +35 -0
  1007. package/dist/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.handler.d.ts.map +1 -0
  1008. package/dist/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.handler.js +40 -0
  1009. package/dist/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.handler.js.map +1 -0
  1010. package/dist/service/s3/command/notification/sim-s3-notification-authorizer.d.ts +33 -0
  1011. package/dist/service/s3/command/notification/sim-s3-notification-authorizer.d.ts.map +1 -0
  1012. package/dist/service/s3/command/notification/sim-s3-notification-authorizer.js +50 -0
  1013. package/dist/service/s3/command/notification/sim-s3-notification-authorizer.js.map +1 -0
  1014. package/dist/service/s3/command/notification/sim-s3-notification-commands.d.ts +19 -0
  1015. package/dist/service/s3/command/notification/sim-s3-notification-commands.d.ts.map +1 -0
  1016. package/dist/service/s3/command/notification/sim-s3-notification-commands.js +24 -0
  1017. package/dist/service/s3/command/notification/sim-s3-notification-commands.js.map +1 -0
  1018. package/dist/service/s3/command/object/sim-s3-object-commands.d.ts +31 -0
  1019. package/dist/service/s3/command/object/sim-s3-object-commands.d.ts.map +1 -0
  1020. package/dist/service/s3/command/object/sim-s3-object-commands.js +45 -0
  1021. package/dist/service/s3/command/object/sim-s3-object-commands.js.map +1 -0
  1022. package/dist/service/s3/command/public-access-block/sim-s3-public-access-block-commands.d.ts +23 -0
  1023. package/dist/service/s3/command/public-access-block/sim-s3-public-access-block-commands.d.ts.map +1 -0
  1024. package/dist/service/s3/command/public-access-block/sim-s3-public-access-block-commands.js +31 -0
  1025. package/dist/service/s3/command/public-access-block/sim-s3-public-access-block-commands.js.map +1 -0
  1026. package/dist/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.command.d.ts +64 -0
  1027. package/dist/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.command.d.ts.map +1 -0
  1028. package/dist/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.command.js +2 -0
  1029. package/dist/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.command.js.map +1 -0
  1030. package/dist/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.handler.d.ts +39 -0
  1031. package/dist/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.handler.d.ts.map +1 -0
  1032. package/dist/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.handler.js +50 -0
  1033. package/dist/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.handler.js.map +1 -0
  1034. package/dist/service/s3/command/put-object/put-object-authorizer.d.ts +6 -1
  1035. package/dist/service/s3/command/put-object/put-object-authorizer.d.ts.map +1 -1
  1036. package/dist/service/s3/command/put-object/put-object-authorizer.js +5 -0
  1037. package/dist/service/s3/command/put-object/put-object-authorizer.js.map +1 -1
  1038. package/dist/service/s3/command/put-object/put-object.handler.d.ts +3 -0
  1039. package/dist/service/s3/command/put-object/put-object.handler.d.ts.map +1 -1
  1040. package/dist/service/s3/command/put-object/put-object.handler.js +6 -1
  1041. package/dist/service/s3/command/put-object/put-object.handler.js.map +1 -1
  1042. package/dist/service/s3/command/sim-s3-bucket-command-state.d.ts +23 -0
  1043. package/dist/service/s3/command/sim-s3-bucket-command-state.d.ts.map +1 -0
  1044. package/dist/service/s3/command/sim-s3-bucket-command-state.js +2 -0
  1045. package/dist/service/s3/command/sim-s3-bucket-command-state.js.map +1 -0
  1046. package/dist/service/s3/command/sim-s3-command.types.d.ts +4 -0
  1047. package/dist/service/s3/command/sim-s3-command.types.d.ts.map +1 -1
  1048. package/dist/service/s3/command/sim-s3-request-options.d.ts +11 -0
  1049. package/dist/service/s3/command/sim-s3-request-options.d.ts.map +1 -0
  1050. package/dist/service/s3/command/sim-s3-request-options.js +2 -0
  1051. package/dist/service/s3/command/sim-s3-request-options.js.map +1 -0
  1052. package/dist/service/s3/error/sim-s3-notification.error.d.ts +24 -0
  1053. package/dist/service/s3/error/sim-s3-notification.error.d.ts.map +1 -0
  1054. package/dist/service/s3/error/sim-s3-notification.error.js +24 -0
  1055. package/dist/service/s3/error/sim-s3-notification.error.js.map +1 -0
  1056. package/dist/service/s3/error/sim-s3.error.d.ts +32 -0
  1057. package/dist/service/s3/error/sim-s3.error.d.ts.map +1 -1
  1058. package/dist/service/s3/error/sim-s3.error.js +38 -0
  1059. package/dist/service/s3/error/sim-s3.error.js.map +1 -1
  1060. package/dist/service/s3/index.d.ts +1 -0
  1061. package/dist/service/s3/index.d.ts.map +1 -1
  1062. package/dist/service/s3/notification/destination/lambda/sim-aws-s3-notification-functions.d.ts +48 -0
  1063. package/dist/service/s3/notification/destination/lambda/sim-aws-s3-notification-functions.d.ts.map +1 -0
  1064. package/dist/service/s3/notification/destination/lambda/sim-aws-s3-notification-functions.js +78 -0
  1065. package/dist/service/s3/notification/destination/lambda/sim-aws-s3-notification-functions.js.map +1 -0
  1066. package/dist/service/s3/notification/destination/lambda/sim-s3-lambda-notification-destination.d.ts +30 -0
  1067. package/dist/service/s3/notification/destination/lambda/sim-s3-lambda-notification-destination.d.ts.map +1 -0
  1068. package/dist/service/s3/notification/destination/lambda/sim-s3-lambda-notification-destination.js +40 -0
  1069. package/dist/service/s3/notification/destination/lambda/sim-s3-lambda-notification-destination.js.map +1 -0
  1070. package/dist/service/s3/notification/destination/lambda/sim-s3-notification-function-arn.d.ts +24 -0
  1071. package/dist/service/s3/notification/destination/lambda/sim-s3-notification-function-arn.d.ts.map +1 -0
  1072. package/dist/service/s3/notification/destination/lambda/sim-s3-notification-function-arn.js +45 -0
  1073. package/dist/service/s3/notification/destination/lambda/sim-s3-notification-function-arn.js.map +1 -0
  1074. package/dist/service/s3/notification/destination/lambda/sim-s3-notification-functions.d.ts +23 -0
  1075. package/dist/service/s3/notification/destination/lambda/sim-s3-notification-functions.d.ts.map +1 -0
  1076. package/dist/service/s3/notification/destination/lambda/sim-s3-notification-functions.js +2 -0
  1077. package/dist/service/s3/notification/destination/lambda/sim-s3-notification-functions.js.map +1 -0
  1078. package/dist/service/s3/notification/destination/sim-s3-notification-destination-check.d.ts +20 -0
  1079. package/dist/service/s3/notification/destination/sim-s3-notification-destination-check.d.ts.map +1 -0
  1080. package/dist/service/s3/notification/destination/sim-s3-notification-destination-check.js +30 -0
  1081. package/dist/service/s3/notification/destination/sim-s3-notification-destination-check.js.map +1 -0
  1082. package/dist/service/s3/notification/destination/sim-s3-notification-destination.d.ts +50 -0
  1083. package/dist/service/s3/notification/destination/sim-s3-notification-destination.d.ts.map +1 -0
  1084. package/dist/service/s3/notification/destination/sim-s3-notification-destination.js +2 -0
  1085. package/dist/service/s3/notification/destination/sim-s3-notification-destination.js.map +1 -0
  1086. package/dist/service/s3/notification/destination/sim-s3-service-notification-destinations.d.ts +36 -0
  1087. package/dist/service/s3/notification/destination/sim-s3-service-notification-destinations.d.ts.map +1 -0
  1088. package/dist/service/s3/notification/destination/sim-s3-service-notification-destinations.js +48 -0
  1089. package/dist/service/s3/notification/destination/sim-s3-service-notification-destinations.js.map +1 -0
  1090. package/dist/service/s3/notification/event/sim-s3-event-principal.d.ts +13 -0
  1091. package/dist/service/s3/notification/event/sim-s3-event-principal.d.ts.map +1 -0
  1092. package/dist/service/s3/notification/event/sim-s3-event-principal.js +20 -0
  1093. package/dist/service/s3/notification/event/sim-s3-event-principal.js.map +1 -0
  1094. package/dist/service/s3/notification/event/sim-s3-event-records.d.ts +21 -0
  1095. package/dist/service/s3/notification/event/sim-s3-event-records.d.ts.map +1 -0
  1096. package/dist/service/s3/notification/event/sim-s3-event-records.js +90 -0
  1097. package/dist/service/s3/notification/event/sim-s3-event-records.js.map +1 -0
  1098. package/dist/service/s3/notification/event/sim-s3-object-etag.d.ts +8 -0
  1099. package/dist/service/s3/notification/event/sim-s3-object-etag.d.ts.map +1 -0
  1100. package/dist/service/s3/notification/event/sim-s3-object-etag.js +11 -0
  1101. package/dist/service/s3/notification/event/sim-s3-object-etag.js.map +1 -0
  1102. package/dist/service/s3/notification/event/sim-s3-object-event-builder.d.ts +63 -0
  1103. package/dist/service/s3/notification/event/sim-s3-object-event-builder.d.ts.map +1 -0
  1104. package/dist/service/s3/notification/event/sim-s3-object-event-builder.js +65 -0
  1105. package/dist/service/s3/notification/event/sim-s3-object-event-builder.js.map +1 -0
  1106. package/dist/service/s3/notification/event/sim-s3-object-event.d.ts +42 -0
  1107. package/dist/service/s3/notification/event/sim-s3-object-event.d.ts.map +1 -0
  1108. package/dist/service/s3/notification/event/sim-s3-object-event.js +38 -0
  1109. package/dist/service/s3/notification/event/sim-s3-object-event.js.map +1 -0
  1110. package/dist/service/s3/notification/sim-s3-notification-ceiling.d.ts +26 -0
  1111. package/dist/service/s3/notification/sim-s3-notification-ceiling.d.ts.map +1 -0
  1112. package/dist/service/s3/notification/sim-s3-notification-ceiling.js +39 -0
  1113. package/dist/service/s3/notification/sim-s3-notification-ceiling.js.map +1 -0
  1114. package/dist/service/s3/notification/sim-s3-notification-dispatcher.d.ts +33 -0
  1115. package/dist/service/s3/notification/sim-s3-notification-dispatcher.d.ts.map +1 -0
  1116. package/dist/service/s3/notification/sim-s3-notification-dispatcher.js +50 -0
  1117. package/dist/service/s3/notification/sim-s3-notification-dispatcher.js.map +1 -0
  1118. package/dist/service/s3/notification/sim-s3-notification-failures.d.ts +56 -0
  1119. package/dist/service/s3/notification/sim-s3-notification-failures.d.ts.map +1 -0
  1120. package/dist/service/s3/notification/sim-s3-notification-failures.js +80 -0
  1121. package/dist/service/s3/notification/sim-s3-notification-failures.js.map +1 -0
  1122. package/dist/service/s3/notification/sim-s3-notification-schedule.d.ts +31 -0
  1123. package/dist/service/s3/notification/sim-s3-notification-schedule.d.ts.map +1 -0
  1124. package/dist/service/s3/notification/sim-s3-notification-schedule.js +35 -0
  1125. package/dist/service/s3/notification/sim-s3-notification-schedule.js.map +1 -0
  1126. package/dist/service/s3/notification/sim-s3-object-notifier.d.ts +38 -0
  1127. package/dist/service/s3/notification/sim-s3-object-notifier.d.ts.map +1 -0
  1128. package/dist/service/s3/notification/sim-s3-object-notifier.js +46 -0
  1129. package/dist/service/s3/notification/sim-s3-object-notifier.js.map +1 -0
  1130. package/dist/service/s3/notification/sim-s3-object-sequencers.d.ts +19 -0
  1131. package/dist/service/s3/notification/sim-s3-object-sequencers.d.ts.map +1 -0
  1132. package/dist/service/s3/notification/sim-s3-object-sequencers.js +24 -0
  1133. package/dist/service/s3/notification/sim-s3-object-sequencers.js.map +1 -0
  1134. package/dist/service/s3/sdk/sim-s3-sdk-command-router.d.ts.map +1 -1
  1135. package/dist/service/s3/sdk/sim-s3-sdk-command-router.js +16 -0
  1136. package/dist/service/s3/sdk/sim-s3-sdk-command-router.js.map +1 -1
  1137. package/dist/service/s3/serve/sim-s3-rest-controller.d.ts +8 -1
  1138. package/dist/service/s3/serve/sim-s3-rest-controller.d.ts.map +1 -1
  1139. package/dist/service/s3/serve/sim-s3-rest-controller.js +15 -27
  1140. package/dist/service/s3/serve/sim-s3-rest-controller.js.map +1 -1
  1141. package/dist/service/s3/serve/sim-s3-rest-object-reader.d.ts +17 -0
  1142. package/dist/service/s3/serve/sim-s3-rest-object-reader.d.ts.map +1 -0
  1143. package/dist/service/s3/serve/sim-s3-rest-object-reader.js +40 -0
  1144. package/dist/service/s3/serve/sim-s3-rest-object-reader.js.map +1 -0
  1145. package/dist/service/s3/serve/sim-s3-rest-refusal.js +2 -2
  1146. package/dist/service/s3/serve/sim-s3-rest-refusal.js.map +1 -1
  1147. package/dist/service/s3/sim-s3-commands.d.ts +51 -0
  1148. package/dist/service/s3/sim-s3-commands.d.ts.map +1 -0
  1149. package/dist/service/s3/sim-s3-commands.js +49 -0
  1150. package/dist/service/s3/sim-s3-commands.js.map +1 -0
  1151. package/dist/service/s3/sim-s3.d.ts +39 -27
  1152. package/dist/service/s3/sim-s3.d.ts.map +1 -1
  1153. package/dist/service/s3/sim-s3.js +50 -20
  1154. package/dist/service/s3/sim-s3.js.map +1 -1
  1155. package/dist/service/s3/storage/filesystem/s3-filesystem-object-keys.d.ts +27 -0
  1156. package/dist/service/s3/storage/filesystem/s3-filesystem-object-keys.d.ts.map +1 -0
  1157. package/dist/service/s3/storage/filesystem/s3-filesystem-object-keys.js +55 -0
  1158. package/dist/service/s3/storage/filesystem/s3-filesystem-object-keys.js.map +1 -0
  1159. package/dist/service/s3/storage/filesystem/s3-filesystem-storage.d.ts +11 -2
  1160. package/dist/service/s3/storage/filesystem/s3-filesystem-storage.d.ts.map +1 -1
  1161. package/dist/service/s3/storage/filesystem/s3-filesystem-storage.js +23 -33
  1162. package/dist/service/s3/storage/filesystem/s3-filesystem-storage.js.map +1 -1
  1163. package/dist/service/s3/storage/s3-bucket-storage.d.ts +8 -0
  1164. package/dist/service/s3/storage/s3-bucket-storage.d.ts.map +1 -1
  1165. package/dist/service/s3/storage/s3-memory-storage.d.ts +7 -0
  1166. package/dist/service/s3/storage/s3-memory-storage.d.ts.map +1 -1
  1167. package/dist/service/s3/storage/s3-memory-storage.js +9 -0
  1168. package/dist/service/s3/storage/s3-memory-storage.js.map +1 -1
  1169. package/dist/service/sqs/cfn/queue-policy/sim-cfn-sqs-queue-policy-creator.d.ts +42 -0
  1170. package/dist/service/sqs/cfn/queue-policy/sim-cfn-sqs-queue-policy-creator.d.ts.map +1 -0
  1171. package/dist/service/sqs/cfn/queue-policy/sim-cfn-sqs-queue-policy-creator.js +79 -0
  1172. package/dist/service/sqs/cfn/queue-policy/sim-cfn-sqs-queue-policy-creator.js.map +1 -0
  1173. package/dist/service/sqs/cfn/sim-sqs-cfn-resource-factory.d.ts +3 -3
  1174. package/dist/service/sqs/cfn/sim-sqs-cfn-resource-factory.d.ts.map +1 -1
  1175. package/dist/service/sqs/cfn/sim-sqs-cfn-resource-factory.js +10 -3
  1176. package/dist/service/sqs/cfn/sim-sqs-cfn-resource-factory.js.map +1 -1
  1177. package/dist/service/sqs/command/authorize/sim-sqs-authorizer.d.ts +23 -8
  1178. package/dist/service/sqs/command/authorize/sim-sqs-authorizer.d.ts.map +1 -1
  1179. package/dist/service/sqs/command/authorize/sim-sqs-authorizer.js +35 -13
  1180. package/dist/service/sqs/command/authorize/sim-sqs-authorizer.js.map +1 -1
  1181. package/dist/service/sqs/command/authorize/sim-sqs-condition-context.d.ts +13 -0
  1182. package/dist/service/sqs/command/authorize/sim-sqs-condition-context.d.ts.map +1 -0
  1183. package/dist/service/sqs/command/authorize/sim-sqs-condition-context.js +17 -0
  1184. package/dist/service/sqs/command/authorize/sim-sqs-condition-context.js.map +1 -0
  1185. package/dist/service/sqs/command/authorize/sim-sqs-queue-resource-policies.d.ts +12 -0
  1186. package/dist/service/sqs/command/authorize/sim-sqs-queue-resource-policies.d.ts.map +1 -0
  1187. package/dist/service/sqs/command/authorize/sim-sqs-queue-resource-policies.js +25 -0
  1188. package/dist/service/sqs/command/authorize/sim-sqs-queue-resource-policies.js.map +1 -0
  1189. package/dist/service/sqs/command/message/sim-sqs-change-message-visibility.d.ts +2 -5
  1190. package/dist/service/sqs/command/message/sim-sqs-change-message-visibility.d.ts.map +1 -1
  1191. package/dist/service/sqs/command/message/sim-sqs-change-message-visibility.js +1 -1
  1192. package/dist/service/sqs/command/message/sim-sqs-change-message-visibility.js.map +1 -1
  1193. package/dist/service/sqs/command/message/sim-sqs-delete-message-commands.d.ts +3 -6
  1194. package/dist/service/sqs/command/message/sim-sqs-delete-message-commands.d.ts.map +1 -1
  1195. package/dist/service/sqs/command/message/sim-sqs-delete-message-commands.js +2 -2
  1196. package/dist/service/sqs/command/message/sim-sqs-delete-message-commands.js.map +1 -1
  1197. package/dist/service/sqs/command/message/sim-sqs-receive-message.d.ts +2 -5
  1198. package/dist/service/sqs/command/message/sim-sqs-receive-message.d.ts.map +1 -1
  1199. package/dist/service/sqs/command/message/sim-sqs-receive-message.js +1 -1
  1200. package/dist/service/sqs/command/message/sim-sqs-receive-message.js.map +1 -1
  1201. package/dist/service/sqs/command/message/sim-sqs-send-message-commands.d.ts +3 -6
  1202. package/dist/service/sqs/command/message/sim-sqs-send-message-commands.d.ts.map +1 -1
  1203. package/dist/service/sqs/command/message/sim-sqs-send-message-commands.js +2 -2
  1204. package/dist/service/sqs/command/message/sim-sqs-send-message-commands.js.map +1 -1
  1205. package/dist/service/sqs/command/queue/sim-sqs-create-queue.d.ts +2 -5
  1206. package/dist/service/sqs/command/queue/sim-sqs-create-queue.d.ts.map +1 -1
  1207. package/dist/service/sqs/command/queue/sim-sqs-create-queue.js +1 -1
  1208. package/dist/service/sqs/command/queue/sim-sqs-create-queue.js.map +1 -1
  1209. package/dist/service/sqs/command/queue/sim-sqs-queue-access.d.ts +22 -14
  1210. package/dist/service/sqs/command/queue/sim-sqs-queue-access.d.ts.map +1 -1
  1211. package/dist/service/sqs/command/queue/sim-sqs-queue-access.js +31 -20
  1212. package/dist/service/sqs/command/queue/sim-sqs-queue-access.js.map +1 -1
  1213. package/dist/service/sqs/command/queue/sim-sqs-queue-attribute-commands.d.ts +4 -7
  1214. package/dist/service/sqs/command/queue/sim-sqs-queue-attribute-commands.d.ts.map +1 -1
  1215. package/dist/service/sqs/command/queue/sim-sqs-queue-attribute-commands.js +3 -3
  1216. package/dist/service/sqs/command/queue/sim-sqs-queue-attribute-commands.js.map +1 -1
  1217. package/dist/service/sqs/command/queue/sim-sqs-queue-commands.d.ts +4 -7
  1218. package/dist/service/sqs/command/queue/sim-sqs-queue-commands.d.ts.map +1 -1
  1219. package/dist/service/sqs/command/queue/sim-sqs-queue-commands.js +3 -3
  1220. package/dist/service/sqs/command/queue/sim-sqs-queue-commands.js.map +1 -1
  1221. package/dist/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.d.ts +4 -1
  1222. package/dist/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.d.ts.map +1 -1
  1223. package/dist/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.js +4 -1
  1224. package/dist/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.js.map +1 -1
  1225. package/dist/service/sqs/command/sim-sqs-request-options.d.ts +31 -0
  1226. package/dist/service/sqs/command/sim-sqs-request-options.d.ts.map +1 -0
  1227. package/dist/service/sqs/command/sim-sqs-request-options.js +10 -0
  1228. package/dist/service/sqs/command/sim-sqs-request-options.js.map +1 -0
  1229. package/dist/service/sqs/index.d.ts +3 -1
  1230. package/dist/service/sqs/index.d.ts.map +1 -1
  1231. package/dist/service/sqs/index.js +2 -0
  1232. package/dist/service/sqs/index.js.map +1 -1
  1233. package/dist/service/sqs/queue/sim-sqs-queue-attribute-names.js +4 -4
  1234. package/dist/service/sqs/queue/sim-sqs-queue-attribute-names.js.map +1 -1
  1235. package/dist/service/sqs/queue/sim-sqs-queue-attribute-numbers.d.ts +8 -0
  1236. package/dist/service/sqs/queue/sim-sqs-queue-attribute-numbers.d.ts.map +1 -1
  1237. package/dist/service/sqs/queue/sim-sqs-queue-attribute-numbers.js +21 -5
  1238. package/dist/service/sqs/queue/sim-sqs-queue-attribute-numbers.js.map +1 -1
  1239. package/dist/service/sqs/queue/sim-sqs-queue-attribute-specs.d.ts +14 -2
  1240. package/dist/service/sqs/queue/sim-sqs-queue-attribute-specs.d.ts.map +1 -1
  1241. package/dist/service/sqs/queue/sim-sqs-queue-attribute-specs.js +17 -2
  1242. package/dist/service/sqs/queue/sim-sqs-queue-attribute-specs.js.map +1 -1
  1243. package/dist/service/sqs/queue/sim-sqs-queue-attributes.d.ts +12 -14
  1244. package/dist/service/sqs/queue/sim-sqs-queue-attributes.d.ts.map +1 -1
  1245. package/dist/service/sqs/queue/sim-sqs-queue-attributes.js +24 -42
  1246. package/dist/service/sqs/queue/sim-sqs-queue-attributes.js.map +1 -1
  1247. package/dist/service/sqs/queue/sim-sqs-queue-json-attribute.d.ts +53 -0
  1248. package/dist/service/sqs/queue/sim-sqs-queue-json-attribute.d.ts.map +1 -0
  1249. package/dist/service/sqs/queue/sim-sqs-queue-json-attribute.js +66 -0
  1250. package/dist/service/sqs/queue/sim-sqs-queue-json-attribute.js.map +1 -0
  1251. package/dist/service/sqs/queue/sim-sqs-queue-json-attributes.d.ts +40 -0
  1252. package/dist/service/sqs/queue/sim-sqs-queue-json-attributes.d.ts.map +1 -0
  1253. package/dist/service/sqs/queue/sim-sqs-queue-json-attributes.js +65 -0
  1254. package/dist/service/sqs/queue/sim-sqs-queue-json-attributes.js.map +1 -0
  1255. package/dist/service/sqs/queue/sim-sqs-queue-policy.d.ts +33 -0
  1256. package/dist/service/sqs/queue/sim-sqs-queue-policy.d.ts.map +1 -0
  1257. package/dist/service/sqs/queue/sim-sqs-queue-policy.js +84 -0
  1258. package/dist/service/sqs/queue/sim-sqs-queue-policy.js.map +1 -0
  1259. package/dist/service/sqs/sim-sqs.d.ts +1 -4
  1260. package/dist/service/sqs/sim-sqs.d.ts.map +1 -1
  1261. package/dist/service/sqs/sim-sqs.js.map +1 -1
  1262. package/dist/util/jwt/sim-jwt-claims.d.ts +54 -0
  1263. package/dist/util/jwt/sim-jwt-claims.d.ts.map +1 -0
  1264. package/dist/util/jwt/sim-jwt-claims.js +77 -0
  1265. package/dist/util/jwt/sim-jwt-claims.js.map +1 -0
  1266. package/dist/util/jwt/sim-jwt-keys.d.ts +32 -0
  1267. package/dist/util/jwt/sim-jwt-keys.d.ts.map +1 -0
  1268. package/dist/util/jwt/sim-jwt-keys.js +24 -0
  1269. package/dist/util/jwt/sim-jwt-keys.js.map +1 -0
  1270. package/dist/util/jwt/sim-jwt-rs256.d.ts +38 -0
  1271. package/dist/util/jwt/sim-jwt-rs256.d.ts.map +1 -0
  1272. package/dist/util/jwt/sim-jwt-rs256.js +60 -0
  1273. package/dist/util/jwt/sim-jwt-rs256.js.map +1 -0
  1274. package/dist/util/jwt/sim-jwt.d.ts +43 -0
  1275. package/dist/util/jwt/sim-jwt.d.ts.map +1 -0
  1276. package/dist/util/jwt/sim-jwt.error.d.ts +13 -0
  1277. package/dist/util/jwt/sim-jwt.error.d.ts.map +1 -0
  1278. package/dist/util/jwt/sim-jwt.error.js +13 -0
  1279. package/dist/util/jwt/sim-jwt.error.js.map +1 -0
  1280. package/dist/util/jwt/sim-jwt.js +94 -0
  1281. package/dist/util/jwt/sim-jwt.js.map +1 -0
  1282. package/package.json +36 -31
  1283. package/dist/service/lambda/serve/event/sim-lambda-url-body-encoding.d.ts.map +0 -1
  1284. package/dist/service/lambda/serve/event/sim-lambda-url-body-encoding.js.map +0 -1
  1285. package/dist/service/lambda/serve/event/sim-lambda-url-event-builder.d.ts +0 -36
  1286. package/dist/service/lambda/serve/event/sim-lambda-url-event-builder.d.ts.map +0 -1
  1287. package/dist/service/lambda/serve/event/sim-lambda-url-event-builder.js +0 -61
  1288. package/dist/service/lambda/serve/event/sim-lambda-url-event-builder.js.map +0 -1
  1289. package/dist/service/lambda/serve/event/sim-lambda-url-event-time.d.ts.map +0 -1
  1290. package/dist/service/lambda/serve/event/sim-lambda-url-event-time.js.map +0 -1
  1291. package/dist/service/lambda/serve/event/sim-lambda-url-iam-authorizer.d.ts +0 -30
  1292. package/dist/service/lambda/serve/event/sim-lambda-url-iam-authorizer.d.ts.map +0 -1
  1293. package/dist/service/lambda/serve/event/sim-lambda-url-iam-authorizer.js.map +0 -1
  1294. package/dist/service/lambda/serve/event/sim-lambda-url-request-context.d.ts +0 -29
  1295. package/dist/service/lambda/serve/event/sim-lambda-url-request-context.d.ts.map +0 -1
  1296. package/dist/service/lambda/serve/event/sim-lambda-url-request-context.js +0 -54
  1297. package/dist/service/lambda/serve/event/sim-lambda-url-request-context.js.map +0 -1
  1298. package/dist/service/lambda/serve/event/sim-lambda-url-request-parts.d.ts.map +0 -1
  1299. package/dist/service/lambda/serve/event/sim-lambda-url-request-parts.js.map +0 -1
  1300. package/dist/service/lambda/serve/response/sim-lambda-url-response-builder.d.ts +0 -21
  1301. package/dist/service/lambda/serve/response/sim-lambda-url-response-builder.d.ts.map +0 -1
  1302. package/dist/service/lambda/serve/response/sim-lambda-url-response-builder.js.map +0 -1
  1303. package/dist/service/s3/command/sim-s3-command-handlers.d.ts +0 -91
  1304. package/dist/service/s3/command/sim-s3-command-handlers.d.ts.map +0 -1
  1305. package/dist/service/s3/command/sim-s3-command-handlers.js +0 -115
  1306. package/dist/service/s3/command/sim-s3-command-handlers.js.map +0 -1
@@ -0,0 +1,56 @@
1
+ import { faker } from "@faker-js/faker";
2
+ import { SimHttpApiRouteScopes } from "./sim-http-api-route-scopes.js";
3
+ import { simHttpApiRouteView, } from "./sim-http-api-route-view.js";
4
+ /**
5
+ * Allocate a route id, in the same opaque shape as an integration id.
6
+ */
7
+ export function makeSimHttpApiRouteId() {
8
+ return faker.helpers.fromRegExp(/[a-z0-9]{8}/);
9
+ }
10
+ /**
11
+ * A simulated HTTP API route: which requests reach which integration, and what
12
+ * a caller has to present to get there.
13
+ */
14
+ export class SimHttpApiRoute {
15
+ routeId;
16
+ key;
17
+ integrationId;
18
+ authorizationType;
19
+ /**
20
+ * The authorizer this route sends requests through, which a `JWT` and a
21
+ * `CUSTOM` route each have. An `AWS_IAM` route takes no authorizer, since
22
+ * IAM itself is what decides, and a `NONE` route authorizes nobody.
23
+ */
24
+ authorizerId;
25
+ authorizationScopes;
26
+ constructor(properties) {
27
+ this.routeId = properties.routeId;
28
+ this.key = properties.key;
29
+ this.integrationId = properties.integrationId;
30
+ this.authorizationType = properties.authorizationType;
31
+ this.authorizerId = properties.authorizerId;
32
+ this.authorizationScopes =
33
+ properties.authorizationScopes ?? new SimHttpApiRouteScopes();
34
+ }
35
+ /**
36
+ * The route key as it was written, which is what the API reports back and
37
+ * what reaches the handler as `event.routeKey`.
38
+ */
39
+ get routeKey() {
40
+ return this.key.text;
41
+ }
42
+ /**
43
+ * The route's target, in the `integrations/<id>` form the API takes it in
44
+ * and hands it back.
45
+ */
46
+ get target() {
47
+ return `integrations/${this.integrationId}`;
48
+ }
49
+ /**
50
+ * Get the AWS-like view of this route.
51
+ */
52
+ view() {
53
+ return simHttpApiRouteView(this);
54
+ }
55
+ }
56
+ //# sourceMappingURL=sim-http-api-route.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-route.js","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/api/route/sim-http-api-route.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAMxC,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AACvE,OAAO,EACL,mBAAmB,GAEpB,MAAM,8BAA8B,CAAC;AAetC;;GAEG;AACH,MAAM,UAAU,qBAAqB;IACnC,OAAO,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,aAAa,CAAsB,CAAC;AACtE,CAAC;AAWD;;;GAGG;AACH,MAAM,OAAO,eAAe;IACV,OAAO,CAAoB;IAC3B,GAAG,CAAqB;IACxB,aAAa,CAA0B;IACvC,iBAAiB,CAA8B;IAE/D;;;;OAIG;IACa,YAAY,CAAqC;IAEjD,mBAAmB,CAAwB;IAE3D,YAAY,UAAqC;QAC/C,IAAI,CAAC,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC;QAClC,IAAI,CAAC,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC;QAC1B,IAAI,CAAC,aAAa,GAAG,UAAU,CAAC,aAAa,CAAC;QAC9C,IAAI,CAAC,iBAAiB,GAAG,UAAU,CAAC,iBAAiB,CAAC;QACtD,IAAI,CAAC,YAAY,GAAG,UAAU,CAAC,YAAY,CAAC;QAC5C,IAAI,CAAC,mBAAmB;YACtB,UAAU,CAAC,mBAAmB,IAAI,IAAI,qBAAqB,EAAE,CAAC;IAClE,CAAC;IAED;;;OAGG;IACH,IAAI,QAAQ;QACV,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC;IACvB,CAAC;IAED;;;OAGG;IACH,IAAI,MAAM;QACR,OAAO,gBAAgB,IAAI,CAAC,aAAa,EAAE,CAAC;IAC9C,CAAC;IAED;;OAEG;IACH,IAAI;QACF,OAAO,mBAAmB,CAAC,IAAI,CAAC,CAAC;IACnC,CAAC;CACF"}
@@ -0,0 +1,78 @@
1
+ import type { SimHttpApiMatch } from "./sim-http-api-match.js";
2
+ import type { SimHttpApi } from "./sim-http-api.js";
3
+ interface SimHttpApiExecuteApiArnProperties {
4
+ readonly api: SimHttpApi;
5
+ readonly stageName: string;
6
+ /**
7
+ * The method and path part of the ARN, such as `GET/orders/{orderId}` or
8
+ * the literal `$default`.
9
+ */
10
+ readonly methodAndPath: string;
11
+ }
12
+ /**
13
+ * The `execute-api` ARN of one request to an API.
14
+ *
15
+ * ```text
16
+ * arn:aws:execute-api:<region>:<account>:<apiId>/<stage>/<METHOD>/<path>
17
+ * ```
18
+ *
19
+ * Three things want this ARN and they fill the last part differently:
20
+ *
21
+ * - the invoke permission a Lambda integration is authorized against, where
22
+ * the path is the matched route key's template with its braces intact,
23
+ * because that is the form a permission's `SourceArn` is written in;
24
+ * - `AWS_IAM` route authorization, where the path is the path the request
25
+ * asked for, because that is the resource the caller is acting on;
26
+ * - the `routeArn` a Lambda `REQUEST` authorizer is given, and the resource
27
+ * the policy it answers with is evaluated against, which is the route key
28
+ * form: AWS's own example of that event names a `$default` route as
29
+ * `<apiId>/<stage>/$default`.
30
+ *
31
+ * Neither part is documented by AWS as the value API Gateway supplies. The
32
+ * path is the better supported of the two: CDK synthesises a `SourceArn`
33
+ * whose stage and method segments are wildcards and whose path segments are
34
+ * the route key template, braces and all. IAM wildcard matching treats a brace
35
+ * as a literal, so a concrete request path could never match a permission
36
+ * written that way.
37
+ *
38
+ * The method is weaker. AWS's CLI example for granting an `ANY /test` route on
39
+ * the `prod` stage wildcards the method segment, which shows what a permission
40
+ * may say rather than what API Gateway puts there. A concrete verb matches
41
+ * such a pattern, while a permission written with a literal `ANY` would not
42
+ * match a concrete verb, so the concrete verb is the reading that keeps a
43
+ * CDK-deployed route working.
44
+ */
45
+ export declare class SimHttpApiExecuteApiArn {
46
+ private readonly api;
47
+ private readonly stageName;
48
+ private readonly methodAndPath;
49
+ constructor(properties: SimHttpApiExecuteApiArnProperties);
50
+ /**
51
+ * The ARN of the route a request matched, in the route key form.
52
+ *
53
+ * This is the one two callers share: the invoke permission of the route's
54
+ * integration, and the `routeArn` a Lambda `REQUEST` authorizer is given and
55
+ * answers a policy against.
56
+ */
57
+ static forMatchedRoute(api: SimHttpApi, match: SimHttpApiMatch, requestMethod: string): SimHttpApiExecuteApiArn;
58
+ /**
59
+ * The ARN API Gateway invokes one of an API's authorizers under.
60
+ *
61
+ * ```text
62
+ * arn:aws:execute-api:<region>:<account>:<apiId>/authorizers/<authorizerId>
63
+ * ```
64
+ *
65
+ * This is the `SourceArn` AWS documents for granting API Gateway permission
66
+ * to invoke a Lambda authorizer's function, and it names no stage: an
67
+ * authorizer belongs to the API rather than to anything serving a request.
68
+ * A function integrated behind a route and used as that route's authorizer
69
+ * therefore needs two permissions, as it does on AWS.
70
+ */
71
+ static forAuthorizer(api: SimHttpApi, authorizerId: string): SimHttpApiExecuteApiArn;
72
+ /**
73
+ * The ARN as a permission or a policy names it.
74
+ */
75
+ toString(): string;
76
+ }
77
+ export {};
78
+ //# sourceMappingURL=sim-http-api-execute-api-arn.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-execute-api-arn.d.ts","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/api/sim-http-api-execute-api-arn.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,UAAU,iCAAiC;IACzC,QAAQ,CAAC,GAAG,EAAE,UAAU,CAAC;IACzB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;;OAGG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;CAChC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,qBAAa,uBAAuB;IAClC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAa;IACjC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAS;IACnC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAS;IAEvC,YAAY,UAAU,EAAE,iCAAiC,EAIxD;IAED;;;;;;OAMG;IACH,MAAM,CAAC,eAAe,CACpB,GAAG,EAAE,UAAU,EACf,KAAK,EAAE,eAAe,EACtB,aAAa,EAAE,MAAM,GACpB,uBAAuB,CAMzB;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,aAAa,CAClB,GAAG,EAAE,UAAU,EACf,YAAY,EAAE,MAAM,GACnB,uBAAuB,CAMzB;IAED;;OAEG;IACH,QAAQ,IAAI,MAAM,CAOjB;CACF"}
@@ -0,0 +1,86 @@
1
+ /**
2
+ * The `execute-api` ARN of one request to an API.
3
+ *
4
+ * ```text
5
+ * arn:aws:execute-api:<region>:<account>:<apiId>/<stage>/<METHOD>/<path>
6
+ * ```
7
+ *
8
+ * Three things want this ARN and they fill the last part differently:
9
+ *
10
+ * - the invoke permission a Lambda integration is authorized against, where
11
+ * the path is the matched route key's template with its braces intact,
12
+ * because that is the form a permission's `SourceArn` is written in;
13
+ * - `AWS_IAM` route authorization, where the path is the path the request
14
+ * asked for, because that is the resource the caller is acting on;
15
+ * - the `routeArn` a Lambda `REQUEST` authorizer is given, and the resource
16
+ * the policy it answers with is evaluated against, which is the route key
17
+ * form: AWS's own example of that event names a `$default` route as
18
+ * `<apiId>/<stage>/$default`.
19
+ *
20
+ * Neither part is documented by AWS as the value API Gateway supplies. The
21
+ * path is the better supported of the two: CDK synthesises a `SourceArn`
22
+ * whose stage and method segments are wildcards and whose path segments are
23
+ * the route key template, braces and all. IAM wildcard matching treats a brace
24
+ * as a literal, so a concrete request path could never match a permission
25
+ * written that way.
26
+ *
27
+ * The method is weaker. AWS's CLI example for granting an `ANY /test` route on
28
+ * the `prod` stage wildcards the method segment, which shows what a permission
29
+ * may say rather than what API Gateway puts there. A concrete verb matches
30
+ * such a pattern, while a permission written with a literal `ANY` would not
31
+ * match a concrete verb, so the concrete verb is the reading that keeps a
32
+ * CDK-deployed route working.
33
+ */
34
+ export class SimHttpApiExecuteApiArn {
35
+ api;
36
+ stageName;
37
+ methodAndPath;
38
+ constructor(properties) {
39
+ this.api = properties.api;
40
+ this.stageName = properties.stageName;
41
+ this.methodAndPath = properties.methodAndPath;
42
+ }
43
+ /**
44
+ * The ARN of the route a request matched, in the route key form.
45
+ *
46
+ * This is the one two callers share: the invoke permission of the route's
47
+ * integration, and the `routeArn` a Lambda `REQUEST` authorizer is given and
48
+ * answers a policy against.
49
+ */
50
+ static forMatchedRoute(api, match, requestMethod) {
51
+ return new SimHttpApiExecuteApiArn({
52
+ api,
53
+ stageName: match.stage.stageName,
54
+ methodAndPath: match.route.key.methodAndPath(requestMethod),
55
+ });
56
+ }
57
+ /**
58
+ * The ARN API Gateway invokes one of an API's authorizers under.
59
+ *
60
+ * ```text
61
+ * arn:aws:execute-api:<region>:<account>:<apiId>/authorizers/<authorizerId>
62
+ * ```
63
+ *
64
+ * This is the `SourceArn` AWS documents for granting API Gateway permission
65
+ * to invoke a Lambda authorizer's function, and it names no stage: an
66
+ * authorizer belongs to the API rather than to anything serving a request.
67
+ * A function integrated behind a route and used as that route's authorizer
68
+ * therefore needs two permissions, as it does on AWS.
69
+ */
70
+ static forAuthorizer(api, authorizerId) {
71
+ return new SimHttpApiExecuteApiArn({
72
+ api,
73
+ stageName: "authorizers",
74
+ methodAndPath: authorizerId,
75
+ });
76
+ }
77
+ /**
78
+ * The ARN as a permission or a policy names it.
79
+ */
80
+ toString() {
81
+ const { accountId, regionName } = this.api.accountRegionScope;
82
+ return (`arn:aws:execute-api:${regionName}:${accountId}:` +
83
+ `${this.api.apiId}/${this.stageName}/${this.methodAndPath}`);
84
+ }
85
+ }
86
+ //# sourceMappingURL=sim-http-api-execute-api-arn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-execute-api-arn.js","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/api/sim-http-api-execute-api-arn.ts"],"names":[],"mappings":"AAaA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAM,OAAO,uBAAuB;IACjB,GAAG,CAAa;IAChB,SAAS,CAAS;IAClB,aAAa,CAAS;IAEvC,YAAY,UAA6C;QACvD,IAAI,CAAC,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC;QAC1B,IAAI,CAAC,SAAS,GAAG,UAAU,CAAC,SAAS,CAAC;QACtC,IAAI,CAAC,aAAa,GAAG,UAAU,CAAC,aAAa,CAAC;IAChD,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CAAC,eAAe,CACpB,GAAe,EACf,KAAsB,EACtB,aAAqB;QAErB,OAAO,IAAI,uBAAuB,CAAC;YACjC,GAAG;YACH,SAAS,EAAE,KAAK,CAAC,KAAK,CAAC,SAAS;YAChC,aAAa,EAAE,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,aAAa,CAAC,aAAa,CAAC;SAC5D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,aAAa,CAClB,GAAe,EACf,YAAoB;QAEpB,OAAO,IAAI,uBAAuB,CAAC;YACjC,GAAG;YACH,SAAS,EAAE,aAAa;YACxB,aAAa,EAAE,YAAY;SAC5B,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,QAAQ;QACN,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC,GAAG,CAAC,kBAAkB,CAAC;QAE9D,OAAO,CACL,uBAAuB,UAAU,IAAI,SAAS,GAAG;YACjD,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,aAAa,EAAE,CAC5D,CAAC;IACJ,CAAC;CACF"}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * The DNS label API Gateway uses for the endpoint it generates for an API,
3
+ * sitting between the API id and the region:
4
+ *
5
+ * <api-id>.execute-api.<region>.amazonaws.com
6
+ *
7
+ * It is also the SigV4 signing name of that endpoint, which is not the signing
8
+ * name of the API Gateway control plane.
9
+ */
10
+ export declare const executeApiHostLabel = "execute-api";
11
+ /**
12
+ * The real AWS domain generated API endpoints live under.
13
+ */
14
+ export declare const executeApiDomain = "amazonaws.com";
15
+ interface SimHttpApiHostProperties {
16
+ readonly apiId: string;
17
+ readonly regionName: string;
18
+ }
19
+ /**
20
+ * Build the real AWS endpoint hostname for an API.
21
+ */
22
+ export declare function simHttpApiHost(properties: SimHttpApiHostProperties): string;
23
+ /**
24
+ * Build the logical hostname for an API: the AWS endpoint hostname without the
25
+ * real AWS domain.
26
+ *
27
+ * This is the form Yulin serves on localhost, where the `.amazonaws.com` tail
28
+ * is replaced by the local suffix, in the same way S3 endpoint hostnames are.
29
+ */
30
+ export declare function simHttpApiLogicalHost(properties: SimHttpApiHostProperties): string;
31
+ export {};
32
+ //# sourceMappingURL=sim-http-api-host.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-host.d.ts","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/api/sim-http-api-host.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,eAAO,MAAM,mBAAmB,gBAAgB,CAAC;AAEjD;;GAEG;AACH,eAAO,MAAM,gBAAgB,kBAAkB,CAAC;AAEhD,UAAU,wBAAwB;IAChC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,UAAU,EAAE,wBAAwB,GAAG,MAAM,CAE3E;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,wBAAwB,GACnC,MAAM,CAER"}
@@ -0,0 +1,31 @@
1
+ /**
2
+ * The DNS label API Gateway uses for the endpoint it generates for an API,
3
+ * sitting between the API id and the region:
4
+ *
5
+ * <api-id>.execute-api.<region>.amazonaws.com
6
+ *
7
+ * It is also the SigV4 signing name of that endpoint, which is not the signing
8
+ * name of the API Gateway control plane.
9
+ */
10
+ export const executeApiHostLabel = "execute-api";
11
+ /**
12
+ * The real AWS domain generated API endpoints live under.
13
+ */
14
+ export const executeApiDomain = "amazonaws.com";
15
+ /**
16
+ * Build the real AWS endpoint hostname for an API.
17
+ */
18
+ export function simHttpApiHost(properties) {
19
+ return `${simHttpApiLogicalHost(properties)}.${executeApiDomain}`;
20
+ }
21
+ /**
22
+ * Build the logical hostname for an API: the AWS endpoint hostname without the
23
+ * real AWS domain.
24
+ *
25
+ * This is the form Yulin serves on localhost, where the `.amazonaws.com` tail
26
+ * is replaced by the local suffix, in the same way S3 endpoint hostnames are.
27
+ */
28
+ export function simHttpApiLogicalHost(properties) {
29
+ return `${properties.apiId}.${executeApiHostLabel}.${properties.regionName}`;
30
+ }
31
+ //# sourceMappingURL=sim-http-api-host.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-host.js","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/api/sim-http-api-host.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAC;AAEjD;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,eAAe,CAAC;AAOhD;;GAEG;AACH,MAAM,UAAU,cAAc,CAAC,UAAoC;IACjE,OAAO,GAAG,qBAAqB,CAAC,UAAU,CAAC,IAAI,gBAAgB,EAAE,CAAC;AACpE,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,qBAAqB,CACnC,UAAoC;IAEpC,OAAO,GAAG,UAAU,CAAC,KAAK,IAAI,mBAAmB,IAAI,UAAU,CAAC,UAAU,EAAE,CAAC;AAC/E,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { Brand } from "../../../util/brand.type.js";
2
+ /**
3
+ * The id API Gateway allocates for one API, which is the leading DNS label of
4
+ * the endpoint it generates.
5
+ */
6
+ export type SimHttpApiId = Brand<string, "SimHttpApiId">;
7
+ /**
8
+ * Allocate an API id in the shape real API Gateway uses: 10 lowercase
9
+ * alphanumeric characters, forming one DNS label.
10
+ */
11
+ export declare function makeSimHttpApiId(): SimHttpApiId;
12
+ //# sourceMappingURL=sim-http-api-id.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-id.d.ts","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/api/sim-http-api-id.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAEzD;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG,KAAK,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;AAEzD;;;GAGG;AACH,wBAAgB,gBAAgB,IAAI,YAAY,CAE/C"}
@@ -0,0 +1,9 @@
1
+ import { faker } from "@faker-js/faker";
2
+ /**
3
+ * Allocate an API id in the shape real API Gateway uses: 10 lowercase
4
+ * alphanumeric characters, forming one DNS label.
5
+ */
6
+ export function makeSimHttpApiId() {
7
+ return faker.helpers.fromRegExp(/[a-z0-9]{10}/);
8
+ }
9
+ //# sourceMappingURL=sim-http-api-id.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-id.js","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/api/sim-http-api-id.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAUxC;;;GAGG;AACH,MAAM,UAAU,gBAAgB;IAC9B,OAAO,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,cAAc,CAAiB,CAAC;AAClE,CAAC"}
@@ -0,0 +1,78 @@
1
+ import { AsyncMappedFactory } from "@kensio/part-factory";
2
+ import type { SimPayload2Event } from "../../../serve/payload-2/sim-payload-2-event.type.js";
3
+ import type { SimAws } from "../../aws/sim-aws.js";
4
+ import type { SimHttpApi } from "./sim-http-api.js";
5
+ import { type SimHttpApiProxyAuthorizer } from "./sim-http-api-proxy-authorization.js";
6
+ import type { SimHttpApiProxyRequestAuthorizer } from "./sim-http-api-proxy-request-authorizer.js";
7
+ /**
8
+ * What a test asks for when it wants an HTTP API that serves something.
9
+ */
10
+ export interface SimHttpApiLambdaProxyInput {
11
+ readonly apiName: string;
12
+ readonly functionName: string;
13
+ /**
14
+ * The Account the function belongs to, which need not be the API's: an
15
+ * integration URI is free to name another one.
16
+ */
17
+ readonly functionAccountId: string;
18
+ readonly roleArn: string;
19
+ /** The function code every route of the API hands its requests to. */
20
+ readonly handler: (event: SimPayload2Event) => unknown;
21
+ readonly disableExecuteApiEndpoint: boolean;
22
+ /** The route keys the API routes, all onto the one integration. */
23
+ readonly routeKeys: readonly string[];
24
+ /**
25
+ * The JWT authorizer every route goes through, or undefined for an API
26
+ * whose routes admit anyone.
27
+ */
28
+ readonly jwtAuthorizer: SimHttpApiProxyAuthorizer | undefined;
29
+ /**
30
+ * The Lambda `REQUEST` authorizer every route goes through, or undefined for
31
+ * an API whose routes do not send requests through a function.
32
+ */
33
+ readonly requestAuthorizer: SimHttpApiProxyRequestAuthorizer | undefined;
34
+ /**
35
+ * Whether every route is authorized by IAM instead, which is what an
36
+ * `AWS_IAM` route asks for.
37
+ */
38
+ readonly iamAuthorization: boolean;
39
+ /** The scopes every route asks a token for. */
40
+ readonly authorizationScopes: readonly string[];
41
+ /** The stages the API serves from. */
42
+ readonly stageNames: readonly string[];
43
+ /** The variables every one of those stages carries. */
44
+ readonly stageVariables: Readonly<Record<string, string>>;
45
+ /**
46
+ * Whether the function grants the API permission to invoke it, which it
47
+ * needs before any route serves anything.
48
+ *
49
+ * The grant is the one CDK writes: `apigateway.amazonaws.com` may
50
+ * `lambda:InvokeFunction` for any stage and route of this API. A test about
51
+ * the permission itself turns this off and grants what it means to test.
52
+ */
53
+ readonly invokePermission: boolean;
54
+ }
55
+ /**
56
+ * Creates an HTTP API that proxies every request to a simulated Lambda
57
+ * function, through the ordinary commands.
58
+ *
59
+ * Four commands and a function stand between a test and a request it can
60
+ * serve, and a test about serving is about none of them. Tests about the
61
+ * commands themselves send them one at a time instead.
62
+ *
63
+ * ```typescript
64
+ * const api = await simHttpApiLambdaProxyFactory.make(
65
+ * { handler: () => "hello" },
66
+ * simAws,
67
+ * );
68
+ * const response = await new SimAwsHttp({ simAws }).fetch(
69
+ * new SimAwsLocalUrl({ input: api.apiEndpoint }).toString(),
70
+ * );
71
+ * ```
72
+ *
73
+ * The API is created in the default Account and Region of the simulated AWS it
74
+ * is given, and so is the function unless another Account is asked for. A test
75
+ * working in another scope sends the commands itself.
76
+ */
77
+ export declare const simHttpApiLambdaProxyFactory: AsyncMappedFactory<SimHttpApiLambdaProxyInput, SimHttpApi, SimAws>;
78
+ //# sourceMappingURL=sim-http-api-lambda-proxy.factory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-lambda-proxy.factory.d.ts","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sDAAsD,CAAC;AAG7F,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAGnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAEL,KAAK,yBAAyB,EAC/B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,4CAA4C,CAAC;AAEnG;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B;;;OAGG;IACH,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,sEAAsE;IACtE,QAAQ,CAAC,OAAO,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,OAAO,CAAC;IACvD,QAAQ,CAAC,yBAAyB,EAAE,OAAO,CAAC;IAC5C,mEAAmE;IACnE,QAAQ,CAAC,SAAS,EAAE,SAAS,MAAM,EAAE,CAAC;IACtC;;;OAGG;IACH,QAAQ,CAAC,aAAa,EAAE,yBAAyB,GAAG,SAAS,CAAC;IAC9D;;;OAGG;IACH,QAAQ,CAAC,iBAAiB,EAAE,gCAAgC,GAAG,SAAS,CAAC;IACzE;;;OAGG;IACH,QAAQ,CAAC,gBAAgB,EAAE,OAAO,CAAC;IACnC,+CAA+C;IAC/C,QAAQ,CAAC,mBAAmB,EAAE,SAAS,MAAM,EAAE,CAAC;IAChD,sCAAsC;IACtC,QAAQ,CAAC,UAAU,EAAE,SAAS,MAAM,EAAE,CAAC;IACvC,uDAAuD;IACvD,QAAQ,CAAC,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAC1D;;;;;;;OAOG;IACH,QAAQ,CAAC,gBAAgB,EAAE,OAAO,CAAC;CACpC;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,4BAA4B,oEAgHxC,CAAC"}
@@ -0,0 +1,114 @@
1
+ import { AsyncMappedFactory } from "@kensio/part-factory";
2
+ import { assertDefined } from "../../../util/type-guard/defined.js";
3
+ import { DEFAULT_SIM_AWS_ACCOUNT_ID } from "../../aws/sim-aws-account.js";
4
+ import { makeLambdaZipFileInput } from "../../lambda/function/code/lambda-zip-file-input.js";
5
+ import { simApiGatewayServicePrincipal } from "../serve/auth/sim-http-api-invoke-authorizer.js";
6
+ import { simHttpApiProxyAuthorization, } from "./sim-http-api-proxy-authorization.js";
7
+ /**
8
+ * Creates an HTTP API that proxies every request to a simulated Lambda
9
+ * function, through the ordinary commands.
10
+ *
11
+ * Four commands and a function stand between a test and a request it can
12
+ * serve, and a test about serving is about none of them. Tests about the
13
+ * commands themselves send them one at a time instead.
14
+ *
15
+ * ```typescript
16
+ * const api = await simHttpApiLambdaProxyFactory.make(
17
+ * { handler: () => "hello" },
18
+ * simAws,
19
+ * );
20
+ * const response = await new SimAwsHttp({ simAws }).fetch(
21
+ * new SimAwsLocalUrl({ input: api.apiEndpoint }).toString(),
22
+ * );
23
+ * ```
24
+ *
25
+ * The API is created in the default Account and Region of the simulated AWS it
26
+ * is given, and so is the function unless another Account is asked for. A test
27
+ * working in another scope sends the commands itself.
28
+ */
29
+ export const simHttpApiLambdaProxyFactory = new AsyncMappedFactory(() => ({
30
+ apiName: "orders",
31
+ functionName: "orders",
32
+ functionAccountId: DEFAULT_SIM_AWS_ACCOUNT_ID,
33
+ roleArn: "arn:aws:iam::111111111111:role/OrdersRole",
34
+ handler: () => "hello",
35
+ disableExecuteApiEndpoint: false,
36
+ routeKeys: ["$default"],
37
+ jwtAuthorizer: undefined,
38
+ requestAuthorizer: undefined,
39
+ iamAuthorization: false,
40
+ authorizationScopes: [],
41
+ stageNames: ["$default"],
42
+ stageVariables: {},
43
+ invokePermission: true,
44
+ }), async (input, simAws) => {
45
+ const simLambda = simAws.account(input.functionAccountId).lambda();
46
+ const { FunctionArn: functionArn } = await simLambda.createFunction({
47
+ input: {
48
+ FunctionName: input.functionName,
49
+ Role: input.roleArn,
50
+ Code: { ZipFile: makeLambdaZipFileInput(input.handler) },
51
+ },
52
+ });
53
+ const simApiGatewayV2 = simAws.apiGatewayV2();
54
+ const { ApiId: apiId } = await simApiGatewayV2.createApi({
55
+ input: {
56
+ Name: input.apiName,
57
+ ProtocolType: "HTTP",
58
+ DisableExecuteApiEndpoint: input.disableExecuteApiEndpoint,
59
+ },
60
+ });
61
+ const { IntegrationId: integrationId } = await simApiGatewayV2.createIntegration({
62
+ input: {
63
+ ApiId: apiId,
64
+ IntegrationType: "AWS_PROXY",
65
+ IntegrationUri: functionArn,
66
+ PayloadFormatVersion: "2.0",
67
+ },
68
+ });
69
+ const authorization = await simHttpApiProxyAuthorization(simApiGatewayV2, {
70
+ apiId,
71
+ simAws,
72
+ roleArn: input.roleArn,
73
+ jwtAuthorizer: input.jwtAuthorizer,
74
+ requestAuthorizer: input.requestAuthorizer,
75
+ iamAuthorization: input.iamAuthorization,
76
+ authorizationScopes: input.authorizationScopes,
77
+ });
78
+ await Promise.all(input.routeKeys.map(async (routeKey) => simApiGatewayV2.createRoute({
79
+ input: {
80
+ ApiId: apiId,
81
+ RouteKey: routeKey,
82
+ Target: `integrations/${integrationId}`,
83
+ ...authorization,
84
+ },
85
+ })));
86
+ if (input.invokePermission) {
87
+ // The ARN names the API's own Account and Region, which is where the
88
+ // request arrives, whatever Account the function belongs to.
89
+ const { accountId, regionName } = simAws.accountRegionScope().accountRegionScope;
90
+ await simLambda.addPermission({
91
+ input: {
92
+ FunctionName: input.functionName,
93
+ StatementId: "api-gateway-invoke",
94
+ Action: "lambda:InvokeFunction",
95
+ Principal: simApiGatewayServicePrincipal,
96
+ SourceArn: `arn:aws:execute-api:${regionName}:${accountId}:${apiId}/*/*`,
97
+ },
98
+ });
99
+ }
100
+ await Promise.all(input.stageNames.map(async (stageName) => simApiGatewayV2.createStage({
101
+ input: {
102
+ ApiId: apiId,
103
+ StageName: stageName,
104
+ AutoDeploy: true,
105
+ StageVariables: input.stageVariables,
106
+ },
107
+ })));
108
+ // An id CreateApi allocated is an API the store holds, so this is only
109
+ // missing if something is wrong with the simulator itself.
110
+ const api = simApiGatewayV2.findApi(apiId);
111
+ assertDefined(api, `Simulated API Gateway created the API ${apiId} and then did not hold it`);
112
+ return api;
113
+ });
114
+ //# sourceMappingURL=sim-http-api-lambda-proxy.factory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-lambda-proxy.factory.js","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAG1D,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAE1E,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,EAAE,6BAA6B,EAAE,MAAM,iDAAiD,CAAC;AAEhG,OAAO,EACL,4BAA4B,GAE7B,MAAM,uCAAuC,CAAC;AAoD/C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,IAAI,kBAAkB,CAKhE,GAAG,EAAE,CAAC,CAAC;IACL,OAAO,EAAE,QAAQ;IACjB,YAAY,EAAE,QAAQ;IACtB,iBAAiB,EAAE,0BAA0B;IAC7C,OAAO,EAAE,2CAA2C;IACpD,OAAO,EAAE,GAAW,EAAE,CAAC,OAAO;IAC9B,yBAAyB,EAAE,KAAK;IAChC,SAAS,EAAE,CAAC,UAAU,CAAC;IACvB,aAAa,EAAE,SAAS;IACxB,iBAAiB,EAAE,SAAS;IAC5B,gBAAgB,EAAE,KAAK;IACvB,mBAAmB,EAAE,EAAE;IACvB,UAAU,EAAE,CAAC,UAAU,CAAC;IACxB,cAAc,EAAE,EAAE;IAClB,gBAAgB,EAAE,IAAI;CACvB,CAAC,EACF,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE;IACtB,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,MAAM,EAAE,CAAC;IACnE,MAAM,EAAE,WAAW,EAAE,WAAW,EAAE,GAAG,MAAM,SAAS,CAAC,cAAc,CAAC;QAClE,KAAK,EAAE;YACL,YAAY,EAAE,KAAK,CAAC,YAAY;YAChC,IAAI,EAAE,KAAK,CAAC,OAAO;YACnB,IAAI,EAAE,EAAE,OAAO,EAAE,sBAAsB,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE;SACzD;KACF,CAAC,CAAC;IAEH,MAAM,eAAe,GAAG,MAAM,CAAC,YAAY,EAAE,CAAC;IAC9C,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,MAAM,eAAe,CAAC,SAAS,CAAC;QACvD,KAAK,EAAE;YACL,IAAI,EAAE,KAAK,CAAC,OAAO;YACnB,YAAY,EAAE,MAAM;YACpB,yBAAyB,EAAE,KAAK,CAAC,yBAAyB;SAC3D;KACF,CAAC,CAAC;IAEH,MAAM,EAAE,aAAa,EAAE,aAAa,EAAE,GACpC,MAAM,eAAe,CAAC,iBAAiB,CAAC;QACtC,KAAK,EAAE;YACL,KAAK,EAAE,KAAK;YACZ,eAAe,EAAE,WAAW;YAC5B,cAAc,EAAE,WAAW;YAC3B,oBAAoB,EAAE,KAAK;SAC5B;KACF,CAAC,CAAC;IAEL,MAAM,aAAa,GAAG,MAAM,4BAA4B,CAAC,eAAe,EAAE;QACxE,KAAK;QACL,MAAM;QACN,OAAO,EAAE,KAAK,CAAC,OAAO;QACtB,aAAa,EAAE,KAAK,CAAC,aAAa;QAClC,iBAAiB,EAAE,KAAK,CAAC,iBAAiB;QAC1C,gBAAgB,EAAE,KAAK,CAAC,gBAAgB;QACxC,mBAAmB,EAAE,KAAK,CAAC,mBAAmB;KAC/C,CAAC,CAAC;IAEH,MAAM,OAAO,CAAC,GAAG,CACf,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,KAAK,EAAE,QAAQ,EAAE,EAAE,CACrC,eAAe,CAAC,WAAW,CAAC;QAC1B,KAAK,EAAE;YACL,KAAK,EAAE,KAAK;YACZ,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,gBAAgB,aAAa,EAAE;YACvC,GAAG,aAAa;SACjB;KACF,CAAC,CACH,CACF,CAAC;IAEF,IAAI,KAAK,CAAC,gBAAgB,EAAE,CAAC;QAC3B,qEAAqE;QACrE,6DAA6D;QAC7D,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,GAC7B,MAAM,CAAC,kBAAkB,EAAE,CAAC,kBAAkB,CAAC;QACjD,MAAM,SAAS,CAAC,aAAa,CAAC;YAC5B,KAAK,EAAE;gBACL,YAAY,EAAE,KAAK,CAAC,YAAY;gBAChC,WAAW,EAAE,oBAAoB;gBACjC,MAAM,EAAE,uBAAuB;gBAC/B,SAAS,EAAE,6BAA6B;gBACxC,SAAS,EAAE,uBAAuB,UAAU,IAAI,SAAS,IAAI,KAAK,MAAM;aACzE;SACF,CAAC,CAAC;IACL,CAAC;IAED,MAAM,OAAO,CAAC,GAAG,CACf,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,KAAK,EAAE,SAAS,EAAE,EAAE,CACvC,eAAe,CAAC,WAAW,CAAC;QAC1B,KAAK,EAAE;YACL,KAAK,EAAE,KAAK;YACZ,SAAS,EAAE,SAAS;YACpB,UAAU,EAAE,IAAI;YAChB,cAAc,EAAE,KAAK,CAAC,cAAc;SACrC;KACF,CAAC,CACH,CACF,CAAC;IAEF,uEAAuE;IACvE,2DAA2D;IAC3D,MAAM,GAAG,GAAG,eAAe,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC3C,aAAa,CACX,GAAG,EACH,yCAAyC,KAAK,2BAA2B,CAC1E,CAAC;IAEF,OAAO,GAAG,CAAC;AACb,CAAC,CACF,CAAC"}
@@ -0,0 +1,56 @@
1
+ import type { SimHttpApiIntegrationStore } from "./integration/sim-http-api-integration-store.js";
2
+ import type { SimHttpApiIntegration } from "./integration/sim-http-api-integration.js";
3
+ import type { SimHttpApiPathParameters } from "./route/path/sim-http-api-path-parameters.js";
4
+ import type { SimHttpApiRouteStore } from "./route/sim-http-api-route-store.js";
5
+ import type { SimHttpApiRoute } from "./route/sim-http-api-route.js";
6
+ import type { SimHttpApiStageStore } from "./stage/sim-http-api-stage-store.js";
7
+ import type { SimHttpApiStage } from "./stage/sim-http-api-stage.js";
8
+ import type { SimHttpApiRequest } from "./sim-http-api-request.js";
9
+ /**
10
+ * What an API found for one request: the stage serving it, the route that
11
+ * matched it, the integration behind that route, and whatever the route
12
+ * captured from the path.
13
+ */
14
+ export interface SimHttpApiMatch {
15
+ readonly route: SimHttpApiRoute;
16
+ readonly integration: SimHttpApiIntegration;
17
+ readonly stage: SimHttpApiStage;
18
+ readonly pathParameters: SimHttpApiPathParameters;
19
+ /**
20
+ * The request path the stage left for the routes, with the stage segment and
21
+ * the leading slash taken off: `/dev/pets/6` served from stage `dev` is
22
+ * `pets/6`, and a request to the root is the empty string.
23
+ *
24
+ * This is the form an `execute-api` ARN names a request by, which is what
25
+ * an `AWS_IAM` route is authorized against.
26
+ */
27
+ readonly pathAfterStage: string;
28
+ }
29
+ /**
30
+ * The stores a match is looked for in, which one simulated API satisfies.
31
+ */
32
+ interface SimHttpApiStores {
33
+ readonly integrations: SimHttpApiIntegrationStore;
34
+ readonly routes: SimHttpApiRouteStore;
35
+ readonly stages: SimHttpApiStageStore;
36
+ }
37
+ /**
38
+ * Finds what should handle one request to an API.
39
+ *
40
+ * The stage goes first, because a named stage is a path segment the routes
41
+ * know nothing about: `/dev/pets/6` served from stage `dev` is the route path
42
+ * `/pets/6`. The routes then compete for what is left.
43
+ *
44
+ * A request reaching an API with no stage for it, or no route for it, matches
45
+ * nothing, which is a 404 on real AWS.
46
+ */
47
+ export declare class SimHttpApiMatcher {
48
+ private readonly stageSelector;
49
+ private readonly routeSelector;
50
+ /**
51
+ * Find what serves one request to an API.
52
+ */
53
+ match(stores: SimHttpApiStores, request: SimHttpApiRequest): SimHttpApiMatch | undefined;
54
+ }
55
+ export {};
56
+ //# sourceMappingURL=sim-http-api-match.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-match.d.ts","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/api/sim-http-api-match.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iDAAiD,CAAC;AAClG,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2CAA2C,CAAC;AACvF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AAC7F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAGhF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAEhF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAEnE;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,KAAK,EAAE,eAAe,CAAC;IAChC,QAAQ,CAAC,WAAW,EAAE,qBAAqB,CAAC;IAC5C,QAAQ,CAAC,KAAK,EAAE,eAAe,CAAC;IAChC,QAAQ,CAAC,cAAc,EAAE,wBAAwB,CAAC;IAClD;;;;;;;OAOG;IACH,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;CACjC;AAED;;GAEG;AACH,UAAU,gBAAgB;IACxB,QAAQ,CAAC,YAAY,EAAE,0BAA0B,CAAC;IAClD,QAAQ,CAAC,MAAM,EAAE,oBAAoB,CAAC;IACtC,QAAQ,CAAC,MAAM,EAAE,oBAAoB,CAAC;CACvC;AAED;;;;;;;;;GASG;AACH,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAiC;IAC/D,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAiC;IAE/D;;OAEG;IACH,KAAK,CACH,MAAM,EAAE,gBAAgB,EACxB,OAAO,EAAE,iBAAiB,GACzB,eAAe,GAAG,SAAS,CAiC7B;CACF"}
@@ -0,0 +1,46 @@
1
+ import { SimHttpApiRouteRequest } from "./route/sim-http-api-route-request.js";
2
+ import { SimHttpApiRouteSelector } from "./route/sim-http-api-route-selector.js";
3
+ import { SimHttpApiStageSelector } from "./stage/sim-http-api-stage-selector.js";
4
+ /**
5
+ * Finds what should handle one request to an API.
6
+ *
7
+ * The stage goes first, because a named stage is a path segment the routes
8
+ * know nothing about: `/dev/pets/6` served from stage `dev` is the route path
9
+ * `/pets/6`. The routes then compete for what is left.
10
+ *
11
+ * A request reaching an API with no stage for it, or no route for it, matches
12
+ * nothing, which is a 404 on real AWS.
13
+ */
14
+ export class SimHttpApiMatcher {
15
+ stageSelector = new SimHttpApiStageSelector();
16
+ routeSelector = new SimHttpApiRouteSelector();
17
+ /**
18
+ * Find what serves one request to an API.
19
+ */
20
+ match(stores, request) {
21
+ const stage = this.stageSelector.select(stores.stages, request.segments);
22
+ if (stage === undefined) {
23
+ return undefined;
24
+ }
25
+ const selected = this.routeSelector.select(stores.routes.list(), new SimHttpApiRouteRequest({
26
+ method: request.method,
27
+ segments: stage.segments,
28
+ }));
29
+ if (selected === undefined) {
30
+ return undefined;
31
+ }
32
+ const integration = stores.integrations.find(selected.route.integrationId);
33
+ /* v8 ignore if -- a route cannot name an integration the API never had */
34
+ if (integration === undefined) {
35
+ return undefined;
36
+ }
37
+ return {
38
+ route: selected.route,
39
+ integration,
40
+ stage: stage.stage,
41
+ pathParameters: selected.pathParameters,
42
+ pathAfterStage: stage.segments.join("/"),
43
+ };
44
+ }
45
+ }
46
+ //# sourceMappingURL=sim-http-api-match.js.map