@kensio/yulin 0.47.0 → 1.0.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 (746) 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 +123 -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 +41 -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 +54 -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/sim-cognito-http-api-jwt-issuer-keys.d.ts +29 -0
  59. package/dist/service/apigatewayv2/api/authorizer/sim-cognito-http-api-jwt-issuer-keys.d.ts.map +1 -0
  60. package/dist/service/apigatewayv2/api/authorizer/sim-cognito-http-api-jwt-issuer-keys.js +43 -0
  61. package/dist/service/apigatewayv2/api/authorizer/sim-cognito-http-api-jwt-issuer-keys.js.map +1 -0
  62. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorization.d.ts +66 -0
  63. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorization.d.ts.map +1 -0
  64. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorization.js +53 -0
  65. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorization.js.map +1 -0
  66. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer-store.d.ts +31 -0
  67. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer-store.d.ts.map +1 -0
  68. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer-store.js +46 -0
  69. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer-store.js.map +1 -0
  70. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer.d.ts +59 -0
  71. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer.d.ts.map +1 -0
  72. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer.js +43 -0
  73. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer.js.map +1 -0
  74. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-identity-source.d.ts +31 -0
  75. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-identity-source.d.ts.map +1 -0
  76. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-identity-source.js +78 -0
  77. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-identity-source.js.map +1 -0
  78. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-claim-checks.d.ts +60 -0
  79. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-claim-checks.d.ts.map +1 -0
  80. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-claim-checks.js +84 -0
  81. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-claim-checks.js.map +1 -0
  82. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-claims.d.ts +34 -0
  83. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-claims.d.ts.map +1 -0
  84. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-claims.js +75 -0
  85. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-claims.js.map +1 -0
  86. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-configuration.d.ts +38 -0
  87. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-configuration.d.ts.map +1 -0
  88. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-configuration.js +34 -0
  89. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-configuration.js.map +1 -0
  90. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-issuer-keys.d.ts +37 -0
  91. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-issuer-keys.d.ts.map +1 -0
  92. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-issuer-keys.js +18 -0
  93. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-issuer-keys.js.map +1 -0
  94. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-verification.d.ts +43 -0
  95. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-verification.d.ts.map +1 -0
  96. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-verification.js +70 -0
  97. package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-verification.js.map +1 -0
  98. package/dist/service/apigatewayv2/api/integration/sim-http-api-integration-store.d.ts +27 -0
  99. package/dist/service/apigatewayv2/api/integration/sim-http-api-integration-store.d.ts.map +1 -0
  100. package/dist/service/apigatewayv2/api/integration/sim-http-api-integration-store.js +40 -0
  101. package/dist/service/apigatewayv2/api/integration/sim-http-api-integration-store.js.map +1 -0
  102. package/dist/service/apigatewayv2/api/integration/sim-http-api-integration.d.ts +66 -0
  103. package/dist/service/apigatewayv2/api/integration/sim-http-api-integration.d.ts.map +1 -0
  104. package/dist/service/apigatewayv2/api/integration/sim-http-api-integration.js +54 -0
  105. package/dist/service/apigatewayv2/api/integration/sim-http-api-integration.js.map +1 -0
  106. package/dist/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.d.ts +31 -0
  107. package/dist/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.d.ts.map +1 -0
  108. package/dist/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.js +63 -0
  109. package/dist/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.js.map +1 -0
  110. package/dist/service/apigatewayv2/api/route/key/sim-http-api-default-route-key.d.ts +36 -0
  111. package/dist/service/apigatewayv2/api/route/key/sim-http-api-default-route-key.d.ts.map +1 -0
  112. package/dist/service/apigatewayv2/api/route/key/sim-http-api-default-route-key.js +44 -0
  113. package/dist/service/apigatewayv2/api/route/key/sim-http-api-default-route-key.js.map +1 -0
  114. package/dist/service/apigatewayv2/api/route/key/sim-http-api-method-route-key.d.ts +48 -0
  115. package/dist/service/apigatewayv2/api/route/key/sim-http-api-method-route-key.d.ts.map +1 -0
  116. package/dist/service/apigatewayv2/api/route/key/sim-http-api-method-route-key.js +62 -0
  117. package/dist/service/apigatewayv2/api/route/key/sim-http-api-method-route-key.js.map +1 -0
  118. package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-key-parser.d.ts +18 -0
  119. package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-key-parser.d.ts.map +1 -0
  120. package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-key-parser.js +37 -0
  121. package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-key-parser.js.map +1 -0
  122. package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-key.d.ts +38 -0
  123. package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-key.d.ts.map +1 -0
  124. package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-key.js +2 -0
  125. package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-key.js.map +1 -0
  126. package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-method.d.ts +32 -0
  127. package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-method.d.ts.map +1 -0
  128. package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-method.js +65 -0
  129. package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-method.js.map +1 -0
  130. package/dist/service/apigatewayv2/api/route/path/sim-http-api-greedy-segment.d.ts +27 -0
  131. package/dist/service/apigatewayv2/api/route/path/sim-http-api-greedy-segment.d.ts.map +1 -0
  132. package/dist/service/apigatewayv2/api/route/path/sim-http-api-greedy-segment.js +35 -0
  133. package/dist/service/apigatewayv2/api/route/path/sim-http-api-greedy-segment.js.map +1 -0
  134. package/dist/service/apigatewayv2/api/route/path/sim-http-api-literal-segment.d.ts +23 -0
  135. package/dist/service/apigatewayv2/api/route/path/sim-http-api-literal-segment.d.ts.map +1 -0
  136. package/dist/service/apigatewayv2/api/route/path/sim-http-api-literal-segment.js +32 -0
  137. package/dist/service/apigatewayv2/api/route/path/sim-http-api-literal-segment.js.map +1 -0
  138. package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-parameters.d.ts +36 -0
  139. package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-parameters.d.ts.map +1 -0
  140. package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-parameters.js +48 -0
  141. package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-parameters.js.map +1 -0
  142. package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segment-parser.d.ts +18 -0
  143. package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segment-parser.d.ts.map +1 -0
  144. package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segment-parser.js +47 -0
  145. package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segment-parser.js.map +1 -0
  146. package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segment.d.ts +48 -0
  147. package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segment.d.ts.map +1 -0
  148. package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segment.js +23 -0
  149. package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segment.js.map +1 -0
  150. package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segments.d.ts +10 -0
  151. package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segments.d.ts.map +1 -0
  152. package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segments.js +19 -0
  153. package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segments.js.map +1 -0
  154. package/dist/service/apigatewayv2/api/route/path/sim-http-api-route-path-parser.d.ts +29 -0
  155. package/dist/service/apigatewayv2/api/route/path/sim-http-api-route-path-parser.d.ts.map +1 -0
  156. package/dist/service/apigatewayv2/api/route/path/sim-http-api-route-path-parser.js +63 -0
  157. package/dist/service/apigatewayv2/api/route/path/sim-http-api-route-path-parser.js.map +1 -0
  158. package/dist/service/apigatewayv2/api/route/path/sim-http-api-route-path.d.ts +42 -0
  159. package/dist/service/apigatewayv2/api/route/path/sim-http-api-route-path.d.ts.map +1 -0
  160. package/dist/service/apigatewayv2/api/route/path/sim-http-api-route-path.js +61 -0
  161. package/dist/service/apigatewayv2/api/route/path/sim-http-api-route-path.js.map +1 -0
  162. package/dist/service/apigatewayv2/api/route/path/sim-http-api-variable-segment.d.ts +23 -0
  163. package/dist/service/apigatewayv2/api/route/path/sim-http-api-variable-segment.d.ts.map +1 -0
  164. package/dist/service/apigatewayv2/api/route/path/sim-http-api-variable-segment.js +32 -0
  165. package/dist/service/apigatewayv2/api/route/path/sim-http-api-variable-segment.js.map +1 -0
  166. package/dist/service/apigatewayv2/api/route/sim-http-api-route-rank.d.ts +47 -0
  167. package/dist/service/apigatewayv2/api/route/sim-http-api-route-rank.d.ts.map +1 -0
  168. package/dist/service/apigatewayv2/api/route/sim-http-api-route-rank.js +66 -0
  169. package/dist/service/apigatewayv2/api/route/sim-http-api-route-rank.js.map +1 -0
  170. package/dist/service/apigatewayv2/api/route/sim-http-api-route-request.d.ts +18 -0
  171. package/dist/service/apigatewayv2/api/route/sim-http-api-route-request.d.ts.map +1 -0
  172. package/dist/service/apigatewayv2/api/route/sim-http-api-route-request.js +16 -0
  173. package/dist/service/apigatewayv2/api/route/sim-http-api-route-request.js.map +1 -0
  174. package/dist/service/apigatewayv2/api/route/sim-http-api-route-scopes.d.ts +23 -0
  175. package/dist/service/apigatewayv2/api/route/sim-http-api-route-scopes.d.ts.map +1 -0
  176. package/dist/service/apigatewayv2/api/route/sim-http-api-route-scopes.js +35 -0
  177. package/dist/service/apigatewayv2/api/route/sim-http-api-route-scopes.js.map +1 -0
  178. package/dist/service/apigatewayv2/api/route/sim-http-api-route-selector.d.ts +36 -0
  179. package/dist/service/apigatewayv2/api/route/sim-http-api-route-selector.d.ts.map +1 -0
  180. package/dist/service/apigatewayv2/api/route/sim-http-api-route-selector.js +49 -0
  181. package/dist/service/apigatewayv2/api/route/sim-http-api-route-selector.js.map +1 -0
  182. package/dist/service/apigatewayv2/api/route/sim-http-api-route-store.d.ts +42 -0
  183. package/dist/service/apigatewayv2/api/route/sim-http-api-route-store.d.ts.map +1 -0
  184. package/dist/service/apigatewayv2/api/route/sim-http-api-route-store.js +60 -0
  185. package/dist/service/apigatewayv2/api/route/sim-http-api-route-store.js.map +1 -0
  186. package/dist/service/apigatewayv2/api/route/sim-http-api-route-view.d.ts +20 -0
  187. package/dist/service/apigatewayv2/api/route/sim-http-api-route-view.d.ts.map +1 -0
  188. package/dist/service/apigatewayv2/api/route/sim-http-api-route-view.js +19 -0
  189. package/dist/service/apigatewayv2/api/route/sim-http-api-route-view.js.map +1 -0
  190. package/dist/service/apigatewayv2/api/route/sim-http-api-route.d.ts +65 -0
  191. package/dist/service/apigatewayv2/api/route/sim-http-api-route.d.ts.map +1 -0
  192. package/dist/service/apigatewayv2/api/route/sim-http-api-route.js +56 -0
  193. package/dist/service/apigatewayv2/api/route/sim-http-api-route.js.map +1 -0
  194. package/dist/service/apigatewayv2/api/sim-http-api-execute-api-arn.d.ts +51 -0
  195. package/dist/service/apigatewayv2/api/sim-http-api-execute-api-arn.d.ts.map +1 -0
  196. package/dist/service/apigatewayv2/api/sim-http-api-execute-api-arn.js +48 -0
  197. package/dist/service/apigatewayv2/api/sim-http-api-execute-api-arn.js.map +1 -0
  198. package/dist/service/apigatewayv2/api/sim-http-api-host.d.ts +32 -0
  199. package/dist/service/apigatewayv2/api/sim-http-api-host.d.ts.map +1 -0
  200. package/dist/service/apigatewayv2/api/sim-http-api-host.js +31 -0
  201. package/dist/service/apigatewayv2/api/sim-http-api-host.js.map +1 -0
  202. package/dist/service/apigatewayv2/api/sim-http-api-id.d.ts +12 -0
  203. package/dist/service/apigatewayv2/api/sim-http-api-id.d.ts.map +1 -0
  204. package/dist/service/apigatewayv2/api/sim-http-api-id.js +9 -0
  205. package/dist/service/apigatewayv2/api/sim-http-api-id.js.map +1 -0
  206. package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.d.ts +72 -0
  207. package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.d.ts.map +1 -0
  208. package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.js +110 -0
  209. package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.js.map +1 -0
  210. package/dist/service/apigatewayv2/api/sim-http-api-match.d.ts +56 -0
  211. package/dist/service/apigatewayv2/api/sim-http-api-match.d.ts.map +1 -0
  212. package/dist/service/apigatewayv2/api/sim-http-api-match.js +46 -0
  213. package/dist/service/apigatewayv2/api/sim-http-api-match.js.map +1 -0
  214. package/dist/service/apigatewayv2/api/sim-http-api-proxy-authorization.d.ts +28 -0
  215. package/dist/service/apigatewayv2/api/sim-http-api-proxy-authorization.d.ts.map +1 -0
  216. package/dist/service/apigatewayv2/api/sim-http-api-proxy-authorization.js +43 -0
  217. package/dist/service/apigatewayv2/api/sim-http-api-proxy-authorization.js.map +1 -0
  218. package/dist/service/apigatewayv2/api/sim-http-api-request.d.ts +22 -0
  219. package/dist/service/apigatewayv2/api/sim-http-api-request.d.ts.map +1 -0
  220. package/dist/service/apigatewayv2/api/sim-http-api-request.js +23 -0
  221. package/dist/service/apigatewayv2/api/sim-http-api-request.js.map +1 -0
  222. package/dist/service/apigatewayv2/api/sim-http-api-store.d.ts +29 -0
  223. package/dist/service/apigatewayv2/api/sim-http-api-store.d.ts.map +1 -0
  224. package/dist/service/apigatewayv2/api/sim-http-api-store.js +35 -0
  225. package/dist/service/apigatewayv2/api/sim-http-api-store.js.map +1 -0
  226. package/dist/service/apigatewayv2/api/sim-http-api-view.d.ts +40 -0
  227. package/dist/service/apigatewayv2/api/sim-http-api-view.d.ts.map +1 -0
  228. package/dist/service/apigatewayv2/api/sim-http-api-view.js +23 -0
  229. package/dist/service/apigatewayv2/api/sim-http-api-view.js.map +1 -0
  230. package/dist/service/apigatewayv2/api/sim-http-api.d.ts +73 -0
  231. package/dist/service/apigatewayv2/api/sim-http-api.d.ts.map +1 -0
  232. package/dist/service/apigatewayv2/api/sim-http-api.js +80 -0
  233. package/dist/service/apigatewayv2/api/sim-http-api.js.map +1 -0
  234. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage-selector.d.ts +34 -0
  235. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage-selector.d.ts.map +1 -0
  236. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage-selector.js +53 -0
  237. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage-selector.js.map +1 -0
  238. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage-store.d.ts +21 -0
  239. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage-store.d.ts.map +1 -0
  240. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage-store.js +26 -0
  241. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage-store.js.map +1 -0
  242. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage.d.ts +46 -0
  243. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage.d.ts.map +1 -0
  244. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage.js +47 -0
  245. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage.js.map +1 -0
  246. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-creator.d.ts +33 -0
  247. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-creator.d.ts.map +1 -0
  248. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-creator.js +49 -0
  249. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-creator.js.map +1 -0
  250. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-document.d.ts +38 -0
  251. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-document.d.ts.map +1 -0
  252. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-document.js +47 -0
  253. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-document.js.map +1 -0
  254. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-import-properties.d.ts +31 -0
  255. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-import-properties.d.ts.map +1 -0
  256. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-import-properties.js +36 -0
  257. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-import-properties.js.map +1 -0
  258. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-properties.d.ts +39 -0
  259. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-properties.d.ts.map +1 -0
  260. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-properties.js +79 -0
  261. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-properties.js.map +1 -0
  262. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-property-rules.d.ts +47 -0
  263. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-property-rules.d.ts.map +1 -0
  264. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-property-rules.js +83 -0
  265. package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-property-rules.js.map +1 -0
  266. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-creator.d.ts +29 -0
  267. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-creator.d.ts.map +1 -0
  268. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-creator.js +40 -0
  269. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-creator.js.map +1 -0
  270. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-properties.d.ts +34 -0
  271. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-properties.d.ts.map +1 -0
  272. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-properties.js +67 -0
  273. package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-properties.js.map +1 -0
  274. package/dist/service/apigatewayv2/cfn/integration/sim-cfn-http-api-integration-creator.d.ts +27 -0
  275. package/dist/service/apigatewayv2/cfn/integration/sim-cfn-http-api-integration-creator.d.ts.map +1 -0
  276. package/dist/service/apigatewayv2/cfn/integration/sim-cfn-http-api-integration-creator.js +38 -0
  277. package/dist/service/apigatewayv2/cfn/integration/sim-cfn-http-api-integration-creator.js.map +1 -0
  278. package/dist/service/apigatewayv2/cfn/integration/sim-cfn-http-api-integration-properties.d.ts +34 -0
  279. package/dist/service/apigatewayv2/cfn/integration/sim-cfn-http-api-integration-properties.d.ts.map +1 -0
  280. package/dist/service/apigatewayv2/cfn/integration/sim-cfn-http-api-integration-properties.js +59 -0
  281. package/dist/service/apigatewayv2/cfn/integration/sim-cfn-http-api-integration-properties.js.map +1 -0
  282. package/dist/service/apigatewayv2/cfn/route/sim-cfn-http-api-route-creator.d.ts +32 -0
  283. package/dist/service/apigatewayv2/cfn/route/sim-cfn-http-api-route-creator.d.ts.map +1 -0
  284. package/dist/service/apigatewayv2/cfn/route/sim-cfn-http-api-route-creator.js +42 -0
  285. package/dist/service/apigatewayv2/cfn/route/sim-cfn-http-api-route-creator.js.map +1 -0
  286. package/dist/service/apigatewayv2/cfn/route/sim-cfn-http-api-route-properties.d.ts +35 -0
  287. package/dist/service/apigatewayv2/cfn/route/sim-cfn-http-api-route-properties.d.ts.map +1 -0
  288. package/dist/service/apigatewayv2/cfn/route/sim-cfn-http-api-route-properties.js +57 -0
  289. package/dist/service/apigatewayv2/cfn/route/sim-cfn-http-api-route-properties.js.map +1 -0
  290. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-parser.d.ts +40 -0
  291. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-parser.d.ts.map +1 -0
  292. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-parser.js +47 -0
  293. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-parser.js.map +1 -0
  294. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-values.d.ts +55 -0
  295. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-values.d.ts.map +1 -0
  296. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-values.js +108 -0
  297. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-values.js.map +1 -0
  298. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-resource-factory.d.ts +32 -0
  299. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-resource-factory.d.ts.map +1 -0
  300. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-resource-factory.js +85 -0
  301. package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-resource-factory.js.map +1 -0
  302. package/dist/service/apigatewayv2/cfn/sim-cfn-http-api-imports.d.ts +28 -0
  303. package/dist/service/apigatewayv2/cfn/sim-cfn-http-api-imports.d.ts.map +1 -0
  304. package/dist/service/apigatewayv2/cfn/sim-cfn-http-api-imports.js +39 -0
  305. package/dist/service/apigatewayv2/cfn/sim-cfn-http-api-imports.js.map +1 -0
  306. package/dist/service/apigatewayv2/cfn/sim-cfn-http-api-template.factory.d.ts +52 -0
  307. package/dist/service/apigatewayv2/cfn/sim-cfn-http-api-template.factory.d.ts.map +1 -0
  308. package/dist/service/apigatewayv2/cfn/sim-cfn-http-api-template.factory.js +145 -0
  309. package/dist/service/apigatewayv2/cfn/sim-cfn-http-api-template.factory.js.map +1 -0
  310. package/dist/service/apigatewayv2/cfn/sim-cfn-imported-http-api-template.factory.d.ts +45 -0
  311. package/dist/service/apigatewayv2/cfn/sim-cfn-imported-http-api-template.factory.d.ts.map +1 -0
  312. package/dist/service/apigatewayv2/cfn/sim-cfn-imported-http-api-template.factory.js +97 -0
  313. package/dist/service/apigatewayv2/cfn/sim-cfn-imported-http-api-template.factory.js.map +1 -0
  314. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-creator.d.ts +25 -0
  315. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-creator.d.ts.map +1 -0
  316. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-creator.js +35 -0
  317. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-creator.js.map +1 -0
  318. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.d.ts +36 -0
  319. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.d.ts.map +1 -0
  320. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.js +63 -0
  321. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.js.map +1 -0
  322. package/dist/service/apigatewayv2/command/api/api.command.d.ts +83 -0
  323. package/dist/service/apigatewayv2/command/api/api.command.d.ts.map +1 -0
  324. package/dist/service/apigatewayv2/command/api/api.command.js +2 -0
  325. package/dist/service/apigatewayv2/command/api/api.command.js.map +1 -0
  326. package/dist/service/apigatewayv2/command/api/sim-http-api-commands.d.ts +49 -0
  327. package/dist/service/apigatewayv2/command/api/sim-http-api-commands.d.ts.map +1 -0
  328. package/dist/service/apigatewayv2/command/api/sim-http-api-commands.js +98 -0
  329. package/dist/service/apigatewayv2/command/api/sim-http-api-commands.js.map +1 -0
  330. package/dist/service/apigatewayv2/command/api/sim-http-api-import-commands.d.ts +52 -0
  331. package/dist/service/apigatewayv2/command/api/sim-http-api-import-commands.d.ts.map +1 -0
  332. package/dist/service/apigatewayv2/command/api/sim-http-api-import-commands.js +63 -0
  333. package/dist/service/apigatewayv2/command/api/sim-http-api-import-commands.js.map +1 -0
  334. package/dist/service/apigatewayv2/command/api/sim-http-api-import-input.d.ts +28 -0
  335. package/dist/service/apigatewayv2/command/api/sim-http-api-import-input.d.ts.map +1 -0
  336. package/dist/service/apigatewayv2/command/api/sim-http-api-import-input.js +44 -0
  337. package/dist/service/apigatewayv2/command/api/sim-http-api-import-input.js.map +1 -0
  338. package/dist/service/apigatewayv2/command/authorize/sim-api-gateway-v2-authorizer.d.ts +42 -0
  339. package/dist/service/apigatewayv2/command/authorize/sim-api-gateway-v2-authorizer.d.ts.map +1 -0
  340. package/dist/service/apigatewayv2/command/authorize/sim-api-gateway-v2-authorizer.js +36 -0
  341. package/dist/service/apigatewayv2/command/authorize/sim-api-gateway-v2-authorizer.js.map +1 -0
  342. package/dist/service/apigatewayv2/command/authorizer/authorizer.command.d.ts +63 -0
  343. package/dist/service/apigatewayv2/command/authorizer/authorizer.command.d.ts.map +1 -0
  344. package/dist/service/apigatewayv2/command/authorizer/authorizer.command.js +2 -0
  345. package/dist/service/apigatewayv2/command/authorizer/authorizer.command.js.map +1 -0
  346. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-commands.d.ts +37 -0
  347. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-commands.d.ts.map +1 -0
  348. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-commands.js +104 -0
  349. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-commands.js.map +1 -0
  350. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-jwt-authorizer-input.d.ts +34 -0
  351. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-jwt-authorizer-input.d.ts.map +1 -0
  352. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-jwt-authorizer-input.js +68 -0
  353. package/dist/service/apigatewayv2/command/authorizer/sim-http-api-jwt-authorizer-input.js.map +1 -0
  354. package/dist/service/apigatewayv2/command/integration/integration.command.d.ts +38 -0
  355. package/dist/service/apigatewayv2/command/integration/integration.command.d.ts.map +1 -0
  356. package/dist/service/apigatewayv2/command/integration/integration.command.js +2 -0
  357. package/dist/service/apigatewayv2/command/integration/integration.command.js.map +1 -0
  358. package/dist/service/apigatewayv2/command/integration/sim-http-api-integration-commands.d.ts +23 -0
  359. package/dist/service/apigatewayv2/command/integration/sim-http-api-integration-commands.d.ts.map +1 -0
  360. package/dist/service/apigatewayv2/command/integration/sim-http-api-integration-commands.js +73 -0
  361. package/dist/service/apigatewayv2/command/integration/sim-http-api-integration-commands.js.map +1 -0
  362. package/dist/service/apigatewayv2/command/route/route.command.d.ts +39 -0
  363. package/dist/service/apigatewayv2/command/route/route.command.d.ts.map +1 -0
  364. package/dist/service/apigatewayv2/command/route/route.command.js +2 -0
  365. package/dist/service/apigatewayv2/command/route/route.command.js.map +1 -0
  366. package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorization.d.ts +53 -0
  367. package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorization.d.ts.map +1 -0
  368. package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorization.js +96 -0
  369. package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorization.js.map +1 -0
  370. package/dist/service/apigatewayv2/command/route/sim-http-api-route-commands.d.ts +25 -0
  371. package/dist/service/apigatewayv2/command/route/sim-http-api-route-commands.d.ts.map +1 -0
  372. package/dist/service/apigatewayv2/command/route/sim-http-api-route-commands.js +84 -0
  373. package/dist/service/apigatewayv2/command/route/sim-http-api-route-commands.js.map +1 -0
  374. package/dist/service/apigatewayv2/command/route/sim-http-api-route-target.d.ts +27 -0
  375. package/dist/service/apigatewayv2/command/route/sim-http-api-route-target.d.ts.map +1 -0
  376. package/dist/service/apigatewayv2/command/route/sim-http-api-route-target.js +44 -0
  377. package/dist/service/apigatewayv2/command/route/sim-http-api-route-target.js.map +1 -0
  378. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-command.types.d.ts +9 -0
  379. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-command.types.d.ts.map +1 -0
  380. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-command.types.js +2 -0
  381. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-command.types.js.map +1 -0
  382. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-request-options.d.ts +8 -0
  383. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-request-options.d.ts.map +1 -0
  384. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-request-options.js +2 -0
  385. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-request-options.js.map +1 -0
  386. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-unsimulated-input.d.ts +42 -0
  387. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-unsimulated-input.d.ts.map +1 -0
  388. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-unsimulated-input.js +77 -0
  389. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-unsimulated-input.js.map +1 -0
  390. package/dist/service/apigatewayv2/command/sim-http-api-access.d.ts +45 -0
  391. package/dist/service/apigatewayv2/command/sim-http-api-access.d.ts.map +1 -0
  392. package/dist/service/apigatewayv2/command/sim-http-api-access.js +40 -0
  393. package/dist/service/apigatewayv2/command/sim-http-api-access.js.map +1 -0
  394. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-commands.d.ts +27 -0
  395. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-commands.d.ts.map +1 -0
  396. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-commands.js +70 -0
  397. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-commands.js.map +1 -0
  398. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-rules.d.ts +29 -0
  399. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-rules.d.ts.map +1 -0
  400. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-rules.js +52 -0
  401. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-rules.js.map +1 -0
  402. package/dist/service/apigatewayv2/command/stage/stage.command.d.ts +38 -0
  403. package/dist/service/apigatewayv2/command/stage/stage.command.d.ts.map +1 -0
  404. package/dist/service/apigatewayv2/command/stage/stage.command.js +2 -0
  405. package/dist/service/apigatewayv2/command/stage/stage.command.js.map +1 -0
  406. package/dist/service/apigatewayv2/error/sim-api-gateway-v2.error.d.ts +42 -0
  407. package/dist/service/apigatewayv2/error/sim-api-gateway-v2.error.d.ts.map +1 -0
  408. package/dist/service/apigatewayv2/error/sim-api-gateway-v2.error.js +45 -0
  409. package/dist/service/apigatewayv2/error/sim-api-gateway-v2.error.js.map +1 -0
  410. package/dist/service/apigatewayv2/index.d.ts +29 -0
  411. package/dist/service/apigatewayv2/index.d.ts.map +1 -0
  412. package/dist/service/apigatewayv2/index.js +23 -0
  413. package/dist/service/apigatewayv2/index.js.map +1 -0
  414. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-body.d.ts +10 -0
  415. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-body.d.ts.map +1 -0
  416. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-body.js +29 -0
  417. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-body.js.map +1 -0
  418. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-command.d.ts +18 -0
  419. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-command.d.ts.map +1 -0
  420. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-command.js +29 -0
  421. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-command.js.map +1 -0
  422. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-document.d.ts +47 -0
  423. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-document.d.ts.map +1 -0
  424. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-document.factory.d.ts +30 -0
  425. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-document.factory.d.ts.map +1 -0
  426. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-document.factory.js +26 -0
  427. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-document.factory.js.map +1 -0
  428. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-document.js +109 -0
  429. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-document.js.map +1 -0
  430. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-import.d.ts +33 -0
  431. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-import.d.ts.map +1 -0
  432. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-import.js +59 -0
  433. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-import.js.map +1 -0
  434. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration-references.d.ts +55 -0
  435. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration-references.d.ts.map +1 -0
  436. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration-references.js +95 -0
  437. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration-references.js.map +1 -0
  438. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration.d.ts +37 -0
  439. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration.d.ts.map +1 -0
  440. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration.factory.d.ts +19 -0
  441. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration.factory.d.ts.map +1 -0
  442. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration.factory.js +20 -0
  443. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration.factory.js.map +1 -0
  444. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration.js +86 -0
  445. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration.js.map +1 -0
  446. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integrations.d.ts +29 -0
  447. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integrations.d.ts.map +1 -0
  448. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integrations.js +37 -0
  449. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integrations.js.map +1 -0
  450. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-object.d.ts +47 -0
  451. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-object.d.ts.map +1 -0
  452. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-object.js +63 -0
  453. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-object.js.map +1 -0
  454. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-operation.d.ts +56 -0
  455. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-operation.d.ts.map +1 -0
  456. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-operation.js +80 -0
  457. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-operation.js.map +1 -0
  458. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-path-item.d.ts +24 -0
  459. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-path-item.d.ts.map +1 -0
  460. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-path-item.js +70 -0
  461. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-path-item.js.map +1 -0
  462. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-paths.d.ts +18 -0
  463. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-paths.d.ts.map +1 -0
  464. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-paths.js +24 -0
  465. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-paths.js.map +1 -0
  466. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-pointer.d.ts +33 -0
  467. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-pointer.d.ts.map +1 -0
  468. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-pointer.js +49 -0
  469. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-pointer.js.map +1 -0
  470. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-refusal.d.ts +11 -0
  471. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-refusal.d.ts.map +1 -0
  472. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-refusal.js +12 -0
  473. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-refusal.js.map +1 -0
  474. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-route-authorization.d.ts +35 -0
  475. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-route-authorization.d.ts.map +1 -0
  476. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-route-authorization.js +43 -0
  477. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-route-authorization.js.map +1 -0
  478. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-scheme.d.ts +29 -0
  479. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-scheme.d.ts.map +1 -0
  480. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-scheme.js +85 -0
  481. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-scheme.js.map +1 -0
  482. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-schemes.d.ts +39 -0
  483. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-schemes.d.ts.map +1 -0
  484. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-schemes.js +49 -0
  485. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-schemes.js.map +1 -0
  486. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-value.d.ts +55 -0
  487. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-value.d.ts.map +1 -0
  488. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-value.js +102 -0
  489. package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-value.js.map +1 -0
  490. package/dist/service/apigatewayv2/registry/sim-http-api-registry.d.ts +31 -0
  491. package/dist/service/apigatewayv2/registry/sim-http-api-registry.d.ts.map +1 -0
  492. package/dist/service/apigatewayv2/registry/sim-http-api-registry.js +42 -0
  493. package/dist/service/apigatewayv2/registry/sim-http-api-registry.js.map +1 -0
  494. package/dist/service/apigatewayv2/sdk/sim-api-gateway-v2-sdk-command-router.d.ts +19 -0
  495. package/dist/service/apigatewayv2/sdk/sim-api-gateway-v2-sdk-command-router.d.ts.map +1 -0
  496. package/dist/service/apigatewayv2/sdk/sim-api-gateway-v2-sdk-command-router.js +81 -0
  497. package/dist/service/apigatewayv2/sdk/sim-api-gateway-v2-sdk-command-router.js.map +1 -0
  498. package/dist/service/apigatewayv2/serve/auth/sim-http-api-iam-route-authorizer.d.ts +40 -0
  499. package/dist/service/apigatewayv2/serve/auth/sim-http-api-iam-route-authorizer.d.ts.map +1 -0
  500. package/dist/service/apigatewayv2/serve/auth/sim-http-api-iam-route-authorizer.js +57 -0
  501. package/dist/service/apigatewayv2/serve/auth/sim-http-api-iam-route-authorizer.js.map +1 -0
  502. package/dist/service/apigatewayv2/serve/auth/sim-http-api-integration-authorizer.d.ts +42 -0
  503. package/dist/service/apigatewayv2/serve/auth/sim-http-api-integration-authorizer.d.ts.map +1 -0
  504. package/dist/service/apigatewayv2/serve/auth/sim-http-api-integration-authorizer.js +49 -0
  505. package/dist/service/apigatewayv2/serve/auth/sim-http-api-integration-authorizer.js.map +1 -0
  506. package/dist/service/apigatewayv2/serve/auth/sim-http-api-jwt-route-authorizer.d.ts +27 -0
  507. package/dist/service/apigatewayv2/serve/auth/sim-http-api-jwt-route-authorizer.d.ts.map +1 -0
  508. package/dist/service/apigatewayv2/serve/auth/sim-http-api-jwt-route-authorizer.js +49 -0
  509. package/dist/service/apigatewayv2/serve/auth/sim-http-api-jwt-route-authorizer.js.map +1 -0
  510. package/dist/service/apigatewayv2/serve/auth/sim-http-api-route-authorize-input.d.ts +28 -0
  511. package/dist/service/apigatewayv2/serve/auth/sim-http-api-route-authorize-input.d.ts.map +1 -0
  512. package/dist/service/apigatewayv2/serve/auth/sim-http-api-route-authorize-input.js +2 -0
  513. package/dist/service/apigatewayv2/serve/auth/sim-http-api-route-authorize-input.js.map +1 -0
  514. package/dist/service/apigatewayv2/serve/auth/sim-http-api-route-authorizer.d.ts +32 -0
  515. package/dist/service/apigatewayv2/serve/auth/sim-http-api-route-authorizer.d.ts.map +1 -0
  516. package/dist/service/apigatewayv2/serve/auth/sim-http-api-route-authorizer.js +42 -0
  517. package/dist/service/apigatewayv2/serve/auth/sim-http-api-route-authorizer.js.map +1 -0
  518. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.d.ts +44 -0
  519. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.d.ts.map +1 -0
  520. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.js +131 -0
  521. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.js.map +1 -0
  522. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-error-response.d.ts +52 -0
  523. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-error-response.d.ts.map +1 -0
  524. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-error-response.js +72 -0
  525. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-error-response.js.map +1 -0
  526. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-router.d.ts +64 -0
  527. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-router.d.ts.map +1 -0
  528. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-router.js +67 -0
  529. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-router.js.map +1 -0
  530. package/dist/service/apigatewayv2/serve/sim-http-api-endpoint.d.ts +14 -0
  531. package/dist/service/apigatewayv2/serve/sim-http-api-endpoint.d.ts.map +1 -0
  532. package/dist/service/apigatewayv2/serve/sim-http-api-endpoint.js +21 -0
  533. package/dist/service/apigatewayv2/serve/sim-http-api-endpoint.js.map +1 -0
  534. package/dist/service/apigatewayv2/sim-api-gateway-v2.d.ts +125 -0
  535. package/dist/service/apigatewayv2/sim-api-gateway-v2.d.ts.map +1 -0
  536. package/dist/service/apigatewayv2/sim-api-gateway-v2.js +198 -0
  537. package/dist/service/apigatewayv2/sim-api-gateway-v2.js.map +1 -0
  538. package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts +11 -0
  539. package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts.map +1 -1
  540. package/dist/service/aws/factory/sim-aws-account-region-service-builder.js +25 -0
  541. package/dist/service/aws/factory/sim-aws-account-region-service-builder.js.map +1 -1
  542. package/dist/service/aws/factory/sim-aws-service-factory.d.ts +13 -0
  543. package/dist/service/aws/factory/sim-aws-service-factory.d.ts.map +1 -1
  544. package/dist/service/aws/factory/sim-aws-service-factory.js +15 -0
  545. package/dist/service/aws/factory/sim-aws-service-factory.js.map +1 -1
  546. package/dist/service/aws/sim-aws-account-region-scope.d.ts +5 -0
  547. package/dist/service/aws/sim-aws-account-region-scope.d.ts.map +1 -1
  548. package/dist/service/aws/sim-aws-account-region-scope.js +6 -0
  549. package/dist/service/aws/sim-aws-account-region-scope.js.map +1 -1
  550. package/dist/service/aws/sim-aws.d.ts +3 -0
  551. package/dist/service/aws/sim-aws.d.ts.map +1 -1
  552. package/dist/service/aws/sim-aws.js +4 -0
  553. package/dist/service/aws/sim-aws.js.map +1 -1
  554. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-api-gateway-v2-cfn-value-adapter.d.ts +7 -0
  555. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-api-gateway-v2-cfn-value-adapter.d.ts.map +1 -0
  556. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-api-gateway-v2-cfn-value-adapter.js +40 -0
  557. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-api-gateway-v2-cfn-value-adapter.js.map +1 -0
  558. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-authorizer-cfn.d.ts +24 -0
  559. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-authorizer-cfn.d.ts.map +1 -0
  560. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-authorizer-cfn.js +26 -0
  561. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-authorizer-cfn.js.map +1 -0
  562. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-cfn.d.ts +29 -0
  563. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-cfn.d.ts.map +1 -0
  564. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-cfn.js +34 -0
  565. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-cfn.js.map +1 -0
  566. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-integration-cfn.d.ts +25 -0
  567. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-integration-cfn.d.ts.map +1 -0
  568. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-integration-cfn.js +27 -0
  569. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-integration-cfn.js.map +1 -0
  570. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-route-cfn.d.ts +24 -0
  571. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-route-cfn.d.ts.map +1 -0
  572. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-route-cfn.js +26 -0
  573. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-route-cfn.js.map +1 -0
  574. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-stage-cfn.d.ts +24 -0
  575. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-stage-cfn.d.ts.map +1 -0
  576. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-stage-cfn.js +23 -0
  577. package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-stage-cfn.js.map +1 -0
  578. package/dist/service/cloudformation/resource/cfn/sim-cfn-resource-value-adapter.d.ts.map +1 -1
  579. package/dist/service/cloudformation/resource/cfn/sim-cfn-resource-value-adapter.js +2 -0
  580. package/dist/service/cloudformation/resource/cfn/sim-cfn-resource-value-adapter.js.map +1 -1
  581. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.d.ts +20 -0
  582. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.d.ts.map +1 -0
  583. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.js +74 -0
  584. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.js.map +1 -0
  585. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-resolver.d.ts.map +1 -1
  586. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-resolver.js +5 -46
  587. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-resolver.js.map +1 -1
  588. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.d.ts +3 -3
  589. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.d.ts.map +1 -1
  590. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js +30 -23
  591. package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js.map +1 -1
  592. package/dist/service/cognito/cfn/client/sim-cfn-cognito-token-validity-units.d.ts +28 -0
  593. package/dist/service/cognito/cfn/client/sim-cfn-cognito-token-validity-units.d.ts.map +1 -0
  594. package/dist/service/cognito/cfn/client/sim-cfn-cognito-token-validity-units.js +39 -0
  595. package/dist/service/cognito/cfn/client/sim-cfn-cognito-token-validity-units.js.map +1 -0
  596. package/dist/service/cognito/cfn/sim-cfn-cognito-generated-name.d.ts +32 -0
  597. package/dist/service/cognito/cfn/sim-cfn-cognito-generated-name.d.ts.map +1 -0
  598. package/dist/service/cognito/cfn/sim-cfn-cognito-generated-name.js +41 -0
  599. package/dist/service/cognito/cfn/sim-cfn-cognito-generated-name.js.map +1 -0
  600. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.d.ts +13 -0
  601. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.d.ts.map +1 -1
  602. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js +45 -1
  603. package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js.map +1 -1
  604. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-commands.d.ts.map +1 -1
  605. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-commands.js +1 -0
  606. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-commands.js.map +1 -1
  607. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.d.ts +4 -0
  608. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.d.ts.map +1 -1
  609. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.js +5 -0
  610. package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.js.map +1 -1
  611. package/dist/service/cognito/command/client/user-pool-client.command.d.ts +6 -3
  612. package/dist/service/cognito/command/client/user-pool-client.command.d.ts.map +1 -1
  613. package/dist/service/cognito/command/sim-cognito-canonical-value.d.ts +28 -0
  614. package/dist/service/cognito/command/sim-cognito-canonical-value.d.ts.map +1 -0
  615. package/dist/service/cognito/command/sim-cognito-canonical-value.js +44 -0
  616. package/dist/service/cognito/command/sim-cognito-canonical-value.js.map +1 -0
  617. package/dist/service/cognito/command/sim-cognito-unsimulated-structure.d.ts +23 -0
  618. package/dist/service/cognito/command/sim-cognito-unsimulated-structure.d.ts.map +1 -0
  619. package/dist/service/cognito/command/sim-cognito-unsimulated-structure.js +38 -0
  620. package/dist/service/cognito/command/sim-cognito-unsimulated-structure.js.map +1 -0
  621. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-features.d.ts +8 -3
  622. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-features.d.ts.map +1 -1
  623. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-features.js +39 -5
  624. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-features.js.map +1 -1
  625. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-messaging.d.ts +13 -2
  626. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-messaging.d.ts.map +1 -1
  627. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-messaging.js +41 -6
  628. package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-messaging.js.map +1 -1
  629. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-commands.d.ts.map +1 -1
  630. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-commands.js +1 -0
  631. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-commands.js.map +1 -1
  632. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.d.ts +4 -0
  633. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.d.ts.map +1 -1
  634. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.js +5 -0
  635. package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.js.map +1 -1
  636. package/dist/service/cognito/command/user-pool/user-pool.command.d.ts +5 -3
  637. package/dist/service/cognito/command/user-pool/user-pool.command.d.ts.map +1 -1
  638. package/dist/service/cognito/user-pool/auth/sim-cognito-signed-in.factory.d.ts +44 -0
  639. package/dist/service/cognito/user-pool/auth/sim-cognito-signed-in.factory.d.ts.map +1 -0
  640. package/dist/service/cognito/user-pool/auth/sim-cognito-signed-in.factory.js +88 -0
  641. package/dist/service/cognito/user-pool/auth/sim-cognito-signed-in.factory.js.map +1 -0
  642. package/dist/service/cognito/user-pool/client/sim-cognito-unsimulated-client-settings.d.ts +42 -0
  643. package/dist/service/cognito/user-pool/client/sim-cognito-unsimulated-client-settings.d.ts.map +1 -0
  644. package/dist/service/cognito/user-pool/client/sim-cognito-unsimulated-client-settings.js +44 -0
  645. package/dist/service/cognito/user-pool/client/sim-cognito-unsimulated-client-settings.js.map +1 -0
  646. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.d.ts +6 -0
  647. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.d.ts.map +1 -1
  648. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.js +2 -0
  649. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.js.map +1 -1
  650. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.d.ts +7 -0
  651. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.d.ts.map +1 -1
  652. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.js +6 -0
  653. package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.js.map +1 -1
  654. package/dist/service/cognito/user-pool/sim-cognito-unsimulated-pool-settings.d.ts +50 -0
  655. package/dist/service/cognito/user-pool/sim-cognito-unsimulated-pool-settings.d.ts.map +1 -0
  656. package/dist/service/cognito/user-pool/sim-cognito-unsimulated-pool-settings.js +61 -0
  657. package/dist/service/cognito/user-pool/sim-cognito-unsimulated-pool-settings.js.map +1 -0
  658. package/dist/service/cognito/user-pool/sim-cognito-user-pool-factory.d.ts +6 -0
  659. package/dist/service/cognito/user-pool/sim-cognito-user-pool-factory.d.ts.map +1 -1
  660. package/dist/service/cognito/user-pool/sim-cognito-user-pool-factory.js +2 -0
  661. package/dist/service/cognito/user-pool/sim-cognito-user-pool-factory.js.map +1 -1
  662. package/dist/service/cognito/user-pool/sim-cognito-user-pool.d.ts +7 -0
  663. package/dist/service/cognito/user-pool/sim-cognito-user-pool.d.ts.map +1 -1
  664. package/dist/service/cognito/user-pool/sim-cognito-user-pool.js +6 -0
  665. package/dist/service/cognito/user-pool/sim-cognito-user-pool.js.map +1 -1
  666. package/dist/service/iam/authorize/match/condition/arn/equals/sim-iam-arn-equals.d.ts +14 -0
  667. package/dist/service/iam/authorize/match/condition/arn/equals/sim-iam-arn-equals.d.ts.map +1 -0
  668. package/dist/service/iam/authorize/match/condition/arn/equals/sim-iam-arn-equals.js +17 -0
  669. package/dist/service/iam/authorize/match/condition/arn/equals/sim-iam-arn-equals.js.map +1 -0
  670. package/dist/service/iam/authorize/match/condition/arn/like/sim-iam-arn-like.d.ts +13 -0
  671. package/dist/service/iam/authorize/match/condition/arn/like/sim-iam-arn-like.d.ts.map +1 -0
  672. package/dist/service/iam/authorize/match/condition/arn/like/sim-iam-arn-like.js +16 -0
  673. package/dist/service/iam/authorize/match/condition/arn/like/sim-iam-arn-like.js.map +1 -0
  674. package/dist/service/iam/authorize/match/condition/sim-iam-condition-operator-parser.d.ts.map +1 -1
  675. package/dist/service/iam/authorize/match/condition/sim-iam-condition-operator-parser.js +4 -0
  676. package/dist/service/iam/authorize/match/condition/sim-iam-condition-operator-parser.js.map +1 -1
  677. package/dist/service/iam/authorize/match/sim-iam-policy-principal-matcher.d.ts +4 -0
  678. package/dist/service/iam/authorize/match/sim-iam-policy-principal-matcher.d.ts.map +1 -1
  679. package/dist/service/iam/authorize/match/sim-iam-policy-principal-matcher.js +4 -3
  680. package/dist/service/iam/authorize/match/sim-iam-policy-principal-matcher.js.map +1 -1
  681. package/dist/service/iam/authorize/sim-iam-arn-match.d.ts +12 -0
  682. package/dist/service/iam/authorize/sim-iam-arn-match.d.ts.map +1 -0
  683. package/dist/service/iam/authorize/sim-iam-arn-match.js +45 -0
  684. package/dist/service/iam/authorize/sim-iam-arn-match.js.map +1 -0
  685. package/dist/service/iam/command/role/list-roles/list-roles.handler.js +2 -2
  686. package/dist/service/iam/command/role/list-roles/list-roles.handler.js.map +1 -1
  687. package/dist/service/lambda/function/policy/sim-lambda-permission.d.ts +6 -5
  688. package/dist/service/lambda/function/policy/sim-lambda-permission.d.ts.map +1 -1
  689. package/dist/service/lambda/function/policy/sim-lambda-permission.js +6 -5
  690. package/dist/service/lambda/function/policy/sim-lambda-permission.js.map +1 -1
  691. package/dist/service/lambda/serve/event/sim-lambda-url-endpoint.d.ts +13 -0
  692. package/dist/service/lambda/serve/event/sim-lambda-url-endpoint.d.ts.map +1 -0
  693. package/dist/service/lambda/serve/event/sim-lambda-url-endpoint.js +19 -0
  694. package/dist/service/lambda/serve/event/sim-lambda-url-endpoint.js.map +1 -0
  695. package/dist/service/lambda/serve/event/sim-lambda-url-event.type.d.ts +9 -93
  696. package/dist/service/lambda/serve/event/sim-lambda-url-event.type.d.ts.map +1 -1
  697. package/dist/service/lambda/serve/sim-lambda-controller.d.ts.map +1 -1
  698. package/dist/service/lambda/serve/sim-lambda-controller.js +6 -5
  699. package/dist/service/lambda/serve/sim-lambda-controller.js.map +1 -1
  700. package/dist/service/route53/resolve/sim-r53-service-target-resolver.d.ts +12 -0
  701. package/dist/service/route53/resolve/sim-r53-service-target-resolver.d.ts.map +1 -1
  702. package/dist/service/route53/resolve/sim-r53-service-target-resolver.js +32 -0
  703. package/dist/service/route53/resolve/sim-r53-service-target-resolver.js.map +1 -1
  704. package/dist/service/s3/bucket/website/redirect/s3-bucket-website-redirects.js +2 -2
  705. package/dist/service/s3/bucket/website/redirect/s3-bucket-website-redirects.js.map +1 -1
  706. package/dist/util/jwt/sim-jwt-claims.d.ts +54 -0
  707. package/dist/util/jwt/sim-jwt-claims.d.ts.map +1 -0
  708. package/dist/util/jwt/sim-jwt-claims.js +77 -0
  709. package/dist/util/jwt/sim-jwt-claims.js.map +1 -0
  710. package/dist/util/jwt/sim-jwt-keys.d.ts +32 -0
  711. package/dist/util/jwt/sim-jwt-keys.d.ts.map +1 -0
  712. package/dist/util/jwt/sim-jwt-keys.js +24 -0
  713. package/dist/util/jwt/sim-jwt-keys.js.map +1 -0
  714. package/dist/util/jwt/sim-jwt-rs256.d.ts +38 -0
  715. package/dist/util/jwt/sim-jwt-rs256.d.ts.map +1 -0
  716. package/dist/util/jwt/sim-jwt-rs256.js +60 -0
  717. package/dist/util/jwt/sim-jwt-rs256.js.map +1 -0
  718. package/dist/util/jwt/sim-jwt.d.ts +43 -0
  719. package/dist/util/jwt/sim-jwt.d.ts.map +1 -0
  720. package/dist/util/jwt/sim-jwt.error.d.ts +13 -0
  721. package/dist/util/jwt/sim-jwt.error.d.ts.map +1 -0
  722. package/dist/util/jwt/sim-jwt.error.js +13 -0
  723. package/dist/util/jwt/sim-jwt.error.js.map +1 -0
  724. package/dist/util/jwt/sim-jwt.js +94 -0
  725. package/dist/util/jwt/sim-jwt.js.map +1 -0
  726. package/package.json +36 -31
  727. package/dist/service/lambda/serve/event/sim-lambda-url-body-encoding.d.ts.map +0 -1
  728. package/dist/service/lambda/serve/event/sim-lambda-url-body-encoding.js.map +0 -1
  729. package/dist/service/lambda/serve/event/sim-lambda-url-event-builder.d.ts +0 -36
  730. package/dist/service/lambda/serve/event/sim-lambda-url-event-builder.d.ts.map +0 -1
  731. package/dist/service/lambda/serve/event/sim-lambda-url-event-builder.js +0 -61
  732. package/dist/service/lambda/serve/event/sim-lambda-url-event-builder.js.map +0 -1
  733. package/dist/service/lambda/serve/event/sim-lambda-url-event-time.d.ts.map +0 -1
  734. package/dist/service/lambda/serve/event/sim-lambda-url-event-time.js.map +0 -1
  735. package/dist/service/lambda/serve/event/sim-lambda-url-iam-authorizer.d.ts +0 -30
  736. package/dist/service/lambda/serve/event/sim-lambda-url-iam-authorizer.d.ts.map +0 -1
  737. package/dist/service/lambda/serve/event/sim-lambda-url-iam-authorizer.js.map +0 -1
  738. package/dist/service/lambda/serve/event/sim-lambda-url-request-context.d.ts +0 -29
  739. package/dist/service/lambda/serve/event/sim-lambda-url-request-context.d.ts.map +0 -1
  740. package/dist/service/lambda/serve/event/sim-lambda-url-request-context.js +0 -54
  741. package/dist/service/lambda/serve/event/sim-lambda-url-request-context.js.map +0 -1
  742. package/dist/service/lambda/serve/event/sim-lambda-url-request-parts.d.ts.map +0 -1
  743. package/dist/service/lambda/serve/event/sim-lambda-url-request-parts.js.map +0 -1
  744. package/dist/service/lambda/serve/response/sim-lambda-url-response-builder.d.ts +0 -21
  745. package/dist/service/lambda/serve/response/sim-lambda-url-response-builder.d.ts.map +0 -1
  746. package/dist/service/lambda/serve/response/sim-lambda-url-response-builder.js.map +0 -1
