@kensio/yulin 0.45.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 (1044) 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/dynamodb/cfn/table/sim-cfn-dynamodb-indexed-table-resource.factory.d.ts +37 -0
  667. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-indexed-table-resource.factory.d.ts.map +1 -0
  668. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-indexed-table-resource.factory.js +63 -0
  669. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-indexed-table-resource.factory.js.map +1 -0
  670. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-creator.d.ts.map +1 -1
  671. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-creator.js +2 -0
  672. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-creator.js.map +1 -1
  673. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-index-rules.d.ts +32 -0
  674. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-index-rules.d.ts.map +1 -0
  675. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-index-rules.js +100 -0
  676. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-index-rules.js.map +1 -0
  677. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-indexes.d.ts +22 -0
  678. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-indexes.d.ts.map +1 -0
  679. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-indexes.js +55 -0
  680. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-indexes.js.map +1 -0
  681. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-key-schema.d.ts +11 -0
  682. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-key-schema.d.ts.map +1 -0
  683. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-key-schema.js +16 -0
  684. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-key-schema.js.map +1 -0
  685. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-properties.d.ts +9 -1
  686. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-properties.d.ts.map +1 -1
  687. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-properties.js +20 -17
  688. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-properties.js.map +1 -1
  689. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-property-error.d.ts +21 -0
  690. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-property-error.d.ts.map +1 -0
  691. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-property-error.js +28 -0
  692. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-property-error.js.map +1 -0
  693. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-property-rules.d.ts +8 -20
  694. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-property-rules.d.ts.map +1 -1
  695. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-property-rules.js +19 -32
  696. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-property-rules.js.map +1 -1
  697. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-throughput.d.ts +11 -0
  698. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-throughput.d.ts.map +1 -0
  699. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-throughput.js +18 -0
  700. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-throughput.js.map +1 -0
  701. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-values.d.ts +17 -4
  702. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-values.d.ts.map +1 -1
  703. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-values.js +45 -16
  704. package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-values.js.map +1 -1
  705. package/dist/service/dynamodb/command/item/sim-dynamodb-item-page.d.ts +6 -4
  706. package/dist/service/dynamodb/command/item/sim-dynamodb-item-page.d.ts.map +1 -1
  707. package/dist/service/dynamodb/command/item/sim-dynamodb-item-page.js +7 -6
  708. package/dist/service/dynamodb/command/item/sim-dynamodb-item-page.js.map +1 -1
  709. package/dist/service/dynamodb/command/query/sim-dynamodb-query-start-key.d.ts +2 -2
  710. package/dist/service/dynamodb/command/query/sim-dynamodb-query-start-key.d.ts.map +1 -1
  711. package/dist/service/dynamodb/command/query/sim-dynamodb-query-start-key.js +8 -7
  712. package/dist/service/dynamodb/command/query/sim-dynamodb-query-start-key.js.map +1 -1
  713. package/dist/service/dynamodb/command/query/sim-dynamodb-query.d.ts.map +1 -1
  714. package/dist/service/dynamodb/command/query/sim-dynamodb-query.js +18 -6
  715. package/dist/service/dynamodb/command/query/sim-dynamodb-query.js.map +1 -1
  716. package/dist/service/dynamodb/command/query/sim-dynamodb-unsimulated-query-input.d.ts.map +1 -1
  717. package/dist/service/dynamodb/command/query/sim-dynamodb-unsimulated-query-input.js +0 -1
  718. package/dist/service/dynamodb/command/query/sim-dynamodb-unsimulated-query-input.js.map +1 -1
  719. package/dist/service/dynamodb/command/read/sim-dynamodb-consistent-read.d.ts +20 -0
  720. package/dist/service/dynamodb/command/read/sim-dynamodb-consistent-read.d.ts.map +1 -0
  721. package/dist/service/dynamodb/command/read/sim-dynamodb-consistent-read.js +20 -0
  722. package/dist/service/dynamodb/command/read/sim-dynamodb-consistent-read.js.map +1 -0
  723. package/dist/service/dynamodb/command/read/sim-dynamodb-read-answer.d.ts +12 -0
  724. package/dist/service/dynamodb/command/read/sim-dynamodb-read-answer.d.ts.map +1 -1
  725. package/dist/service/dynamodb/command/read/sim-dynamodb-read-answer.js +19 -1
  726. package/dist/service/dynamodb/command/read/sim-dynamodb-read-answer.js.map +1 -1
  727. package/dist/service/dynamodb/command/read/sim-dynamodb-select.d.ts +18 -0
  728. package/dist/service/dynamodb/command/read/sim-dynamodb-select.d.ts.map +1 -1
  729. package/dist/service/dynamodb/command/read/sim-dynamodb-select.js +35 -5
  730. package/dist/service/dynamodb/command/read/sim-dynamodb-select.js.map +1 -1
  731. package/dist/service/dynamodb/command/scan/sim-dynamodb-scan-start-key.d.ts +2 -2
  732. package/dist/service/dynamodb/command/scan/sim-dynamodb-scan-start-key.d.ts.map +1 -1
  733. package/dist/service/dynamodb/command/scan/sim-dynamodb-scan-start-key.js +3 -3
  734. package/dist/service/dynamodb/command/scan/sim-dynamodb-scan-start-key.js.map +1 -1
  735. package/dist/service/dynamodb/command/scan/sim-dynamodb-scan.d.ts.map +1 -1
  736. package/dist/service/dynamodb/command/scan/sim-dynamodb-scan.js +13 -5
  737. package/dist/service/dynamodb/command/scan/sim-dynamodb-scan.js.map +1 -1
  738. package/dist/service/dynamodb/command/scan/sim-dynamodb-unsimulated-scan-input.d.ts.map +1 -1
  739. package/dist/service/dynamodb/command/scan/sim-dynamodb-unsimulated-scan-input.js +0 -1
  740. package/dist/service/dynamodb/command/scan/sim-dynamodb-unsimulated-scan-input.js.map +1 -1
  741. package/dist/service/dynamodb/command/sim-dynamodb-command-handlers.d.ts +2 -0
  742. package/dist/service/dynamodb/command/sim-dynamodb-command-handlers.d.ts.map +1 -1
  743. package/dist/service/dynamodb/command/sim-dynamodb-command-handlers.js +3 -0
  744. package/dist/service/dynamodb/command/sim-dynamodb-command-handlers.js.map +1 -1
  745. package/dist/service/dynamodb/command/sim-dynamodb-command.types.d.ts +1 -1
  746. package/dist/service/dynamodb/command/sim-dynamodb-command.types.d.ts.map +1 -1
  747. package/dist/service/dynamodb/command/table/sim-dynamodb-create-table.d.ts.map +1 -1
  748. package/dist/service/dynamodb/command/table/sim-dynamodb-create-table.js +6 -2
  749. package/dist/service/dynamodb/command/table/sim-dynamodb-create-table.js.map +1 -1
  750. package/dist/service/dynamodb/command/table/sim-dynamodb-unsimulated-table-input.d.ts +6 -6
  751. package/dist/service/dynamodb/command/table/sim-dynamodb-unsimulated-table-input.d.ts.map +1 -1
  752. package/dist/service/dynamodb/command/table/sim-dynamodb-unsimulated-table-input.js +6 -19
  753. package/dist/service/dynamodb/command/table/sim-dynamodb-unsimulated-table-input.js.map +1 -1
  754. package/dist/service/dynamodb/command/table/sim-dynamodb-unsimulated-update-input.d.ts +15 -0
  755. package/dist/service/dynamodb/command/table/sim-dynamodb-unsimulated-update-input.d.ts.map +1 -0
  756. package/dist/service/dynamodb/command/table/sim-dynamodb-unsimulated-update-input.js +50 -0
  757. package/dist/service/dynamodb/command/table/sim-dynamodb-unsimulated-update-input.js.map +1 -0
  758. package/dist/service/dynamodb/command/table/sim-dynamodb-update-table.d.ts +38 -0
  759. package/dist/service/dynamodb/command/table/sim-dynamodb-update-table.d.ts.map +1 -0
  760. package/dist/service/dynamodb/command/table/sim-dynamodb-update-table.js +39 -0
  761. package/dist/service/dynamodb/command/table/sim-dynamodb-update-table.js.map +1 -0
  762. package/dist/service/dynamodb/command/table/table.command.d.ts +36 -1
  763. package/dist/service/dynamodb/command/table/table.command.d.ts.map +1 -1
  764. package/dist/service/dynamodb/command/table/table.types.d.ts +54 -0
  765. package/dist/service/dynamodb/command/table/table.types.d.ts.map +1 -1
  766. package/dist/service/dynamodb/command/time-to-live/sim-dynamodb-time-to-live-commands.js +3 -3
  767. package/dist/service/dynamodb/command/time-to-live/sim-dynamodb-time-to-live-commands.js.map +1 -1
  768. package/dist/service/dynamodb/document/sim-dynamodb-document-route.d.ts +1 -1
  769. package/dist/service/dynamodb/document/sim-dynamodb-document-route.d.ts.map +1 -1
  770. package/dist/service/dynamodb/document/sim-dynamodb-document-routes.d.ts.map +1 -1
  771. package/dist/service/dynamodb/document/sim-dynamodb-document-routes.js.map +1 -1
  772. package/dist/service/dynamodb/expression/filter/sim-dynamodb-filter.d.ts +11 -1
  773. package/dist/service/dynamodb/expression/filter/sim-dynamodb-filter.d.ts.map +1 -1
  774. package/dist/service/dynamodb/expression/filter/sim-dynamodb-filter.js +12 -1
  775. package/dist/service/dynamodb/expression/filter/sim-dynamodb-filter.js.map +1 -1
  776. package/dist/service/dynamodb/sdk/sim-dynamodb-sdk-command-router.d.ts.map +1 -1
  777. package/dist/service/dynamodb/sdk/sim-dynamodb-sdk-command-router.js +4 -0
  778. package/dist/service/dynamodb/sdk/sim-dynamodb-sdk-command-router.js.map +1 -1
  779. package/dist/service/dynamodb/secondary-index/sim-dynamodb-fetched-index-attributes.d.ts +35 -0
  780. package/dist/service/dynamodb/secondary-index/sim-dynamodb-fetched-index-attributes.d.ts.map +1 -0
  781. package/dist/service/dynamodb/secondary-index/sim-dynamodb-fetched-index-attributes.js +42 -0
  782. package/dist/service/dynamodb/secondary-index/sim-dynamodb-fetched-index-attributes.js.map +1 -0
  783. package/dist/service/dynamodb/secondary-index/sim-dynamodb-global-secondary-index.d.ts +43 -11
  784. package/dist/service/dynamodb/secondary-index/sim-dynamodb-global-secondary-index.d.ts.map +1 -1
  785. package/dist/service/dynamodb/secondary-index/sim-dynamodb-global-secondary-index.js +65 -2
  786. package/dist/service/dynamodb/secondary-index/sim-dynamodb-global-secondary-index.js.map +1 -1
  787. package/dist/service/dynamodb/secondary-index/sim-dynamodb-global-secondary-indexes.d.ts +39 -14
  788. package/dist/service/dynamodb/secondary-index/sim-dynamodb-global-secondary-indexes.d.ts.map +1 -1
  789. package/dist/service/dynamodb/secondary-index/sim-dynamodb-global-secondary-indexes.js +61 -61
  790. package/dist/service/dynamodb/secondary-index/sim-dynamodb-global-secondary-indexes.js.map +1 -1
  791. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-attributes.d.ts +44 -0
  792. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-attributes.d.ts.map +1 -0
  793. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-attributes.js +2 -0
  794. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-attributes.js.map +1 -0
  795. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-keys.d.ts +58 -0
  796. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-keys.d.ts.map +1 -0
  797. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-keys.js +77 -0
  798. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-keys.js.map +1 -0
  799. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-lifecycle.d.ts +55 -0
  800. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-lifecycle.d.ts.map +1 -0
  801. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-lifecycle.js +71 -0
  802. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-lifecycle.js.map +1 -0
  803. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-limits.d.ts +50 -0
  804. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-limits.d.ts.map +1 -0
  805. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-limits.js +82 -0
  806. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-limits.js.map +1 -0
  807. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-lookup.d.ts +13 -0
  808. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-lookup.d.ts.map +1 -0
  809. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-lookup.js +19 -0
  810. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-lookup.js.map +1 -0
  811. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-projection-input.d.ts +17 -0
  812. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-projection-input.d.ts.map +1 -0
  813. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-projection-input.js +17 -0
  814. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-projection-input.js.map +1 -0
  815. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-projection.d.ts +15 -0
  816. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-projection.d.ts.map +1 -1
  817. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-projection.js +21 -0
  818. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-projection.js.map +1 -1
  819. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-status.d.ts +6 -7
  820. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-status.d.ts.map +1 -1
  821. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-status.js +7 -11
  822. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-status.js.map +1 -1
  823. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-view.d.ts +76 -0
  824. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-view.d.ts.map +1 -0
  825. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-view.js +107 -0
  826. package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-view.js.map +1 -0
  827. package/dist/service/dynamodb/secondary-index/sim-dynamodb-indexed-orders.d.ts +12 -0
  828. package/dist/service/dynamodb/secondary-index/sim-dynamodb-indexed-orders.d.ts.map +1 -0
  829. package/dist/service/dynamodb/secondary-index/sim-dynamodb-indexed-orders.js +42 -0
  830. package/dist/service/dynamodb/secondary-index/sim-dynamodb-indexed-orders.js.map +1 -0
  831. package/dist/service/dynamodb/secondary-index/sim-dynamodb-indexed-table.factory.d.ts +35 -0
  832. package/dist/service/dynamodb/secondary-index/sim-dynamodb-indexed-table.factory.d.ts.map +1 -0
  833. package/dist/service/dynamodb/secondary-index/sim-dynamodb-indexed-table.factory.js +59 -0
  834. package/dist/service/dynamodb/secondary-index/sim-dynamodb-indexed-table.factory.js.map +1 -0
  835. package/dist/service/dynamodb/secondary-index/sim-dynamodb-local-index-key-schema.d.ts +21 -0
  836. package/dist/service/dynamodb/secondary-index/sim-dynamodb-local-index-key-schema.d.ts.map +1 -0
  837. package/dist/service/dynamodb/secondary-index/sim-dynamodb-local-index-key-schema.js +47 -0
  838. package/dist/service/dynamodb/secondary-index/sim-dynamodb-local-index-key-schema.js.map +1 -0
  839. package/dist/service/dynamodb/secondary-index/sim-dynamodb-local-index-throughput.d.ts +11 -0
  840. package/dist/service/dynamodb/secondary-index/sim-dynamodb-local-index-throughput.d.ts.map +1 -0
  841. package/dist/service/dynamodb/secondary-index/sim-dynamodb-local-index-throughput.js +29 -0
  842. package/dist/service/dynamodb/secondary-index/sim-dynamodb-local-index-throughput.js.map +1 -0
  843. package/dist/service/dynamodb/secondary-index/sim-dynamodb-local-secondary-index.d.ts +65 -0
  844. package/dist/service/dynamodb/secondary-index/sim-dynamodb-local-secondary-index.d.ts.map +1 -0
  845. package/dist/service/dynamodb/secondary-index/sim-dynamodb-local-secondary-index.js +106 -0
  846. package/dist/service/dynamodb/secondary-index/sim-dynamodb-local-secondary-index.js.map +1 -0
  847. package/dist/service/dynamodb/secondary-index/sim-dynamodb-local-secondary-indexes.d.ts +31 -0
  848. package/dist/service/dynamodb/secondary-index/sim-dynamodb-local-secondary-indexes.d.ts.map +1 -0
  849. package/dist/service/dynamodb/secondary-index/sim-dynamodb-local-secondary-indexes.js +47 -0
  850. package/dist/service/dynamodb/secondary-index/sim-dynamodb-local-secondary-indexes.js.map +1 -0
  851. package/dist/service/dynamodb/secondary-index/sim-dynamodb-locally-indexed-orders.d.ts +6 -0
  852. package/dist/service/dynamodb/secondary-index/sim-dynamodb-locally-indexed-orders.d.ts.map +1 -0
  853. package/dist/service/dynamodb/secondary-index/sim-dynamodb-locally-indexed-orders.js +40 -0
  854. package/dist/service/dynamodb/secondary-index/sim-dynamodb-locally-indexed-orders.js.map +1 -0
  855. package/dist/service/dynamodb/secondary-index/sim-dynamodb-locally-indexed-table.factory.d.ts +34 -0
  856. package/dist/service/dynamodb/secondary-index/sim-dynamodb-locally-indexed-table.factory.d.ts.map +1 -0
  857. package/dist/service/dynamodb/secondary-index/sim-dynamodb-locally-indexed-table.factory.js +61 -0
  858. package/dist/service/dynamodb/secondary-index/sim-dynamodb-locally-indexed-table.factory.js.map +1 -0
  859. package/dist/service/dynamodb/secondary-index/sim-dynamodb-projected-index-attributes.d.ts +38 -0
  860. package/dist/service/dynamodb/secondary-index/sim-dynamodb-projected-index-attributes.d.ts.map +1 -0
  861. package/dist/service/dynamodb/secondary-index/sim-dynamodb-projected-index-attributes.js +74 -0
  862. package/dist/service/dynamodb/secondary-index/sim-dynamodb-projected-index-attributes.js.map +1 -0
  863. package/dist/service/dynamodb/secondary-index/sim-dynamodb-secondary-index.d.ts +54 -0
  864. package/dist/service/dynamodb/secondary-index/sim-dynamodb-secondary-index.d.ts.map +1 -0
  865. package/dist/service/dynamodb/secondary-index/sim-dynamodb-secondary-index.js +2 -0
  866. package/dist/service/dynamodb/secondary-index/sim-dynamodb-secondary-index.js.map +1 -0
  867. package/dist/service/dynamodb/secondary-index/sim-dynamodb-secondary-indexes.d.ts +59 -0
  868. package/dist/service/dynamodb/secondary-index/sim-dynamodb-secondary-indexes.d.ts.map +1 -0
  869. package/dist/service/dynamodb/secondary-index/sim-dynamodb-secondary-indexes.js +77 -0
  870. package/dist/service/dynamodb/secondary-index/sim-dynamodb-secondary-indexes.js.map +1 -0
  871. package/dist/service/dynamodb/sim-dynamodb.d.ts +6 -14
  872. package/dist/service/dynamodb/sim-dynamodb.d.ts.map +1 -1
  873. package/dist/service/dynamodb/sim-dynamodb.js +8 -1
  874. package/dist/service/dynamodb/sim-dynamodb.js.map +1 -1
  875. package/dist/service/dynamodb/sim-dynamodb.types.d.ts +26 -0
  876. package/dist/service/dynamodb/sim-dynamodb.types.d.ts.map +1 -0
  877. package/dist/service/dynamodb/sim-dynamodb.types.js +2 -0
  878. package/dist/service/dynamodb/sim-dynamodb.types.js.map +1 -0
  879. package/dist/service/dynamodb/table/sim-dynamodb-attribute-definition.d.ts +14 -0
  880. package/dist/service/dynamodb/table/sim-dynamodb-attribute-definition.d.ts.map +1 -0
  881. package/dist/service/dynamodb/table/sim-dynamodb-attribute-definition.js +33 -0
  882. package/dist/service/dynamodb/table/sim-dynamodb-attribute-definition.js.map +1 -0
  883. package/dist/service/dynamodb/table/sim-dynamodb-attribute-definitions.d.ts +21 -0
  884. package/dist/service/dynamodb/table/sim-dynamodb-attribute-definitions.d.ts.map +1 -1
  885. package/dist/service/dynamodb/table/sim-dynamodb-attribute-definitions.js +53 -27
  886. package/dist/service/dynamodb/table/sim-dynamodb-attribute-definitions.js.map +1 -1
  887. package/dist/service/dynamodb/table/sim-dynamodb-index-update.d.ts +23 -0
  888. package/dist/service/dynamodb/table/sim-dynamodb-index-update.d.ts.map +1 -0
  889. package/dist/service/dynamodb/table/sim-dynamodb-index-update.js +88 -0
  890. package/dist/service/dynamodb/table/sim-dynamodb-index-update.js.map +1 -0
  891. package/dist/service/dynamodb/table/sim-dynamodb-item-collection.d.ts +7 -0
  892. package/dist/service/dynamodb/table/sim-dynamodb-item-collection.d.ts.map +1 -1
  893. package/dist/service/dynamodb/table/sim-dynamodb-item-collection.js +6 -3
  894. package/dist/service/dynamodb/table/sim-dynamodb-item-collection.js.map +1 -1
  895. package/dist/service/dynamodb/table/sim-dynamodb-read-view.d.ts +76 -0
  896. package/dist/service/dynamodb/table/sim-dynamodb-read-view.d.ts.map +1 -0
  897. package/dist/service/dynamodb/table/sim-dynamodb-read-view.js +2 -0
  898. package/dist/service/dynamodb/table/sim-dynamodb-read-view.js.map +1 -0
  899. package/dist/service/dynamodb/table/sim-dynamodb-sort-key-compare.d.ts +30 -0
  900. package/dist/service/dynamodb/table/sim-dynamodb-sort-key-compare.d.ts.map +1 -0
  901. package/dist/service/dynamodb/table/sim-dynamodb-sort-key-compare.js +39 -0
  902. package/dist/service/dynamodb/table/sim-dynamodb-sort-key-compare.js.map +1 -0
  903. package/dist/service/dynamodb/table/sim-dynamodb-sort-key-order.d.ts +34 -20
  904. package/dist/service/dynamodb/table/sim-dynamodb-sort-key-order.d.ts.map +1 -1
  905. package/dist/service/dynamodb/table/sim-dynamodb-sort-key-order.js +47 -50
  906. package/dist/service/dynamodb/table/sim-dynamodb-sort-key-order.js.map +1 -1
  907. package/dist/service/dynamodb/table/sim-dynamodb-table-billing.d.ts +9 -0
  908. package/dist/service/dynamodb/table/sim-dynamodb-table-billing.d.ts.map +1 -1
  909. package/dist/service/dynamodb/table/sim-dynamodb-table-billing.js +17 -0
  910. package/dist/service/dynamodb/table/sim-dynamodb-table-billing.js.map +1 -1
  911. package/dist/service/dynamodb/table/sim-dynamodb-table-definition.d.ts +53 -0
  912. package/dist/service/dynamodb/table/sim-dynamodb-table-definition.d.ts.map +1 -0
  913. package/dist/service/dynamodb/table/sim-dynamodb-table-definition.js +63 -0
  914. package/dist/service/dynamodb/table/sim-dynamodb-table-definition.js.map +1 -0
  915. package/dist/service/dynamodb/table/sim-dynamodb-table-description.d.ts.map +1 -1
  916. package/dist/service/dynamodb/table/sim-dynamodb-table-description.js +2 -2
  917. package/dist/service/dynamodb/table/sim-dynamodb-table-description.js.map +1 -1
  918. package/dist/service/dynamodb/table/sim-dynamodb-table-lifecycle.d.ts +29 -2
  919. package/dist/service/dynamodb/table/sim-dynamodb-table-lifecycle.d.ts.map +1 -1
  920. package/dist/service/dynamodb/table/sim-dynamodb-table-lifecycle.js +45 -4
  921. package/dist/service/dynamodb/table/sim-dynamodb-table-lifecycle.js.map +1 -1
  922. package/dist/service/dynamodb/table/sim-dynamodb-table-read-view.d.ts +26 -0
  923. package/dist/service/dynamodb/table/sim-dynamodb-table-read-view.d.ts.map +1 -0
  924. package/dist/service/dynamodb/table/sim-dynamodb-table-read-view.js +30 -0
  925. package/dist/service/dynamodb/table/sim-dynamodb-table-read-view.js.map +1 -0
  926. package/dist/service/dynamodb/table/sim-dynamodb-table-scan.d.ts +2 -2
  927. package/dist/service/dynamodb/table/sim-dynamodb-table-scan.d.ts.map +1 -1
  928. package/dist/service/dynamodb/table/sim-dynamodb-table-scan.js +1 -2
  929. package/dist/service/dynamodb/table/sim-dynamodb-table-scan.js.map +1 -1
  930. package/dist/service/dynamodb/table/sim-dynamodb-table-update.d.ts +27 -0
  931. package/dist/service/dynamodb/table/sim-dynamodb-table-update.d.ts.map +1 -0
  932. package/dist/service/dynamodb/table/sim-dynamodb-table-update.js +79 -0
  933. package/dist/service/dynamodb/table/sim-dynamodb-table-update.js.map +1 -0
  934. package/dist/service/dynamodb/table/sim-dynamodb-table-view.d.ts +67 -0
  935. package/dist/service/dynamodb/table/sim-dynamodb-table-view.d.ts.map +1 -0
  936. package/dist/service/dynamodb/table/sim-dynamodb-table-view.js +90 -0
  937. package/dist/service/dynamodb/table/sim-dynamodb-table-view.js.map +1 -0
  938. package/dist/service/dynamodb/table/sim-dynamodb-table.d.ts +49 -46
  939. package/dist/service/dynamodb/table/sim-dynamodb-table.d.ts.map +1 -1
  940. package/dist/service/dynamodb/table/sim-dynamodb-table.js +87 -79
  941. package/dist/service/dynamodb/table/sim-dynamodb-table.js.map +1 -1
  942. package/dist/service/dynamodb/table/sim-dynamodb-updatable-table.d.ts +21 -0
  943. package/dist/service/dynamodb/table/sim-dynamodb-updatable-table.d.ts.map +1 -0
  944. package/dist/service/dynamodb/table/sim-dynamodb-updatable-table.js +2 -0
  945. package/dist/service/dynamodb/table/sim-dynamodb-updatable-table.js.map +1 -0
  946. package/dist/service/dynamodb/table/sim-dynamodb-updated-billing.d.ts +17 -0
  947. package/dist/service/dynamodb/table/sim-dynamodb-updated-billing.d.ts.map +1 -0
  948. package/dist/service/dynamodb/table/sim-dynamodb-updated-billing.js +24 -0
  949. package/dist/service/dynamodb/table/sim-dynamodb-updated-billing.js.map +1 -0
  950. package/dist/service/dynamodb/table/sim-dynamodb-updated-indexes.d.ts +16 -0
  951. package/dist/service/dynamodb/table/sim-dynamodb-updated-indexes.d.ts.map +1 -0
  952. package/dist/service/dynamodb/table/sim-dynamodb-updated-indexes.js +32 -0
  953. package/dist/service/dynamodb/table/sim-dynamodb-updated-indexes.js.map +1 -0
  954. package/dist/service/dynamodb/time-to-live/{sim-dynamodb-table-expiry.d.ts → sim-dynamodb-table-time-to-live.d.ts} +28 -9
  955. package/dist/service/dynamodb/time-to-live/sim-dynamodb-table-time-to-live.d.ts.map +1 -0
  956. package/dist/service/dynamodb/time-to-live/{sim-dynamodb-table-expiry.js → sim-dynamodb-table-time-to-live.js} +32 -5
  957. package/dist/service/dynamodb/time-to-live/sim-dynamodb-table-time-to-live.js.map +1 -0
  958. package/dist/service/dynamodb/time-to-live/sim-dynamodb-time-to-live.d.ts +2 -1
  959. package/dist/service/dynamodb/time-to-live/sim-dynamodb-time-to-live.d.ts.map +1 -1
  960. package/dist/service/dynamodb/time-to-live/sim-dynamodb-time-to-live.js +2 -1
  961. package/dist/service/dynamodb/time-to-live/sim-dynamodb-time-to-live.js.map +1 -1
  962. package/dist/service/iam/authorize/match/condition/arn/equals/sim-iam-arn-equals.d.ts +14 -0
  963. package/dist/service/iam/authorize/match/condition/arn/equals/sim-iam-arn-equals.d.ts.map +1 -0
  964. package/dist/service/iam/authorize/match/condition/arn/equals/sim-iam-arn-equals.js +17 -0
  965. package/dist/service/iam/authorize/match/condition/arn/equals/sim-iam-arn-equals.js.map +1 -0
  966. package/dist/service/iam/authorize/match/condition/arn/like/sim-iam-arn-like.d.ts +13 -0
  967. package/dist/service/iam/authorize/match/condition/arn/like/sim-iam-arn-like.d.ts.map +1 -0
  968. package/dist/service/iam/authorize/match/condition/arn/like/sim-iam-arn-like.js +16 -0
  969. package/dist/service/iam/authorize/match/condition/arn/like/sim-iam-arn-like.js.map +1 -0
  970. package/dist/service/iam/authorize/match/condition/sim-iam-condition-operator-parser.d.ts.map +1 -1
  971. package/dist/service/iam/authorize/match/condition/sim-iam-condition-operator-parser.js +4 -0
  972. package/dist/service/iam/authorize/match/condition/sim-iam-condition-operator-parser.js.map +1 -1
  973. package/dist/service/iam/authorize/match/sim-iam-policy-principal-matcher.d.ts +4 -0
  974. package/dist/service/iam/authorize/match/sim-iam-policy-principal-matcher.d.ts.map +1 -1
  975. package/dist/service/iam/authorize/match/sim-iam-policy-principal-matcher.js +4 -3
  976. package/dist/service/iam/authorize/match/sim-iam-policy-principal-matcher.js.map +1 -1
  977. package/dist/service/iam/authorize/sim-iam-arn-match.d.ts +12 -0
  978. package/dist/service/iam/authorize/sim-iam-arn-match.d.ts.map +1 -0
  979. package/dist/service/iam/authorize/sim-iam-arn-match.js +45 -0
  980. package/dist/service/iam/authorize/sim-iam-arn-match.js.map +1 -0
  981. package/dist/service/iam/command/role/list-roles/list-roles.handler.js +2 -2
  982. package/dist/service/iam/command/role/list-roles/list-roles.handler.js.map +1 -1
  983. package/dist/service/lambda/function/policy/sim-lambda-permission.d.ts +6 -5
  984. package/dist/service/lambda/function/policy/sim-lambda-permission.d.ts.map +1 -1
  985. package/dist/service/lambda/function/policy/sim-lambda-permission.js +6 -5
  986. package/dist/service/lambda/function/policy/sim-lambda-permission.js.map +1 -1
  987. package/dist/service/lambda/serve/event/sim-lambda-url-endpoint.d.ts +13 -0
  988. package/dist/service/lambda/serve/event/sim-lambda-url-endpoint.d.ts.map +1 -0
  989. package/dist/service/lambda/serve/event/sim-lambda-url-endpoint.js +19 -0
  990. package/dist/service/lambda/serve/event/sim-lambda-url-endpoint.js.map +1 -0
  991. package/dist/service/lambda/serve/event/sim-lambda-url-event.type.d.ts +9 -93
  992. package/dist/service/lambda/serve/event/sim-lambda-url-event.type.d.ts.map +1 -1
  993. package/dist/service/lambda/serve/sim-lambda-controller.d.ts.map +1 -1
  994. package/dist/service/lambda/serve/sim-lambda-controller.js +6 -5
  995. package/dist/service/lambda/serve/sim-lambda-controller.js.map +1 -1
  996. package/dist/service/route53/resolve/sim-r53-service-target-resolver.d.ts +12 -0
  997. package/dist/service/route53/resolve/sim-r53-service-target-resolver.d.ts.map +1 -1
  998. package/dist/service/route53/resolve/sim-r53-service-target-resolver.js +32 -0
  999. package/dist/service/route53/resolve/sim-r53-service-target-resolver.js.map +1 -1
  1000. package/dist/service/s3/bucket/website/redirect/s3-bucket-website-redirects.js +2 -2
  1001. package/dist/service/s3/bucket/website/redirect/s3-bucket-website-redirects.js.map +1 -1
  1002. package/dist/util/jwt/sim-jwt-claims.d.ts +54 -0
  1003. package/dist/util/jwt/sim-jwt-claims.d.ts.map +1 -0
  1004. package/dist/util/jwt/sim-jwt-claims.js +77 -0
  1005. package/dist/util/jwt/sim-jwt-claims.js.map +1 -0
  1006. package/dist/util/jwt/sim-jwt-keys.d.ts +32 -0
  1007. package/dist/util/jwt/sim-jwt-keys.d.ts.map +1 -0
  1008. package/dist/util/jwt/sim-jwt-keys.js +24 -0
  1009. package/dist/util/jwt/sim-jwt-keys.js.map +1 -0
  1010. package/dist/util/jwt/sim-jwt-rs256.d.ts +38 -0
  1011. package/dist/util/jwt/sim-jwt-rs256.d.ts.map +1 -0
  1012. package/dist/util/jwt/sim-jwt-rs256.js +60 -0
  1013. package/dist/util/jwt/sim-jwt-rs256.js.map +1 -0
  1014. package/dist/util/jwt/sim-jwt.d.ts +43 -0
  1015. package/dist/util/jwt/sim-jwt.d.ts.map +1 -0
  1016. package/dist/util/jwt/sim-jwt.error.d.ts +13 -0
  1017. package/dist/util/jwt/sim-jwt.error.d.ts.map +1 -0
  1018. package/dist/util/jwt/sim-jwt.error.js +13 -0
  1019. package/dist/util/jwt/sim-jwt.error.js.map +1 -0
  1020. package/dist/util/jwt/sim-jwt.js +94 -0
  1021. package/dist/util/jwt/sim-jwt.js.map +1 -0
  1022. package/package.json +36 -31
  1023. package/dist/service/dynamodb/time-to-live/sim-dynamodb-table-expiry.d.ts.map +0 -1
  1024. package/dist/service/dynamodb/time-to-live/sim-dynamodb-table-expiry.js.map +0 -1
  1025. package/dist/service/lambda/serve/event/sim-lambda-url-body-encoding.d.ts.map +0 -1
  1026. package/dist/service/lambda/serve/event/sim-lambda-url-body-encoding.js.map +0 -1
  1027. package/dist/service/lambda/serve/event/sim-lambda-url-event-builder.d.ts +0 -36
  1028. package/dist/service/lambda/serve/event/sim-lambda-url-event-builder.d.ts.map +0 -1
  1029. package/dist/service/lambda/serve/event/sim-lambda-url-event-builder.js +0 -61
  1030. package/dist/service/lambda/serve/event/sim-lambda-url-event-builder.js.map +0 -1
  1031. package/dist/service/lambda/serve/event/sim-lambda-url-event-time.d.ts.map +0 -1
  1032. package/dist/service/lambda/serve/event/sim-lambda-url-event-time.js.map +0 -1
  1033. package/dist/service/lambda/serve/event/sim-lambda-url-iam-authorizer.d.ts +0 -30
  1034. package/dist/service/lambda/serve/event/sim-lambda-url-iam-authorizer.d.ts.map +0 -1
  1035. package/dist/service/lambda/serve/event/sim-lambda-url-iam-authorizer.js.map +0 -1
  1036. package/dist/service/lambda/serve/event/sim-lambda-url-request-context.d.ts +0 -29
  1037. package/dist/service/lambda/serve/event/sim-lambda-url-request-context.d.ts.map +0 -1
  1038. package/dist/service/lambda/serve/event/sim-lambda-url-request-context.js +0 -54
  1039. package/dist/service/lambda/serve/event/sim-lambda-url-request-context.js.map +0 -1
  1040. package/dist/service/lambda/serve/event/sim-lambda-url-request-parts.d.ts.map +0 -1
  1041. package/dist/service/lambda/serve/event/sim-lambda-url-request-parts.js.map +0 -1
  1042. package/dist/service/lambda/serve/response/sim-lambda-url-response-builder.d.ts +0 -21
  1043. package/dist/service/lambda/serve/response/sim-lambda-url-response-builder.d.ts.map +0 -1
  1044. package/dist/service/lambda/serve/response/sim-lambda-url-response-builder.js.map +0 -1
