@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
@@ -1 +1 @@
1
- {"version":3,"file":"sim-dynamodb-sdk-command-router.js","sourceRoot":"","sources":["../../../../src/service/dynamodb/sdk/sim-dynamodb-sdk-command-router.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,GAGpB,MAAM,uBAAuB,CAAC;AAgC/B,OAAO,EAAE,gCAAgC,EAAE,MAAM,8CAA8C,CAAC;AAChG,OAAO,EAAE,yBAAyB,EAAE,MAAM,6CAA6C,CAAC;AAGxF;;GAEG;AACH,MAAM,OAAO,iCAAiC;IAC3B,MAAM,CAA0C;IAEjE,YAAY,iBAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,CAA6B;YAChD;gBACE,oBAAoB;gBACpB,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,iBAAiB,CAAC,WAAW,CACjC,OAAgC,EAChC,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;YACD;gBACE,sBAAsB;gBACtB,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,iBAAiB,CAAC,aAAa,CACnC,OAAkC,EAClC,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;YACD;gBACE,mBAAmB;gBACnB,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,iBAAiB,CAAC,UAAU,CAChC,OAA+B,EAC/B,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;YACD;gBACE,oBAAoB;gBACpB,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,iBAAiB,CAAC,WAAW,CACjC,OAAgC,EAChC,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;YACD;gBACE,gBAA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AAC,OAAO,CAAC,CAC7B;aACJ;YACD;gBACE,yBAAyB;gBACzB,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,iBAAiB,CAAC,gBAAgB,CACtC,OAAqC,EACrC,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;YACD,uEAAuE;YACvE,8CAA8C;YAC9C,GAAG,yBAAyB,CAAC,iBAAiB,CAAC;SAChD,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,qBAAqB;QACnB,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE,CAAC;IACtC,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,WAAmB;QACvB,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;IACtC,CAAC;CACF"}
1
+ {"version":3,"file":"sim-dynamodb-sdk-command-router.js","sourceRoot":"","sources":["../../../../src/service/dynamodb/sdk/sim-dynamodb-sdk-command-router.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,GAGpB,MAAM,uBAAuB,CAAC;AAiC/B,OAAO,EAAE,gCAAgC,EAAE,MAAM,8CAA8C,CAAC;AAChG,OAAO,EAAE,yBAAyB,EAAE,MAAM,6CAA6C,CAAC;AAGxF;;GAEG;AACH,MAAM,OAAO,iCAAiC;IAC3B,MAAM,CAA0C;IAEjE,YAAY,iBAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,CAA6B;YAChD;gBACE,oBAAoB;gBACpB,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,iBAAiB,CAAC,WAAW,CACjC,OAAgC,EAChC,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;YACD;gBACE,sBAAsB;gBACtB,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,iBAAiB,CAAC,aAAa,CACnC,OAAkC,EAClC,mBAAmB,CAA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aAAa,CACnC,OAAkC,EAClC,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;YACD;gBACE,2BAA2B;gBAC3B,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,iBAAiB,CAAC,kBAAkB,CACxC,OAAuC,EACvC,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;YACD;gBACE,yBAAyB;gBACzB,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,iBAAiB,CAAC,gBAAgB,CACtC,OAAqC,EACrC,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;YACD;gBACE,2BAA2B;gBAC3B,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,iBAAiB,CAAC,kBAAkB,CACxC,OAAuC,EACvC,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;YACD;gBACE,yBAAyB;gBACzB,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,iBAAiB,CAAC,gBAAgB,CACtC,OAAqC,EACrC,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;YACD,uEAAuE;YACvE,8CAA8C;YAC9C,GAAG,yBAAyB,CAAC,iBAAiB,CAAC;SAChD,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,qBAAqB;QACnB,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE,CAAC;IACtC,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,WAAmB;QACvB,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;IACtC,CAAC;CACF"}
@@ -0,0 +1,35 @@
1
+ import type { SimDynamoDbItem } from "../item/sim-dynamodb-item.js";
2
+ import type { SimDynamoDbIndexAttributes, SimDynamoDbIndexAttributesProperties } from "./sim-dynamodb-index-attributes.js";
3
+ /**
4
+ * The attributes a local secondary index carries, plus the base table's.
5
+ *
6
+ * A local secondary index entry sits in the same partition as the item it
7
+ * indexes, so DynamoDB can read that item while it walks the index. An
8
+ * attribute the index does not project is therefore fetched rather than
9
+ * refused, which is the fetch the extra read capacity is charged for.
10
+ *
11
+ * The projection still decides what a read answers with by default, so cutting
12
+ * an item down is the same job it is on a global secondary index and is left to
13
+ * that class. What differs is that nothing here refuses a read for asking
14
+ * beyond the projection.
15
+ */
16
+ export declare class SimDynamoDbFetchedIndexAttributes implements SimDynamoDbIndexAttributes {
17
+ private readonly projected;
18
+ constructor(properties: SimDynamoDbIndexAttributesProperties);
19
+ /**
20
+ * Cut an item down to the attributes the index projects.
21
+ *
22
+ * This is what a read answers with unless it asked for whole items, since
23
+ * `ALL_PROJECTED_ATTRIBUTES` is what a read of any index defaults to.
24
+ */
25
+ project(item: SimDynamoDbItem): SimDynamoDbItem;
26
+ /**
27
+ * Whole items are answerable from any projection, since the table is there.
28
+ */
29
+ assertCarriesWholeItem(): void;
30
+ /**
31
+ * Any attribute is nameable, since one outside the projection is fetched.
32
+ */
33
+ assertCarriesPaths(): void;
34
+ }
35
+ //# sourceMappingURL=sim-dynamodb-fetched-index-attributes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-dynamodb-fetched-index-attributes.d.ts","sourceRoot":"","sources":["../../../../src/service/dynamodb/secondary-index/sim-dynamodb-fetched-index-attributes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,KAAK,EACV,0BAA0B,EAC1B,oCAAoC,EACrC,MAAM,oCAAoC,CAAC;AAG5C;;;;;;;;;;;;GAYG;AACH,qBAAa,iCAAkC,YAAW,0BAA0B;IAClF,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAsC;IAEhE,YAAY,UAAU,EAAE,oCAAoC,EAE3D;IAED;;;;;OAKG;IACH,OAAO,CAAC,IAAI,EAAE,eAAe,GAAG,eAAe,CAE9C;IAED;;OAEG;IACH,sBAAsB,IAAI,IAAI,CAE7B;IAED;;OAEG;IACH,kBAAkB,IAAI,IAAI,CAEzB;CACF"}
@@ -0,0 +1,42 @@
1
+ import { SimDynamoDbProjectedIndexAttributes } from "./sim-dynamodb-projected-index-attributes.js";
2
+ /**
3
+ * The attributes a local secondary index carries, plus the base table's.
4
+ *
5
+ * A local secondary index entry sits in the same partition as the item it
6
+ * indexes, so DynamoDB can read that item while it walks the index. An
7
+ * attribute the index does not project is therefore fetched rather than
8
+ * refused, which is the fetch the extra read capacity is charged for.
9
+ *
10
+ * The projection still decides what a read answers with by default, so cutting
11
+ * an item down is the same job it is on a global secondary index and is left to
12
+ * that class. What differs is that nothing here refuses a read for asking
13
+ * beyond the projection.
14
+ */
15
+ export class SimDynamoDbFetchedIndexAttributes {
16
+ projected;
17
+ constructor(properties) {
18
+ this.projected = new SimDynamoDbProjectedIndexAttributes(properties);
19
+ }
20
+ /**
21
+ * Cut an item down to the attributes the index projects.
22
+ *
23
+ * This is what a read answers with unless it asked for whole items, since
24
+ * `ALL_PROJECTED_ATTRIBUTES` is what a read of any index defaults to.
25
+ */
26
+ project(item) {
27
+ return this.projected.project(item);
28
+ }
29
+ /**
30
+ * Whole items are answerable from any projection, since the table is there.
31
+ */
32
+ assertCarriesWholeItem() {
33
+ return;
34
+ }
35
+ /**
36
+ * Any attribute is nameable, since one outside the projection is fetched.
37
+ */
38
+ assertCarriesPaths() {
39
+ return;
40
+ }
41
+ }
42
+ //# sourceMappingURL=sim-dynamodb-fetched-index-attributes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-dynamodb-fetched-index-attributes.js","sourceRoot":"","sources":["../../../../src/service/dynamodb/secondary-index/sim-dynamodb-fetched-index-attributes.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,mCAAmC,EAAE,MAAM,8CAA8C,CAAC;AAEnG;;;;;;;;;;;;GAYG;AACH,MAAM,OAAO,iCAAiC;IAC3B,SAAS,CAAsC;IAEhE,YAAY,UAAgD;QAC1D,IAAI,CAAC,SAAS,GAAG,IAAI,mCAAmC,CAAC,UAAU,CAAC,CAAC;IACvE,CAAC;IAED;;;;;OAKG;IACH,OAAO,CAAC,IAAqB;QAC3B,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IAED;;OAEG;IACH,sBAAsB;QACpB,OAAO;IACT,CAAC;IAED;;OAEG;IACH,kBAAkB;QAChB,OAAO;IACT,CAAC;CACF"}
@@ -1,17 +1,11 @@
1
1
  import type { SimArn } from "../../aws/arn.js";
2
- import type { SimDynamoDbGlobalSecondaryIndexDescription, SimDynamoDbIndexStatus, SimDynamoDbSecondaryIndexInput } from "../command/table/table.types.js";
2
+ import type { SimDynamoDbGlobalSecondaryIndexDescription, SimDynamoDbSecondaryIndexInput, SimDynamoDbTableStatus } from "../command/table/table.types.js";
3
3
  import type { SimDynamoDbItem } from "../item/sim-dynamodb-item.js";
4
4
  import type { SimDynamoDbAttributeDefinitions } from "../table/sim-dynamodb-attribute-definitions.js";
5
5
  import { SimDynamoDbKeySchema } from "../table/sim-dynamodb-key-schema.js";
6
- import type { SimDynamoDbTableBilling } from "../table/sim-dynamodb-table-billing.js";
6
+ import type { SimDynamoDbIndexAttributes } from "./sim-dynamodb-index-attributes.js";
7
7
  import { SimDynamoDbIndexProjection } from "./sim-dynamodb-index-projection.js";
8
- /**
9
- * What a secondary index needs from the table it is declared on.
10
- */
11
- export interface SimDynamoDbSecondaryIndexTable {
12
- readonly tableArn: SimArn;
13
- readonly billing: SimDynamoDbTableBilling;
14
- }
8
+ import type { SimDynamoDbSecondaryIndex, SimDynamoDbSecondaryIndexTable } from "./sim-dynamodb-secondary-index.js";
15
9
  /**
16
10
  * One simulated global secondary index.
17
11
  *
@@ -20,12 +14,13 @@ export interface SimDynamoDbSecondaryIndexTable {
20
14
  * it holds are worked out when it is read, which is why nothing here is
21
15
  * maintained on the write path.
22
16
  */
23
- export declare class SimDynamoDbGlobalSecondaryIndex {
17
+ export declare class SimDynamoDbGlobalSecondaryIndex implements SimDynamoDbSecondaryIndex {
24
18
  readonly name: string;
25
19
  readonly arn: SimArn;
26
20
  readonly keySchema: SimDynamoDbKeySchema;
27
21
  readonly projection: SimDynamoDbIndexProjection;
28
22
  private readonly throughput;
23
+ private readonly lifecycle;
29
24
  private constructor();
30
25
  /**
31
26
  * Read one `GlobalSecondaryIndexes` entry a CreateTable request carries.
@@ -34,13 +29,50 @@ export declare class SimDynamoDbGlobalSecondaryIndex {
34
29
  * about.
35
30
  */
36
31
  static fromInput(input: SimDynamoDbSecondaryIndexInput, table: SimDynamoDbSecondaryIndexTable): SimDynamoDbGlobalSecondaryIndex;
32
+ /**
33
+ * Read the `Create` of a `GlobalSecondaryIndexUpdates` entry.
34
+ *
35
+ * An index declared this way is added to a table that already holds items, so
36
+ * it backfills where one declared on CreateTable does not. Everything else
37
+ * about it is read the same way, since a template or an SDK caller declares
38
+ * an index in the same shape either way.
39
+ */
40
+ static added(input: SimDynamoDbSecondaryIndexInput, table: SimDynamoDbSecondaryIndexTable): SimDynamoDbGlobalSecondaryIndex;
41
+ private static declared;
42
+ /**
43
+ * Finish building this index, so reads of it are answered.
44
+ */
45
+ activate(): void;
46
+ /**
47
+ * Refuse a read of this index while it is still being built.
48
+ */
49
+ assertReadable(): void;
50
+ /**
51
+ * Which attributes a read of this index answers with.
52
+ *
53
+ * A global secondary index is held apart from the table, so what it projects
54
+ * is the whole of what a read of it can answer with.
55
+ */
56
+ attributesOf(keyAttributeNames: ReadonlySet<string>): SimDynamoDbIndexAttributes;
57
+ /**
58
+ * Refuse a strongly consistent read of this index.
59
+ *
60
+ * A global secondary index is maintained asynchronously on AWS, so it cannot
61
+ * answer one at all. Every read here is strongly consistent, so accepting the
62
+ * request and ignoring the flag would leave a test passing on something real
63
+ * DynamoDB refuses outright.
64
+ */
65
+ assertAnswersConsistentRead(): void;
37
66
  /**
38
67
  * Refuse an item carrying one of this index's key attributes as another type.
39
68
  */
40
69
  assertItemKeyTypes(item: SimDynamoDbItem, attributeDefinitions: SimDynamoDbAttributeDefinitions): void;
41
70
  /**
42
71
  * Describe this index the way DynamoDB reports it.
72
+ *
73
+ * The table's status is taken rather than the index's own, since a table
74
+ * being deleted reports every index as DELETING whatever each one was doing.
43
75
  */
44
- toDescription(status: SimDynamoDbIndexStatus): SimDynamoDbGlobalSecondaryIndexDescription;
76
+ toDescription(tableStatus: SimDynamoDbTableStatus): SimDynamoDbGlobalSecondaryIndexDescription;
45
77
  }
46
78
  //# sourceMappingURL=sim-dynamodb-global-secondary-index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sim-dynamodb-global-secondary-index.d.ts","sourceRoot":"","sources":["../../../../src/service/dynamodb/secondary-index/sim-dynamodb-global-secondary-index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,KAAK,EACV,0CAA0C,EAC1C,sBAAsB,EACtB,8BAA8B,EAC/B,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,gDAAgD,CAAC;AACtG,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAE3E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAGtF,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAIhF;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,OAAO,EAAE,uBAAuB,CAAC;CAC3C;AAUD;;;;;;;GAOG;AACH,qBAAa,+BAA+B;IAC1C,SAAgB,IAAI,EAAE,MAAM,CAAC;IAC7B,SAAgB,GAAG,EAAE,MAAM,CAAC;IAC5B,SAAgB,SAAS,EAAE,oBAAoB,CAAC;IAChD,SAAgB,UAAU,EAAE,0BAA0B,CAAC;IAEvD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA6B;IAExD,OAAO,eAQN;IAED;;;;;OAKG;IACH,MAAM,CAAC,SAAS,CACd,KAAK,EAAE,8BAA8B,EACrC,KAAK,EAAE,8BAA8B,GACpC,+BAA+B,CAajC;IAED;;OAEG;IACH,kBAAkB,CAChB,IAAI,EAAE,eAAe,EACrB,oBAAoB,EAAE,+BAA+B,GACpD,IAAI,CAON;IAED;;OAEG;IACH,aAAa,CACX,MAAM,EAAE,sBAAsB,GAC7B,0CAA0C,CAY5C;CACF"}
1
+ {"version":3,"file":"sim-dynamodb-global-secondary-index.d.ts","sourceRoot":"","sources":["../../../../src/service/dynamodb/secondary-index/sim-dynamodb-global-secondary-index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,KAAK,EACV,0CAA0C,EAC1C,8BAA8B,EAC9B,sBAAsB,EACvB,MAAM,iCAAiC,CAAC;AAEzC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,gDAAgD,CAAC;AACtG,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAG3E,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAIrF,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAIhF,OAAO,KAAK,EACV,yBAAyB,EACzB,8BAA8B,EAC/B,MAAM,mCAAmC,CAAC;AAW3C;;;;;;;GAOG;AACH,qBAAa,+BAAgC,YAAW,yBAAyB;IAC/E,SAAgB,IAAI,EAAE,MAAM,CAAC;IAC7B,SAAgB,GAAG,EAAE,MAAM,CAAC;IAC5B,SAAgB,SAAS,EAAE,oBAAoB,CAAC;IAChD,SAAgB,UAAU,EAAE,0BAA0B,CAAC;IAEvD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA6B;IACxD,OAAO,CAAC,QAAQ,CAAC,SAAS,CAA4B;IAEtD,OAAO,eASN;IAED;;;;;OAKG;IACH,MAAM,CAAC,SAAS,CACd,KAAK,EAAE,8BAA8B,EACrC,KAAK,EAAE,8BAA8B,GACpC,+BAA+B,CASjC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,KAAK,CACV,KAAK,EAAE,8BAA8B,EACrC,KAAK,EAAE,8BAA8B,GACpC,+BAA+B,CASjC;IAED,OAAO,CAAC,MAAM,CAAC,QAAQ;IAmBvB;;OAEG;IACH,QAAQ,IAAI,IAAI,CAEf;IAED;;OAEG;IACH,cAAc,IAAI,IAAI,CAErB;IAED;;;;;OAKG;IACH,YAAY,CACV,iBAAiB,EAAE,WAAW,CAAC,MAAM,CAAC,GACrC,0BAA0B,CAM5B;IAED;;;;;;;OAOG;IACH,2BAA2B,IAAI,IAAI,CAKlC;IAED;;OAEG;IACH,kBAAkB,CAChB,IAAI,EAAE,eAAe,EACrB,oBAAoB,EAAE,+BAA+B,GACpD,IAAI,CAON;IAED;;;;;OAKG;IACH,aAAa,CACX,WAAW,EAAE,sBAAsB,GAClC,0CAA0C,CAa5C;CACF"}
@@ -1,9 +1,13 @@
1
+ import { SimDynamoDbValidationException } from "../error/dynamodb.error.js";
1
2
  import { SimDynamoDbKeySchema } from "../table/sim-dynamodb-key-schema.js";
2
3
  import { SimDynamoDbKeySchemaSubject } from "../table/sim-dynamodb-key-schema-subject.js";
3
4
  import { assertSimDynamoDbIndexKeyTypes } from "./sim-dynamodb-index-key-types.js";
5
+ import { SimDynamoDbIndexLifecycle } from "./sim-dynamodb-index-lifecycle.js";
6
+ import { simDynamoDbIndexStatus } from "./sim-dynamodb-index-status.js";
4
7
  import { SimDynamoDbIndexProjection } from "./sim-dynamodb-index-projection.js";
5
8
  import { readSimDynamoDbIndexName } from "./sim-dynamodb-index-name.js";
6
9
  import { readSimDynamoDbIndexThroughput } from "./sim-dynamodb-index-throughput.js";
10
+ import { SimDynamoDbProjectedIndexAttributes } from "./sim-dynamodb-projected-index-attributes.js";
7
11
  /**
8
12
  * One simulated global secondary index.
9
13
  *
@@ -18,6 +22,7 @@ export class SimDynamoDbGlobalSecondaryIndex {
18
22
  keySchema;
19
23
  projection;
20
24
  throughput;
25
+ lifecycle;
21
26
  constructor(properties) {
22
27
  this.name = properties.name;
23
28
  // An index ARN is the table's own with the index named under it, which is
@@ -26,6 +31,7 @@ export class SimDynamoDbGlobalSecondaryIndex {
26
31
  this.keySchema = properties.keySchema;
27
32
  this.projection = properties.projection;
28
33
  this.throughput = properties.throughput;
34
+ this.lifecycle = properties.lifecycle;
29
35
  }
30
36
  /**
31
37
  * Read one `GlobalSecondaryIndexes` entry a CreateTable request carries.
@@ -35,14 +41,67 @@ export class SimDynamoDbGlobalSecondaryIndex {
35
41
  */
36
42
  static fromInput(input, table) {
37
43
  const name = readSimDynamoDbIndexName(input.IndexName);
44
+ return this.declared(input, table, name, SimDynamoDbIndexLifecycle.withTable(name));
45
+ }
46
+ /**
47
+ * Read the `Create` of a `GlobalSecondaryIndexUpdates` entry.
48
+ *
49
+ * An index declared this way is added to a table that already holds items, so
50
+ * it backfills where one declared on CreateTable does not. Everything else
51
+ * about it is read the same way, since a template or an SDK caller declares
52
+ * an index in the same shape either way.
53
+ */
54
+ static added(input, table) {
55
+ const name = readSimDynamoDbIndexName(input.IndexName);
56
+ return this.declared(input, table, name, SimDynamoDbIndexLifecycle.backfilling(name));
57
+ }
58
+ static declared(input, table, name, lifecycle) {
38
59
  return new this({
39
60
  name,
40
61
  tableArn: table.tableArn,
41
62
  keySchema: SimDynamoDbKeySchema.fromInput(input.KeySchema, SimDynamoDbKeySchemaSubject.index(name)),
42
63
  projection: SimDynamoDbIndexProjection.fromInput(input.Projection, name),
43
64
  throughput: readSimDynamoDbIndexThroughput(input, name, table.billing),
65
+ lifecycle,
44
66
  });
45
67
  }
68
+ /**
69
+ * Finish building this index, so reads of it are answered.
70
+ */
71
+ activate() {
72
+ this.lifecycle.activate();
73
+ }
74
+ /**
75
+ * Refuse a read of this index while it is still being built.
76
+ */
77
+ assertReadable() {
78
+ this.lifecycle.assertReadable();
79
+ }
80
+ /**
81
+ * Which attributes a read of this index answers with.
82
+ *
83
+ * A global secondary index is held apart from the table, so what it projects
84
+ * is the whole of what a read of it can answer with.
85
+ */
86
+ attributesOf(keyAttributeNames) {
87
+ return new SimDynamoDbProjectedIndexAttributes({
88
+ indexName: this.name,
89
+ projection: this.projection,
90
+ keyAttributeNames,
91
+ });
92
+ }
93
+ /**
94
+ * Refuse a strongly consistent read of this index.
95
+ *
96
+ * A global secondary index is maintained asynchronously on AWS, so it cannot
97
+ * answer one at all. Every read here is strongly consistent, so accepting the
98
+ * request and ignoring the flag would leave a test passing on something real
99
+ * DynamoDB refuses outright.
100
+ */
101
+ assertAnswersConsistentRead() {
102
+ throw new SimDynamoDbValidationException(`Consistent reads are not supported on global secondary indexes, and ` +
103
+ `this request asks for one on ${this.name}`);
104
+ }
46
105
  /**
47
106
  * Refuse an item carrying one of this index's key attributes as another type.
48
107
  */
@@ -56,14 +115,18 @@ export class SimDynamoDbGlobalSecondaryIndex {
56
115
  }
57
116
  /**
58
117
  * Describe this index the way DynamoDB reports it.
118
+ *
119
+ * The table's status is taken rather than the index's own, since a table
120
+ * being deleted reports every index as DELETING whatever each one was doing.
59
121
  */
60
- toDescription(status) {
122
+ toDescription(tableStatus) {
61
123
  return {
62
124
  IndexName: this.name,
63
125
  IndexArn: this.arn,
64
126
  KeySchema: this.keySchema.elements,
65
127
  Projection: this.projection.toDescription(),
66
- IndexStatus: status,
128
+ IndexStatus: simDynamoDbIndexStatus(tableStatus, this.lifecycle.status),
129
+ Backfilling: this.lifecycle.backfilling,
67
130
  ProvisionedThroughput: this.throughput.toDescription(),
68
131
  // Neither figure is tracked, the same way the table's are not.
69
132
  ItemCount: 0,
@@ -1 +1 @@
1
- {"version":3,"file":"sim-dynamodb-global-secondary-index.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AC,CACxC;YACD,UAAU,EAAE,0BAA0B,CAAC,SAAS,CAAC,KAAK,CAAC,UAAU,EAAE,IAAI,CAAC;YACxE,UAAU,EAAE,8BAA8B,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC;SACvE,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,kBAAkB,CAChB,IAAqB,EACrB,oBAAqD;QAErD,8BAA8B,CAAC;YAC7B,SAAS,EAAE,IAAI,CAAC,IAAI;YACpB,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,IAAI;YACJ,oBAAoB;SACrB,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,aAAa,CACX,MAA8B;QAE9B,OAAO;YACL,SAAS,EAAE,IAAI,CAAC,IAAI;YACpB,QAAQ,EAAE,IAAI,CAAC,GAAG;YAClB,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ;YAClC,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE;YAC3C,WAAW,EAAE,MAAM;YACnB,qBAAqB,EAAE,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE;YACtD,+DAA+D;YAC/D,SAAS,EAAE,CAAC;YACZ,cAAc,EAAE,CAAC;SAClB,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"sim-dynamodb-global-secondary-index.js","sourceRoot":"","sources":["../../../../src/service/dynamodb/secondary-index/sim-dynamodb-global-secondary-index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,8BAA8B,EAAE,MAAM,4BAA4B,CAAC;AAG5E,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,2BAA2B,EAAE,MAAM,6CAA6C,CAAC;AAG1F,OAAO,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAC;AACnF,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAA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,IAAI;YACJ,oBAAoB;SACrB,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,aAAa,CACX,WAAmC;QAEnC,OAAO;YACL,SAAS,EAAE,IAAI,CAAC,IAAI;YACpB,QAAQ,EAAE,IAAI,CAAC,GAAG;YAClB,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ;YAClC,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE;YAC3C,WAAW,EAAE,sBAAsB,CAAC,WAAW,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC;YACvE,WAAW,EAAE,IAAI,CAAC,SAAS,CAAC,WAAW;YACvC,qBAAqB,EAAE,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE;YACtD,+DAA+D;YAC/D,SAAS,EAAE,CAAC;YACZ,cAAc,EAAE,CAAC;SAClB,CAAC;IACJ,CAAC;CACF"}
@@ -1,16 +1,22 @@
1
- import type { SimDynamoDbGlobalSecondaryIndexDescription, SimDynamoDbIndexStatus, SimDynamoDbSecondaryIndexInput } from "../command/table/table.types.js";
2
- import type { SimDynamoDbItem } from "../item/sim-dynamodb-item.js";
3
- import type { SimDynamoDbAttributeDefinitions } from "../table/sim-dynamodb-attribute-definitions.js";
4
- import type { SimDynamoDbKeySchema } from "../table/sim-dynamodb-key-schema.js";
5
- import { SimDynamoDbGlobalSecondaryIndex, type SimDynamoDbSecondaryIndexTable } from "./sim-dynamodb-global-secondary-index.js";
1
+ import type { SimDynamoDbGlobalSecondaryIndexDescription, SimDynamoDbSecondaryIndexInput, SimDynamoDbTableStatus } from "../command/table/table.types.js";
2
+ import { SimDynamoDbGlobalSecondaryIndex } from "./sim-dynamodb-global-secondary-index.js";
3
+ import type { SimDynamoDbTableUpdate } from "../table/sim-dynamodb-table-update.js";
4
+ import type { SimDynamoDbSecondaryIndexTable } from "./sim-dynamodb-secondary-index.js";
6
5
  /**
7
6
  * The global secondary indexes one table carries.
8
7
  *
9
8
  * The collection owns what is about how many there are, and each index owns
10
- * what is about itself, the same split the table tags follow.
9
+ * what is about itself, the same split the table tags follow. The rules that
10
+ * span both kinds of index, such as a name being unique across them, belong to
11
+ * `SimDynamoDbSecondaryIndexes` instead.
12
+ *
13
+ * UpdateTable adds and removes indexes on a live table, so what a table carries
14
+ * changes over its life. The collection is what changes, rather than the table
15
+ * being given a new one, so everything already holding the table keeps reading
16
+ * the indexes it has now.
11
17
  */
12
18
  export declare class SimDynamoDbGlobalSecondaryIndexes {
13
- readonly elements: readonly SimDynamoDbGlobalSecondaryIndex[];
19
+ #private;
14
20
  private constructor();
15
21
  /**
16
22
  * The indexes of a table declaring none.
@@ -21,22 +27,41 @@ export declare class SimDynamoDbGlobalSecondaryIndexes {
21
27
  */
22
28
  static fromInput(input: readonly SimDynamoDbSecondaryIndexInput[] | undefined, table: SimDynamoDbSecondaryIndexTable): SimDynamoDbGlobalSecondaryIndexes;
23
29
  /**
24
- * The key schemas these indexes are read by.
30
+ * The indexes this table carries now.
31
+ */
32
+ get elements(): readonly SimDynamoDbGlobalSecondaryIndex[];
33
+ /**
34
+ * Take the part of an UpdateTable that adds or removes an index.
35
+ *
36
+ * A request carries at most one of either, since that is AWS's limit, and
37
+ * both have already been checked against the table by this point. A local
38
+ * secondary index is never here, because neither AWS nor this changes one
39
+ * after the table exists.
40
+ */
41
+ applyUpdate(update: SimDynamoDbTableUpdate): void;
42
+ /**
43
+ * Find a global secondary index by name, refusing one this table lacks.
25
44
  *
26
- * `AttributeDefinitions` has to name every key attribute of every index as
27
- * well as the table's own, so the schemas are reachable together.
45
+ * UpdateTable names an index to delete rather than describing it, and real
46
+ * DynamoDB answers a name it does not have with `ResourceNotFoundException`.
47
+ * A local secondary index is not found here either, since neither AWS nor
48
+ * this changes one through `GlobalSecondaryIndexUpdates`.
28
49
  */
29
- keySchemas(): readonly SimDynamoDbKeySchema[];
50
+ required(indexName: string, tableName: string): SimDynamoDbGlobalSecondaryIndex;
30
51
  /**
31
- * Refuse an item carrying an index key attribute as the wrong type.
52
+ * Finish building every index this table carries.
32
53
  */
33
- assertItemKeyTypes(item: SimDynamoDbItem, attributeDefinitions: SimDynamoDbAttributeDefinitions): void;
54
+ activate(): void;
34
55
  /**
35
56
  * How a table reports its indexes, which is not at all when it has none.
36
57
  *
37
58
  * Real DynamoDB leaves `GlobalSecondaryIndexes` out of the description of a
38
59
  * table with no index, rather than reporting an empty list.
39
60
  */
40
- descriptions(status: SimDynamoDbIndexStatus): readonly SimDynamoDbGlobalSecondaryIndexDescription[] | undefined;
61
+ descriptions(tableStatus: SimDynamoDbTableStatus): readonly SimDynamoDbGlobalSecondaryIndexDescription[] | undefined;
62
+ /**
63
+ * Take an index off this table.
64
+ */
65
+ private remove;
41
66
  }
42
67
  //# sourceMappingURL=sim-dynamodb-global-secondary-indexes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sim-dynamodb-global-secondary-indexes.d.ts","sourceRoot":"","sources":["../../../../src/service/dynamodb/secondary-index/sim-dynamodb-global-secondary-indexes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,0CAA0C,EAC1C,sBAAsB,EACtB,8BAA8B,EAC/B,MAAM,iCAAiC,CAAC;AAEzC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,gDAAgD,CAAC;AACtG,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAChF,OAAO,EACL,+BAA+B,EAC/B,KAAK,8BAA8B,EACpC,MAAM,0CAA0C,CAAC;AAyDlD;;;;;GAKG;AACH,qBAAa,iCAAiC;IAC5C,SAAgB,QAAQ,EAAE,SAAS,+BAA+B,EAAE,CAAC;IAErE,OAAO,eAEN;IAED;;OAEG;IACH,MAAM,CAAC,IAAI,IAAI,iCAAiC,CAE/C;IAED;;OAEG;IACH,MAAM,CAAC,SAAS,CACd,KAAK,EAAE,SAAS,8BAA8B,EAAE,GAAG,SAAS,EAC5D,KAAK,EAAE,8BAA8B,GACpC,iCAAiC,CAoBnC;IAED;;;;;OAKG;IACH,UAAU,IAAI,SAAS,oBAAoB,EAAE,CAE5C;IAED;;OAEG;IACH,kBAAkB,CAChB,IAAI,EAAE,eAAe,EACrB,oBAAoB,EAAE,+BAA+B,GACpD,IAAI,CAIN;IAED;;;;;OAKG;IACH,YAAY,CACV,MAAM,EAAE,sBAAsB,GAC7B,SAAS,0CAA0C,EAAE,GAAG,SAAS,CAMnE;CACF"}
1
+ {"version":3,"file":"sim-dynamodb-global-secondary-indexes.d.ts","sourceRoot":"","sources":["../../../../src/service/dynamodb/secondary-index/sim-dynamodb-global-secondary-indexes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,0CAA0C,EAC1C,8BAA8B,EAC9B,sBAAsB,EACvB,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EAAE,+BAA+B,EAAE,MAAM,0CAA0C,CAAC;AAE3F,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AACpF,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAC;AAExF;;;;;;;;;;;;GAYG;AACH,qBAAa,iCAAiC;;IAG5C,OAAO,eAEN;IAED;;OAEG;IACH,MAAM,CAAC,IAAI,IAAI,iCAAiC,CAE/C;IAED;;OAEG;IACH,MAAM,CAAC,SAAS,CACd,KAAK,EAAE,SAAS,8BAA8B,EAAE,GAAG,SAAS,EAC5D,KAAK,EAAE,8BAA8B,GACpC,iCAAiC,CAYnC;IAED;;OAEG;IACH,IAAI,QAAQ,IAAI,SAAS,+BAA+B,EAAE,CAEzD;IAED;;;;;;;OAOG;IACH,WAAW,CAAC,MAAM,EAAE,sBAAsB,GAAG,IAAI,CAQhD;IAED;;;;;;;OAOG;IACH,QAAQ,CACN,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,GAChB,+BAA+B,CAajC;IAED;;OAEG;IACH,QAAQ,IAAI,IAAI,CAIf;IAED;;;;;OAKG;IACH,YAAY,CACV,WAAW,EAAE,sBAAsB,GAClC,SAAS,0CAA0C,EAAE,GAAG,SAAS,CAMnE;IAED;;OAEG;IACH,OAAO,CAAC,MAAM;CAGf"}
@@ -1,52 +1,23 @@
1
- import { SimDynamoDbValidationException } from "../error/dynamodb.error.js";
2
- import { SimDynamoDbGlobalSecondaryIndex, } from "./sim-dynamodb-global-secondary-index.js";
3
- /**
4
- * The most global secondary indexes one table holds.
5
- */
6
- const maxIndexes = 20;
7
- /**
8
- * The most NonKeyAttributes one table projects across all of its indexes.
9
- */
10
- const maxProjectedAttributes = 100;
11
- /**
12
- * Refuse a request declaring one index name twice.
13
- *
14
- * An index is reached by name, so two indexes sharing one leave a read with no
15
- * way of saying which it meant.
16
- */
17
- function assertDistinctNames(elements) {
18
- const names = new Set(elements.map((index) => index.name));
19
- if (names.size !== elements.length) {
20
- throw new SimDynamoDbValidationException("GlobalSecondaryIndexes names an index more than once, and an index " +
21
- "name is unique within a table");
22
- }
23
- }
24
- /**
25
- * Refuse a table projecting more attributes than DynamoDB lets it.
26
- *
27
- * The 20 an index projects is not the whole rule: a table is capped at 100
28
- * across all of its indexes too, which six fully projecting indexes reach. An
29
- * attribute projected into two indexes counts twice, so this is a plain sum
30
- * rather than a count of distinct names, as it is on AWS.
31
- */
32
- function assertProjectedAttributeCount(elements) {
33
- const projected = elements.reduce((total, index) => total + index.projection.nonKeyAttributeCount, 0);
34
- if (projected > maxProjectedAttributes) {
35
- const most = maxProjectedAttributes.toString();
36
- throw new SimDynamoDbValidationException(`${projected.toString()} NonKeyAttributes are projected across the ` +
37
- `table's indexes, and a table projects at most ${most}`);
38
- }
39
- }
1
+ import { SimDynamoDbResourceNotFoundException } from "../error/dynamodb.error.js";
2
+ import { SimDynamoDbGlobalSecondaryIndex } from "./sim-dynamodb-global-secondary-index.js";
3
+ import { assertSimDynamoDbIndexCount } from "./sim-dynamodb-index-limits.js";
40
4
  /**
41
5
  * The global secondary indexes one table carries.
42
6
  *
43
7
  * The collection owns what is about how many there are, and each index owns
44
- * what is about itself, the same split the table tags follow.
8
+ * what is about itself, the same split the table tags follow. The rules that
9
+ * span both kinds of index, such as a name being unique across them, belong to
10
+ * `SimDynamoDbSecondaryIndexes` instead.
11
+ *
12
+ * UpdateTable adds and removes indexes on a live table, so what a table carries
13
+ * changes over its life. The collection is what changes, rather than the table
14
+ * being given a new one, so everything already holding the table keeps reading
15
+ * the indexes it has now.
45
16
  */
46
17
  export class SimDynamoDbGlobalSecondaryIndexes {
47
- elements;
18
+ #elements;
48
19
  constructor(elements) {
49
- this.elements = elements;
20
+ this.#elements = elements;
50
21
  }
51
22
  /**
52
23
  * The indexes of a table declaring none.
@@ -61,30 +32,53 @@ export class SimDynamoDbGlobalSecondaryIndexes {
61
32
  if (input === undefined || input.length === 0) {
62
33
  return this.none();
63
34
  }
64
- if (input.length > maxIndexes) {
65
- throw new SimDynamoDbValidationException(`${input.length.toString()} GlobalSecondaryIndexes were given, and a ` +
66
- `table holds at most ${maxIndexes.toString()}`);
35
+ assertSimDynamoDbIndexCount(input.length);
36
+ return new this(input.map((index) => SimDynamoDbGlobalSecondaryIndex.fromInput(index, table)));
37
+ }
38
+ /**
39
+ * The indexes this table carries now.
40
+ */
41
+ get elements() {
42
+ return this.#elements;
43
+ }
44
+ /**
45
+ * Take the part of an UpdateTable that adds or removes an index.
46
+ *
47
+ * A request carries at most one of either, since that is AWS's limit, and
48
+ * both have already been checked against the table by this point. A local
49
+ * secondary index is never here, because neither AWS nor this changes one
50
+ * after the table exists.
51
+ */
52
+ applyUpdate(update) {
53
+ if (update.indexCreated !== undefined) {
54
+ this.#elements.push(update.indexCreated);
55
+ }
56
+ if (update.indexDeleted !== undefined) {
57
+ this.remove(update.indexDeleted);
67
58
  }
68
- const elements = input.map((index) => SimDynamoDbGlobalSecondaryIndex.fromInput(index, table));
69
- assertDistinctNames(elements);
70
- assertProjectedAttributeCount(elements);
71
- return new this(elements);
72
59
  }
73
60
  /**
74
- * The key schemas these indexes are read by.
61
+ * Find a global secondary index by name, refusing one this table lacks.
75
62
  *
76
- * `AttributeDefinitions` has to name every key attribute of every index as
77
- * well as the table's own, so the schemas are reachable together.
63
+ * UpdateTable names an index to delete rather than describing it, and real
64
+ * DynamoDB answers a name it does not have with `ResourceNotFoundException`.
65
+ * A local secondary index is not found here either, since neither AWS nor
66
+ * this changes one through `GlobalSecondaryIndexUpdates`.
78
67
  */
79
- keySchemas() {
80
- return this.elements.map((index) => index.keySchema);
68
+ required(indexName, tableName) {
69
+ const index = this.#elements.find((candidate) => candidate.name === indexName);
70
+ if (index === undefined) {
71
+ throw new SimDynamoDbResourceNotFoundException(`The table ${tableName} does not have the specified global secondary ` +
72
+ `index: ${indexName}`);
73
+ }
74
+ return index;
81
75
  }
82
76
  /**
83
- * Refuse an item carrying an index key attribute as the wrong type.
77
+ * Finish building every index this table carries.
84
78
  */
85
- assertItemKeyTypes(item, attributeDefinitions) {
86
- for (const index of this.elements) {
87
- index.assertItemKeyTypes(item, attributeDefinitions);
79
+ activate() {
80
+ for (const index of this.#elements) {
81
+ index.activate();
88
82
  }
89
83
  }
90
84
  /**
@@ -93,11 +87,17 @@ export class SimDynamoDbGlobalSecondaryIndexes {
93
87
  * Real DynamoDB leaves `GlobalSecondaryIndexes` out of the description of a
94
88
  * table with no index, rather than reporting an empty list.
95
89
  */
96
- descriptions(status) {
97
- if (this.elements.length === 0) {
90
+ descriptions(tableStatus) {
91
+ if (this.#elements.length === 0) {
98
92
  return undefined;
99
93
  }
100
- return this.elements.map((index) => index.toDescription(status));
94
+ return this.#elements.map((index) => index.toDescription(tableStatus));
95
+ }
96
+ /**
97
+ * Take an index off this table.
98
+ */
99
+ remove(indexName) {
100
+ this.#elements = this.#elements.filter((index) => index.name !== indexName);
101
101
  }
102
102
  }
103
103
  //# sourceMappingURL=sim-dynamodb-global-secondary-indexes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sim-dynamodb-global-secondary-indexes.js","sourceR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,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,OAAO,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC;IACnE,CAAC;CACF"}
1
+ {"version":3,"file":"sim-dynamodb-global-secondary-indexes.js","sourceRoot":"","sources":["../../../../src/service/dynamodb/secondary-index/sim-dynamodb-global-secondary-indexes.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,oCAAoC,EAAE,MAAM,4BAA4B,CAAC;AAClF,OAAO,EAAE,+BAA+B,EAAE,MAAM,0CAA0C,CAAC;AAC3F,OAAO,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAI7E;;;;;;;;;;;;GAYG;AACH,MAAM,OAAO,iCAAiC;IAC5C,SAAS,CAAoC;IAE7C,YAAoB,QAA2C;QAC7D,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC;IAC5B,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,IAAI;QACT,OAAO,IAAI,IAAI,CAAC,EAAE,CAAC,CAAC;IACtB,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,SAAS,CACd,KAA4D,EAC5D,KAAqC;QAErC,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC9C,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;QACrB,CAAC;QAED,2BAA2B,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAE1C,OAAO,IAAI,IAAI,CACb,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAClB,+BAA+B,CAAC,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC,CACxD,CACF,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,IAAI,QAAQ;QACV,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;IAED;;;;;;;OAOG;IACH,WAAW,CAAC,MAA8B;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