@@ -0,0 +1,44 @@
1
+ import { SimHttpApiPathParameters } from "../path/sim-http-api-path-parameters.js";
2
+ import { defaultRouteTier, SimHttpApiRouteRank, } from "../sim-http-api-route-rank.js";
3
+ import { exactMethodRank } from "./sim-http-api-route-method.js";
4
+ /**
5
+ * The catch-all route key, which serves any method and path the API has no
6
+ * more specific route for.
7
+ */
8
+ export const simHttpApiDefaultRouteKey = "$default";
9
+ /**
10
+ * The `$default` route.
11
+ *
12
+ * It matches everything and captures nothing, and it loses to every other
13
+ * matching route, which is the tier AWS documents it in.
14
+ */
15
+ export class SimHttpApiDefaultRouteKey {
16
+ text = simHttpApiDefaultRouteKey;
17
+ signature = simHttpApiDefaultRouteKey;
18
+ rank = new SimHttpApiRouteRank({
19
+ tier: defaultRouteTier,
20
+ methodRank: exactMethodRank,
21
+ segmentRanks: [],
22
+ });
23
+ /**
24
+ * Match any request, capturing nothing.
25
+ *
26
+ * The empty capture is what keeps `pathParameters` out of the event for a
27
+ * `$default` match, which is what real API Gateway does with it. That is
28
+ * observed rather than documented.
29
+ */
30
+ match() {
31
+ return new SimHttpApiPathParameters();
32
+ }
33
+ /**
34
+ * Name this route in an `execute-api` ARN.
35
+ *
36
+ * The catch-all has no method and no path of its own, and both collapse into
37
+ * the single literal `$default`, so the ARN ends `<apiId>/<stage>/$default`.
38
+ * AWS gives that form as a CLI example for granting a `$default` route.
39
+ */
40
+ methodAndPath() {
41
+ return simHttpApiDefaultRouteKey;
42
+ }
43
+ }
44
+ //# sourceMappingURL=sim-http-api-default-route-key.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-default-route-key.js","sourceRoot":"","sources":["../../../../../../src/service/apigatewayv2/api/route/key/sim-http-api-default-route-key.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,EACL,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAGjE;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,UAAU,CAAC;AAEpD;;;;;GAKG;AACH,MAAM,OAAO,yBAAyB;IACpB,IAAI,GAAG,yBAAyB,CAAC;IACjC,SAAS,GAAG,yBAAyB,CAAC;IACtC,IAAI,GAAG,IAAI,mBAAmB,CAAC;QAC7C,IAAI,EAAE,gBAAgB;QACtB,UAAU,EAAE,eAAe;QAC3B,YAAY,EAAE,EAAE;KACjB,CAAC,CAAC;IAEH;;;;;;OAMG;IACH,KAAK;QACH,OAAO,IAAI,wBAAwB,EAAE,CAAC;IACxC,CAAC;IAED;;;;;;OAMG;IACH,aAAa;QACX,OAAO,yBAAyB,CAAC;IACnC,CAAC;CACF"}
@@ -0,0 +1,48 @@
1
+ import type { SimHttpApiPathParameters } from "../path/sim-http-api-path-parameters.js";
2
+ import type { SimHttpApiRoutePath } from "../path/sim-http-api-route-path.js";
3
+ import { SimHttpApiRouteRank } from "../sim-http-api-route-rank.js";
4
+ import type { SimHttpApiRouteRequest } from "../sim-http-api-route-request.js";
5
+ import type { SimHttpApiRouteMethod } from "./sim-http-api-route-method.js";
6
+ import type { SimHttpApiRouteKey } from "./sim-http-api-route-key.js";
7
+ interface SimHttpApiMethodRouteKeyProperties {
8
+ readonly method: SimHttpApiRouteMethod;
9
+ readonly path: SimHttpApiRoutePath;
10
+ }
11
+ /**
12
+ * A route key naming a method and a path, such as `GET /pets/{petId}`.
13
+ */
14
+ export declare class SimHttpApiMethodRouteKey implements SimHttpApiRouteKey {
15
+ readonly method: SimHttpApiRouteMethod;
16
+ readonly path: SimHttpApiRoutePath;
17
+ readonly rank: SimHttpApiRouteRank;
18
+ constructor(properties: SimHttpApiMethodRouteKeyProperties);
19
+ /**
20
+ * The route key as it was written.
21
+ */
22
+ get text(): string;
23
+ /**
24
+ * The route key with its parameter names erased, which is the identity real
25
+ * API Gateway gives the route.
26
+ */
27
+ get signature(): string;
28
+ /**
29
+ * Match a request of the right method against this route's path.
30
+ *
31
+ * A request whose path matches and whose method does not simply misses this
32
+ * route, rather than being told it used the wrong method. An HTTP API with
33
+ * nothing else to catch it answers 404 rather than 405, which is observed
34
+ * rather than documented.
35
+ */
36
+ match(request: SimHttpApiRouteRequest): SimHttpApiPathParameters | undefined;
37
+ /**
38
+ * Name this route in an `execute-api` ARN, as `GET/pets/{petId}`.
39
+ *
40
+ * The path is the route key's template, braces and all, rather than the path
41
+ * the request asked for. The method is the request's, since a route key of
42
+ * `ANY /pets` serves a request of any method and the ARN names one method.
43
+ */
44
+ methodAndPath(requestMethod: string): string;
45
+ private get tier();
46
+ }
47
+ export {};
48
+ //# sourceMappingURL=sim-http-api-method-route-key.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-method-route-key.d.ts","sourceRoot":"","sources":["../../../../../../src/service/apigatewayv2/api/route/key/sim-http-api-method-route-key.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yCAAyC,CAAC;AACxF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAGL,mBAAmB,EACpB,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAC5E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEtE,UAAU,kCAAkC;IAC1C,QAAQ,CAAC,MAAM,EAAE,qBAAqB,CAAC;IACvC,QAAQ,CAAC,IAAI,EAAE,mBAAmB,CAAC;CACpC;AAED;;GAEG;AACH,qBAAa,wBAAyB,YAAW,kBAAkB;IACjE,SAAgB,MAAM,EAAE,qBAAqB,CAAC;IAC9C,SAAgB,IAAI,EAAE,mBAAmB,CAAC;IAC1C,SAAgB,IAAI,EAAE,mBAAmB,CAAC;IAE1C,YAAY,UAAU,EAAE,kCAAkC,EAQzD;IAED;;OAEG;IACH,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED;;;OAGG;IACH,IAAI,SAAS,IAAI,MAAM,CAEtB;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,OAAO,EAAE,sBAAsB,GAAG,wBAAwB,GAAG,SAAS,CAM3E;IAED;;;;;;OAMG;IACH,aAAa,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,CAE3C;IAED,OAAO,KAAK,IAAI,GAMf;CACF"}
@@ -0,0 +1,62 @@
1
+ import { fullMatchTier, greedyMatchTier, SimHttpApiRouteRank, } from "../sim-http-api-route-rank.js";
2
+ /**
3
+ * A route key naming a method and a path, such as `GET /pets/{petId}`.
4
+ */
5
+ export class SimHttpApiMethodRouteKey {
6
+ method;
7
+ path;
8
+ rank;
9
+ constructor(properties) {
10
+ this.method = properties.method;
11
+ this.path = properties.path;
12
+ this.rank = new SimHttpApiRouteRank({
13
+ tier: this.tier,
14
+ methodRank: this.method.rank,
15
+ segmentRanks: this.path.segmentRanks,
16
+ });
17
+ }
18
+ /**
19
+ * The route key as it was written.
20
+ */
21
+ get text() {
22
+ return `${this.method.token} ${this.path.text}`;
23
+ }
24
+ /**
25
+ * The route key with its parameter names erased, which is the identity real
26
+ * API Gateway gives the route.
27
+ */
28
+ get signature() {
29
+ return `${this.method.token} ${this.path.signature}`;
30
+ }
31
+ /**
32
+ * Match a request of the right method against this route's path.
33
+ *
34
+ * A request whose path matches and whose method does not simply misses this
35
+ * route, rather than being told it used the wrong method. An HTTP API with
36
+ * nothing else to catch it answers 404 rather than 405, which is observed
37
+ * rather than documented.
38
+ */
39
+ match(request) {
40
+ if (!this.method.matches(request.method)) {
41
+ return undefined;
42
+ }
43
+ return this.path.match(request.segments);
44
+ }
45
+ /**
46
+ * Name this route in an `execute-api` ARN, as `GET/pets/{petId}`.
47
+ *
48
+ * The path is the route key's template, braces and all, rather than the path
49
+ * the request asked for. The method is the request's, since a route key of
50
+ * `ANY /pets` serves a request of any method and the ARN names one method.
51
+ */
52
+ methodAndPath(requestMethod) {
53
+ return `${requestMethod}${this.path.text}`;
54
+ }
55
+ get tier() {
56
+ if (this.path.hasGreedySegment) {
57
+ return greedyMatchTier;
58
+ }
59
+ return fullMatchTier;
60
+ }
61
+ }
62
+ //# sourceMappingURL=sim-http-api-method-route-key.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-method-route-key.js","sourceRoot":"","sources":["../../../../../../src/service/apigatewayv2/api/route/key/sim-http-api-method-route-key.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,aAAa,EACb,eAAe,EACf,mBAAmB,GACpB,MAAM,+BAA+B,CAAC;AAUvC;;GAEG;AACH,MAAM,OAAO,wBAAwB;IACnB,MAAM,CAAwB;IAC9B,IAAI,CAAsB;IAC1B,IAAI,CAAsB;IAE1C,YAAY,UAA8C;QACxD,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;QAChC,IAAI,CAAC,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC;QAC5B,IAAI,CAAC,IAAI,GAAG,IAAI,mBAAmB,CAAC;YAClC,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,UAAU,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI;YAC5B,YAAY,EAAE,IAAI,CAAC,IAAI,CAAC,YAAY;SACrC,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,IAAI,IAAI;QACN,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IAClD,CAAC;IAED;;;OAGG;IACH,IAAI,SAAS;QACX,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,IAAI,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC;IACvD,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,OAA+B;QACnC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;YACzC,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,OAAO,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC3C,CAAC;IAED;;;;;;OAMG;IACH,aAAa,CAAC,aAAqB;QACjC,OAAO,GAAG,aAAa,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IAC7C,CAAC;IAED,IAAY,IAAI;QACd,IAAI,IAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE,CAAC;YAC/B,OAAO,eAAe,CAAC;QACzB,CAAC;QAED,OAAO,aAAa,CAAC;IACvB,CAAC;CACF"}
@@ -0,0 +1,18 @@
1
+ import type { SimHttpApiRouteKey } from "./sim-http-api-route-key.js";
2
+ /**
3
+ * Reads the `RouteKey` a `CreateRoute` request carries.
4
+ *
5
+ * A route key is either the literal `$default` or a method and a path
6
+ * separated by one space. Everything else is refused here, which is where real
7
+ * API Gateway refuses it too: a route key that cannot be read is a route that
8
+ * would never match a request, and finding that out at request time rather
9
+ * than at creation time is the failure worth avoiding.
10
+ */
11
+ export declare class SimHttpApiRouteKeyParser {
12
+ private readonly pathParser;
13
+ /**
14
+ * Read a route key, or refuse it.
15
+ */
16
+ parse(routeKey: string): SimHttpApiRouteKey;
17
+ }
18
+ //# sourceMappingURL=sim-http-api-route-key-parser.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-route-key-parser.d.ts","sourceRoot":"","sources":["../../../../../../src/service/apigatewayv2/api/route/key/sim-http-api-route-key-parser.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEtE;;;;;;;;GAQG;AACH,qBAAa,wBAAwB;IACnC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAmC;IAE9D;;OAEG;IACH,KAAK,CAAC,QAAQ,EAAE,MAAM,GAAG,kBAAkB,CAqB1C;CACF"}
@@ -0,0 +1,37 @@
1
+ import { SimApiGatewayV2BadRequest } from "../../../error/sim-api-gateway-v2.error.js";
2
+ import { SimHttpApiRoutePathParser } from "../path/sim-http-api-route-path-parser.js";
3
+ import { SimHttpApiDefaultRouteKey, simHttpApiDefaultRouteKey, } from "./sim-http-api-default-route-key.js";
4
+ import { SimHttpApiMethodRouteKey } from "./sim-http-api-method-route-key.js";
5
+ import { SimHttpApiRouteMethod } from "./sim-http-api-route-method.js";
6
+ /**
7
+ * Reads the `RouteKey` a `CreateRoute` request carries.
8
+ *
9
+ * A route key is either the literal `$default` or a method and a path
10
+ * separated by one space. Everything else is refused here, which is where real
11
+ * API Gateway refuses it too: a route key that cannot be read is a route that
12
+ * would never match a request, and finding that out at request time rather
13
+ * than at creation time is the failure worth avoiding.
14
+ */
15
+ export class SimHttpApiRouteKeyParser {
16
+ pathParser = new SimHttpApiRoutePathParser();
17
+ /**
18
+ * Read a route key, or refuse it.
19
+ */
20
+ parse(routeKey) {
21
+ if (routeKey === simHttpApiDefaultRouteKey) {
22
+ return new SimHttpApiDefaultRouteKey();
23
+ }
24
+ const parts = routeKey.split(" ");
25
+ if (parts.length !== 2) {
26
+ throw new SimApiGatewayV2BadRequest(`Route key '${routeKey}' is not a route key: a route key is either ` +
27
+ `$default or a method and a path separated by one space, such as ` +
28
+ `'GET /pets'`);
29
+ }
30
+ const [method = "", path = ""] = parts;
31
+ return new SimHttpApiMethodRouteKey({
32
+ method: SimHttpApiRouteMethod.parse(method, routeKey),
33
+ path: this.pathParser.parse(path, routeKey),
34
+ });
35
+ }
36
+ }
37
+ //# sourceMappingURL=sim-http-api-route-key-parser.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-route-key-parser.js","sourceRoot":"","sources":["../../../../../../src/service/apigatewayv2/api/route/key/sim-http-api-route-key-parser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,4CAA4C,CAAC;AACvF,OAAO,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AACtF,OAAO,EACL,yBAAyB,EACzB,yBAAyB,GAC1B,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAGvE;;;;;;;;GAQG;AACH,MAAM,OAAO,wBAAwB;IAClB,UAAU,GAAG,IAAI,yBAAyB,EAAE,CAAC;IAE9D;;OAEG;IACH,KAAK,CAAC,QAAgB;QACpB,IAAI,QAAQ,KAAK,yBAAyB,EAAE,CAAC;YAC3C,OAAO,IAAI,yBAAyB,EAAE,CAAC;QACzC,CAAC;QAED,MAAM,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAElC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACvB,MAAM,IAAI,yBAAyB,CACjC,cAAc,QAAQ,8CAA8C;gBAClE,kEAAkE;gBAClE,aAAa,CAChB,CAAC;QACJ,CAAC;QAED,MAAM,CAAC,MAAM,GAAG,EAAE,EAAE,IAAI,GAAG,EAAE,CAAC,GAAG,KAAK,CAAC;QAEvC,OAAO,IAAI,wBAAwB,CAAC;YAClC,MAAM,EAAE,qBAAqB,CAAC,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC;YACrD,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,IAAI,EAAE,QAAQ,CAAC;SAC5C,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -0,0 +1,38 @@
1
+ import type { SimHttpApiPathParameters } from "../path/sim-http-api-path-parameters.js";
2
+ import type { SimHttpApiRouteRank } from "../sim-http-api-route-rank.js";
3
+ import type { SimHttpApiRouteRequest } from "../sim-http-api-route-request.js";
4
+ /**
5
+ * A parsed route key: what decides whether a route serves a request, and what
6
+ * it captures from the path when it does.
7
+ *
8
+ * There are two of these, the `$default` catch-all and a method with a path,
9
+ * and they answer the same questions differently rather than the caller asking
10
+ * which one it has.
11
+ */
12
+ export interface SimHttpApiRouteKey {
13
+ /** The route key as it was written, which is what `RouteKey` reports. */
14
+ readonly text: string;
15
+ /**
16
+ * The route key with parameter names erased, which is the identity real API
17
+ * Gateway gives a route: `GET /pets/{id}` and `GET /pets/{petId}` are one
18
+ * route and the second is a conflict.
19
+ */
20
+ readonly signature: string;
21
+ /** How specific this route is, for choosing between matching routes. */
22
+ readonly rank: SimHttpApiRouteRank;
23
+ /**
24
+ * The path parameters this route captures from a request it matches, or
25
+ * nothing when it does not match.
26
+ */
27
+ match(request: SimHttpApiRouteRequest): SimHttpApiPathParameters | undefined;
28
+ /**
29
+ * How this route names itself in an `execute-api` ARN, given the method of
30
+ * the request that matched it.
31
+ *
32
+ * The method is the request's rather than the route's, because a route key
33
+ * of `ANY /pets` is matched by a `GET` request and API Gateway puts a
34
+ * concrete verb in the ARN. `SimHttpApiExecuteApiArn` has the reasoning.
35
+ */
36
+ methodAndPath(requestMethod: string): string;
37
+ }
38
+ //# sourceMappingURL=sim-http-api-route-key.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-route-key.d.ts","sourceRoot":"","sources":["../../../../../../src/service/apigatewayv2/api/route/key/sim-http-api-route-key.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yCAAyC,CAAC;AACxF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAE/E;;;;;;;GAOG;AACH,MAAM,WAAW,kBAAkB;IACjC,yEAAyE;IACzE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,wEAAwE;IACxE,QAAQ,CAAC,IAAI,EAAE,mBAAmB,CAAC;IACnC;;;OAGG;IACH,KAAK,CAAC,OAAO,EAAE,sBAAsB,GAAG,wBAAwB,GAAG,SAAS,CAAC;IAC7E;;;;;;;OAOG;IACH,aAAa,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,CAAC;CAC9C"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=sim-http-api-route-key.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-route-key.js","sourceRoot":"","sources":["../../../../../../src/service/apigatewayv2/api/route/key/sim-http-api-route-key.ts"],"names":[],"mappings":""}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * The method token matching any method, which is what makes a route the one
3
+ * for a path whatever the request did to it.
4
+ */
5
+ export declare const simHttpApiAnyMethod = "ANY";
6
+ export declare const exactMethodRank = 0;
7
+ export declare const anyMethodRank = 1;
8
+ /**
9
+ * The method half of a route key, such as the `GET` of `GET /pets`.
10
+ */
11
+ export declare class SimHttpApiRouteMethod {
12
+ readonly token: string;
13
+ constructor(token: string);
14
+ /**
15
+ * Read a method token, naming the whole route key in anything refused.
16
+ *
17
+ * The token is upper-case or nothing, so `get /pets` is refused. That real
18
+ * API Gateway refuses it at `CreateRoute` is observed rather than
19
+ * documented, but a lower-case method here would be a route that never
20
+ * matched a request, which is worse than being told about it early.
21
+ */
22
+ static parse(token: string, routeKey: string): SimHttpApiRouteMethod;
23
+ /**
24
+ * How specific this method is. An exact method beats `ANY`.
25
+ */
26
+ get rank(): number;
27
+ /**
28
+ * Whether a request of this method reaches this route.
29
+ */
30
+ matches(requestMethod: string): boolean;
31
+ }
32
+ //# sourceMappingURL=sim-http-api-route-method.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-route-method.d.ts","sourceRoot":"","sources":["../../../../../../src/service/apigatewayv2/api/route/key/sim-http-api-route-method.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,eAAO,MAAM,mBAAmB,QAAQ,CAAC;AAgBzC,eAAO,MAAM,eAAe,IAAI,CAAC;AACjC,eAAO,MAAM,aAAa,IAAI,CAAC;AAE/B;;GAEG;AACH,qBAAa,qBAAqB;IAChC,SAAgB,KAAK,EAAE,MAAM,CAAC;IAE9B,YAAY,KAAK,EAAE,MAAM,EAExB;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,qBAAqB,CAUnE;IAED;;OAEG;IACH,IAAI,IAAI,IAAI,MAAM,CAMjB;IAED;;OAEG;IACH,OAAO,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAMtC;CACF"}
@@ -0,0 +1,65 @@
1
+ import { SimApiGatewayV2BadRequest } from "../../../error/sim-api-gateway-v2.error.js";
2
+ /**
3
+ * The method token matching any method, which is what makes a route the one
4
+ * for a path whatever the request did to it.
5
+ */
6
+ export const simHttpApiAnyMethod = "ANY";
7
+ /**
8
+ * The method tokens an HTTP API route key may name.
9
+ */
10
+ const routeMethods = new Set([
11
+ "GET",
12
+ "POST",
13
+ "PUT",
14
+ "PATCH",
15
+ "DELETE",
16
+ "HEAD",
17
+ "OPTIONS",
18
+ simHttpApiAnyMethod,
19
+ ]);
20
+ export const exactMethodRank = 0;
21
+ export const anyMethodRank = 1;
22
+ /**
23
+ * The method half of a route key, such as the `GET` of `GET /pets`.
24
+ */
25
+ export class SimHttpApiRouteMethod {
26
+ token;
27
+ constructor(token) {
28
+ this.token = token;
29
+ }
30
+ /**
31
+ * Read a method token, naming the whole route key in anything refused.
32
+ *
33
+ * The token is upper-case or nothing, so `get /pets` is refused. That real
34
+ * API Gateway refuses it at `CreateRoute` is observed rather than
35
+ * documented, but a lower-case method here would be a route that never
36
+ * matched a request, which is worse than being told about it early.
37
+ */
38
+ static parse(token, routeKey) {
39
+ if (!routeMethods.has(token)) {
40
+ throw new SimApiGatewayV2BadRequest(`Route key '${routeKey}' does not name an HTTP method: a route key is ` +
41
+ `either $default or an upper-case method and a path, such as ` +
42
+ `'GET /pets'`);
43
+ }
44
+ return new SimHttpApiRouteMethod(token);
45
+ }
46
+ /**
47
+ * How specific this method is. An exact method beats `ANY`.
48
+ */
49
+ get rank() {
50
+ if (this.token === simHttpApiAnyMethod) {
51
+ return anyMethodRank;
52
+ }
53
+ return exactMethodRank;
54
+ }
55
+ /**
56
+ * Whether a request of this method reaches this route.
57
+ */
58
+ matches(requestMethod) {
59
+ if (this.token === simHttpApiAnyMethod) {
60
+ return true;
61
+ }
62
+ return this.token === requestMethod;
63
+ }
64
+ }
65
+ //# sourceMappingURL=sim-http-api-route-method.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-route-method.js","sourceRoot":"","sources":["../../../../../../src/service/apigatewayv2/api/route/key/sim-http-api-route-method.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,4CAA4C,CAAC;AAEvF;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,KAAK,CAAC;AAEzC;;GAEG;AACH,MAAM,YAAY,GAAG,IAAI,GAAG,CAAC;IAC3B,KAAK;IACL,MAAM;IACN,KAAK;IACL,OAAO;IACP,QAAQ;IACR,MAAM;IACN,SAAS;IACT,mBAAmB;CACpB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC;AACjC,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC;AAE/B;;GAEG;AACH,MAAM,OAAO,qBAAqB;IAChB,KAAK,CAAS;IAE9B,YAAY,KAAa;QACvB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,KAAK,CAAC,KAAa,EAAE,QAAgB;QAC1C,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;YAC7B,MAAM,IAAI,yBAAyB,CACjC,cAAc,QAAQ,iDAAiD;gBACrE,8DAA8D;gBAC9D,aAAa,CAChB,CAAC;QACJ,CAAC;QAED,OAAO,IAAI,qBAAqB,CAAC,KAAK,CAAC,CAAC;IAC1C,CAAC;IAED;;OAEG;IACH,IAAI,IAAI;QACN,IAAI,IAAI,CAAC,KAAK,KAAK,mBAAmB,EAAE,CAAC;YACvC,OAAO,aAAa,CAAC;QACvB,CAAC;QAED,OAAO,eAAe,CAAC;IACzB,CAAC;IAED;;OAEG;IACH,OAAO,CAAC,aAAqB;QAC3B,IAAI,IAAI,CAAC,KAAK,KAAK,mBAAmB,EAAE,CAAC;YACvC,OAAO,IAAI,CAAC;QACd,CAAC;QAED,OAAO,IAAI,CAAC,KAAK,KAAK,aAAa,CAAC;IACtC,CAAC;CACF"}
@@ -0,0 +1,27 @@
1
+ import { type SimHttpApiPathSegment, SimHttpApiSegmentMatch } from "./sim-http-api-path-segment.js";
2
+ /**
3
+ * A route path segment capturing everything left of the path, such as
4
+ * `{proxy+}`.
5
+ *
6
+ * It is only ever the last segment of a route path, which is what makes
7
+ * "everything left" well defined.
8
+ */
9
+ export declare class SimHttpApiGreedySegment implements SimHttpApiPathSegment {
10
+ readonly rank = 2;
11
+ /**
12
+ * Every greedy segment has the same signature, whatever the name is.
13
+ */
14
+ readonly signature = "{+}";
15
+ readonly parameterName: string;
16
+ constructor(parameterName: string);
17
+ /**
18
+ * Take everything left of the request path.
19
+ *
20
+ * Two things here are observed rather than documented. A greedy segment
21
+ * needs at least one segment to match, so `GET /pets/{proxy+}` does not
22
+ * match `/pets`. And the captured value has no leading slash, so `/pets` and
23
+ * `cat/1` produce `cat/1` rather than `/cat/1`.
24
+ */
25
+ consume(remaining: readonly string[]): SimHttpApiSegmentMatch | undefined;
26
+ }
27
+ //# sourceMappingURL=sim-http-api-greedy-segment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-greedy-segment.d.ts","sourceRoot":"","sources":["../../../../../../src/service/apigatewayv2/api/route/path/sim-http-api-greedy-segment.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,qBAAqB,EAC1B,sBAAsB,EACvB,MAAM,gCAAgC,CAAC;AAExC;;;;;;GAMG;AACH,qBAAa,uBAAwB,YAAW,qBAAqB;IACnE,SAAgB,IAAI,KAAqB;IACzC;;OAEG;IACH,SAAgB,SAAS,SAAS;IAClC,SAAgB,aAAa,EAAE,MAAM,CAAC;IAEtC,YAAY,aAAa,EAAE,MAAM,EAEhC;IAED;;;;;;;OAOG;IACH,OAAO,CAAC,SAAS,EAAE,SAAS,MAAM,EAAE,GAAG,sBAAsB,GAAG,SAAS,CASxE;CACF"}
@@ -0,0 +1,35 @@
1
+ import { SimHttpApiPathParameter } from "./sim-http-api-path-parameters.js";
2
+ import { greedySegmentRank, SimHttpApiSegmentMatch, } from "./sim-http-api-path-segment.js";
3
+ /**
4
+ * A route path segment capturing everything left of the path, such as
5
+ * `{proxy+}`.
6
+ *
7
+ * It is only ever the last segment of a route path, which is what makes
8
+ * "everything left" well defined.
9
+ */
10
+ export class SimHttpApiGreedySegment {
11
+ rank = greedySegmentRank;
12
+ /**
13
+ * Every greedy segment has the same signature, whatever the name is.
14
+ */
15
+ signature = "{+}";
16
+ parameterName;
17
+ constructor(parameterName) {
18
+ this.parameterName = parameterName;
19
+ }
20
+ /**
21
+ * Take everything left of the request path.
22
+ *
23
+ * Two things here are observed rather than documented. A greedy segment
24
+ * needs at least one segment to match, so `GET /pets/{proxy+}` does not
25
+ * match `/pets`. And the captured value has no leading slash, so `/pets` and
26
+ * `cat/1` produce `cat/1` rather than `/cat/1`.
27
+ */
28
+ consume(remaining) {
29
+ if (remaining.length === 0) {
30
+ return undefined;
31
+ }
32
+ return new SimHttpApiSegmentMatch(remaining.length, new SimHttpApiPathParameter(this.parameterName, remaining.join("/")));
33
+ }
34
+ }
35
+ //# sourceMappingURL=sim-http-api-greedy-segment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-greedy-segment.js","sourceRoot":"","sources":["../../../../../../src/service/apigatewayv2/api/route/path/sim-http-api-greedy-segment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,EACL,iBAAiB,EAEjB,sBAAsB,GACvB,MAAM,gCAAgC,CAAC;AAExC;;;;;;GAMG;AACH,MAAM,OAAO,uBAAuB;IAClB,IAAI,GAAG,iBAAiB,CAAC;IACzC;;OAEG;IACa,SAAS,GAAG,KAAK,CAAC;IAClB,aAAa,CAAS;IAEtC,YAAY,aAAqB;QAC/B,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACrC,CAAC;IAED;;;;;;;OAOG;IACH,OAAO,CAAC,SAA4B;QAClC,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC3B,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,OAAO,IAAI,sBAAsB,CAC/B,SAAS,CAAC,MAAM,EAChB,IAAI,uBAAuB,CAAC,IAAI,CAAC,aAAa,EAAE,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CACrE,CAAC;IACJ,CAAC;CACF"}
@@ -0,0 +1,23 @@
1
+ import { type SimHttpApiPathSegment, SimHttpApiSegmentMatch } from "./sim-http-api-path-segment.js";
2
+ /**
3
+ * A route path segment naming one exact path segment, such as `pets`.
4
+ *
5
+ * It captures nothing, and it is the most specific kind of segment: a request
6
+ * matching a literal here matches nothing more general at the same position.
7
+ */
8
+ export declare class SimHttpApiLiteralSegment implements SimHttpApiPathSegment {
9
+ readonly rank = 0;
10
+ /** A literal captures nothing, so it has no parameter to capture into. */
11
+ readonly parameterName: undefined;
12
+ readonly text: string;
13
+ constructor(text: string);
14
+ /**
15
+ * A literal has no parameter name to erase, so it is its own signature.
16
+ */
17
+ get signature(): string;
18
+ /**
19
+ * Take the one request segment this literal names, when it is there.
20
+ */
21
+ consume(remaining: readonly string[]): SimHttpApiSegmentMatch | undefined;
22
+ }
23
+ //# sourceMappingURL=sim-http-api-literal-segment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-literal-segment.d.ts","sourceRoot":"","sources":["../../../../../../src/service/apigatewayv2/api/route/path/sim-http-api-literal-segment.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,qBAAqB,EAC1B,sBAAsB,EACvB,MAAM,gCAAgC,CAAC;AAExC;;;;;GAKG;AACH,qBAAa,wBAAyB,YAAW,qBAAqB;IACpE,SAAgB,IAAI,KAAsB;IAC1C,0EAA0E;IAC1E,SAAgB,aAAa,YAAa;IAC1C,SAAgB,IAAI,EAAE,MAAM,CAAC;IAE7B,YAAY,IAAI,EAAE,MAAM,EAEvB;IAED;;OAEG;IACH,IAAI,SAAS,IAAI,MAAM,CAEtB;IAED;;OAEG;IACH,OAAO,CAAC,SAAS,EAAE,SAAS,MAAM,EAAE,GAAG,sBAAsB,GAAG,SAAS,CAMxE;CACF"}
@@ -0,0 +1,32 @@
1
+ import { literalSegmentRank, SimHttpApiSegmentMatch, } from "./sim-http-api-path-segment.js";
2
+ /**
3
+ * A route path segment naming one exact path segment, such as `pets`.
4
+ *
5
+ * It captures nothing, and it is the most specific kind of segment: a request
6
+ * matching a literal here matches nothing more general at the same position.
7
+ */
8
+ export class SimHttpApiLiteralSegment {
9
+ rank = literalSegmentRank;
10
+ /** A literal captures nothing, so it has no parameter to capture into. */
11
+ parameterName = undefined;
12
+ text;
13
+ constructor(text) {
14
+ this.text = text;
15
+ }
16
+ /**
17
+ * A literal has no parameter name to erase, so it is its own signature.
18
+ */
19
+ get signature() {
20
+ return this.text;
21
+ }
22
+ /**
23
+ * Take the one request segment this literal names, when it is there.
24
+ */
25
+ consume(remaining) {
26
+ if (remaining[0] !== this.text) {
27
+ return undefined;
28
+ }
29
+ return new SimHttpApiSegmentMatch(1);
30
+ }
31
+ }
32
+ //# sourceMappingURL=sim-http-api-literal-segment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-literal-segment.js","sourceRoot":"","sources":["../../../../../../src/service/apigatewayv2/api/route/path/sim-http-api-literal-segment.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAElB,sBAAsB,GACvB,MAAM,gCAAgC,CAAC;AAExC;;;;;GAKG;AACH,MAAM,OAAO,wBAAwB;IACnB,IAAI,GAAG,kBAAkB,CAAC;IAC1C,0EAA0E;IAC1D,aAAa,GAAG,SAAS,CAAC;IAC1B,IAAI,CAAS;IAE7B,YAAY,IAAY;QACtB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IAED;;OAEG;IACH,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,IAAI,CAAC;IACnB,CAAC;IAED;;OAEG;IACH,OAAO,CAAC,SAA4B;QAClC,IAAI,SAAS,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,IAAI,EAAE,CAAC;YAC/B,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,OAAO,IAAI,sBAAsB,CAAC,CAAC,CAAC,CAAC;IACvC,CAAC;CACF"}
@@ -0,0 +1,36 @@
1
+ /**
2
+ * One value a parameterised route path captured from a request path.
3
+ */
4
+ export declare class SimHttpApiPathParameter {
5
+ readonly name: string;
6
+ readonly value: string;
7
+ constructor(name: string, value: string);
8
+ }
9
+ /**
10
+ * The values the matched route captured from the request path.
11
+ *
12
+ * This is a class rather than a record because matching builds it up one
13
+ * segment at a time, and because an empty one has to stay tellable from one
14
+ * with values in it. It becomes a record only at the event boundary, which is
15
+ * the one place a handler reads it.
16
+ */
17
+ export declare class SimHttpApiPathParameters {
18
+ private readonly captured;
19
+ /**
20
+ * Whether nothing was captured, which is what a route of only literal
21
+ * segments produces.
22
+ */
23
+ get isEmpty(): boolean;
24
+ /**
25
+ * Take a captured value, if the segment that offered it captured one.
26
+ *
27
+ * A literal segment captures nothing, so it is allowed to offer nothing
28
+ * rather than every caller having to ask whether there is anything to add.
29
+ */
30
+ add(parameter: SimHttpApiPathParameter | undefined): void;
31
+ /**
32
+ * The captured values as the event's `pathParameters` field holds them.
33
+ */
34
+ toRecord(): Record<string, string>;
35
+ }
36
+ //# sourceMappingURL=sim-http-api-path-parameters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-path-parameters.d.ts","sourceRoot":"","sources":["../../../../../../src/service/apigatewayv2/api/route/path/sim-http-api-path-parameters.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,uBAAuB;IAClC,SAAgB,IAAI,EAAE,MAAM,CAAC;IAC7B,SAAgB,KAAK,EAAE,MAAM,CAAC;IAE9B,YAAY,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAGtC;CACF;AAED;;;;;;;GAOG;AACH,qBAAa,wBAAwB;IACnC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA6B;IAEtD;;;OAGG;IACH,IAAI,OAAO,IAAI,OAAO,CAErB;IAED;;;;;OAKG;IACH,GAAG,CAAC,SAAS,EAAE,uBAAuB,GAAG,SAAS,GAAG,IAAI,CAMxD;IAED;;OAEG;IACH,QAAQ,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAEjC;CACF"}
@@ -0,0 +1,48 @@
1
+ /**
2
+ * One value a parameterised route path captured from a request path.
3
+ */
4
+ export class SimHttpApiPathParameter {
5
+ name;
6
+ value;
7
+ constructor(name, value) {
8
+ this.name = name;
9
+ this.value = value;
10
+ }
11
+ }
12
+ /**
13
+ * The values the matched route captured from the request path.
14
+ *
15
+ * This is a class rather than a record because matching builds it up one
16
+ * segment at a time, and because an empty one has to stay tellable from one
17
+ * with values in it. It becomes a record only at the event boundary, which is
18
+ * the one place a handler reads it.
19
+ */
20
+ export class SimHttpApiPathParameters {
21
+ captured = new Map();
22
+ /**
23
+ * Whether nothing was captured, which is what a route of only literal
24
+ * segments produces.
25
+ */
26
+ get isEmpty() {
27
+ return this.captured.size === 0;
28
+ }
29
+ /**
30
+ * Take a captured value, if the segment that offered it captured one.
31
+ *
32
+ * A literal segment captures nothing, so it is allowed to offer nothing
33
+ * rather than every caller having to ask whether there is anything to add.
34
+ */
35
+ add(parameter) {
36
+ if (parameter === undefined) {
37
+ return;
38
+ }
39
+ this.captured.set(parameter.name, parameter.value);
40
+ }
41
+ /**
42
+ * The captured values as the event's `pathParameters` field holds them.
43
+ */
44
+ toRecord() {
45
+ return Object.fromEntries(this.captured);
46
+ }
47
+ }
48
+ //# sourceMappingURL=sim-http-api-path-parameters.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-path-parameters.js","sourceRoot":"","sources":["../../../../../../src/service/apigatewayv2/api/route/path/sim-http-api-path-parameters.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,OAAO,uBAAuB;IAClB,IAAI,CAAS;IACb,KAAK,CAAS;IAE9B,YAAY,IAAY,EAAE,KAAa;QACrC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;CACF;AAED;;;;;;;GAOG;AACH,MAAM,OAAO,wBAAwB;IAClB,QAAQ,GAAG,IAAI,GAAG,EAAkB,CAAC;IAEtD;;;OAGG;IACH,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,CAAC,CAAC;IAClC,CAAC;IAED;;;;;OAKG;IACH,GAAG,CAAC,SAA8C;QAChD,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;YAC5B,OAAO;QACT,CAAC;QAED,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,EAAE,SAAS,CAAC,KAAK,CAAC,CAAC;IACrD,CAAC;IAED;;OAEG;IACH,QAAQ;QACN,OAAO,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC3C,CAAC;CACF"}