@@ -0,0 +1,72 @@
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 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) {
22
+ return this.jsonResponse(401, "Unauthorized", {
23
+ "www-authenticate": this.bearerChallenge(errorDescription),
24
+ });
25
+ }
26
+ /**
27
+ * Nothing at this API serves the request: no such API, or no route, or no
28
+ * stage to serve it from.
29
+ */
30
+ notFound() {
31
+ return this.jsonResponse(404, "Not Found");
32
+ }
33
+ /**
34
+ * The API's generated endpoint is switched off, the route asks for a scope
35
+ * the accepted token does not claim, or IAM denied the caller
36
+ * `execute-api:Invoke` on the `AWS_IAM` route being called.
37
+ *
38
+ * AWS publishes neither the status nor the body for any of these, so both
39
+ * are what the endpoint was observed to answer rather than something
40
+ * documented.
41
+ */
42
+ forbidden() {
43
+ return this.jsonResponse(403, "Forbidden");
44
+ }
45
+ /**
46
+ * The integration failed to handle the request.
47
+ */
48
+ internalServerError() {
49
+ return this.jsonResponse(500, "Internal Server Error");
50
+ }
51
+ /**
52
+ * The `www-authenticate` value a refused token gets back.
53
+ *
54
+ * Only the description AWS publishes is ever sent, and every other refusal
55
+ * names the scheme and nothing else, rather than inventing wording. AWS does
56
+ * not publish how it lays the parameters out around that description, so
57
+ * they are comma-separated as RFC 6750 writes them.
58
+ */
59
+ bearerChallenge(errorDescription) {
60
+ if (errorDescription === undefined) {
61
+ return "Bearer";
62
+ }
63
+ return `Bearer error="invalid_token", error_description="${errorDescription}"`;
64
+ }
65
+ jsonResponse(status, message, headers = {}) {
66
+ return Response.json({ message }, {
67
+ status,
68
+ headers: { "content-type": "application/json", ...headers },
69
+ });
70
+ }
71
+ }
72
+ //# sourceMappingURL=sim-api-gateway-v2-error-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-api-gateway-v2-error-response.js","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/serve/sim-api-gateway-v2-error-response.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,MAAM,OAAO,4BAA4B;IACvC;;;;;;;;OAQG;IACH,YAAY,CAAC,gBAAyB;QACpC,OAAO,IAAI,CAAC,YAAY,CAAC,GAAG,EAAE,cAAc,EAAE;YAC5C,kBAAkB,EAAE,IAAI,CAAC,eAAe,CAAC,gBAAgB,CAAC;SAC3D,CAAC,CAAC;IACL,CAAC;IAED;;;OAGG;IACH,QAAQ;QACN,OAAO,IAAI,CAAC,YAAY,CAAC,GAAG,EAAE,WAAW,CAAC,CAAC;IAC7C,CAAC;IAED;;;;;;;;OAQG;IACH,SAAS;QACP,OAAO,IAAI,CAAC,YAAY,CAAC,GAAG,EAAE,WAAW,CAAC,CAAC;IAC7C,CAAC;IAED;;OAEG;IACH,mBAAmB;QACjB,OAAO,IAAI,CAAC,YAAY,CAAC,GAAG,EAAE,uBAAuB,CAAC,CAAC;IACzD,CAAC;IAED;;;;;;;OAOG;IACK,eAAe,CAAC,gBAAyB;QAC/C,IAAI,gBAAgB,KAAK,SAAS,EAAE,CAAC;YACnC,OAAO,QAAQ,CAAC;QAClB,CAAC;QAED,OAAO,oDAAoD,gBAAgB,GAAG,CAAC;IACjF,CAAC;IAEO,YAAY,CAClB,MAAc,EACd,OAAe,EACf,OAAO,GAA2B,EAAE;QAEpC,OAAO,QAAQ,CAAC,IAAI,CAClB,EAAE,OAAO,EAAE,EACX;YACE,MAAM;YACN,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE,GAAG,OAAO,EAAE;SAC5D,CACF,CAAC;IACJ,CAAC;CACF"}
@@ -0,0 +1,64 @@
1
+ import type { SimAwsServiceTarget } from "../../../serve/controller/sim-service-controller.js";
2
+ import { SimAws } from "../../aws/sim-aws.js";
3
+ import type { SimLambdaFunction } from "../../lambda/function/sim-lambda-function.js";
4
+ import type { SimHttpApiIntegration } from "../api/integration/sim-http-api-integration.js";
5
+ import type { SimHttpApi } from "../api/sim-http-api.js";
6
+ import type { SimIamInterServiceAuthZ } from "../../iam/authorize/sim-iam-inter-service-auth-z.js";
7
+ interface SimApiGatewayV2RouterProperties {
8
+ readonly simAws?: SimAws;
9
+ }
10
+ /**
11
+ * What an integration invokes, and what decides whether it may.
12
+ */
13
+ export interface SimHttpApiIntegrationTarget {
14
+ readonly simFunction: SimLambdaFunction;
15
+ /**
16
+ * IAM of the Account that owns the function, which is what the integration's
17
+ * invoke permission is evaluated against. It need not be the API's Account.
18
+ */
19
+ readonly iam: SimIamInterServiceAuthZ;
20
+ }
21
+ /**
22
+ * Routes a served HTTP API request to the API behind it, and an integration to
23
+ * the function behind that.
24
+ *
25
+ * The request hostname gives the API id and the region, but not the Account.
26
+ * The registry supplies that missing hop. The integrated function is a second
27
+ * hop again, because its ARN names its own Account and Region, which need not
28
+ * be the API's.
29
+ */
30
+ export declare class SimApiGatewayV2Router {
31
+ /**
32
+ * The simulation this router routes within.
33
+ *
34
+ * Exposed so collaborators that need the same simulation, such as the clock
35
+ * stamping invocation events, take it from here rather than being given a
36
+ * second SimAws that could be a different one.
37
+ */
38
+ readonly simAws: SimAws;
39
+ private readonly registry;
40
+ constructor(properties?: SimApiGatewayV2RouterProperties);
41
+ /**
42
+ * Find the API a request target addresses.
43
+ */
44
+ route(target: SimAwsServiceTarget): SimHttpApi | undefined;
45
+ /**
46
+ * IAM of the Account that owns an API, which is what an `AWS_IAM` route's
47
+ * authorization is evaluated against.
48
+ *
49
+ * It is the API's own Account rather than the caller's, so a caller from
50
+ * elsewhere is decided by the API's Account the way any cross-Account
51
+ * request is.
52
+ */
53
+ iamFor(api: SimHttpApi): SimIamInterServiceAuthZ;
54
+ /**
55
+ * Find the function an integration invokes, and the IAM deciding whether it
56
+ * may be invoked.
57
+ *
58
+ * The function is looked up in the Account and Region its ARN names, not the
59
+ * API's, because an integration ARN is free to name either.
60
+ */
61
+ targetFor(integration: SimHttpApiIntegration): SimHttpApiIntegrationTarget | undefined;
62
+ }
63
+ export {};
64
+ //# sourceMappingURL=sim-api-gateway-v2-router.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-api-gateway-v2-router.d.ts","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/serve/sim-api-gateway-v2-router.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAE/F,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gDAAgD,CAAC;AAC5F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEzD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qDAAqD,CAAC;AAEnG,UAAU,+BAA+B;IACvC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,WAAW,EAAE,iBAAiB,CAAC;IACxC;;;OAGG;IACH,QAAQ,CAAC,GAAG,EAAE,uBAAuB,CAAC;CACvC;AAED;;;;;;;;GAQG;AACH,qBAAa,qBAAqB;IAChC;;;;;;OAMG;IACH,SAAgB,MAAM,EAAE,MAAM,CAAC;IAE/B,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAqB;IAE9C,YAAY,UAAU,GAAE,+BAAoC,EAG3D;IAED;;OAEG;IACH,KAAK,CAAC,MAAM,EAAE,mBAAmB,GAAG,UAAU,GAAG,SAAS,CAWzD;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,GAAG,EAAE,UAAU,GAAG,uBAAuB,CAI/C;IAED;;;;;;OAMG;IACH,SAAS,CACP,WAAW,EAAE,qBAAqB,GACjC,2BAA2B,GAAG,SAAS,CAczC;CACF"}
@@ -0,0 +1,67 @@
1
+ import { SimAws } from "../../aws/sim-aws.js";
2
+ /**
3
+ * Routes a served HTTP API request to the API behind it, and an integration to
4
+ * the function behind that.
5
+ *
6
+ * The request hostname gives the API id and the region, but not the Account.
7
+ * The registry supplies that missing hop. The integrated function is a second
8
+ * hop again, because its ARN names its own Account and Region, which need not
9
+ * be the API's.
10
+ */
11
+ export class SimApiGatewayV2Router {
12
+ /**
13
+ * The simulation this router routes within.
14
+ *
15
+ * Exposed so collaborators that need the same simulation, such as the clock
16
+ * stamping invocation events, take it from here rather than being given a
17
+ * second SimAws that could be a different one.
18
+ */
19
+ simAws;
20
+ registry;
21
+ constructor(properties = {}) {
22
+ this.simAws = properties.simAws ?? new SimAws();
23
+ this.registry = this.simAws.serviceFactory.httpApiRegistry;
24
+ }
25
+ /**
26
+ * Find the API a request target addresses.
27
+ */
28
+ route(target) {
29
+ const accountId = this.registry.accountIdForApi(target.resourceName);
30
+ if (accountId === undefined) {
31
+ return undefined;
32
+ }
33
+ return this.simAws
34
+ .accountRegionScope(accountId, target.regionName)
35
+ .apiGatewayV2()
36
+ .findApi(target.resourceName);
37
+ }
38
+ /**
39
+ * IAM of the Account that owns an API, which is what an `AWS_IAM` route's
40
+ * authorization is evaluated against.
41
+ *
42
+ * It is the API's own Account rather than the caller's, so a caller from
43
+ * elsewhere is decided by the API's Account the way any cross-Account
44
+ * request is.
45
+ */
46
+ iamFor(api) {
47
+ const { accountId, regionName } = api.accountRegionScope;
48
+ return this.simAws.accountRegionScope(accountId, regionName).iam();
49
+ }
50
+ /**
51
+ * Find the function an integration invokes, and the IAM deciding whether it
52
+ * may be invoked.
53
+ *
54
+ * The function is looked up in the Account and Region its ARN names, not the
55
+ * API's, because an integration ARN is free to name either.
56
+ */
57
+ targetFor(integration) {
58
+ const { accountId, regionName, functionName } = integration.lambdaUri;
59
+ const scope = this.simAws.accountRegionScope(accountId, regionName);
60
+ const simFunction = scope.lambda().getSimFunctionByName(functionName);
61
+ if (simFunction === undefined) {
62
+ return undefined;
63
+ }
64
+ return { simFunction, iam: scope.iam() };
65
+ }
66
+ }
67
+ //# sourceMappingURL=sim-api-gateway-v2-router.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-api-gateway-v2-router.js","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/serve/sim-api-gateway-v2-router.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAwB9C;;;;;;;;GAQG;AACH,MAAM,OAAO,qBAAqB;IAChC;;;;;;OAMG;IACa,MAAM,CAAS;IAEd,QAAQ,CAAqB;IAE9C,YAAY,UAAU,GAAoC,EAAE;QAC1D,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,IAAI,IAAI,MAAM,EAAE,CAAC;QAChD,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,eAAe,CAAC;IAC7D,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,MAA2B;QAC/B,MAAM,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC,eAAe,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;QAErE,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;YAC5B,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,OAAO,IAAI,CAAC,MAAM;aACf,kBAAkB,CAAC,SAAS,EAAE,MAAM,CAAC,UAAU,CAAC;aAChD,YAAY,EAAE;aACd,OAAO,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;IAClC,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,GAAe;QACpB,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,GAAG,CAAC,kBAAkB,CAAC;QAEzD,OAAO,IAAI,CAAC,MAAM,CAAC,kBAAkB,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC,GAAG,EAAE,CAAC;IACrE,CAAC;IAED;;;;;;OAMG;IACH,SAAS,CACP,WAAkC;QAElC,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,YAAY,EAAE,GAAG,WAAW,CAAC,SAAS,CAAC;QAEtE,MAAM,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,kBAAkB,CAC1C,SAA4B,EAC5B,UAA2B,CAC5B,CAAC;QACF,MAAM,WAAW,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,oBAAoB,CAAC,YAAY,CAAC,CAAC;QAEtE,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,OAAO,EAAE,WAAW,EAAE,GAAG,EAAE,KAAK,CAAC,GAAG,EAAE,EAAE,CAAC;IAC3C,CAAC;CACF"}
@@ -0,0 +1,14 @@
1
+ import type { SimPayload2Endpoint } from "../../../serve/payload-2/sim-payload-2-endpoint.js";
2
+ import type { SimHttpApiMatch } from "../api/sim-http-api-match.js";
3
+ import type { SimHttpApi } from "../api/sim-http-api.js";
4
+ /**
5
+ * Describe an API and the route that matched as the endpoint a payload format
6
+ * 2.0 event names.
7
+ *
8
+ * The path parameters come from the matched route and the stage variables from
9
+ * the stage that served the request. Either may be empty, and the event
10
+ * builder leaves an empty one out of the event, which is what real API Gateway
11
+ * does with them.
12
+ */
13
+ export declare function simHttpApiEndpoint(api: SimHttpApi, match: SimHttpApiMatch): SimPayload2Endpoint;
14
+ //# sourceMappingURL=sim-http-api-endpoint.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-endpoint.d.ts","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/serve/sim-http-api-endpoint.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oDAAoD,CAAC;AAC9F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEzD;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAChC,GAAG,EAAE,UAAU,EACf,KAAK,EAAE,eAAe,GACrB,mBAAmB,CAUrB"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Describe an API and the route that matched as the endpoint a payload format
3
+ * 2.0 event names.
4
+ *
5
+ * The path parameters come from the matched route and the stage variables from
6
+ * the stage that served the request. Either may be empty, and the event
7
+ * builder leaves an empty one out of the event, which is what real API Gateway
8
+ * does with them.
9
+ */
10
+ export function simHttpApiEndpoint(api, match) {
11
+ return {
12
+ apiId: api.apiId,
13
+ domainName: api.hostname,
14
+ domainPrefix: api.apiId,
15
+ routeKey: match.route.routeKey,
16
+ stage: match.stage.stageName,
17
+ pathParameters: match.pathParameters.toRecord(),
18
+ stageVariables: match.stage.stageVariables,
19
+ };
20
+ }
21
+ //# sourceMappingURL=sim-http-api-endpoint.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-http-api-endpoint.js","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/serve/sim-http-api-endpoint.ts"],"names":[],"mappings":"AAIA;;;;;;;;GAQG;AACH,MAAM,UAAU,kBAAkB,CAChC,GAAe,EACf,KAAsB;IAEtB,OAAO;QACL,KAAK,EAAE,GAAG,CAAC,KAAK;QAChB,UAAU,EAAE,GAAG,CAAC,QAAQ;QACxB,YAAY,EAAE,GAAG,CAAC,KAAK;QACvB,QAAQ,EAAE,KAAK,CAAC,KAAK,CAAC,QAAQ;QAC9B,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,SAAS;QAC5B,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC,QAAQ,EAAE;QAC/C,cAAc,EAAE,KAAK,CAAC,KAAK,CAAC,cAAc;KAC3C,CAAC;AACJ,CAAC"}
@@ -0,0 +1,125 @@
1
+ import type { SimSdkCommandRouter } from "../../sdk/router/sim-sdk-command-router.type.js";
2
+ import { type BackgroundScheduler } from "../../util/background/background.js";
3
+ import type { SimAwsAccountRegionScope } from "../aws/sim-aws-account-region-scope.js";
4
+ import { type SimIamInterServiceAuthZ } from "../iam/authorize/sim-iam-inter-service-auth-z.js";
5
+ import { type SimHttpApiJwtIssuerKeys } from "./api/authorizer/sim-http-api-jwt-issuer-keys.js";
6
+ import { SimApiGatewayV2CfnResourceFactory } from "./cfn/sim-cfn-api-gateway-v2-resource-factory.js";
7
+ import type { SimHttpApi } from "./api/sim-http-api.js";
8
+ import type * as simApiGatewayV2Commands from "./command/sim-api-gateway-v2-command.types.js";
9
+ import type { SimApiGatewayV2RequestOptions } from "./command/sim-api-gateway-v2-request-options.js";
10
+ import { SimHttpApiRegistry } from "./registry/sim-http-api-registry.js";
11
+ interface SimApiGatewayV2Properties {
12
+ readonly accountRegionScope?: SimAwsAccountRegionScope;
13
+ readonly iam?: SimIamInterServiceAuthZ;
14
+ readonly background?: BackgroundScheduler;
15
+ readonly registry?: SimHttpApiRegistry;
16
+ /**
17
+ * The issuers this API Gateway's JWT authorizers can verify against. A
18
+ * standalone simulated API Gateway has none, so a JWT route refuses every
19
+ * request rather than admitting one it could not check.
20
+ */
21
+ readonly jwtIssuerKeys?: SimHttpApiJwtIssuerKeys;
22
+ }
23
+ /**
24
+ * Simulated API Gateway v2. Handles SDK commands. Emulates AWS behaviour and
25
+ * state.
26
+ *
27
+ * Only HTTP APIs are simulated, which is the half of the v2 API that is not
28
+ * WebSocket. APIs are scoped to an account and region, as they are on real
29
+ * AWS: the endpoint API Gateway generates names the region, and the API id is
30
+ * what tells two APIs apart rather than their names.
31
+ *
32
+ * An API owns its own routes, integrations and stages, because every one of
33
+ * them is addressed by ApiId on real AWS and none of them outlives the API.
34
+ */
35
+ export declare class SimApiGatewayV2 {
36
+ private readonly apis;
37
+ private readonly apiCommands;
38
+ private readonly importCommands;
39
+ private readonly authorizerCommands;
40
+ private readonly integrationCommands;
41
+ private readonly routeCommands;
42
+ private readonly stageCommands;
43
+ private readonly background;
44
+ private readonly sdkRouter;
45
+ private readonly cfnFactory;
46
+ constructor(properties?: SimApiGatewayV2Properties);
47
+ /**
48
+ * Find an API by id.
49
+ *
50
+ * This is the simulator's own accessor, for tests seeding or inspecting API
51
+ * state without going through a Command and its authorization.
52
+ */
53
+ findApi(apiId: string): SimHttpApi | undefined;
54
+ /**
55
+ * Handle a CreateApi Command from the SDK.
56
+ */
57
+ createApi(command: simApiGatewayV2Commands.SimCreateApiCommand, options?: SimApiGatewayV2RequestOptions): Promise<simApiGatewayV2Commands.SimCreateApiCommandOutput>;
58
+ /**
59
+ * Handle an ImportApi Command from the SDK.
60
+ *
61
+ * The API, its routes, its integrations and its JWT authorizers all come
62
+ * from one OpenAPI 3.0 document. No stage is created, so an imported API
63
+ * answers 404 until a stage is created separately, which is what an import
64
+ * does on AWS.
65
+ */
66
+ importApi(command: simApiGatewayV2Commands.SimImportApiCommand, options?: SimApiGatewayV2RequestOptions): Promise<simApiGatewayV2Commands.SimImportApiCommandOutput>;
67
+ /**
68
+ * Handle a GetApi Command from the SDK.
69
+ */
70
+ getApi(command: simApiGatewayV2Commands.SimGetApiCommand, options?: SimApiGatewayV2RequestOptions): Promise<simApiGatewayV2Commands.SimGetApiCommandOutput>;
71
+ /**
72
+ * Handle a GetApis Command from the SDK.
73
+ */
74
+ getApis(command: simApiGatewayV2Commands.SimGetApisCommand, options?: SimApiGatewayV2RequestOptions): Promise<simApiGatewayV2Commands.SimGetApisCommandOutput>;
75
+ /**
76
+ * Handle a DeleteApi Command from the SDK.
77
+ */
78
+ deleteApi(command: simApiGatewayV2Commands.SimDeleteApiCommand, options?: SimApiGatewayV2RequestOptions): Promise<simApiGatewayV2Commands.SimDeleteApiCommandOutput>;
79
+ /**
80
+ * Handle a CreateAuthorizer Command from the SDK.
81
+ */
82
+ createAuthorizer(command: simApiGatewayV2Commands.SimCreateAuthorizerCommand, options?: SimApiGatewayV2RequestOptions): Promise<simApiGatewayV2Commands.SimCreateAuthorizerCommandOutput>;
83
+ /**
84
+ * Handle a GetAuthorizers Command from the SDK.
85
+ */
86
+ getAuthorizers(command: simApiGatewayV2Commands.SimGetAuthorizersCommand, options?: SimApiGatewayV2RequestOptions): Promise<simApiGatewayV2Commands.SimGetAuthorizersCommandOutput>;
87
+ /**
88
+ * Handle a DeleteAuthorizer Command from the SDK.
89
+ */
90
+ deleteAuthorizer(command: simApiGatewayV2Commands.SimDeleteAuthorizerCommand, options?: SimApiGatewayV2RequestOptions): Promise<simApiGatewayV2Commands.SimDeleteAuthorizerCommandOutput>;
91
+ /**
92
+ * Handle a CreateIntegration Command from the SDK.
93
+ */
94
+ createIntegration(command: simApiGatewayV2Commands.SimCreateIntegrationCommand, options?: SimApiGatewayV2RequestOptions): Promise<simApiGatewayV2Commands.SimCreateIntegrationCommandOutput>;
95
+ /**
96
+ * Handle a GetIntegrations Command from the SDK.
97
+ */
98
+ getIntegrations(command: simApiGatewayV2Commands.SimGetIntegrationsCommand, options?: SimApiGatewayV2RequestOptions): Promise<simApiGatewayV2Commands.SimGetIntegrationsCommandOutput>;
99
+ /**
100
+ * Handle a CreateRoute Command from the SDK.
101
+ */
102
+ createRoute(command: simApiGatewayV2Commands.SimCreateRouteCommand, options?: SimApiGatewayV2RequestOptions): Promise<simApiGatewayV2Commands.SimCreateRouteCommandOutput>;
103
+ /**
104
+ * Handle a GetRoutes Command from the SDK.
105
+ */
106
+ getRoutes(command: simApiGatewayV2Commands.SimGetRoutesCommand, options?: SimApiGatewayV2RequestOptions): Promise<simApiGatewayV2Commands.SimGetRoutesCommandOutput>;
107
+ /**
108
+ * Handle a CreateStage Command from the SDK.
109
+ */
110
+ createStage(command: simApiGatewayV2Commands.SimCreateStageCommand, options?: SimApiGatewayV2RequestOptions): Promise<simApiGatewayV2Commands.SimCreateStageCommandOutput>;
111
+ /**
112
+ * Handle a GetStages Command from the SDK.
113
+ */
114
+ getStages(command: simApiGatewayV2Commands.SimGetStagesCommand, options?: SimApiGatewayV2RequestOptions): Promise<simApiGatewayV2Commands.SimGetStagesCommandOutput>;
115
+ /**
116
+ * Get this service's CloudFormation Resource factory.
117
+ */
118
+ cfnResourceFactory(): SimApiGatewayV2CfnResourceFactory;
119
+ /**
120
+ * Get this service's SDK Command router for SDK client interception.
121
+ */
122
+ sdkCommandRouter(): SimSdkCommandRouter;
123
+ }
124
+ export {};
125
+ //# sourceMappingURL=sim-api-gateway-v2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-api-gateway-v2.d.ts","sourceRoot":"","sources":["../../../src/service/apigatewayv2/sim-api-gateway-v2.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAEvF,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EACL,KAAK,uBAAuB,EAE7B,MAAM,kDAAkD,CAAC;AAE1D,OAAO,EAAE,iCAAiC,EAAE,MAAM,kDAAkD,CAAC;AACrG,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAOxD,OAAO,KAAK,KAAK,uBAAuB,MAAM,+CAA+C,CAAC;AAC9F,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iDAAiD,CAAC;AAGrG,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAGzE,UAAU,yBAAyB;IACjC,QAAQ,CAAC,kBAAkB,CAAC,EAAE,wBAAwB,CAAC;IACvD,QAAQ,CAAC,GAAG,CAAC,EAAE,uBAAuB,CAAC;IACvC,QAAQ,CAAC,UAAU,CAAC,EAAE,mBAAmB,CAAC;IAC1C,QAAQ,CAAC,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IACvC;;;;OAIG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,uBAAuB,CAAC;CAClD;AAED;;;;;;;;;;;GAWG;AACH,qBAAa,eAAe;IAC1B,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAyB;IAC9C,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAqB;IACjD,OAAO,CAAC,QAAQ,CAAC,cAAc,CAA2B;IAC1D,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAA+B;IAClE,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAAgC;IACpE,OAAO,CAAC,QAAQ,CAAC,aAAa,CAA0B;IACxD,OAAO,CAAC,QAAQ,CAAC,aAAa,CAA0B;IACxD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAsB;IACjD,OAAO,CAAC,QAAQ,CAAC,SAAS,CAA6C;IACvE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAExB;IAEH,YAAY,UAAU,GAAE,yBAA8B,EAsCrD;IAED;;;;;OAKG;IACH,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,UAAU,GAAG,SAAS,CAE7C;IAED;;OAEG;IACG,SAAS,CACb,OAAO,EAAE,uBAAuB,CAAC,mBAAmB,EACpD,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC,yBAAyB,CAAC,CAG5D;IAED;;;;;;;OAOG;IACG,SAAS,CACb,OAAO,EAAE,uBAAuB,CAAC,mBAAmB,EACpD,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC,yBAAyB,CAAC,CAG5D;IAED;;OAEG;IACG,MAAM,CACV,OAAO,EAAE,uBAAuB,CAAC,gBAAgB,EACjD,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC,sBAAsB,CAAC,CAGzD;IAED;;OAEG;IACG,OAAO,CACX,OAAO,EAAE,uBAAuB,CAAC,iBAAiB,EAClD,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC,uBAAuB,CAAC,CAG1D;IAED;;OAEG;IACG,SAAS,CACb,OAAO,EAAE,uBAAuB,CAAC,mBAAmB,EACpD,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC,yBAAyB,CAAC,CAG5D;IAED;;OAEG;IACG,gBAAgB,CACpB,OAAO,EAAE,uBAAuB,CAAC,0BAA0B,EAC3D,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC,gCAAgC,CAAC,CAGnE;IAED;;OAEG;IACG,cAAc,CAClB,OAAO,EAAE,uBAAuB,CAAC,wBAAwB,EACzD,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC,8BAA8B,CAAC,CAGjE;IAED;;OAEG;IACG,gBAAgB,CACpB,OAAO,EAAE,uBAAuB,CAAC,0BAA0B,EAC3D,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC,gCAAgC,CAAC,CAGnE;IAED;;OAEG;IACG,iBAAiB,CACrB,OAAO,EAAE,uBAAuB,CAAC,2BAA2B,EAC5D,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC,iCAAiC,CAAC,CAGpE;IAED;;OAEG;IACG,eAAe,CACnB,OAAO,EAAE,uBAAuB,CAAC,yBAAyB,EAC1D,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC,+BAA+B,CAAC,CAGlE;IAED;;OAEG;IACG,WAAW,CACf,OAAO,EAAE,uBAAuB,CAAC,qBAAqB,EACtD,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC,2BAA2B,CAAC,CAG9D;IAED;;OAEG;IACG,SAAS,CACb,OAAO,EAAE,uBAAuB,CAAC,mBAAmB,EACpD,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC,yBAAyB,CAAC,CAG5D;IAED;;OAEG;IACG,WAAW,CACf,OAAO,EAAE,uBAAuB,CAAC,qBAAqB,EACtD,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC,2BAA2B,CAAC,CAG9D;IAED;;OAEG;IACG,SAAS,CACb,OAAO,EAAE,uBAAuB,CAAC,mBAAmB,EACpD,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC,yBAAyB,CAAC,CAG5D;IAED;;OAEG;IACH,kBAAkB,IAAI,iCAAiC,CAEtD;IAED;;OAEG;IACH,gBAAgB,IAAI,mBAAmB,CAEtC;CACF"}
@@ -0,0 +1,198 @@
1
+ import { BackgroundTasks, } from "../../util/background/background.js";
2
+ import { simAwsAccountRegionScopeFactory } from "../aws/sim-aws-account-region-scope.factory.js";
3
+ import { SimIamAllowAllAuth, } from "../iam/authorize/sim-iam-inter-service-auth-z.js";
4
+ import { SimHttpApiNoJwtIssuerKeys, } from "./api/authorizer/sim-http-api-jwt-issuer-keys.js";
5
+ import { SimHttpApiStore } from "./api/sim-http-api-store.js";
6
+ import { SimApiGatewayV2CfnResourceFactory } from "./cfn/sim-cfn-api-gateway-v2-resource-factory.js";
7
+ import { SimHttpApiCommands } from "./command/api/sim-http-api-commands.js";
8
+ import { SimHttpApiImportCommands } from "./command/api/sim-http-api-import-commands.js";
9
+ import { SimApiGatewayV2Authorizer } from "./command/authorize/sim-api-gateway-v2-authorizer.js";
10
+ import { SimHttpApiAuthorizerCommands } from "./command/authorizer/sim-http-api-authorizer-commands.js";
11
+ import { SimHttpApiIntegrationCommands } from "./command/integration/sim-http-api-integration-commands.js";
12
+ import { SimHttpApiRouteCommands } from "./command/route/sim-http-api-route-commands.js";
13
+ import { SimHttpApiAccess } from "./command/sim-http-api-access.js";
14
+ import { SimHttpApiStageCommands } from "./command/stage/sim-http-api-stage-commands.js";
15
+ import { SimHttpApiRegistry } from "./registry/sim-http-api-registry.js";
16
+ import { SimApiGatewayV2SdkCommandRouter } from "./sdk/sim-api-gateway-v2-sdk-command-router.js";
17
+ /**
18
+ * Simulated API Gateway v2. Handles SDK commands. Emulates AWS behaviour and
19
+ * state.
20
+ *
21
+ * Only HTTP APIs are simulated, which is the half of the v2 API that is not
22
+ * WebSocket. APIs are scoped to an account and region, as they are on real
23
+ * AWS: the endpoint API Gateway generates names the region, and the API id is
24
+ * what tells two APIs apart rather than their names.
25
+ *
26
+ * An API owns its own routes, integrations and stages, because every one of
27
+ * them is addressed by ApiId on real AWS and none of them outlives the API.
28
+ */
29
+ export class SimApiGatewayV2 {
30
+ apis = new SimHttpApiStore();
31
+ apiCommands;
32
+ importCommands;
33
+ authorizerCommands;
34
+ integrationCommands;
35
+ routeCommands;
36
+ stageCommands;
37
+ background;
38
+ sdkRouter = new SimApiGatewayV2SdkCommandRouter(this);
39
+ cfnFactory = new SimApiGatewayV2CfnResourceFactory({
40
+ apiGatewayV2: this,
41
+ });
42
+ constructor(properties = {}) {
43
+ const { accountRegionScope = simAwsAccountRegionScopeFactory.make(), iam = new SimIamAllowAllAuth(), background = new BackgroundTasks(), registry = new SimHttpApiRegistry(), jwtIssuerKeys = new SimHttpApiNoJwtIssuerKeys(), } = properties;
44
+ const access = new SimHttpApiAccess({
45
+ apis: this.apis,
46
+ authorizer: new SimApiGatewayV2Authorizer({ iam, accountRegionScope }),
47
+ });
48
+ this.background = background;
49
+ this.apiCommands = new SimHttpApiCommands({
50
+ apis: this.apis,
51
+ registry,
52
+ access,
53
+ accountRegionScope,
54
+ clock: background,
55
+ jwtIssuerKeys,
56
+ });
57
+ this.authorizerCommands = new SimHttpApiAuthorizerCommands({ access });
58
+ this.integrationCommands = new SimHttpApiIntegrationCommands({ access });
59
+ this.routeCommands = new SimHttpApiRouteCommands({ access });
60
+ this.stageCommands = new SimHttpApiStageCommands({
61
+ access,
62
+ clock: background,
63
+ });
64
+ this.importCommands = new SimHttpApiImportCommands({
65
+ apis: this.apis,
66
+ registry,
67
+ apiCommands: this.apiCommands,
68
+ authorizerCommands: this.authorizerCommands,
69
+ integrationCommands: this.integrationCommands,
70
+ routeCommands: this.routeCommands,
71
+ });
72
+ }
73
+ /**
74
+ * Find an API by id.
75
+ *
76
+ * This is the simulator's own accessor, for tests seeding or inspecting API
77
+ * state without going through a Command and its authorization.
78
+ */
79
+ findApi(apiId) {
80
+ return this.apis.find(apiId);
81
+ }
82
+ /**
83
+ * Handle a CreateApi Command from the SDK.
84
+ */
85
+ async createApi(command, options) {
86
+ await this.background.sequence();
87
+ return this.apiCommands.createApi(command, options);
88
+ }
89
+ /**
90
+ * Handle an ImportApi Command from the SDK.
91
+ *
92
+ * The API, its routes, its integrations and its JWT authorizers all come
93
+ * from one OpenAPI 3.0 document. No stage is created, so an imported API
94
+ * answers 404 until a stage is created separately, which is what an import
95
+ * does on AWS.
96
+ */
97
+ async importApi(command, options) {
98
+ await this.background.sequence();
99
+ return this.importCommands.importApi(command, options);
100
+ }
101
+ /**
102
+ * Handle a GetApi Command from the SDK.
103
+ */
104
+ async getApi(command, options) {
105
+ await this.background.sequence();
106
+ return this.apiCommands.getApi(command, options);
107
+ }
108
+ /**
109
+ * Handle a GetApis Command from the SDK.
110
+ */
111
+ async getApis(command, options) {
112
+ await this.background.sequence();
113
+ return this.apiCommands.getApis(command, options);
114
+ }
115
+ /**
116
+ * Handle a DeleteApi Command from the SDK.
117
+ */
118
+ async deleteApi(command, options) {
119
+ await this.background.sequence();
120
+ return this.apiCommands.deleteApi(command, options);
121
+ }
122
+ /**
123
+ * Handle a CreateAuthorizer Command from the SDK.
124
+ */
125
+ async createAuthorizer(command, options) {
126
+ await this.background.sequence();
127
+ return this.authorizerCommands.createAuthorizer(command, options);
128
+ }
129
+ /**
130
+ * Handle a GetAuthorizers Command from the SDK.
131
+ */
132
+ async getAuthorizers(command, options) {
133
+ await this.background.sequence();
134
+ return this.authorizerCommands.getAuthorizers(command, options);
135
+ }
136
+ /**
137
+ * Handle a DeleteAuthorizer Command from the SDK.
138
+ */
139
+ async deleteAuthorizer(command, options) {
140
+ await this.background.sequence();
141
+ return this.authorizerCommands.deleteAuthorizer(command, options);
142
+ }
143
+ /**
144
+ * Handle a CreateIntegration Command from the SDK.
145
+ */
146
+ async createIntegration(command, options) {
147
+ await this.background.sequence();
148
+ return this.integrationCommands.createIntegration(command, options);
149
+ }
150
+ /**
151
+ * Handle a GetIntegrations Command from the SDK.
152
+ */
153
+ async getIntegrations(command, options) {
154
+ await this.background.sequence();
155
+ return this.integrationCommands.getIntegrations(command, options);
156
+ }
157
+ /**
158
+ * Handle a CreateRoute Command from the SDK.
159
+ */
160
+ async createRoute(command, options) {
161
+ await this.background.sequence();
162
+ return this.routeCommands.createRoute(command, options);
163
+ }
164
+ /**
165
+ * Handle a GetRoutes Command from the SDK.
166
+ */
167
+ async getRoutes(command, options) {
168
+ await this.background.sequence();
169
+ return this.routeCommands.getRoutes(command, options);
170
+ }
171
+ /**
172
+ * Handle a CreateStage Command from the SDK.
173
+ */
174
+ async createStage(command, options) {
175
+ await this.background.sequence();
176
+ return this.stageCommands.createStage(command, options);
177
+ }
178
+ /**
179
+ * Handle a GetStages Command from the SDK.
180
+ */
181
+ async getStages(command, options) {
182
+ await this.background.sequence();
183
+ return this.stageCommands.getStages(command, options);
184
+ }
185
+ /**
186
+ * Get this service's CloudFormation Resource factory.
187
+ */
188
+ cfnResourceFactory() {
189
+ return this.cfnFactory;
190
+ }
191
+ /**
192
+ * Get this service's SDK Command router for SDK client interception.
193
+ */
194
+ sdkCommandRouter() {
195
+ return this.sdkRouter;
196
+ }
197
+ }
198
+ //# sourceMappingURL=sim-api-gateway-v2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-api-gateway-v2.js","sourceRoot":"","sources":["../../../src/service/apigatewayv2/sim-api-gateway-v2.ts"],"names":[],"mappings":"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"}
@@ -2,11 +2,13 @@ import type { BackgroundCompleter, BackgroundScheduler } from "../../../util/bac
2
2
  import type { SimAwsAccountRegionContainer } from "../sim-aws-account-region-scope.js";
