@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,57 @@
1
+ import { SimHttpApiAdmitted, SimHttpApiRefused, } from "../../api/authorizer/sim-http-api-authorization.js";
2
+ import { SimHttpApiExecuteApiArn } from "../../api/sim-http-api-execute-api-arn.js";
3
+ /**
4
+ * The IAM action a request to an `AWS_IAM` route is authorized against.
5
+ *
6
+ * It is the only `execute-api` action evaluated here. The others AWS defines
7
+ * are WebSocket management and REST API cache invalidation, and nothing
8
+ * constrains the action string a policy may name, so a policy is free to grant
9
+ * one of them and nothing will ask about it.
10
+ */
11
+ export const simExecuteApiInvokeAction = "execute-api:Invoke";
12
+ /**
13
+ * Decides whether a caller may have an `AWS_IAM` route.
14
+ *
15
+ * This is the client's own authorization, evaluated against the identity
16
+ * policies of the caller the serving boundary resolved. An HTTP API has no
17
+ * resource policy, so no resource policies are supplied, and the caller's
18
+ * identity policies are the whole decision. That is also why a caller from
19
+ * another Account is always refused: a cross-Account request needs an Allow
20
+ * from each side, and there is nowhere on an HTTP API to put the resource side.
21
+ * The way through, here as on AWS, is to assume a Role in the API's Account.
22
+ */
23
+ export class SimHttpApiIamRouteAuthorizer {
24
+ /**
25
+ * Evaluate `execute-api:Invoke` for the caller against the route being
26
+ * called.
27
+ */
28
+ authorize(input) {
29
+ const decision = input.iam.authorize({
30
+ action: simExecuteApiInvokeAction,
31
+ resource: this.routeArn(input).toString(),
32
+ caller: input.caller.toCaller(),
33
+ });
34
+ if (decision.isDenied) {
35
+ return SimHttpApiRefused.forbidden();
36
+ }
37
+ return new SimHttpApiAdmitted({ caller: input.caller });
38
+ }
39
+ /**
40
+ * The `execute-api` ARN of the request being authorized.
41
+ *
42
+ * An identity policy is written by hand against the request a caller is
43
+ * making, so this names the concrete method and the concrete path, unlike
44
+ * the ARN the integration's invoke permission is matched against. The method
45
+ * is upper-cased because AWS puts a verb there and a policy names one, while
46
+ * a Fetch request may carry a method in any case.
47
+ */
48
+ routeArn(input) {
49
+ const { api, match, request } = input;
50
+ return new SimHttpApiExecuteApiArn({
51
+ api,
52
+ stageName: match.stage.stageName,
53
+ methodAndPath: `${request.method.toUpperCase()}/${match.pathAfterStage}`,
54
+ });
55
+ }
56
+ }
57
+ //# sourceMappingURL=sim-http-api-iam-route-authorizer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-iam-route-authorizer.js","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/serve/auth/sim-http-api-iam-route-authorizer.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAElB,iBAAiB,GAClB,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAGpF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,oBAAoB,CAAC;AAE9D;;;;;;;;;;GAUG;AACH,MAAM,OAAO,4BAA4B;IACvC;;;OAGG;IACH,SAAS,CAAC,KAAoC;QAC5C,MAAM,QAAQ,GAAG,KAAK,CAAC,GAAG,CAAC,SAAS,CAAC;YACnC,MAAM,EAAE,yBAAyB;YACjC,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,QAAQ,EAAE;YACzC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,QAAQ,EAAE;SAChC,CAAC,CAAC;QAEH,IAAI,QAAQ,CAAC,QAAQ,EAAE,CAAC;YACtB,OAAO,iBAAiB,CAAC,SAAS,EAAE,CAAC;QACvC,CAAC;QAED,OAAO,IAAI,kBAAkB,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;IAC1D,CAAC;IAED;;;;;;;;OAQG;IACK,QAAQ,CACd,KAAoC;QAEpC,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;QAEtC,OAAO,IAAI,uBAAuB,CAAC;YACjC,GAAG;YACH,SAAS,EAAE,KAAK,CAAC,KAAK,CAAC,SAAS;YAChC,aAAa,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,IAAI,KAAK,CAAC,cAAc,EAAE;SACzE,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -0,0 +1,42 @@
1
+ import type { SimIamAuthorizationDecision, SimIamInterServiceAuthZ } from "../../../iam/authorize/sim-iam-inter-service-auth-z.js";
2
+ import type { SimLambdaFunction } from "../../../lambda/function/sim-lambda-function.js";
3
+ import type { SimHttpApiExecuteApiArn } from "../../api/sim-http-api-execute-api-arn.js";
4
+ /**
5
+ * The service principal API Gateway invokes a Lambda integration as.
6
+ */
7
+ export declare const simApiGatewayServicePrincipal = "apigateway.amazonaws.com";
8
+ interface SimHttpApiIntegrationAuthorizerProperties {
9
+ readonly iam: SimIamInterServiceAuthZ;
10
+ }
11
+ interface SimHttpApiIntegrationAuthorizationInput {
12
+ readonly simFunction: SimLambdaFunction;
13
+ readonly sourceArn: SimHttpApiExecuteApiArn;
14
+ }
15
+ /**
16
+ * Decides whether an API Gateway integration may invoke its Lambda function.
17
+ *
18
+ * A Lambda proxy integration created through CloudFormation, the CLI or an SDK
19
+ * does not work until the function's resource policy allows
20
+ * `apigateway.amazonaws.com` to invoke it. API Gateway is the caller, so the
21
+ * caller's own identity policies are not what admits the call: a service
22
+ * principal owns none, and the function's resource policy is the whole
23
+ * decision.
24
+ *
25
+ * The answer is a decision rather than a thrown error, because a refusal is an
26
+ * ordinary HTTP outcome: the endpoint answers 500 the way real API Gateway
27
+ * does, with nothing to propagate to a caller in process.
28
+ */
29
+ export declare class SimHttpApiIntegrationAuthorizer {
30
+ private static readonly action;
31
+ private readonly iam;
32
+ constructor(properties: SimHttpApiIntegrationAuthorizerProperties);
33
+ /**
34
+ * Evaluate `lambda:InvokeFunction` for the API against the function.
35
+ *
36
+ * The route the request matched is supplied as `AWS:SourceArn`, so a
37
+ * permission granted for one route does not open another.
38
+ */
39
+ authorize(input: SimHttpApiIntegrationAuthorizationInput): SimIamAuthorizationDecision;
40
+ }
41
+ export {};
42
+ //# sourceMappingURL=sim-http-api-integration-authorizer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-integration-authorizer.d.ts","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/serve/auth/sim-http-api-integration-authorizer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,2BAA2B,EAC3B,uBAAuB,EACxB,MAAM,wDAAwD,CAAC;AAEhE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iDAAiD,CAAC;AACzF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAEzF;;GAEG;AACH,eAAO,MAAM,6BAA6B,6BAA6B,CAAC;AAQxE,UAAU,yCAAyC;IACjD,QAAQ,CAAC,GAAG,EAAE,uBAAuB,CAAC;CACvC;AAED,UAAU,uCAAuC;IAC/C,QAAQ,CAAC,WAAW,EAAE,iBAAiB,CAAC;IACxC,QAAQ,CAAC,SAAS,EAAE,uBAAuB,CAAC;CAC7C;AAED;;;;;;;;;;;;;GAaG;AACH,qBAAa,+BAA+B;IAC1C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAA2B;IAEzD,OAAO,CAAC,QAAQ,CAAC,GAAG,CAA0B;IAE9C,YAAY,UAAU,EAAE,yCAAyC,EAEhE;IAED;;;;;OAKG;IACH,SAAS,CACP,KAAK,EAAE,uCAAuC,GAC7C,2BAA2B,CAU7B;CACF"}
@@ -0,0 +1,49 @@
1
+ import { simLambdaResourcePolicies } from "../../../lambda/command/authorize/sim-lambda-resource-policies.js";
2
+ /**
3
+ * The service principal API Gateway invokes a Lambda integration as.
4
+ */
5
+ export const simApiGatewayServicePrincipal = "apigateway.amazonaws.com";
6
+ /**
7
+ * The condition key the invoking API is supplied under, which is what an
8
+ * `AddPermission` `SourceArn` is written against.
9
+ */
10
+ const sourceArnConditionKey = "AWS:SourceArn";
11
+ /**
12
+ * Decides whether an API Gateway integration may invoke its Lambda function.
13
+ *
14
+ * A Lambda proxy integration created through CloudFormation, the CLI or an SDK
15
+ * does not work until the function's resource policy allows
16
+ * `apigateway.amazonaws.com` to invoke it. API Gateway is the caller, so the
17
+ * caller's own identity policies are not what admits the call: a service
18
+ * principal owns none, and the function's resource policy is the whole
19
+ * decision.
20
+ *
21
+ * The answer is a decision rather than a thrown error, because a refusal is an
22
+ * ordinary HTTP outcome: the endpoint answers 500 the way real API Gateway
23
+ * does, with nothing to propagate to a caller in process.
24
+ */
25
+ export class SimHttpApiIntegrationAuthorizer {
26
+ static action = "lambda:InvokeFunction";
27
+ iam;
28
+ constructor(properties) {
29
+ this.iam = properties.iam;
30
+ }
31
+ /**
32
+ * Evaluate `lambda:InvokeFunction` for the API against the function.
33
+ *
34
+ * The route the request matched is supplied as `AWS:SourceArn`, so a
35
+ * permission granted for one route does not open another.
36
+ */
37
+ authorize(input) {
38
+ return this.iam.authorize({
39
+ action: SimHttpApiIntegrationAuthorizer.action,
40
+ resource: input.simFunction.arn,
41
+ caller: { kind: "service", service: simApiGatewayServicePrincipal },
42
+ resourcePolicies: simLambdaResourcePolicies(input.simFunction),
43
+ conditionContext: {
44
+ [sourceArnConditionKey]: input.sourceArn.toString(),
45
+ },
46
+ });
47
+ }
48
+ }
49
+ //# sourceMappingURL=sim-http-api-integration-authorizer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-integration-authorizer.js","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/serve/auth/sim-http-api-integration-authorizer.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,yBAAyB,EAAE,MAAM,mEAAmE,CAAC;AAI9G;;GAEG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,0BAA0B,CAAC;AAExE;;;GAGG;AACH,MAAM,qBAAqB,GAAG,eAAe,CAAC;AAW9C;;;;;;;;;;;;;GAaG;AACH,MAAM,OAAO,+BAA+B;IAClC,MAAM,CAAU,MAAM,GAAG,uBAAuB,CAAC;IAExC,GAAG,CAA0B;IAE9C,YAAY,UAAqD;QAC/D,IAAI,CAAC,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC;IAC5B,CAAC;IAED;;;;;OAKG;IACH,SAAS,CACP,KAA8C;QAE9C,OAAO,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC;YACxB,MAAM,EAAE,+BAA+B,CAAC,MAAM;YAC9C,QAAQ,EAAE,KAAK,CAAC,WAAW,CAAC,GAAG;YAC/B,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,6BAA6B,EAAE;YACnE,gBAAgB,EAAE,yBAAyB,CAAC,KAAK,CAAC,WAAW,CAAC;YAC9D,gBAAgB,EAAE;gBAChB,CAAC,qBAAqB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,QAAQ,EAAE;aACpD;SACF,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -0,0 +1,27 @@
1
+ import type { SimClock } from "../../../../util/clock/sim-clock.js";
2
+ import { type SimHttpApiAuthorization } from "../../api/authorizer/sim-http-api-authorization.js";
3
+ import type { SimHttpApiRouteAuthorizeInput } from "./sim-http-api-route-authorize-input.js";
4
+ interface SimHttpApiJwtRouteAuthorizerProperties {
5
+ /**
6
+ * Clock the token's time claims are checked against, so advancing simulated
7
+ * time expires a token that was accepted before it.
8
+ */
9
+ readonly clock: SimClock;
10
+ }
11
+ /**
12
+ * Decides whether one request may have a `JWT` route.
13
+ *
14
+ * The token has to verify against the keys its issuer publishes, and the
15
+ * route's scopes have to be met. Every refusal up to and including claim
16
+ * validation is one 401; an unmet scope is the one 403.
17
+ */
18
+ export declare class SimHttpApiJwtRouteAuthorizer {
19
+ private readonly clock;
20
+ constructor(properties: SimHttpApiJwtRouteAuthorizerProperties);
21
+ /**
22
+ * Authorize one request against the `JWT` route that matched it.
23
+ */
24
+ authorize(input: SimHttpApiRouteAuthorizeInput): SimHttpApiAuthorization;
25
+ }
26
+ export {};
27
+ //# sourceMappingURL=sim-http-api-jwt-route-authorizer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-jwt-route-authorizer.d.ts","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/serve/auth/sim-http-api-jwt-route-authorizer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EACL,KAAK,uBAAuB,EAE7B,MAAM,oDAAoD,CAAC;AAE5D,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,yCAAyC,CAAC;AAE7F,UAAU,sCAAsC;IAC9C;;;OAGG;IACH,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC;CAC1B;AAED;;;;;;GAMG;AACH,qBAAa,4BAA4B;IACvC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAW;IAEjC,YAAY,UAAU,EAAE,sCAAsC,EAE7D;IAED;;OAEG;IACH,SAAS,CAAC,KAAK,EAAE,6BAA6B,GAAG,uBAAuB,CAqCvE;CACF"}
@@ -0,0 +1,49 @@
1
+ import { SimHttpApiRefused, } from "../../api/authorizer/sim-http-api-authorization.js";
2
+ import { SimHttpApiJwtVerification } from "../../api/authorizer/sim-http-api-jwt-verification.js";
3
+ /**
4
+ * Decides whether one request may have a `JWT` route.
5
+ *
6
+ * The token has to verify against the keys its issuer publishes, and the
7
+ * route's scopes have to be met. Every refusal up to and including claim
8
+ * validation is one 401; an unmet scope is the one 403.
9
+ */
10
+ export class SimHttpApiJwtRouteAuthorizer {
11
+ clock;
12
+ constructor(properties) {
13
+ this.clock = properties.clock;
14
+ }
15
+ /**
16
+ * Authorize one request against the `JWT` route that matched it.
17
+ */
18
+ authorize(input) {
19
+ const { api, match, request } = input;
20
+ const { route } = match;
21
+ // A JWT route always names an authorizer, and that authorizer can still be
22
+ // deleted out from under it, so the two come to the same thing here: with
23
+ // no authorizer to ask, the route stays closed.
24
+ const authorizer = api.authorizers.find(route.authorizerId ?? "");
25
+ if (authorizer === undefined) {
26
+ return SimHttpApiRefused.unauthorized();
27
+ }
28
+ const presented = authorizer.identitySource.token(request);
29
+ if (presented === undefined) {
30
+ return SimHttpApiRefused.unauthorized();
31
+ }
32
+ const authorization = new SimHttpApiJwtVerification({
33
+ issuerKeys: api.jwtIssuerKeys,
34
+ clock: this.clock,
35
+ }).verify(authorizer, presented);
36
+ if (!authorization.admitted) {
37
+ return authorization;
38
+ }
39
+ // The scopes are the route's own rather than the authorizer's, so one
40
+ // authorizer covers routes asking for different scopes. An unmet scope is
41
+ // the one refusal that is a 403: the token was accepted, and it does not
42
+ // allow this route.
43
+ if (!route.authorizationScopes.permits(authorization.jwt?.scopes ?? null)) {
44
+ return SimHttpApiRefused.forbidden();
45
+ }
46
+ return authorization;
47
+ }
48
+ }
49
+ //# sourceMappingURL=sim-http-api-jwt-route-authorizer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-jwt-route-authorizer.js","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/serve/auth/sim-http-api-jwt-route-authorizer.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,iBAAiB,GAClB,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAAE,yBAAyB,EAAE,MAAM,uDAAuD,CAAC;AAWlG;;;;;;GAMG;AACH,MAAM,OAAO,4BAA4B;IACtB,KAAK,CAAW;IAEjC,YAAY,UAAkD;QAC5D,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;IAChC,CAAC;IAED;;OAEG;IACH,SAAS,CAAC,KAAoC;QAC5C,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;QACtC,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;QAExB,2EAA2E;QAC3E,0EAA0E;QAC1E,gDAAgD;QAChD,MAAM,UAAU,GAAG,GAAG,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,YAAY,IAAI,EAAE,CAAC,CAAC;QAElE,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;YAC7B,OAAO,iBAAiB,CAAC,YAAY,EAAE,CAAC;QAC1C,CAAC;QAED,MAAM,SAAS,GAAG,UAAU,CAAC,cAAc,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QAE3D,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;YAC5B,OAAO,iBAAiB,CAAC,YAAY,EAAE,CAAC;QAC1C,CAAC;QAED,MAAM,aAAa,GAAG,IAAI,yBAAyB,CAAC;YAClD,UAAU,EAAE,GAAG,CAAC,aAAa;YAC7B,KAAK,EAAE,IAAI,CAAC,KAAK;SAClB,CAAC,CAAC,MAAM,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC;QAEjC,IAAI,CAAC,aAAa,CAAC,QAAQ,EAAE,CAAC;YAC5B,OAAO,aAAa,CAAC;QACvB,CAAC;QAED,sEAAsE;QACtE,0EAA0E;QAC1E,yEAAyE;QACzE,oBAAoB;QACpB,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,EAAE,MAAM,IAAI,IAAI,CAAC,EAAE,CAAC;YAC1E,OAAO,iBAAiB,CAAC,SAAS,EAAE,CAAC;QACvC,CAAC;QAED,OAAO,aAAa,CAAC;IACvB,CAAC;CACF"}
@@ -0,0 +1,28 @@
1
+ import type { SimIamInterServiceAuthZ } from "../../../iam/authorize/sim-iam-inter-service-auth-z.js";
2
+ import type { SimAwsRequestCaller } from "../../../iam/request/sim-aws-request-caller.js";
3
+ import type { SimHttpApiMatch } from "../../api/sim-http-api-match.js";
4
+ import type { SimHttpApi } from "../../api/sim-http-api.js";
5
+ /**
6
+ * Everything a route authorization decision is made from.
7
+ *
8
+ * The whole match is carried rather than only the route, because an `AWS_IAM`
9
+ * route is authorized against an ARN naming the stage that served the request
10
+ * and the path it asked for, both of which the match settled.
11
+ */
12
+ export interface SimHttpApiRouteAuthorizeInput {
13
+ readonly api: SimHttpApi;
14
+ readonly match: SimHttpApiMatch;
15
+ readonly request: Request;
16
+ /**
17
+ * The principal the serving boundary attributed the request to, from a
18
+ * signature or from a named caller, and anonymous when it carried neither.
19
+ */
20
+ readonly caller: SimAwsRequestCaller;
21
+ /**
22
+ * IAM of the Account that owns the API, which is what decides an `AWS_IAM`
23
+ * route. It is the API's own rather than the caller's, and rather than the
24
+ * integrated function's.
25
+ */
26
+ readonly iam: SimIamInterServiceAuthZ;
27
+ }
28
+ //# sourceMappingURL=sim-http-api-route-authorize-input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-route-authorize-input.d.ts","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/serve/auth/sim-http-api-route-authorize-input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wDAAwD,CAAC;AACtG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gDAAgD,CAAC;AAC1F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAE5D;;;;;;GAMG;AACH,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,GAAG,EAAE,UAAU,CAAC;IACzB,QAAQ,CAAC,KAAK,EAAE,eAAe,CAAC;IAChC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B;;;OAGG;IACH,QAAQ,CAAC,MAAM,EAAE,mBAAmB,CAAC;IACrC;;;;OAIG;IACH,QAAQ,CAAC,GAAG,EAAE,uBAAuB,CAAC;CACvC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=sim-http-api-route-authorize-input.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-route-authorize-input.js","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/serve/auth/sim-http-api-route-authorize-input.ts"],"names":[],"mappings":""}
@@ -0,0 +1,32 @@
1
+ import type { SimClock } from "../../../../util/clock/sim-clock.js";
2
+ import { type SimHttpApiAuthorization } from "../../api/authorizer/sim-http-api-authorization.js";
3
+ import type { SimHttpApiRouteAuthorizeInput } from "./sim-http-api-route-authorize-input.js";
4
+ interface SimHttpApiRouteAuthorizerProperties {
5
+ /**
6
+ * Clock a JWT route's time claims are checked against, so advancing
7
+ * simulated time expires a token that was accepted before it.
8
+ */
9
+ readonly clock: SimClock;
10
+ }
11
+ /**
12
+ * Decides whether one request may have the route that matched it.
13
+ *
14
+ * This is the client's side of the question, and it runs before the API asks
15
+ * whether it may invoke the integration: a request presenting no credentials
16
+ * is refused whether or not the integration behind the route would have
17
+ * worked.
18
+ *
19
+ * Which kind of authorization the route asks for is settled here, and each
20
+ * kind decides on its own terms.
21
+ */
22
+ export declare class SimHttpApiRouteAuthorizer {
23
+ private readonly jwtAuthorizer;
24
+ private readonly iamAuthorizer;
25
+ constructor(properties: SimHttpApiRouteAuthorizerProperties);
26
+ /**
27
+ * Authorize one request against the route that matched it.
28
+ */
29
+ authorize(input: SimHttpApiRouteAuthorizeInput): SimHttpApiAuthorization;
30
+ }
31
+ export {};
32
+ //# sourceMappingURL=sim-http-api-route-authorizer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-route-authorizer.d.ts","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/serve/auth/sim-http-api-route-authorizer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,oDAAoD,CAAC;AAG5D,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,yCAAyC,CAAC;AAE7F,UAAU,mCAAmC;IAC3C;;;OAGG;IACH,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC;CAC1B;AAED;;;;;;;;;;GAUG;AACH,qBAAa,yBAAyB;IACpC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAA+B;IAC7D,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAsC;IAEpE,YAAY,UAAU,EAAE,mCAAmC,EAI1D;IAED;;OAEG;IACH,SAAS,CAAC,KAAK,EAAE,6BAA6B,GAAG,uBAAuB,CAcvE;CACF"}
@@ -0,0 +1,42 @@
1
+ import { SimHttpApiAdmitted, } from "../../api/authorizer/sim-http-api-authorization.js";
2
+ import { SimHttpApiIamRouteAuthorizer } from "./sim-http-api-iam-route-authorizer.js";
3
+ import { SimHttpApiJwtRouteAuthorizer } from "./sim-http-api-jwt-route-authorizer.js";
4
+ /**
5
+ * Decides whether one request may have the route that matched it.
6
+ *
7
+ * This is the client's side of the question, and it runs before the API asks
8
+ * whether it may invoke the integration: a request presenting no credentials
9
+ * is refused whether or not the integration behind the route would have
10
+ * worked.
11
+ *
12
+ * Which kind of authorization the route asks for is settled here, and each
13
+ * kind decides on its own terms.
14
+ */
15
+ export class SimHttpApiRouteAuthorizer {
16
+ jwtAuthorizer;
17
+ iamAuthorizer = new SimHttpApiIamRouteAuthorizer();
18
+ constructor(properties) {
19
+ this.jwtAuthorizer = new SimHttpApiJwtRouteAuthorizer({
20
+ clock: properties.clock,
21
+ });
22
+ }
23
+ /**
24
+ * Authorize one request against the route that matched it.
25
+ */
26
+ authorize(input) {
27
+ switch (input.match.route.authorizationType) {
28
+ case "NONE": {
29
+ // Nobody was authorized, so there is no caller to describe, which is
30
+ // what leaves requestContext.authorizer out of the event entirely.
31
+ return new SimHttpApiAdmitted();
32
+ }
33
+ case "JWT": {
34
+ return this.jwtAuthorizer.authorize(input);
35
+ }
36
+ case "AWS_IAM": {
37
+ return this.iamAuthorizer.authorize(input);
38
+ }
39
+ }
40
+ }
41
+ }
42
+ //# sourceMappingURL=sim-http-api-route-authorizer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-route-authorizer.js","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/serve/auth/sim-http-api-route-authorizer.ts"],"names":[],"mappings":"AACA,OAAO,EACL,kBAAkB,GAEnB,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AAWtF;;;;;;;;;;GAUG;AACH,MAAM,OAAO,yBAAyB;IACnB,aAAa,CAA+B;IAC5C,aAAa,GAAG,IAAI,4BAA4B,EAAE,CAAC;IAEpE,YAAY,UAA+C;QACzD,IAAI,CAAC,aAAa,GAAG,IAAI,4BAA4B,CAAC;YACpD,KAAK,EAAE,UAAU,CAAC,KAAK;SACxB,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,SAAS,CAAC,KAAoC;QAC5C,QAAQ,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,iBAAiB,EAAE,CAAC;YAC5C,KAAK,MAAM,EAAE,CAAC;gBACZ,qEAAqE;gBACrE,mEAAmE;gBACnE,OAAO,IAAI,kBAAkB,EAAE,CAAC;YAClC,CAAC;YACD,KAAK,KAAK,EAAE,CAAC;gBACX,OAAO,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;YAC7C,CAAC;YACD,KAAK,SAAS,EAAE,CAAC;gBACf,OAAO,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;YAC7C,CAAC;QACH,CAAC;IACH,CAAC;CACF"}
@@ -0,0 +1,44 @@
1
+ import type { SimAwsServiceController, SimAwsServiceRequest } from "../../../serve/controller/sim-service-controller.js";
2
+ import { SimAws } from "../../aws/sim-aws.js";
3
+ import { SimApiGatewayV2Router } from "./sim-api-gateway-v2-router.js";
4
+ interface SimApiGatewayV2ServiceControllerProperties {
5
+ readonly simAws?: SimAws;
6
+ readonly router?: SimApiGatewayV2Router;
7
+ }
8
+ /**
9
+ * Localhost HTTP controller for simulated API Gateway HTTP APIs.
10
+ *
11
+ * A request reaching the generated endpoint is matched to a route, and the
12
+ * route's integration invokes a simulated Lambda function with a payload
13
+ * format 2.0 event. The function runs as its execution Role, as it does for
14
+ * any other invocation.
15
+ *
16
+ * A route that authorizes anybody is checked before any of that: a JWT route's
17
+ * token has to verify and meet the route's scopes, and an `AWS_IAM` route's
18
+ * caller has to be allowed `execute-api:Invoke` on the route, or the request is
19
+ * refused and the function is never invoked. Whether the API may invoke the
20
+ * function is a separate question, and the API's own rather than the client's.
21
+ */
22
+ export declare class SimApiGatewayV2ServiceController implements SimAwsServiceController {
23
+ private readonly router;
24
+ private readonly eventBuilder;
25
+ private readonly routeAuthorizer;
26
+ private readonly responseBuilder;
27
+ private readonly errorResponse;
28
+ constructor(properties?: SimApiGatewayV2ServiceControllerProperties);
29
+ /**
30
+ * Handle an HTTP request routed to a simulated HTTP API.
31
+ */
32
+ handleRequest(serviceRequest: SimAwsServiceRequest): Promise<Response>;
33
+ private invoke;
34
+ /**
35
+ * The response a refused request gets back.
36
+ *
37
+ * A 403 is an unmet route scope, where the token was accepted and does not
38
+ * allow this route, or an `AWS_IAM` route IAM did not allow the caller.
39
+ * Everything else is one 401.
40
+ */
41
+ private refusalResponse;
42
+ }
43
+ export {};
44
+ //# sourceMappingURL=sim-api-gateway-v2-controller.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-api-gateway-v2-controller.d.ts","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/serve/sim-api-gateway-v2-controller.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,oBAAoB,EACrB,MAAM,qDAAqD,CAAC;AAG7D,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAQ9C,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAGvE,UAAU,0CAA0C;IAClD,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,MAAM,CAAC,EAAE,qBAAqB,CAAC;CACzC;AAED;;;;;;;;;;;;;GAaG;AACH,qBAAa,gCAAiC,YAAW,uBAAuB;IAC9E,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAwB;IAC/C,OAAO,CAAC,QAAQ,CAAC,YAAY,CAA0B;IACvD,OAAO,CAAC,QAAQ,CAAC,eAAe,CAA4B;IAC5D,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAoC;IACpE,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAsC;IAEpE,YAAY,UAAU,GAAE,0CAA+C,EAYtE;IAED;;OAEG;IACG,aAAa,CAAC,cAAc,EAAE,oBAAoB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAc3E;YAEa,MAAM;IA4EpB;;;;;;OAMG;IACH,OAAO,CAAC,eAAe;CAOxB"}
@@ -0,0 +1,131 @@
1
+ import { SimPayload2EventBuilder } from "../../../serve/payload-2/sim-payload-2-event-builder.js";
2
+ import { SimPayload2ResponseBuilder } from "../../../serve/payload-2/sim-payload-2-response-builder.js";
3
+ import { SimAws } from "../../aws/sim-aws.js";
4
+ import { SimHttpApiExecuteApiArn } from "../api/sim-http-api-execute-api-arn.js";
5
+ import { SimHttpApiRequest } from "../api/sim-http-api-request.js";
6
+ import { SimHttpApiIntegrationAuthorizer } from "./auth/sim-http-api-integration-authorizer.js";
7
+ import { SimHttpApiRouteAuthorizer } from "./auth/sim-http-api-route-authorizer.js";
8
+ import { SimApiGatewayV2ErrorResponse } from "./sim-api-gateway-v2-error-response.js";
9
+ import { SimApiGatewayV2Router } from "./sim-api-gateway-v2-router.js";
10
+ import { simHttpApiEndpoint } from "./sim-http-api-endpoint.js";
11
+ /**
12
+ * Localhost HTTP controller for simulated API Gateway HTTP APIs.
13
+ *
14
+ * A request reaching the generated endpoint is matched to a route, and the
15
+ * route's integration invokes a simulated Lambda function with a payload
16
+ * format 2.0 event. The function runs as its execution Role, as it does for
17
+ * any other invocation.
18
+ *
19
+ * A route that authorizes anybody is checked before any of that: a JWT route's
20
+ * token has to verify and meet the route's scopes, and an `AWS_IAM` route's
21
+ * caller has to be allowed `execute-api:Invoke` on the route, or the request is
22
+ * refused and the function is never invoked. Whether the API may invoke the
23
+ * function is a separate question, and the API's own rather than the client's.
24
+ */
25
+ export class SimApiGatewayV2ServiceController {
26
+ router;
27
+ eventBuilder;
28
+ routeAuthorizer;
29
+ responseBuilder = new SimPayload2ResponseBuilder();
30
+ errorResponse = new SimApiGatewayV2ErrorResponse();
31
+ constructor(properties = {}) {
32
+ const { simAws = new SimAws() } = properties;
33
+ this.router = properties.router ?? new SimApiGatewayV2Router({ simAws });
34
+ // Taken from the router rather than from properties, so a supplied router,
35
+ // the event timestamps and the token expiry checks all belong to the same
36
+ // simulation.
37
+ this.eventBuilder = new SimPayload2EventBuilder({
38
+ clock: this.router.simAws,
39
+ });
40
+ this.routeAuthorizer = new SimHttpApiRouteAuthorizer({
41
+ clock: this.router.simAws,
42
+ });
43
+ }
44
+ /**
45
+ * Handle an HTTP request routed to a simulated HTTP API.
46
+ */
47
+ async handleRequest(serviceRequest) {
48
+ const httpApi = this.router.route(serviceRequest.target);
49
+ if (httpApi === undefined) {
50
+ return this.errorResponse.notFound();
51
+ }
52
+ if (httpApi.disableExecuteApiEndpoint) {
53
+ // The API exists but has switched its generated endpoint off, which is
54
+ // how an API reachable only through a custom domain is configured.
55
+ return this.errorResponse.forbidden();
56
+ }
57
+ return await this.invoke(httpApi, serviceRequest);
58
+ }
59
+ async invoke(api, serviceRequest) {
60
+ const { request } = serviceRequest;
61
+ // The whole request path, stage segment and all: the stage takes its own
62
+ // segment off, and `rawPath` reports the path as the client sent it.
63
+ const match = api.match(new SimHttpApiRequest({
64
+ method: request.method,
65
+ path: new URL(request.url).pathname,
66
+ }));
67
+ if (match === undefined) {
68
+ return this.errorResponse.notFound();
69
+ }
70
+ // The client's own authorization comes first: a request with no
71
+ // credentials is refused whether or not the integration behind the route
72
+ // would work.
73
+ const authorization = this.routeAuthorizer.authorize({
74
+ api,
75
+ match,
76
+ request,
77
+ caller: serviceRequest.caller,
78
+ iam: this.router.iamFor(api),
79
+ });
80
+ if (!authorization.admitted) {
81
+ return this.refusalResponse(authorization);
82
+ }
83
+ const target = this.router.targetFor(match.integration);
84
+ if (target === undefined) {
85
+ // The integration names a function that is not there, which real API
86
+ // Gateway discovers the same way: only when it tries to invoke it.
87
+ return this.errorResponse.internalServerError();
88
+ }
89
+ const decision = new SimHttpApiIntegrationAuthorizer({
90
+ iam: target.iam,
91
+ }).authorize({
92
+ simFunction: target.simFunction,
93
+ sourceArn: new SimHttpApiExecuteApiArn({
94
+ api,
95
+ stageName: match.stage.stageName,
96
+ methodAndPath: match.route.key.methodAndPath(request.method),
97
+ }),
98
+ });
99
+ if (decision.isDenied) {
100
+ // Real API Gateway answers a missing invoke permission with a 500 and
101
+ // never invokes the function, which is the same answer as an integration
102
+ // that failed. The refusal is only visible in the API's own logs.
103
+ return this.errorResponse.internalServerError();
104
+ }
105
+ try {
106
+ const event = await this.eventBuilder.build(request, simHttpApiEndpoint(api, match), { jwt: authorization.jwt, caller: authorization.caller });
107
+ return this.responseBuilder.build(await target.simFunction.invoke(event));
108
+ }
109
+ catch {
110
+ // Real API Gateway reports an unhandled integration error as a 500, with
111
+ // the error itself only visible in the function's logs. Reading the
112
+ // request body can fail the same way, so building the event is inside
113
+ // this too.
114
+ return this.errorResponse.internalServerError();
115
+ }
116
+ }
117
+ /**
118
+ * The response a refused request gets back.
119
+ *
120
+ * A 403 is an unmet route scope, where the token was accepted and does not
121
+ * allow this route, or an `AWS_IAM` route IAM did not allow the caller.
122
+ * Everything else is one 401.
123
+ */
124
+ refusalResponse(refused) {
125
+ if (refused.kind === "forbidden") {
126
+ return this.errorResponse.forbidden();
127
+ }
128
+ return this.errorResponse.unauthorized(refused.errorDescription);
129
+ }
130
+ }
131
+ //# sourceMappingURL=sim-api-gateway-v2-controller.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-api-gateway-v2-controller.js","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/serve/sim-api-gateway-v2-controller.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,uBAAuB,EAAE,MAAM,yDAAyD,CAAC;AAClG,OAAO,EAAE,0BAA0B,EAAE,MAAM,4DAA4D,CAAC;AACxG,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAEnE,OAAO,EAAE,+BAA+B,EAAE,MAAM,+CAA+C,CAAC;AAChG,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAOhE;;;;;;;;;;;;;GAaG;AACH,MAAM,OAAO,gCAAgC;IAC1B,MAAM,CAAwB;IAC9B,YAAY,CAA0B;IACtC,eAAe,CAA4B;IAC3C,eAAe,GAAG,IAAI,0BAA0B,EAAE,CAAC;IACnD,aAAa,GAAG,IAAI,4BAA4B,EAAE,CAAC;IAEpE,YAAY,UAAU,GAA+C,EAAE;QACrE,MAAM,EAAE,MAAM,GAAG,IAAI,MAAM,EAAE,EAAE,GAAG,UAAU,CAAC;QAC7C,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,IAAI,IAAI,qBAAqB,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC;QACzE,2EAA2E;QAC3E,0EAA0E;QAC1E,cAAc;QACd,IAAI,CAAC,YAAY,GAAG,IAAI,uBAAuB,CAAC;YAC9C,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM;SAC1B,CAAC,CAAC;QACH,IAAI,CAAC,eAAe,GAAG,IAAI,yBAAyB,CAAC;YACnD,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM;SAC1B,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,aAAa,CAAC,cAAoC;QACtD,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;QAEzD,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;YAC1B,OAAO,IAAI,CAAC,aAAa,CAAC,QAAQ,EAAE,CAAC;QACvC,CAAC;QAED,IAAI,OAAO,CAAC,yBAAyB,EAAE,CAAC;YACtC,uEAAuE;YACvE,mEAAmE;YACnE,OAAO,IAAI,CAAC,aAAa,CAAC,SAAS,EAAE,CAAC;QACxC,CAAC;QAED,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC;IACpD,CAAC;IAEO,KAAK,CAAC,MAAM,CAClB,GAAe,EACf,cAAoC;QAEpC,MAAM,EAAE,OAAO,EAAE,GAAG,cAAc,CAAC;QACnC,yEAAyE;QACzE,qEAAqE;QACrE,MAAM,KAAK,GAAG,GAAG,CAAC,KAAK,CACrB,IAAI,iBAAiB,CAAC;YACpB,MAAM,EAAE,OAAO,CAAC,MAAM;YACtB,IAAI,EAAE,IAAI,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,QAAQ;SACpC,CAAC,CACH,CAAC;QAEF,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,OAAO,IAAI,CAAC,aAAa,CAAC,QAAQ,EAAE,CAAC;QACvC,CAAC;QAED,gEAAgE;QAChE,yEAAyE;QACzE,cAAc;QACd,MAAM,aAAa,GAAG,IAAI,CAAC,eAAe,CAAC,SAAS,CAAC;YACnD,GAAG;YACH,KAAK;YACL,OAAO;YACP,MAAM,EAAE,cAAc,CAAC,MAAM;YAC7B,GAAG,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC;SAC7B,CAAC,CAAC;QAEH,IAAI,CAAC,aAAa,CAAC,QAAQ,EAAE,CAAC;YAC5B,OAAO,IAAI,CAAC,eAAe,CAAC,aAAa,CAAC,CAAC;QAC7C,CAAC;QAED,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;QAExD,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACzB,qEAAqE;YACrE,mEAAmE;YACnE,OAAO,IAAI,CAAC,aAAa,CAAC,mBAAmB,EAAE,CAAC;QAClD,CAAC;QAED,MAAM,QAAQ,GAAG,IAAI,+BAA+B,CAAC;YACnD,GAAG,EAAE,MAAM,CAAC,GAAG;SAChB,CAAC,CAAC,SAAS,CAAC;YACX,WAAW,EAAE,MAAM,CAAC,WAAW;YAC/B,SAAS,EAAE,IAAI,uBAAuB,CAAC;gBACrC,GAAG;gBACH,SAAS,EAAE,KAAK,CAAC,KAAK,CAAC,SAAS;gBAChC,aAAa,EAAE,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,aAAa,CAAC,OAAO,CAAC,MAAM,CAAC;aAC7D,CAAC;SACH,CAAC,CAAC;QAEH,IAAI,QAAQ,CAAC,QAAQ,EAAE,CAAC;YACtB,sEAAsE;YACtE,yEAAyE;YACzE,kEAAkE;YAClE,OAAO,IAAI,CAAC,aAAa,CAAC,mBAAmB,EAAE,CAAC;QAClD,CAAC;QAED,IAAI,CAAC;YACH,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,KAAK,CACzC,OAAO,EACP,kBAAkB,CAAC,GAAG,EAAE,KAAK,CAAC,EAC9B,EAAE,GAAG,EAAE,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,aAAa,CAAC,MAAM,EAAE,CACzD,CAAC;YAEF,OAAO,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,MAAM,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;QAC5E,CAAC;QAAC,MAAM,CAAC;YACP,yEAAyE;YACzE,oEAAoE;YACpE,sEAAsE;YACtE,YAAY;YACZ,OAAO,IAAI,CAAC,aAAa,CAAC,mBAAmB,EAAE,CAAC;QAClD,CAAC;IACH,CAAC;IAED;;;;;;OAMG;IACK,eAAe,CAAC,OAA0B;QAChD,IAAI,OAAO,CAAC,IAAI,KAAK,WAAW,EAAE,CAAC;YACjC,OAAO,IAAI,CAAC,aAAa,CAAC,SAAS,EAAE,CAAC;QACxC,CAAC;QAED,OAAO,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;IACnE,CAAC;CACF"}
@@ -0,0 +1,52 @@
1
+ /**
2
+ * The error responses an HTTP API endpoint returns itself, before or instead
3
+ * of an integration producing one.
4
+ *
5
+ * Real API Gateway answers these with a small JSON document rather than the
6
+ * handler's output. The field is lower-case `message`, which is what an HTTP
7
+ * API uses; a Lambda Function URL uses `Message` for the same thing, so the
8
+ * two are not interchangeable and client code reading one of them sees here
9
+ * what it would see on AWS.
10
+ */
11
+ export declare class SimApiGatewayV2ErrorResponse {
12
+ /**
13
+ * The route's authorizer did not accept the request.
14
+ *
15
+ * Everything from a missing token to a claim that does not hold answers this
16
+ * one status and body, so a client learns that its token was not accepted
17
+ * and nothing about which check it failed. The `www-authenticate` header
18
+ * names the scheme, and carries a description only for the one case AWS
19
+ * publishes one for.
20
+ */
21
+ unauthorized(errorDescription?: string): Response;
22
+ /**
23
+ * Nothing at this API serves the request: no such API, or no route, or no
24
+ * stage to serve it from.
25
+ */
26
+ notFound(): Response;
27
+ /**
28
+ * The API's generated endpoint is switched off, the route asks for a scope
29
+ * the accepted token does not claim, or IAM denied the caller
30
+ * `execute-api:Invoke` on the `AWS_IAM` route being called.
31
+ *
32
+ * AWS publishes neither the status nor the body for any of these, so both
33
+ * are what the endpoint was observed to answer rather than something
34
+ * documented.
35
+ */
36
+ forbidden(): Response;
37
+ /**
38
+ * The integration failed to handle the request.
39
+ */
40
+ internalServerError(): Response;
41
+ /**
42
+ * The `www-authenticate` value a refused token gets back.
43
+ *
44
+ * Only the description AWS publishes is ever sent, and every other refusal
45
+ * names the scheme and nothing else, rather than inventing wording. AWS does
46
+ * not publish how it lays the parameters out around that description, so
47
+ * they are comma-separated as RFC 6750 writes them.
48
+ */
49
+ private bearerChallenge;
50
+ private jsonResponse;
51
+ }
52
+ //# sourceMappingURL=sim-api-gateway-v2-error-response.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-api-gateway-v2-error-response.d.ts","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/serve/sim-api-gateway-v2-error-response.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,qBAAa,4BAA4B;IACvC;;;;;;;;OAQG;IACH,YAAY,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,QAAQ,CAIhD;IAED;;;OAGG;IACH,QAAQ,IAAI,QAAQ,CAEnB;IAED;;;;;;;;OAQG;IACH,SAAS,IAAI,QAAQ,CAEpB;IAED;;OAEG;IACH,mBAAmB,IAAI,QAAQ,CAE9B;IAED;;;;;;;OAOG;IACH,OAAO,CAAC,eAAe;IAQvB,OAAO,CAAC,YAAY;CAarB"}