3
3
  import type { SimAws } from "../sim-aws.js";
4
4
  import { SimAcm } from "../../acm/sim-acm.js";
5
+ import { SimApiGatewayV2 } from "../../apigatewayv2/index.js";
5
6
  import { SimCloudFormation } from "../../cloudformation/index.js";
6
7
  import { SimCognitoIdentityProvider } from "../../cognito/index.js";
7
8
  import { SimDynamoDb as SimDynamoDatabase } from "../../dynamodb/index.js";
8
9
  import type { SimIamRegistry } from "../../iam/registry/sim-iam-registry.js";
9
10
  import { SimKms } from "../../kms/index.js";
11
+ import type { SimHttpApiRegistry } from "../../apigatewayv2/registry/sim-http-api-registry.js";
10
12
  import { SimLambda } from "../../lambda/index.js";
11
13
  import type { SimLambdaUrlRegistry } from "../../lambda/registry/sim-lambda-url-registry.js";
12
14
  import { SimS3 } from "../../s3/sim-s3.js";
@@ -22,6 +24,7 @@ interface SimAwsAccountRegionServiceBuilderProperties {
22
24
  readonly registries: SimAwsScopedServiceRegistries;
23
25
  readonly iamRegistry: SimIamRegistry;
24
26
  readonly lambdaUrlRegistry: SimLambdaUrlRegistry;
27
+ readonly httpApiRegistry: SimHttpApiRegistry;
25
28
  readonly accountServices: SimAwsAccountServiceCache;
26
29
  }
27
30
  /**
@@ -48,10 +51,18 @@ export declare class SimAwsAccountRegionServiceBuilder {
48
51
  private readonly registries;
49
52
  private readonly iamRegistry;
50
53
  private readonly lambdaUrlRegistry;
54
+ private readonly httpApiRegistry;
51
55
  private readonly accountServices;
52
56
  constructor(properties: SimAwsAccountRegionServiceBuilderProperties);
53
57
  /** Create simulated ACM for an Account Region scope. */
54
58
  createAcm(scope: SimAwsAccountRegionContainer): SimAcm;
59
+ /**
60
+ * Create simulated API Gateway v2 for an Account Region scope.
61
+ *
62
+ * HTTP APIs are Region-scoped on real AWS: the endpoint API Gateway
63
+ * generates names the Region, and an API cannot be reached from another one.
64
+ */
65
+ createApiGatewayV2(scope: SimAwsAccountRegionContainer): SimApiGatewayV2;
55
66
  /** Create simulated CloudFormation for an Account Region scope. */
56
67
  createCloudFormation(scope: SimAwsAccountRegionContainer): SimCloudFormation;
57
68
  /**