@kensio/yulin 1.20.0 → 1.20.2

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 (868) hide show
  1. package/README.md +1 -0
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +1 -0
  5. package/dist/index.js.map +1 -1
  6. package/dist/sdk/router/resolve-sim-sdk-command-router.d.ts.map +1 -1
  7. package/dist/sdk/router/resolve-sim-sdk-command-router.js +8 -0
  8. package/dist/sdk/router/resolve-sim-sdk-command-router.js.map +1 -1
  9. package/dist/service/apigateway/api/sim-rest-api-lambda-proxy.factory.d.ts +2 -5
  10. package/dist/service/apigateway/api/sim-rest-api-lambda-proxy.factory.d.ts.map +1 -1
  11. package/dist/service/apigateway/api/sim-rest-api-lambda-proxy.factory.js +3 -7
  12. package/dist/service/apigateway/api/sim-rest-api-lambda-proxy.factory.js.map +1 -1
  13. package/dist/service/apigateway/api/sim-rest-api-proxy-stage.d.ts +22 -0
  14. package/dist/service/apigateway/api/sim-rest-api-proxy-stage.d.ts.map +1 -0
  15. package/dist/service/apigateway/api/sim-rest-api-proxy-stage.js +31 -0
  16. package/dist/service/apigateway/api/sim-rest-api-proxy-stage.js.map +1 -0
  17. package/dist/service/apigateway/api/stage/settings/sim-rest-api-method-settings.type.d.ts +19 -0
  18. package/dist/service/apigateway/api/stage/settings/sim-rest-api-method-settings.type.d.ts.map +1 -0
  19. package/dist/service/apigateway/api/stage/settings/sim-rest-api-method-settings.type.js +2 -0
  20. package/dist/service/apigateway/api/stage/settings/sim-rest-api-method-settings.type.js.map +1 -0
  21. package/dist/service/apigateway/api/stage/settings/sim-rest-api-stage-method-settings.d.ts +43 -0
  22. package/dist/service/apigateway/api/stage/settings/sim-rest-api-stage-method-settings.d.ts.map +1 -0
  23. package/dist/service/apigateway/api/stage/settings/sim-rest-api-stage-method-settings.js +75 -0
  24. package/dist/service/apigateway/api/stage/settings/sim-rest-api-stage-method-settings.js.map +1 -0
  25. package/dist/service/apigateway/api/stage/sim-rest-api-stage.d.ts +19 -0
  26. package/dist/service/apigateway/api/stage/sim-rest-api-stage.d.ts.map +1 -1
  27. package/dist/service/apigateway/api/stage/sim-rest-api-stage.js +22 -0
  28. package/dist/service/apigateway/api/stage/sim-rest-api-stage.js.map +1 -1
  29. package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-method-settings-properties.d.ts +33 -0
  30. package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-method-settings-properties.d.ts.map +1 -0
  31. package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-method-settings-properties.js +69 -0
  32. package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-method-settings-properties.js.map +1 -0
  33. package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-stage-properties.d.ts +4 -1
  34. package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-stage-properties.d.ts.map +1 -1
  35. package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-stage-properties.js +13 -4
  36. package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-stage-properties.js.map +1 -1
  37. package/dist/service/apigateway/command/sim-api-gateway-unsimulated-input.d.ts +6 -1
  38. package/dist/service/apigateway/command/sim-api-gateway-unsimulated-input.d.ts.map +1 -1
  39. package/dist/service/apigateway/command/sim-api-gateway-unsimulated-input.js +8 -3
  40. package/dist/service/apigateway/command/sim-api-gateway-unsimulated-input.js.map +1 -1
  41. package/dist/service/apigateway/command/stage/sim-rest-api-stage-commands.d.ts.map +1 -1
  42. package/dist/service/apigateway/command/stage/sim-rest-api-stage-commands.js +4 -0
  43. package/dist/service/apigateway/command/stage/sim-rest-api-stage-commands.js.map +1 -1
  44. package/dist/service/apigateway/command/stage/sim-rest-api-stage-method-settings-input.d.ts +18 -0
  45. package/dist/service/apigateway/command/stage/sim-rest-api-stage-method-settings-input.d.ts.map +1 -0
  46. package/dist/service/apigateway/command/stage/sim-rest-api-stage-method-settings-input.js +42 -0
  47. package/dist/service/apigateway/command/stage/sim-rest-api-stage-method-settings-input.js.map +1 -0
  48. package/dist/service/apigateway/command/stage/sim-rest-api-stage-publisher.d.ts +9 -0
  49. package/dist/service/apigateway/command/stage/sim-rest-api-stage-publisher.d.ts.map +1 -1
  50. package/dist/service/apigateway/command/stage/sim-rest-api-stage-publisher.js +17 -0
  51. package/dist/service/apigateway/command/stage/sim-rest-api-stage-publisher.js.map +1 -1
  52. package/dist/service/apigateway/command/stage/stage.command.d.ts +11 -0
  53. package/dist/service/apigateway/command/stage/stage.command.d.ts.map +1 -1
  54. package/dist/service/apigateway/index.d.ts +2 -0
  55. package/dist/service/apigateway/index.d.ts.map +1 -1
  56. package/dist/service/apigateway/index.js +1 -0
  57. package/dist/service/apigateway/index.js.map +1 -1
  58. package/dist/service/apigateway/serve/sim-api-gateway-controller.d.ts +4 -1
  59. package/dist/service/apigateway/serve/sim-api-gateway-controller.d.ts.map +1 -1
  60. package/dist/service/apigateway/serve/sim-api-gateway-controller.js +10 -1
  61. package/dist/service/apigateway/serve/sim-api-gateway-controller.js.map +1 -1
  62. package/dist/service/apigateway/serve/sim-api-gateway-error-response.d.ts +8 -0
  63. package/dist/service/apigateway/serve/sim-api-gateway-error-response.d.ts.map +1 -1
  64. package/dist/service/apigateway/serve/sim-api-gateway-error-response.js +10 -0
  65. package/dist/service/apigateway/serve/sim-api-gateway-error-response.js.map +1 -1
  66. package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.d.ts +5 -0
  67. package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.d.ts.map +1 -1
  68. package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.js +4 -0
  69. package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.js.map +1 -1
  70. package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-route-settings.type.d.ts +24 -0
  71. package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-route-settings.type.d.ts.map +1 -0
  72. package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-route-settings.type.js +2 -0
  73. package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-route-settings.type.js.map +1 -0
  74. package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-stage-route-settings.d.ts +39 -0
  75. package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-stage-route-settings.d.ts.map +1 -0
  76. package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-stage-route-settings.js +74 -0
  77. package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-stage-route-settings.js.map +1 -0
  78. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage.d.ts +16 -1
  79. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage.d.ts.map +1 -1
  80. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage.js +16 -0
  81. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage.js.map +1 -1
  82. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-route-settings-properties.d.ts +30 -0
  83. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-route-settings-properties.d.ts.map +1 -0
  84. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-route-settings-properties.js +67 -0
  85. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-route-settings-properties.js.map +1 -0
  86. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.d.ts +3 -1
  87. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.d.ts.map +1 -1
  88. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.js +16 -5
  89. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.js.map +1 -1
  90. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-unsimulated-input.d.ts +6 -1
  91. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-unsimulated-input.d.ts.map +1 -1
  92. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-unsimulated-input.js +8 -3
  93. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-unsimulated-input.js.map +1 -1
  94. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-commands.d.ts.map +1 -1
  95. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-commands.js +8 -0
  96. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-commands.js.map +1 -1
  97. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-route-settings-input.d.ts +18 -0
  98. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-route-settings-input.d.ts.map +1 -0
  99. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-route-settings-input.js +32 -0
  100. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-route-settings-input.js.map +1 -0
  101. package/dist/service/apigatewayv2/command/stage/stage.command.d.ts +3 -0
  102. package/dist/service/apigatewayv2/command/stage/stage.command.d.ts.map +1 -1
  103. package/dist/service/apigatewayv2/index.d.ts +2 -0
  104. package/dist/service/apigatewayv2/index.d.ts.map +1 -1
  105. package/dist/service/apigatewayv2/index.js +1 -0
  106. package/dist/service/apigatewayv2/index.js.map +1 -1
  107. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.d.ts +4 -1
  108. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.d.ts.map +1 -1
  109. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.js +11 -2
  110. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.js.map +1 -1
  111. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-error-response.d.ts +8 -0
  112. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-error-response.d.ts.map +1 -1
  113. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-error-response.js +10 -0
  114. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-error-response.js.map +1 -1
  115. package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts +11 -0
  116. package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts.map +1 -1
  117. package/dist/service/aws/factory/sim-aws-account-region-service-builder.js +17 -1
  118. package/dist/service/aws/factory/sim-aws-account-region-service-builder.js.map +1 -1
  119. package/dist/service/aws/factory/sim-aws-account-service-cache.d.ts.map +1 -1
  120. package/dist/service/aws/factory/sim-aws-account-service-cache.js +5 -0
  121. package/dist/service/aws/factory/sim-aws-account-service-cache.js.map +1 -1
  122. package/dist/service/aws/factory/sim-aws-cross-account-collaborators.d.ts +10 -0
  123. package/dist/service/aws/factory/sim-aws-cross-account-collaborators.d.ts.map +1 -1
  124. package/dist/service/aws/factory/sim-aws-cross-account-collaborators.js +15 -0
  125. package/dist/service/aws/factory/sim-aws-cross-account-collaborators.js.map +1 -1
  126. package/dist/service/aws/factory/sim-aws-self-contained-service-builder.d.ts +9 -0
  127. package/dist/service/aws/factory/sim-aws-self-contained-service-builder.d.ts.map +1 -1
  128. package/dist/service/aws/factory/sim-aws-self-contained-service-builder.js +15 -0
  129. package/dist/service/aws/factory/sim-aws-self-contained-service-builder.js.map +1 -1
  130. package/dist/service/aws/factory/sim-aws-service-factory.d.ts +6 -0
  131. package/dist/service/aws/factory/sim-aws-service-factory.d.ts.map +1 -1
  132. package/dist/service/aws/factory/sim-aws-service-factory.js +8 -0
  133. package/dist/service/aws/factory/sim-aws-service-factory.js.map +1 -1
  134. package/dist/service/aws/sim-aws-account-region-scope.d.ts +6 -0
  135. package/dist/service/aws/sim-aws-account-region-scope.d.ts.map +1 -1
  136. package/dist/service/aws/sim-aws-account-region-scope.js +8 -0
  137. package/dist/service/aws/sim-aws-account-region-scope.js.map +1 -1
  138. package/dist/service/aws/sim-aws-account.d.ts +5 -0
  139. package/dist/service/aws/sim-aws-account.d.ts.map +1 -1
  140. package/dist/service/aws/sim-aws-account.js +6 -0
  141. package/dist/service/aws/sim-aws-account.js.map +1 -1
  142. package/dist/service/aws/sim-aws-region.d.ts +5 -0
  143. package/dist/service/aws/sim-aws-region.d.ts.map +1 -1
  144. package/dist/service/aws/sim-aws-region.js +6 -0
  145. package/dist/service/aws/sim-aws-region.js.map +1 -1
  146. package/dist/service/aws/sim-aws-service-accessors.d.ts +6 -0
  147. package/dist/service/aws/sim-aws-service-accessors.d.ts.map +1 -1
  148. package/dist/service/aws/sim-aws-service-accessors.js +8 -0
  149. package/dist/service/aws/sim-aws-service-accessors.js.map +1 -1
  150. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-cfn-value-adapter.d.ts +6 -0
  151. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-cfn-value-adapter.d.ts.map +1 -0
  152. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-cfn-value-adapter.js +15 -0
  153. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-cfn-value-adapter.js.map +1 -0
  154. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-delivery-stream-cfn.d.ts +23 -0
  155. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-delivery-stream-cfn.d.ts.map +1 -0
  156. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-delivery-stream-cfn.js +29 -0
  157. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-delivery-stream-cfn.js.map +1 -0
  158. package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.d.ts.map +1 -1
  159. package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.js +4 -0
  160. package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.js.map +1 -1
  161. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.d.ts +27 -0
  162. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.d.ts.map +1 -0
  163. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.js +47 -0
  164. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.js.map +1 -0
  165. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.d.ts +49 -0
  166. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.d.ts.map +1 -0
  167. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.js +89 -0
  168. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.js.map +1 -0
  169. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.d.ts +23 -0
  170. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.d.ts.map +1 -0
  171. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.js +28 -0
  172. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.js.map +1 -0
  173. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.d.ts +57 -0
  174. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.d.ts.map +1 -0
  175. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.js +99 -0
  176. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.js.map +1 -0
  177. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.d.ts +21 -0
  178. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.d.ts.map +1 -0
  179. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.js +37 -0
  180. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.js.map +1 -0
  181. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.d.ts +32 -0
  182. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.d.ts.map +1 -0
  183. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.js +56 -0
  184. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.js.map +1 -0
  185. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.d.ts +20 -0
  186. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.d.ts.map +1 -0
  187. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.js +28 -0
  188. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.js.map +1 -0
  189. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.d.ts +43 -0
  190. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.d.ts.map +1 -0
  191. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.js +64 -0
  192. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.js.map +1 -0
  193. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.d.ts +10 -0
  194. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.d.ts.map +1 -0
  195. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.js +10 -0
  196. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.js.map +1 -0
  197. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-state-machine-cfn.d.ts +27 -0
  198. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-state-machine-cfn.d.ts.map +1 -0
  199. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-state-machine-cfn.js +37 -0
  200. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-state-machine-cfn.js.map +1 -0
  201. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.d.ts +31 -0
  202. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.d.ts.map +1 -0
  203. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.js +42 -0
  204. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.js.map +1 -0
  205. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.d.ts +7 -0
  206. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.d.ts.map +1 -0
  207. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.js +16 -0
  208. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.js.map +1 -0
  209. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.d.ts.map +1 -1
  210. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.js +11 -0
  211. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.js.map +1 -1
  212. package/dist/service/cloudformation/template/node/fn/join/sim-cfn-fn-join.d.ts +7 -0
  213. package/dist/service/cloudformation/template/node/fn/join/sim-cfn-fn-join.d.ts.map +1 -1
  214. package/dist/service/cloudformation/template/node/fn/join/sim-cfn-fn-join.js +9 -1
  215. package/dist/service/cloudformation/template/node/fn/join/sim-cfn-fn-join.js.map +1 -1
  216. package/dist/service/cloudfront/behaviour/sim-cloud-front-behavior.d.ts +5 -0
  217. package/dist/service/cloudfront/behaviour/sim-cloud-front-behavior.d.ts.map +1 -1
  218. package/dist/service/cloudfront/behaviour/sim-cloud-front-behavior.js.map +1 -1
  219. package/dist/service/cloudfront/cff/sim-cff-arn.d.ts +13 -0
  220. package/dist/service/cloudfront/cff/sim-cff-arn.d.ts.map +1 -0
  221. package/dist/service/cloudfront/cff/sim-cff-arn.js +18 -0
  222. package/dist/service/cloudfront/cff/sim-cff-arn.js.map +1 -0
  223. package/dist/service/cloudfront/command/create-distribution/create-distribution.command.d.ts +41 -0
  224. package/dist/service/cloudfront/command/create-distribution/create-distribution.command.d.ts.map +1 -1
  225. package/dist/service/cloudfront/command/create-distribution/create-distribution.handler.d.ts +3 -0
  226. package/dist/service/cloudfront/command/create-distribution/create-distribution.handler.d.ts.map +1 -1
  227. package/dist/service/cloudfront/command/create-distribution/create-distribution.handler.js +11 -4
  228. package/dist/service/cloudfront/command/create-distribution/create-distribution.handler.js.map +1 -1
  229. package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.d.ts +0 -1
  230. package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.d.ts.map +1 -1
  231. package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.js +9 -36
  232. package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.js.map +1 -1
  233. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-list.d.ts +19 -0
  234. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-list.d.ts.map +1 -0
  235. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-list.js +39 -0
  236. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-list.js.map +1 -0
  237. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-origin.d.ts +10 -0
  238. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-origin.d.ts.map +1 -0
  239. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-origin.js +17 -0
  240. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-origin.js.map +1 -0
  241. package/dist/service/cloudfront/command/update-distribution/update-distribution.handler.d.ts +3 -0
  242. package/dist/service/cloudfront/command/update-distribution/update-distribution.handler.d.ts.map +1 -1
  243. package/dist/service/cloudfront/command/update-distribution/update-distribution.handler.js +9 -2
  244. package/dist/service/cloudfront/command/update-distribution/update-distribution.handler.js.map +1 -1
  245. package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.d.ts +3 -0
  246. package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.d.ts.map +1 -1
  247. package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.js +6 -0
  248. package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.js.map +1 -1
  249. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-applicator.d.ts +48 -0
  250. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-applicator.d.ts.map +1 -0
  251. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-applicator.js +66 -0
  252. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-applicator.js.map +1 -0
  253. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-distribution.d.ts +11 -0
  254. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-distribution.d.ts.map +1 -0
  255. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-distribution.js +14 -0
  256. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-distribution.js.map +1 -0
  257. package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.d.ts +5 -0
  258. package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.d.ts.map +1 -1
  259. package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.js +16 -1
  260. package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.js.map +1 -1
  261. package/dist/service/cloudfront/distribution/configurator/sim-cf-behavior-properties.d.ts.map +1 -1
  262. package/dist/service/cloudfront/distribution/configurator/sim-cf-behavior-properties.js +2 -0
  263. package/dist/service/cloudfront/distribution/configurator/sim-cf-behavior-properties.js.map +1 -1
  264. package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.d.ts.map +1 -1
  265. package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.js +8 -0
  266. package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.js.map +1 -1
  267. package/dist/service/cloudfront/distribution/sim-cf-distribution-configuration-state.d.ts +5 -2
  268. package/dist/service/cloudfront/distribution/sim-cf-distribution-configuration-state.d.ts.map +1 -1
  269. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-body.d.ts +24 -0
  270. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-body.d.ts.map +1 -0
  271. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-body.js +51 -0
  272. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-body.js.map +1 -0
  273. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-adapter.d.ts +41 -0
  274. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-adapter.d.ts.map +1 -0
  275. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-adapter.js +78 -0
  276. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-adapter.js.map +1 -0
  277. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-headers.d.ts +20 -0
  278. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-headers.d.ts.map +1 -0
  279. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-headers.js +55 -0
  280. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-headers.js.map +1 -0
  281. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-request-adapter.d.ts +30 -0
  282. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-request-adapter.d.ts.map +1 -0
  283. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-request-adapter.js +90 -0
  284. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-request-adapter.js.map +1 -0
  285. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-response-adapter.d.ts +26 -0
  286. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-response-adapter.d.ts.map +1 -0
  287. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-response-adapter.js +47 -0
  288. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-response-adapter.js.map +1 -0
  289. package/dist/service/cloudfront/edge/sim-aws-cf-edge-functions.d.ts +44 -0
  290. package/dist/service/cloudfront/edge/sim-aws-cf-edge-functions.d.ts.map +1 -0
  291. package/dist/service/cloudfront/edge/sim-aws-cf-edge-functions.js +89 -0
  292. package/dist/service/cloudfront/edge/sim-aws-cf-edge-functions.js.map +1 -0
  293. package/dist/service/cloudfront/edge/sim-cf-edge-association-auth-z.d.ts +7 -0
  294. package/dist/service/cloudfront/edge/sim-cf-edge-association-auth-z.d.ts.map +1 -0
  295. package/dist/service/cloudfront/edge/sim-cf-edge-association-auth-z.js +27 -0
  296. package/dist/service/cloudfront/edge/sim-cf-edge-association-auth-z.js.map +1 -0
  297. package/dist/service/cloudfront/edge/sim-cf-edge-association-checks.d.ts +47 -0
  298. package/dist/service/cloudfront/edge/sim-cf-edge-association-checks.d.ts.map +1 -0
  299. package/dist/service/cloudfront/edge/sim-cf-edge-association-checks.js +71 -0
  300. package/dist/service/cloudfront/edge/sim-cf-edge-association-checks.js.map +1 -0
  301. package/dist/service/cloudfront/edge/sim-cf-edge-association-validator.d.ts +36 -0
  302. package/dist/service/cloudfront/edge/sim-cf-edge-association-validator.d.ts.map +1 -0
  303. package/dist/service/cloudfront/edge/sim-cf-edge-association-validator.js +79 -0
  304. package/dist/service/cloudfront/edge/sim-cf-edge-association-validator.js.map +1 -0
  305. package/dist/service/cloudfront/edge/sim-cf-edge-association.d.ts +23 -0
  306. package/dist/service/cloudfront/edge/sim-cf-edge-association.d.ts.map +1 -0
  307. package/dist/service/cloudfront/edge/sim-cf-edge-association.js +2 -0
  308. package/dist/service/cloudfront/edge/sim-cf-edge-association.js.map +1 -0
  309. package/dist/service/cloudfront/edge/sim-cf-edge-associations-configure.d.ts +14 -0
  310. package/dist/service/cloudfront/edge/sim-cf-edge-associations-configure.d.ts.map +1 -0
  311. package/dist/service/cloudfront/edge/sim-cf-edge-associations-configure.js +36 -0
  312. package/dist/service/cloudfront/edge/sim-cf-edge-associations-configure.js.map +1 -0
  313. package/dist/service/cloudfront/edge/sim-cf-edge-function-arn.d.ts +18 -0
  314. package/dist/service/cloudfront/edge/sim-cf-edge-function-arn.d.ts.map +1 -0
  315. package/dist/service/cloudfront/edge/sim-cf-edge-function-arn.js +47 -0
  316. package/dist/service/cloudfront/edge/sim-cf-edge-function-arn.js.map +1 -0
  317. package/dist/service/cloudfront/edge/sim-cf-edge-functions.d.ts +25 -0
  318. package/dist/service/cloudfront/edge/sim-cf-edge-functions.d.ts.map +1 -0
  319. package/dist/service/cloudfront/edge/sim-cf-edge-functions.js +2 -0
  320. package/dist/service/cloudfront/edge/sim-cf-edge-functions.js.map +1 -0
  321. package/dist/service/cloudfront/error/sim-cloudfront.error.d.ts +13 -0
  322. package/dist/service/cloudfront/error/sim-cloudfront.error.d.ts.map +1 -1
  323. package/dist/service/cloudfront/error/sim-cloudfront.error.js +15 -0
  324. package/dist/service/cloudfront/error/sim-cloudfront.error.js.map +1 -1
  325. package/dist/service/cloudfront/index.d.ts +1 -0
  326. package/dist/service/cloudfront/index.d.ts.map +1 -1
  327. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.d.ts +4 -0
  328. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.d.ts.map +1 -1
  329. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.js +7 -0
  330. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.js.map +1 -1
  331. package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.d.ts +6 -0
  332. package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.d.ts.map +1 -1
  333. package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.js +3 -0
  334. package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.js.map +1 -1
  335. package/dist/service/cloudfront/origin/sim-cf-origin-custom-headers.d.ts +15 -0
  336. package/dist/service/cloudfront/origin/sim-cf-origin-custom-headers.d.ts.map +1 -0
  337. package/dist/service/cloudfront/origin/sim-cf-origin-custom-headers.js +74 -0
  338. package/dist/service/cloudfront/origin/sim-cf-origin-custom-headers.js.map +1 -0
  339. package/dist/service/cloudfront/sim-cloudfront-commands.d.ts +10 -0
  340. package/dist/service/cloudfront/sim-cloudfront-commands.d.ts.map +1 -1
  341. package/dist/service/cloudfront/sim-cloudfront-commands.js +10 -1
  342. package/dist/service/cloudfront/sim-cloudfront-commands.js.map +1 -1
  343. package/dist/service/cloudfront/sim-cloudfront.d.ts.map +1 -1
  344. package/dist/service/cloudfront/sim-cloudfront.js +3 -8
  345. package/dist/service/cloudfront/sim-cloudfront.js.map +1 -1
  346. package/dist/service/cloudfront/typings/lambda-at-edge.namespace.d.ts +91 -0
  347. package/dist/service/cloudfront/typings/lambda-at-edge.namespace.d.ts.map +1 -0
  348. package/dist/service/cloudfront/typings/lambda-at-edge.namespace.js +2 -0
  349. package/dist/service/cloudfront/typings/lambda-at-edge.namespace.js.map +1 -0
  350. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-creator.d.ts +33 -0
  351. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-creator.d.ts.map +1 -0
  352. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-creator.js +44 -0
  353. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-creator.js.map +1 -0
  354. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-name.d.ts +23 -0
  355. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-name.d.ts.map +1 -0
  356. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-name.js +28 -0
  357. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-name.js.map +1 -0
  358. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-properties.d.ts +48 -0
  359. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-properties.d.ts.map +1 -0
  360. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-properties.js +92 -0
  361. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-properties.js.map +1 -0
  362. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-property-names.d.ts +51 -0
  363. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-property-names.d.ts.map +1 -0
  364. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-property-names.js +114 -0
  365. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-property-names.js.map +1 -0
  366. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-destination-choice.d.ts +19 -0
  367. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-destination-choice.d.ts.map +1 -0
  368. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-destination-choice.js +44 -0
  369. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-destination-choice.js.map +1 -0
  370. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-s3-destination.d.ts +47 -0
  371. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-s3-destination.d.ts.map +1 -0
  372. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-s3-destination.js +105 -0
  373. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-s3-destination.js.map +1 -0
  374. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-source-choice.d.ts +19 -0
  375. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-source-choice.d.ts.map +1 -0
  376. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-source-choice.js +58 -0
  377. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-source-choice.js.map +1 -0
  378. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-tags.d.ts +11 -0
  379. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-tags.d.ts.map +1 -0
  380. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-tags.js +33 -0
  381. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-tags.js.map +1 -0
  382. package/dist/service/firehose/cfn/sim-cfn-firehose-archive.resources.d.ts +44 -0
  383. package/dist/service/firehose/cfn/sim-cfn-firehose-archive.resources.d.ts.map +1 -0
  384. package/dist/service/firehose/cfn/sim-cfn-firehose-archive.resources.js +144 -0
  385. package/dist/service/firehose/cfn/sim-cfn-firehose-archive.resources.js.map +1 -0
  386. package/dist/service/firehose/cfn/sim-cfn-firehose-delivery-stream-template.factory.d.ts +51 -0
  387. package/dist/service/firehose/cfn/sim-cfn-firehose-delivery-stream-template.factory.d.ts.map +1 -0
  388. package/dist/service/firehose/cfn/sim-cfn-firehose-delivery-stream-template.factory.js +65 -0
  389. package/dist/service/firehose/cfn/sim-cfn-firehose-delivery-stream-template.factory.js.map +1 -0
  390. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-deleter.d.ts +19 -0
  391. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-deleter.d.ts.map +1 -0
  392. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-deleter.js +26 -0
  393. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-deleter.js.map +1 -0
  394. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-error.d.ts +44 -0
  395. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-error.d.ts.map +1 -0
  396. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-error.js +75 -0
  397. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-error.js.map +1 -0
  398. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-types.d.ts +14 -0
  399. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-types.d.ts.map +1 -0
  400. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-types.js +14 -0
  401. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-types.js.map +1 -0
  402. package/dist/service/firehose/cfn/sim-firehose-cfn-resource-factory.d.ts +29 -0
  403. package/dist/service/firehose/cfn/sim-firehose-cfn-resource-factory.d.ts.map +1 -0
  404. package/dist/service/firehose/cfn/sim-firehose-cfn-resource-factory.js +38 -0
  405. package/dist/service/firehose/cfn/sim-firehose-cfn-resource-factory.js.map +1 -0
  406. package/dist/service/firehose/command/authorize/sim-firehose-authorizer.d.ts +39 -0
  407. package/dist/service/firehose/command/authorize/sim-firehose-authorizer.d.ts.map +1 -0
  408. package/dist/service/firehose/command/authorize/sim-firehose-authorizer.js +49 -0
  409. package/dist/service/firehose/command/authorize/sim-firehose-authorizer.js.map +1 -0
  410. package/dist/service/firehose/command/record/record.command.d.ts +55 -0
  411. package/dist/service/firehose/command/record/record.command.d.ts.map +1 -0
  412. package/dist/service/firehose/command/record/record.command.js +2 -0
  413. package/dist/service/firehose/command/record/record.command.js.map +1 -0
  414. package/dist/service/firehose/command/record/sim-firehose-put-commands.d.ts +43 -0
  415. package/dist/service/firehose/command/record/sim-firehose-put-commands.d.ts.map +1 -0
  416. package/dist/service/firehose/command/record/sim-firehose-put-commands.js +59 -0
  417. package/dist/service/firehose/command/record/sim-firehose-put-commands.js.map +1 -0
  418. package/dist/service/firehose/command/record/sim-firehose-record-data.d.ts +21 -0
  419. package/dist/service/firehose/command/record/sim-firehose-record-data.d.ts.map +1 -0
  420. package/dist/service/firehose/command/record/sim-firehose-record-data.js +54 -0
  421. package/dist/service/firehose/command/record/sim-firehose-record-data.js.map +1 -0
  422. package/dist/service/firehose/command/sim-firehose-command.types.d.ts +6 -0
  423. package/dist/service/firehose/command/sim-firehose-command.types.d.ts.map +1 -0
  424. package/dist/service/firehose/command/sim-firehose-command.types.js +2 -0
  425. package/dist/service/firehose/command/sim-firehose-command.types.js.map +1 -0
  426. package/dist/service/firehose/command/sim-firehose-commands.d.ts +37 -0
  427. package/dist/service/firehose/command/sim-firehose-commands.d.ts.map +1 -0
  428. package/dist/service/firehose/command/sim-firehose-commands.js +57 -0
  429. package/dist/service/firehose/command/sim-firehose-commands.js.map +1 -0
  430. package/dist/service/firehose/command/sim-firehose-delivery-stream-access.d.ts +47 -0
  431. package/dist/service/firehose/command/sim-firehose-delivery-stream-access.d.ts.map +1 -0
  432. package/dist/service/firehose/command/sim-firehose-delivery-stream-access.js +58 -0
  433. package/dist/service/firehose/command/sim-firehose-delivery-stream-access.js.map +1 -0
  434. package/dist/service/firehose/command/sim-firehose-request-options.d.ts +12 -0
  435. package/dist/service/firehose/command/sim-firehose-request-options.d.ts.map +1 -0
  436. package/dist/service/firehose/command/sim-firehose-request-options.js +2 -0
  437. package/dist/service/firehose/command/sim-firehose-request-options.js.map +1 -0
  438. package/dist/service/firehose/command/stream/sim-firehose-create-delivery-stream.d.ts +49 -0
  439. package/dist/service/firehose/command/stream/sim-firehose-create-delivery-stream.d.ts.map +1 -0
  440. package/dist/service/firehose/command/stream/sim-firehose-create-delivery-stream.js +69 -0
  441. package/dist/service/firehose/command/stream/sim-firehose-create-delivery-stream.js.map +1 -0
  442. package/dist/service/firehose/command/stream/sim-firehose-delivery-stream-page.d.ts +19 -0
  443. package/dist/service/firehose/command/stream/sim-firehose-delivery-stream-page.d.ts.map +1 -0
  444. package/dist/service/firehose/command/stream/sim-firehose-delivery-stream-page.js +24 -0
  445. package/dist/service/firehose/command/stream/sim-firehose-delivery-stream-page.js.map +1 -0
  446. package/dist/service/firehose/command/stream/sim-firehose-stream-commands.d.ts +50 -0
  447. package/dist/service/firehose/command/stream/sim-firehose-stream-commands.d.ts.map +1 -0
  448. package/dist/service/firehose/command/stream/sim-firehose-stream-commands.js +72 -0
  449. package/dist/service/firehose/command/stream/sim-firehose-stream-commands.js.map +1 -0
  450. package/dist/service/firehose/command/stream/sim-firehose-stream-descriptions.d.ts +7 -0
  451. package/dist/service/firehose/command/stream/sim-firehose-stream-descriptions.d.ts.map +1 -0
  452. package/dist/service/firehose/command/stream/sim-firehose-stream-descriptions.js +70 -0
  453. package/dist/service/firehose/command/stream/sim-firehose-stream-descriptions.js.map +1 -0
  454. package/dist/service/firehose/command/stream/stream.command.d.ts +137 -0
  455. package/dist/service/firehose/command/stream/stream.command.d.ts.map +1 -0
  456. package/dist/service/firehose/command/stream/stream.command.js +2 -0
  457. package/dist/service/firehose/command/stream/stream.command.js.map +1 -0
  458. package/dist/service/firehose/delivery/sim-firehose-buffer.d.ts +36 -0
  459. package/dist/service/firehose/delivery/sim-firehose-buffer.d.ts.map +1 -0
  460. package/dist/service/firehose/delivery/sim-firehose-buffer.js +55 -0
  461. package/dist/service/firehose/delivery/sim-firehose-buffer.js.map +1 -0
  462. package/dist/service/firehose/delivery/sim-firehose-delivery-failures.d.ts +34 -0
  463. package/dist/service/firehose/delivery/sim-firehose-delivery-failures.d.ts.map +1 -0
  464. package/dist/service/firehose/delivery/sim-firehose-delivery-failures.js +24 -0
  465. package/dist/service/firehose/delivery/sim-firehose-delivery-failures.js.map +1 -0
  466. package/dist/service/firehose/delivery/sim-firehose-delivery.d.ts +47 -0
  467. package/dist/service/firehose/delivery/sim-firehose-delivery.d.ts.map +1 -0
  468. package/dist/service/firehose/delivery/sim-firehose-delivery.js +76 -0
  469. package/dist/service/firehose/delivery/sim-firehose-delivery.js.map +1 -0
  470. package/dist/service/firehose/delivery/sim-firehose-object-key.d.ts +21 -0
  471. package/dist/service/firehose/delivery/sim-firehose-object-key.d.ts.map +1 -0
  472. package/dist/service/firehose/delivery/sim-firehose-object-key.js +27 -0
  473. package/dist/service/firehose/delivery/sim-firehose-object-key.js.map +1 -0
  474. package/dist/service/firehose/delivery/sim-firehose-object-writer.d.ts +50 -0
  475. package/dist/service/firehose/delivery/sim-firehose-object-writer.d.ts.map +1 -0
  476. package/dist/service/firehose/delivery/sim-firehose-object-writer.js +57 -0
  477. package/dist/service/firehose/delivery/sim-firehose-object-writer.js.map +1 -0
  478. package/dist/service/firehose/destination/sim-firehose-buffering-hints.d.ts +29 -0
  479. package/dist/service/firehose/destination/sim-firehose-buffering-hints.d.ts.map +1 -0
  480. package/dist/service/firehose/destination/sim-firehose-buffering-hints.js +45 -0
  481. package/dist/service/firehose/destination/sim-firehose-buffering-hints.js.map +1 -0
  482. package/dist/service/firehose/destination/sim-firehose-destination-choice.d.ts +35 -0
  483. package/dist/service/firehose/destination/sim-firehose-destination-choice.d.ts.map +1 -0
  484. package/dist/service/firehose/destination/sim-firehose-destination-choice.js +48 -0
  485. package/dist/service/firehose/destination/sim-firehose-destination-choice.js.map +1 -0
  486. package/dist/service/firehose/destination/sim-firehose-s3-destination.d.ts +32 -0
  487. package/dist/service/firehose/destination/sim-firehose-s3-destination.d.ts.map +1 -0
  488. package/dist/service/firehose/destination/sim-firehose-s3-destination.js +51 -0
  489. package/dist/service/firehose/destination/sim-firehose-s3-destination.js.map +1 -0
  490. package/dist/service/firehose/error/sim-firehose.error.d.ts +69 -0
  491. package/dist/service/firehose/error/sim-firehose.error.d.ts.map +1 -0
  492. package/dist/service/firehose/error/sim-firehose.error.js +79 -0
  493. package/dist/service/firehose/error/sim-firehose.error.js.map +1 -0
  494. package/dist/service/firehose/failure/sim-firehose-failure.d.ts +38 -0
  495. package/dist/service/firehose/failure/sim-firehose-failure.d.ts.map +1 -0
  496. package/dist/service/firehose/failure/sim-firehose-failure.js +40 -0
  497. package/dist/service/firehose/failure/sim-firehose-failure.js.map +1 -0
  498. package/dist/service/firehose/failure/sim-firehose-failures.d.ts +32 -0
  499. package/dist/service/firehose/failure/sim-firehose-failures.d.ts.map +1 -0
  500. package/dist/service/firehose/failure/sim-firehose-failures.js +47 -0
  501. package/dist/service/firehose/failure/sim-firehose-failures.js.map +1 -0
  502. package/dist/service/firehose/index.d.ts +17 -0
  503. package/dist/service/firehose/index.d.ts.map +1 -0
  504. package/dist/service/firehose/index.js +12 -0
  505. package/dist/service/firehose/index.js.map +1 -0
  506. package/dist/service/firehose/sdk/sim-firehose-sdk-command-router.d.ts +18 -0
  507. package/dist/service/firehose/sdk/sim-firehose-sdk-command-router.d.ts.map +1 -0
  508. package/dist/service/firehose/sdk/sim-firehose-sdk-command-router.js +48 -0
  509. package/dist/service/firehose/sdk/sim-firehose-sdk-command-router.js.map +1 -0
  510. package/dist/service/firehose/sim-firehose.d.ts +104 -0
  511. package/dist/service/firehose/sim-firehose.d.ts.map +1 -0
  512. package/dist/service/firehose/sim-firehose.js +130 -0
  513. package/dist/service/firehose/sim-firehose.js.map +1 -0
  514. package/dist/service/firehose/source/read/sim-firehose-source-poll.d.ts +39 -0
  515. package/dist/service/firehose/source/read/sim-firehose-source-poll.d.ts.map +1 -0
  516. package/dist/service/firehose/source/read/sim-firehose-source-poll.js +48 -0
  517. package/dist/service/firehose/source/read/sim-firehose-source-poll.js.map +1 -0
  518. package/dist/service/firehose/source/read/sim-firehose-source-reader.d.ts +62 -0
  519. package/dist/service/firehose/source/read/sim-firehose-source-reader.d.ts.map +1 -0
  520. package/dist/service/firehose/source/read/sim-firehose-source-reader.js +94 -0
  521. package/dist/service/firehose/source/read/sim-firehose-source-reader.js.map +1 -0
  522. package/dist/service/firehose/source/read/sim-firehose-source-reading.d.ts +39 -0
  523. package/dist/service/firehose/source/read/sim-firehose-source-reading.d.ts.map +1 -0
  524. package/dist/service/firehose/source/read/sim-firehose-source-reading.js +48 -0
  525. package/dist/service/firehose/source/read/sim-firehose-source-reading.js.map +1 -0
  526. package/dist/service/firehose/source/read/sim-firehose-source-shard-ids.d.ts +12 -0
  527. package/dist/service/firehose/source/read/sim-firehose-source-shard-ids.d.ts.map +1 -0
  528. package/dist/service/firehose/source/read/sim-firehose-source-shard-ids.js +56 -0
  529. package/dist/service/firehose/source/read/sim-firehose-source-shard-ids.js.map +1 -0
  530. package/dist/service/firehose/source/read/sim-firehose-source-shard.d.ts +36 -0
  531. package/dist/service/firehose/source/read/sim-firehose-source-shard.d.ts.map +1 -0
  532. package/dist/service/firehose/source/read/sim-firehose-source-shard.js +45 -0
  533. package/dist/service/firehose/source/read/sim-firehose-source-shard.js.map +1 -0
  534. package/dist/service/firehose/source/read/sim-firehose-source-shards.d.ts +42 -0
  535. package/dist/service/firehose/source/read/sim-firehose-source-shards.d.ts.map +1 -0
  536. package/dist/service/firehose/source/read/sim-firehose-source-shards.js +53 -0
  537. package/dist/service/firehose/source/read/sim-firehose-source-shards.js.map +1 -0
  538. package/dist/service/firehose/source/sim-firehose-kinesis-source-arn.d.ts +29 -0
  539. package/dist/service/firehose/source/sim-firehose-kinesis-source-arn.d.ts.map +1 -0
  540. package/dist/service/firehose/source/sim-firehose-kinesis-source-arn.js +57 -0
  541. package/dist/service/firehose/source/sim-firehose-kinesis-source-arn.js.map +1 -0
  542. package/dist/service/firehose/source/sim-firehose-record-source.d.ts +140 -0
  543. package/dist/service/firehose/source/sim-firehose-record-source.d.ts.map +1 -0
  544. package/dist/service/firehose/source/sim-firehose-record-source.js +53 -0
  545. package/dist/service/firehose/source/sim-firehose-record-source.js.map +1 -0
  546. package/dist/service/firehose/source/sim-firehose-source-choice.d.ts +26 -0
  547. package/dist/service/firehose/source/sim-firehose-source-choice.d.ts.map +1 -0
  548. package/dist/service/firehose/source/sim-firehose-source-choice.js +68 -0
  549. package/dist/service/firehose/source/sim-firehose-source-choice.js.map +1 -0
  550. package/dist/service/firehose/source/sim-firehose-source-failures.d.ts +38 -0
  551. package/dist/service/firehose/source/sim-firehose-source-failures.d.ts.map +1 -0
  552. package/dist/service/firehose/source/sim-firehose-source-failures.js +33 -0
  553. package/dist/service/firehose/source/sim-firehose-source-failures.js.map +1 -0
  554. package/dist/service/firehose/source/sim-firehose-source.d.ts +64 -0
  555. package/dist/service/firehose/source/sim-firehose-source.d.ts.map +1 -0
  556. package/dist/service/firehose/source/sim-firehose-source.js +58 -0
  557. package/dist/service/firehose/source/sim-firehose-source.js.map +1 -0
  558. package/dist/service/firehose/stream/sim-firehose-delivery-stream-arn.d.ts +10 -0
  559. package/dist/service/firehose/stream/sim-firehose-delivery-stream-arn.d.ts.map +1 -0
  560. package/dist/service/firehose/stream/sim-firehose-delivery-stream-arn.js +12 -0
  561. package/dist/service/firehose/stream/sim-firehose-delivery-stream-arn.js.map +1 -0
  562. package/dist/service/firehose/stream/sim-firehose-delivery-stream-name.d.ts +9 -0
  563. package/dist/service/firehose/stream/sim-firehose-delivery-stream-name.d.ts.map +1 -0
  564. package/dist/service/firehose/stream/sim-firehose-delivery-stream-name.js +25 -0
  565. package/dist/service/firehose/stream/sim-firehose-delivery-stream-name.js.map +1 -0
  566. package/dist/service/firehose/stream/sim-firehose-delivery-stream-store.d.ts +37 -0
  567. package/dist/service/firehose/stream/sim-firehose-delivery-stream-store.d.ts.map +1 -0
  568. package/dist/service/firehose/stream/sim-firehose-delivery-stream-store.js +55 -0
  569. package/dist/service/firehose/stream/sim-firehose-delivery-stream-store.js.map +1 -0
  570. package/dist/service/firehose/stream/sim-firehose-delivery-stream.d.ts +50 -0
  571. package/dist/service/firehose/stream/sim-firehose-delivery-stream.d.ts.map +1 -0
  572. package/dist/service/firehose/stream/sim-firehose-delivery-stream.factory.d.ts +57 -0
  573. package/dist/service/firehose/stream/sim-firehose-delivery-stream.factory.d.ts.map +1 -0
  574. package/dist/service/firehose/stream/sim-firehose-delivery-stream.factory.js +61 -0
  575. package/dist/service/firehose/stream/sim-firehose-delivery-stream.factory.js.map +1 -0
  576. package/dist/service/firehose/stream/sim-firehose-delivery-stream.js +42 -0
  577. package/dist/service/firehose/stream/sim-firehose-delivery-stream.js.map +1 -0
  578. package/dist/service/lambda/function/environment/sim-lambda-environment.d.ts +22 -20
  579. package/dist/service/lambda/function/environment/sim-lambda-environment.d.ts.map +1 -1
  580. package/dist/service/lambda/function/environment/sim-lambda-environment.js +27 -29
  581. package/dist/service/lambda/function/environment/sim-lambda-environment.js.map +1 -1
  582. package/dist/service/lambda/function/environment/sim-lambda-host-backed-variables.d.ts +28 -0
  583. package/dist/service/lambda/function/environment/sim-lambda-host-backed-variables.d.ts.map +1 -0
  584. package/dist/service/lambda/function/environment/sim-lambda-host-backed-variables.js +49 -0
  585. package/dist/service/lambda/function/environment/sim-lambda-host-backed-variables.js.map +1 -0
  586. package/dist/service/lambda/function/environment/sim-lambda-runtime-variables.d.ts +18 -0
  587. package/dist/service/lambda/function/environment/sim-lambda-runtime-variables.d.ts.map +1 -0
  588. package/dist/service/lambda/function/environment/sim-lambda-runtime-variables.js +23 -0
  589. package/dist/service/lambda/function/environment/sim-lambda-runtime-variables.js.map +1 -0
  590. package/dist/service/stepfunctions/choice/sim-states-choice-group-test.d.ts +32 -0
  591. package/dist/service/stepfunctions/choice/sim-states-choice-group-test.d.ts.map +1 -0
  592. package/dist/service/stepfunctions/choice/sim-states-choice-group-test.js +42 -0
  593. package/dist/service/stepfunctions/choice/sim-states-choice-group-test.js.map +1 -0
  594. package/dist/service/stepfunctions/choice/sim-states-choice-operand.d.ts +29 -0
  595. package/dist/service/stepfunctions/choice/sim-states-choice-operand.d.ts.map +1 -0
  596. package/dist/service/stepfunctions/choice/sim-states-choice-operand.js +38 -0
  597. package/dist/service/stepfunctions/choice/sim-states-choice-operand.js.map +1 -0
  598. package/dist/service/stepfunctions/choice/sim-states-choice-parse.d.ts +15 -0
  599. package/dist/service/stepfunctions/choice/sim-states-choice-parse.d.ts.map +1 -0
  600. package/dist/service/stepfunctions/choice/sim-states-choice-parse.js +44 -0
  601. package/dist/service/stepfunctions/choice/sim-states-choice-parse.js.map +1 -0
  602. package/dist/service/stepfunctions/choice/sim-states-choice-rule-record.d.ts +10 -0
  603. package/dist/service/stepfunctions/choice/sim-states-choice-rule-record.d.ts.map +1 -0
  604. package/dist/service/stepfunctions/choice/sim-states-choice-rule-record.js +31 -0
  605. package/dist/service/stepfunctions/choice/sim-states-choice-rule-record.js.map +1 -0
  606. package/dist/service/stepfunctions/choice/sim-states-choice-rule.d.ts +15 -0
  607. package/dist/service/stepfunctions/choice/sim-states-choice-rule.d.ts.map +1 -0
  608. package/dist/service/stepfunctions/choice/sim-states-choice-rule.js +18 -0
  609. package/dist/service/stepfunctions/choice/sim-states-choice-rule.js.map +1 -0
  610. package/dist/service/stepfunctions/choice/sim-states-choice-test-parse.d.ts +7 -0
  611. package/dist/service/stepfunctions/choice/sim-states-choice-test-parse.d.ts.map +1 -0
  612. package/dist/service/stepfunctions/choice/sim-states-choice-test-parse.js +72 -0
  613. package/dist/service/stepfunctions/choice/sim-states-choice-test-parse.js.map +1 -0
  614. package/dist/service/stepfunctions/choice/sim-states-choice-test.d.ts +33 -0
  615. package/dist/service/stepfunctions/choice/sim-states-choice-test.d.ts.map +1 -0
  616. package/dist/service/stepfunctions/choice/sim-states-choice-test.js +34 -0
  617. package/dist/service/stepfunctions/choice/sim-states-choice-test.js.map +1 -0
  618. package/dist/service/stepfunctions/choice/sim-states-comparison-families.d.ts +26 -0
  619. package/dist/service/stepfunctions/choice/sim-states-comparison-families.d.ts.map +1 -0
  620. package/dist/service/stepfunctions/choice/sim-states-comparison-families.js +65 -0
  621. package/dist/service/stepfunctions/choice/sim-states-comparison-families.js.map +1 -0
  622. package/dist/service/stepfunctions/choice/sim-states-comparison-parse.d.ts +15 -0
  623. package/dist/service/stepfunctions/choice/sim-states-comparison-parse.d.ts.map +1 -0
  624. package/dist/service/stepfunctions/choice/sim-states-comparison-parse.js +43 -0
  625. package/dist/service/stepfunctions/choice/sim-states-comparison-parse.js.map +1 -0
  626. package/dist/service/stepfunctions/choice/sim-states-comparison.d.ts +49 -0
  627. package/dist/service/stepfunctions/choice/sim-states-comparison.d.ts.map +1 -0
  628. package/dist/service/stepfunctions/choice/sim-states-comparison.js +51 -0
  629. package/dist/service/stepfunctions/choice/sim-states-comparison.js.map +1 -0
  630. package/dist/service/stepfunctions/choice/sim-states-comparisons.d.ts +6 -0
  631. package/dist/service/stepfunctions/choice/sim-states-comparisons.d.ts.map +1 -0
  632. package/dist/service/stepfunctions/choice/sim-states-comparisons.js +64 -0
  633. package/dist/service/stepfunctions/choice/sim-states-comparisons.js.map +1 -0
  634. package/dist/service/stepfunctions/choice/sim-states-glob.d.ts +14 -0
  635. package/dist/service/stepfunctions/choice/sim-states-glob.d.ts.map +1 -0
  636. package/dist/service/stepfunctions/choice/sim-states-glob.js +73 -0
  637. package/dist/service/stepfunctions/choice/sim-states-glob.js.map +1 -0
  638. package/dist/service/stepfunctions/command/execution/execution.command.d.ts +32 -0
  639. package/dist/service/stepfunctions/command/execution/execution.command.d.ts.map +1 -0
  640. package/dist/service/stepfunctions/command/execution/execution.command.js +2 -0
  641. package/dist/service/stepfunctions/command/execution/execution.command.js.map +1 -0
  642. package/dist/service/stepfunctions/command/execution/sim-states-execution-describe.d.ts +11 -0
  643. package/dist/service/stepfunctions/command/execution/sim-states-execution-describe.d.ts.map +1 -0
  644. package/dist/service/stepfunctions/command/execution/sim-states-execution-describe.js +23 -0
  645. package/dist/service/stepfunctions/command/execution/sim-states-execution-describe.js.map +1 -0
  646. package/dist/service/stepfunctions/command/execution/sim-states-execution-name.d.ts +12 -0
  647. package/dist/service/stepfunctions/command/execution/sim-states-execution-name.d.ts.map +1 -0
  648. package/dist/service/stepfunctions/command/execution/sim-states-execution-name.js +23 -0
  649. package/dist/service/stepfunctions/command/execution/sim-states-execution-name.js.map +1 -0
  650. package/dist/service/stepfunctions/command/execution/sim-states-execution-repeat.d.ts +12 -0
  651. package/dist/service/stepfunctions/command/execution/sim-states-execution-repeat.d.ts.map +1 -0
  652. package/dist/service/stepfunctions/command/execution/sim-states-execution-repeat.js +21 -0
  653. package/dist/service/stepfunctions/command/execution/sim-states-execution-repeat.js.map +1 -0
  654. package/dist/service/stepfunctions/command/execution/sim-states-execution-start.d.ts +36 -0
  655. package/dist/service/stepfunctions/command/execution/sim-states-execution-start.d.ts.map +1 -0
  656. package/dist/service/stepfunctions/command/execution/sim-states-execution-start.js +64 -0
  657. package/dist/service/stepfunctions/command/execution/sim-states-execution-start.js.map +1 -0
  658. package/dist/service/stepfunctions/command/execution/sim-states-execution-view.d.ts +18 -0
  659. package/dist/service/stepfunctions/command/execution/sim-states-execution-view.d.ts.map +1 -0
  660. package/dist/service/stepfunctions/command/execution/sim-states-execution-view.js +41 -0
  661. package/dist/service/stepfunctions/command/execution/sim-states-execution-view.js.map +1 -0
  662. package/dist/service/stepfunctions/command/machine/machine.command.d.ts +63 -0
  663. package/dist/service/stepfunctions/command/machine/machine.command.d.ts.map +1 -0
  664. package/dist/service/stepfunctions/command/machine/machine.command.js +2 -0
  665. package/dist/service/stepfunctions/command/machine/machine.command.js.map +1 -0
  666. package/dist/service/stepfunctions/command/machine/sim-state-machine-create.d.ts +30 -0
  667. package/dist/service/stepfunctions/command/machine/sim-state-machine-create.d.ts.map +1 -0
  668. package/dist/service/stepfunctions/command/machine/sim-state-machine-create.js +64 -0
  669. package/dist/service/stepfunctions/command/machine/sim-state-machine-create.js.map +1 -0
  670. package/dist/service/stepfunctions/command/machine/sim-state-machine-input.d.ts +22 -0
  671. package/dist/service/stepfunctions/command/machine/sim-state-machine-input.d.ts.map +1 -0
  672. package/dist/service/stepfunctions/command/machine/sim-state-machine-input.js +38 -0
  673. package/dist/service/stepfunctions/command/machine/sim-state-machine-input.js.map +1 -0
  674. package/dist/service/stepfunctions/command/machine/sim-state-machine-lookup.d.ts +7 -0
  675. package/dist/service/stepfunctions/command/machine/sim-state-machine-lookup.d.ts.map +1 -0
  676. package/dist/service/stepfunctions/command/machine/sim-state-machine-lookup.js +15 -0
  677. package/dist/service/stepfunctions/command/machine/sim-state-machine-lookup.js.map +1 -0
  678. package/dist/service/stepfunctions/command/machine/sim-state-machine-reads.d.ts +18 -0
  679. package/dist/service/stepfunctions/command/machine/sim-state-machine-reads.d.ts.map +1 -0
  680. package/dist/service/stepfunctions/command/machine/sim-state-machine-reads.js +49 -0
  681. package/dist/service/stepfunctions/command/machine/sim-state-machine-reads.js.map +1 -0
  682. package/dist/service/stepfunctions/command/machine/sim-state-machine-writes.d.ts +26 -0
  683. package/dist/service/stepfunctions/command/machine/sim-state-machine-writes.d.ts.map +1 -0
  684. package/dist/service/stepfunctions/command/machine/sim-state-machine-writes.js +44 -0
  685. package/dist/service/stepfunctions/command/machine/sim-state-machine-writes.js.map +1 -0
  686. package/dist/service/stepfunctions/command/sim-step-functions-command.types.d.ts +6 -0
  687. package/dist/service/stepfunctions/command/sim-step-functions-command.types.d.ts.map +1 -0
  688. package/dist/service/stepfunctions/command/sim-step-functions-command.types.js +2 -0
  689. package/dist/service/stepfunctions/command/sim-step-functions-command.types.js.map +1 -0
  690. package/dist/service/stepfunctions/command/sim-step-functions-request-options.d.ts +12 -0
  691. package/dist/service/stepfunctions/command/sim-step-functions-request-options.d.ts.map +1 -0
  692. package/dist/service/stepfunctions/command/sim-step-functions-request-options.js +2 -0
  693. package/dist/service/stepfunctions/command/sim-step-functions-request-options.js.map +1 -0
  694. package/dist/service/stepfunctions/data/sim-states-result-path.js +1 -1
  695. package/dist/service/stepfunctions/data/sim-states-result-path.js.map +1 -1
  696. package/dist/service/stepfunctions/data/sim-states-timestamp-fields.d.ts +10 -0
  697. package/dist/service/stepfunctions/data/sim-states-timestamp-fields.d.ts.map +1 -0
  698. package/dist/service/stepfunctions/data/sim-states-timestamp-fields.js +45 -0
  699. package/dist/service/stepfunctions/data/sim-states-timestamp-fields.js.map +1 -0
  700. package/dist/service/stepfunctions/data/sim-states-timestamp.d.ts +10 -0
  701. package/dist/service/stepfunctions/data/sim-states-timestamp.d.ts.map +1 -0
  702. package/dist/service/stepfunctions/data/sim-states-timestamp.js +26 -0
  703. package/dist/service/stepfunctions/data/sim-states-timestamp.js.map +1 -0
  704. package/dist/service/stepfunctions/definition/sim-states-definition-parse.d.ts +10 -0
  705. package/dist/service/stepfunctions/definition/sim-states-definition-parse.d.ts.map +1 -0
  706. package/dist/service/stepfunctions/definition/sim-states-definition-parse.js +61 -0
  707. package/dist/service/stepfunctions/definition/sim-states-definition-parse.js.map +1 -0
  708. package/dist/service/stepfunctions/definition/sim-states-definition.d.ts +15 -0
  709. package/dist/service/stepfunctions/definition/sim-states-definition.d.ts.map +1 -0
  710. package/dist/service/stepfunctions/definition/sim-states-definition.js +2 -0
  711. package/dist/service/stepfunctions/definition/sim-states-definition.js.map +1 -0
  712. package/dist/service/stepfunctions/definition/sim-states-state-fields.d.ts +17 -0
  713. package/dist/service/stepfunctions/definition/sim-states-state-fields.d.ts.map +1 -0
  714. package/dist/service/stepfunctions/definition/sim-states-state-fields.js +47 -0
  715. package/dist/service/stepfunctions/definition/sim-states-state-fields.js.map +1 -0
  716. package/dist/service/stepfunctions/definition/sim-states-state-parse.d.ts +7 -0
  717. package/dist/service/stepfunctions/definition/sim-states-state-parse.d.ts.map +1 -0
  718. package/dist/service/stepfunctions/definition/sim-states-state-parse.js +67 -0
  719. package/dist/service/stepfunctions/definition/sim-states-state-parse.js.map +1 -0
  720. package/dist/service/stepfunctions/definition/sim-states-state.d.ts +98 -0
  721. package/dist/service/stepfunctions/definition/sim-states-state.d.ts.map +1 -0
  722. package/dist/service/stepfunctions/definition/sim-states-state.js +34 -0
  723. package/dist/service/stepfunctions/definition/sim-states-state.js.map +1 -0
  724. package/dist/service/stepfunctions/definition/sim-states-transitions.d.ts +10 -0
  725. package/dist/service/stepfunctions/definition/sim-states-transitions.d.ts.map +1 -0
  726. package/dist/service/stepfunctions/definition/sim-states-transitions.js +79 -0
  727. package/dist/service/stepfunctions/definition/sim-states-transitions.js.map +1 -0
  728. package/dist/service/stepfunctions/error/sim-step-functions.error.d.ts +99 -0
  729. package/dist/service/stepfunctions/error/sim-step-functions.error.d.ts.map +1 -1
  730. package/dist/service/stepfunctions/error/sim-step-functions.error.js +119 -0
  731. package/dist/service/stepfunctions/error/sim-step-functions.error.js.map +1 -1
  732. package/dist/service/stepfunctions/execution/sim-states-execution-store.d.ts +33 -0
  733. package/dist/service/stepfunctions/execution/sim-states-execution-store.d.ts.map +1 -0
  734. package/dist/service/stepfunctions/execution/sim-states-execution-store.js +55 -0
  735. package/dist/service/stepfunctions/execution/sim-states-execution-store.js.map +1 -0
  736. package/dist/service/stepfunctions/execution/sim-states-execution.d.ts +53 -0
  737. package/dist/service/stepfunctions/execution/sim-states-execution.d.ts.map +1 -0
  738. package/dist/service/stepfunctions/execution/sim-states-execution.js +77 -0
  739. package/dist/service/stepfunctions/execution/sim-states-execution.js.map +1 -0
  740. package/dist/service/stepfunctions/execution/sim-states-failure.d.ts +24 -0
  741. package/dist/service/stepfunctions/execution/sim-states-failure.d.ts.map +1 -0
  742. package/dist/service/stepfunctions/execution/sim-states-failure.js +50 -0
  743. package/dist/service/stepfunctions/execution/sim-states-failure.js.map +1 -0
  744. package/dist/service/stepfunctions/execution/sim-states-interpreter.d.ts +42 -0
  745. package/dist/service/stepfunctions/execution/sim-states-interpreter.d.ts.map +1 -0
  746. package/dist/service/stepfunctions/execution/sim-states-interpreter.js +124 -0
  747. package/dist/service/stepfunctions/execution/sim-states-interpreter.js.map +1 -0
  748. package/dist/service/stepfunctions/execution/sim-states-run-choice.d.ts +12 -0
  749. package/dist/service/stepfunctions/execution/sim-states-run-choice.d.ts.map +1 -0
  750. package/dist/service/stepfunctions/execution/sim-states-run-choice.js +24 -0
  751. package/dist/service/stepfunctions/execution/sim-states-run-choice.js.map +1 -0
  752. package/dist/service/stepfunctions/execution/sim-states-run-state.d.ts +15 -0
  753. package/dist/service/stepfunctions/execution/sim-states-run-state.d.ts.map +1 -0
  754. package/dist/service/stepfunctions/execution/sim-states-run-state.js +68 -0
  755. package/dist/service/stepfunctions/execution/sim-states-run-state.js.map +1 -0
  756. package/dist/service/stepfunctions/execution/sim-states-run-task.d.ts +14 -0
  757. package/dist/service/stepfunctions/execution/sim-states-run-task.d.ts.map +1 -0
  758. package/dist/service/stepfunctions/execution/sim-states-run-task.js +23 -0
  759. package/dist/service/stepfunctions/execution/sim-states-run-task.js.map +1 -0
  760. package/dist/service/stepfunctions/execution/sim-states-run-wait.d.ts +11 -0
  761. package/dist/service/stepfunctions/execution/sim-states-run-wait.d.ts.map +1 -0
  762. package/dist/service/stepfunctions/execution/sim-states-run-wait.js +21 -0
  763. package/dist/service/stepfunctions/execution/sim-states-run-wait.js.map +1 -0
  764. package/dist/service/stepfunctions/execution/sim-states-settlement.d.ts +27 -0
  765. package/dist/service/stepfunctions/execution/sim-states-settlement.d.ts.map +1 -0
  766. package/dist/service/stepfunctions/execution/sim-states-settlement.js +33 -0
  767. package/dist/service/stepfunctions/execution/sim-states-settlement.js.map +1 -0
  768. package/dist/service/stepfunctions/execution/sim-states-state-outcome.d.ts +46 -0
  769. package/dist/service/stepfunctions/execution/sim-states-state-outcome.d.ts.map +1 -0
  770. package/dist/service/stepfunctions/execution/sim-states-state-outcome.js +2 -0
  771. package/dist/service/stepfunctions/execution/sim-states-state-outcome.js.map +1 -0
  772. package/dist/service/stepfunctions/execution/sim-states-state-runner.d.ts +27 -0
  773. package/dist/service/stepfunctions/execution/sim-states-state-runner.d.ts.map +1 -0
  774. package/dist/service/stepfunctions/execution/sim-states-state-runner.js +36 -0
  775. package/dist/service/stepfunctions/execution/sim-states-state-runner.js.map +1 -0
  776. package/dist/service/stepfunctions/index.d.ts +16 -0
  777. package/dist/service/stepfunctions/index.d.ts.map +1 -0
  778. package/dist/service/stepfunctions/index.js +9 -0
  779. package/dist/service/stepfunctions/index.js.map +1 -0
  780. package/dist/service/stepfunctions/machine/sim-state-machine-arn.d.ts +30 -0
  781. package/dist/service/stepfunctions/machine/sim-state-machine-arn.d.ts.map +1 -0
  782. package/dist/service/stepfunctions/machine/sim-state-machine-arn.js +48 -0
  783. package/dist/service/stepfunctions/machine/sim-state-machine-arn.js.map +1 -0
  784. package/dist/service/stepfunctions/machine/sim-state-machine-store.d.ts +20 -0
  785. package/dist/service/stepfunctions/machine/sim-state-machine-store.d.ts.map +1 -0
  786. package/dist/service/stepfunctions/machine/sim-state-machine-store.js +32 -0
  787. package/dist/service/stepfunctions/machine/sim-state-machine-store.js.map +1 -0
  788. package/dist/service/stepfunctions/machine/sim-state-machine.d.ts +54 -0
  789. package/dist/service/stepfunctions/machine/sim-state-machine.d.ts.map +1 -0
  790. package/dist/service/stepfunctions/machine/sim-state-machine.js +60 -0
  791. package/dist/service/stepfunctions/machine/sim-state-machine.js.map +1 -0
  792. package/dist/service/stepfunctions/machine/sim-states-name.d.ts +10 -0
  793. package/dist/service/stepfunctions/machine/sim-states-name.d.ts.map +1 -0
  794. package/dist/service/stepfunctions/machine/sim-states-name.js +42 -0
  795. package/dist/service/stepfunctions/machine/sim-states-name.js.map +1 -0
  796. package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.d.ts +19 -0
  797. package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.d.ts.map +1 -0
  798. package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.js +53 -0
  799. package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.js.map +1 -0
  800. package/dist/service/stepfunctions/sim-step-functions-inspection.d.ts +22 -0
  801. package/dist/service/stepfunctions/sim-step-functions-inspection.d.ts.map +1 -0
  802. package/dist/service/stepfunctions/sim-step-functions-inspection.js +29 -0
  803. package/dist/service/stepfunctions/sim-step-functions-inspection.js.map +1 -0
  804. package/dist/service/stepfunctions/sim-step-functions.d.ts +67 -0
  805. package/dist/service/stepfunctions/sim-step-functions.d.ts.map +1 -0
  806. package/dist/service/stepfunctions/sim-step-functions.js +124 -0
  807. package/dist/service/stepfunctions/sim-step-functions.js.map +1 -0
  808. package/dist/service/stepfunctions/task/sim-aws-states-task-targets.d.ts +33 -0
  809. package/dist/service/stepfunctions/task/sim-aws-states-task-targets.d.ts.map +1 -0
  810. package/dist/service/stepfunctions/task/sim-aws-states-task-targets.js +49 -0
  811. package/dist/service/stepfunctions/task/sim-aws-states-task-targets.js.map +1 -0
  812. package/dist/service/stepfunctions/task/sim-states-execution-role.d.ts +25 -0
  813. package/dist/service/stepfunctions/task/sim-states-execution-role.d.ts.map +1 -0
  814. package/dist/service/stepfunctions/task/sim-states-execution-role.js +57 -0
  815. package/dist/service/stepfunctions/task/sim-states-execution-role.js.map +1 -0
  816. package/dist/service/stepfunctions/task/sim-states-function-arn-target.d.ts +31 -0
  817. package/dist/service/stepfunctions/task/sim-states-function-arn-target.d.ts.map +1 -0
  818. package/dist/service/stepfunctions/task/sim-states-function-arn-target.js +39 -0
  819. package/dist/service/stepfunctions/task/sim-states-function-arn-target.js.map +1 -0
  820. package/dist/service/stepfunctions/task/sim-states-function-location.d.ts +20 -0
  821. package/dist/service/stepfunctions/task/sim-states-function-location.d.ts.map +1 -0
  822. package/dist/service/stepfunctions/task/sim-states-function-location.js +28 -0
  823. package/dist/service/stepfunctions/task/sim-states-function-location.js.map +1 -0
  824. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.d.ts +34 -0
  825. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.d.ts.map +1 -0
  826. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.js +65 -0
  827. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.js.map +1 -0
  828. package/dist/service/stepfunctions/task/sim-states-no-task-targets.d.ts +16 -0
  829. package/dist/service/stepfunctions/task/sim-states-no-task-targets.d.ts.map +1 -0
  830. package/dist/service/stepfunctions/task/sim-states-no-task-targets.js +19 -0
  831. package/dist/service/stepfunctions/task/sim-states-no-task-targets.js.map +1 -0
  832. package/dist/service/stepfunctions/task/sim-states-task-fields.d.ts +14 -0
  833. package/dist/service/stepfunctions/task/sim-states-task-fields.d.ts.map +1 -0
  834. package/dist/service/stepfunctions/task/sim-states-task-fields.js +29 -0
  835. package/dist/service/stepfunctions/task/sim-states-task-fields.js.map +1 -0
  836. package/dist/service/stepfunctions/task/sim-states-task-function.d.ts +57 -0
  837. package/dist/service/stepfunctions/task/sim-states-task-function.d.ts.map +1 -0
  838. package/dist/service/stepfunctions/task/sim-states-task-function.js +93 -0
  839. package/dist/service/stepfunctions/task/sim-states-task-function.js.map +1 -0
  840. package/dist/service/stepfunctions/task/sim-states-task-invocation.d.ts +29 -0
  841. package/dist/service/stepfunctions/task/sim-states-task-invocation.d.ts.map +1 -0
  842. package/dist/service/stepfunctions/task/sim-states-task-invocation.js +2 -0
  843. package/dist/service/stepfunctions/task/sim-states-task-invocation.js.map +1 -0
  844. package/dist/service/stepfunctions/task/sim-states-task-resource.d.ts +12 -0
  845. package/dist/service/stepfunctions/task/sim-states-task-resource.d.ts.map +1 -0
  846. package/dist/service/stepfunctions/task/sim-states-task-resource.js +64 -0
  847. package/dist/service/stepfunctions/task/sim-states-task-resource.js.map +1 -0
  848. package/dist/service/stepfunctions/task/sim-states-task-target.d.ts +37 -0
  849. package/dist/service/stepfunctions/task/sim-states-task-target.d.ts.map +1 -0
  850. package/dist/service/stepfunctions/task/sim-states-task-target.js +12 -0
  851. package/dist/service/stepfunctions/task/sim-states-task-target.js.map +1 -0
  852. package/dist/service/stepfunctions/wait/sim-states-wait-due.d.ts +11 -0
  853. package/dist/service/stepfunctions/wait/sim-states-wait-due.d.ts.map +1 -0
  854. package/dist/service/stepfunctions/wait/sim-states-wait-due.js +67 -0
  855. package/dist/service/stepfunctions/wait/sim-states-wait-due.js.map +1 -0
  856. package/dist/service/stepfunctions/wait/sim-states-wait-fields.d.ts +18 -0
  857. package/dist/service/stepfunctions/wait/sim-states-wait-fields.d.ts.map +1 -0
  858. package/dist/service/stepfunctions/wait/sim-states-wait-fields.js +85 -0
  859. package/dist/service/stepfunctions/wait/sim-states-wait-fields.js.map +1 -0
  860. package/dist/util/process/sim-process-environment.d.ts +9 -0
  861. package/dist/util/process/sim-process-environment.d.ts.map +1 -1
  862. package/dist/util/process/sim-process-environment.js +17 -0
  863. package/dist/util/process/sim-process-environment.js.map +1 -1
  864. package/dist/util/throttle/sim-token-bucket.d.ts +32 -0
  865. package/dist/util/throttle/sim-token-bucket.d.ts.map +1 -0
  866. package/dist/util/throttle/sim-token-bucket.js +53 -0
  867. package/dist/util/throttle/sim-token-bucket.js.map +1 -0
  868. package/package.json +11 -1
@@ -0,0 +1,6 @@
1
+ /**
2
+ * The sim Step Functions Command types, gathered for the service facade.
3
+ */
4
+ export type { SimCreateStateMachineCommand, SimCreateStateMachineCommandInput, SimCreateStateMachineCommandOutput, SimDeleteStateMachineCommand, SimDeleteStateMachineCommandInput, SimDeleteStateMachineCommandOutput, SimDescribeStateMachineCommand, SimDescribeStateMachineCommandInput, SimDescribeStateMachineCommandOutput, SimListStateMachinesCommand, SimListStateMachinesCommandInput, SimListStateMachinesCommandOutput, SimStateMachineListItem, SimUpdateStateMachineCommand, SimUpdateStateMachineCommandInput, SimUpdateStateMachineCommandOutput, } from "./machine/machine.command.js";
5
+ export type { SimDescribeExecutionCommand, SimDescribeExecutionCommandInput, SimDescribeExecutionCommandOutput, SimStartExecutionCommand, SimStartExecutionCommandInput, SimStartExecutionCommandOutput, } from "./execution/execution.command.js";
6
+ //# sourceMappingURL=sim-step-functions-command.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-step-functions-command.types.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/command/sim-step-functions-command.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,YAAY,EACV,4BAA4B,EAC5B,iCAAiC,EACjC,kCAAkC,EAClC,4BAA4B,EAC5B,iCAAiC,EACjC,kCAAkC,EAClC,8BAA8B,EAC9B,mCAAmC,EACnC,oCAAoC,EACpC,2BAA2B,EAC3B,gCAAgC,EAChC,iCAAiC,EACjC,uBAAuB,EACvB,4BAA4B,EAC5B,iCAAiC,EACjC,kCAAkC,GACnC,MAAM,8BAA8B,CAAC;AACtC,YAAY,EACV,2BAA2B,EAC3B,gCAAgC,EAChC,iCAAiC,EACjC,wBAAwB,EACxB,6BAA6B,EAC7B,8BAA8B,GAC/B,MAAM,kCAAkC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=sim-step-functions-command.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-step-functions-command.types.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/command/sim-step-functions-command.types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,12 @@
1
+ import type { SimAwsCaller } from "../../aws/caller/sim-aws-caller.js";
2
+ /**
3
+ * What a Step Functions request carries besides its command input.
4
+ */
5
+ export interface SimStepFunctionsRequestOptions {
6
+ /**
7
+ * Who is making the request. An omitted caller is the Account root, as it is
8
+ * everywhere else in the simulation.
9
+ */
10
+ readonly caller?: SimAwsCaller;
11
+ }
12
+ //# sourceMappingURL=sim-step-functions-request-options.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-step-functions-request-options.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/command/sim-step-functions-request-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAEvE;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C;;;OAGG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=sim-step-functions-request-options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-step-functions-request-options.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/command/sim-step-functions-request-options.ts"],"names":[],"mappings":""}
@@ -58,7 +58,7 @@ function insertIntoArray(document, index, rest, result, resultPath) {
58
58
  `${String(document.length)}, so the result has nowhere to go.`);
59
59
  }
60
60
  const copy = [...document];
61
- copy[index] = insertAtSimStatesPath(copy[index] ?? null, rest, result, resultPath);
61
+ copy[index] = insertAtSimStatesPath(copy[index], rest, result, resultPath);
62
62
  return copy;
63
63
  }
64
64
  //# sourceMappingURL=sim-states-result-path.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sim-states-result-path.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/data/sim-states-result-path.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAC9D,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAGvF;;;;;;GAMG;AACH,MAAM,UAAU,qBAAqB,CACnC,QAAmB,EACnB,QAAyC,EACzC,MAAiB,EACjB,UAAkB;IAElB,MAAM,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,GAAG,QAAQ,CAAC;IAEpC,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;QAC1B,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,IAAI,OAAO,CAAC,IAAI,KAAK,OAAO,EAAE,CAAC;QAC7B,OAAO,eAAe,CAAC,QAAQ,EAAE,OAAO,CAAC,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;IAC5E,CAAC;IAED,OAAO,gBAAgB,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;AAC5E,CAAC;AAED;;;;;;;GAOG;AACH,SAAS,gBAAgB,CACvB,QAAmB,EACnB,IAAY,EACZ,IAAqC,EACrC,MAAiB,EACjB,UAAkB;IAElB,MAAM,MAAM,GAAG,QAAQ,IAAI,EAAE,CAAC;IAE9B,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QACtB,MAAM,IAAI,+BAA+B,CACvC,GAAG,UAAU,qBAAqB,IAAI,+BAA+B;YACnE,0CAA0C,CAC7C,CAAC;IACJ,CAAC;IAED,MAAM,IAAI,GAAe,EAAE,GAAG,MAAM,EAAE,CAAC;IACvC,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IAE/D,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,IAAI,EAAE;QAChC,YAAY,EAAE,IAAI;QAClB,UAAU,EAAE,IAAI;QAChB,KAAK,EAAE,qBAAqB,CAAC,QAAQ,IAAI,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,CAAC;QACxE,QAAQ,EAAE,IAAI;KACf,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;;;;;GAMG;AACH,SAAS,eAAe,CACtB,QAAmB,EACnB,KAAa,EACb,IAAqC,EACrC,MAAiB,EACjB,UAAkB;IAElB,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC7B,MAAM,IAAI,+BAA+B,CACvC,GAAG,UAAU,mBAAmB,MAAM,CAAC,KAAK,CAAC,wBAAwB;YACnE,gDAAgD,CACnD,CAAC;IACJ,CAAC;IAED,IAAI,KAAK,IAAI,QAAQ,CAAC,MAAM,EAAE,CAAC;QAC7B,MAAM,IAAI,+BAA+B,CACvC,GAAG,UAAU,mBAAmB,MAAM,CAAC,KAAK,CAAC,uBAAuB;YAClE,GAAG,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,oCAAoC,CACjE,CAAC;IACJ,CAAC;IAED,MAAM,IAAI,GAAG,CAAC,GAAG,QAAQ,CAAC,CAAC;IAE3B,IAAI,CAAC,KAAK,CAAC,GAAG,qBAAqB,CACjC,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,EACnB,IAAI,EACJ,MAAM,EACN,UAAU,CACX,CAAC;IAEF,OAAO,IAAI,CAAC;AACd,CAAC"}
1
+ {"version":3,"file":"sim-states-result-path.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/data/sim-states-result-path.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAC9D,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAGvF;;;;;;GAMG;AACH,MAAM,UAAU,qBAAqB,CACnC,QAAmB,EACnB,QAAyC,EACzC,MAAiB,EACjB,UAAkB;IAElB,MAAM,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,GAAG,QAAQ,CAAC;IAEpC,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;QAC1B,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,IAAI,OAAO,CAAC,IAAI,KAAK,OAAO,EAAE,CAAC;QAC7B,OAAO,eAAe,CAAC,QAAQ,EAAE,OAAO,CAAC,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;IAC5E,CAAC;IAED,OAAO,gBAAgB,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;AAC5E,CAAC;AAED;;;;;;;GAOG;AACH,SAAS,gBAAgB,CACvB,QAAmB,EACnB,IAAY,EACZ,IAAqC,EACrC,MAAiB,EACjB,UAAkB;IAElB,MAAM,MAAM,GAAG,QAAQ,IAAI,EAAE,CAAC;IAE9B,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QACtB,MAAM,IAAI,+BAA+B,CACvC,GAAG,UAAU,qBAAqB,IAAI,+BAA+B;YACnE,0CAA0C,CAC7C,CAAC;IACJ,CAAC;IAED,MAAM,IAAI,GAAe,EAAE,GAAG,MAAM,EAAE,CAAC;IACvC,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IAE/D,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,IAAI,EAAE;QAChC,YAAY,EAAE,IAAI;QAClB,UAAU,EAAE,IAAI;QAChB,KAAK,EAAE,qBAAqB,CAAC,QAAQ,IAAI,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,CAAC;QACxE,QAAQ,EAAE,IAAI;KACf,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;;;;;GAMG;AACH,SAAS,eAAe,CACtB,QAAmB,EACnB,KAAa,EACb,IAAqC,EACrC,MAAiB,EACjB,UAAkB;IAElB,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC7B,MAAM,IAAI,+BAA+B,CACvC,GAAG,UAAU,mBAAmB,MAAM,CAAC,KAAK,CAAC,wBAAwB;YACnE,gDAAgD,CACnD,CAAC;IACJ,CAAC;IAED,IAAI,KAAK,IAAI,QAAQ,CAAC,MAAM,EAAE,CAAC;QAC7B,MAAM,IAAI,+BAA+B,CACvC,GAAG,UAAU,mBAAmB,MAAM,CAAC,KAAK,CAAC,uBAAuB;YAClE,GAAG,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,oCAAoC,CACjE,CAAC;IACJ,CAAC;IAED,MAAM,IAAI,GAAG,CAAC,GAAG,QAAQ,CAAC,CAAC;IAE3B,IAAI,CAAC,KAAK,CAAC,GAAG,qBAAqB,CACjC,IAAI,CAAC,KAAK,CAAc,EACxB,IAAI,EACJ,MAAM,EACN,UAAU,CACX,CAAC;IAEF,OAAO,IAAI,CAAC;AACd,CAAC"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Whether the fields a timestamp was written with name a real instant.
3
+ *
4
+ * A pattern can only say how many digits each field has. JavaScript's own
5
+ * parser rolls a day past the end of its month into the next one, so
6
+ * `2026-02-30T00:00:00Z` would otherwise be read as the second of March, and
7
+ * `2024-02-29T24:00:00Z` as midnight the next day.
8
+ */
9
+ export declare function simStatesTimestampFieldsHold(fields: readonly (string | undefined)[]): boolean;
10
+ //# sourceMappingURL=sim-states-timestamp-fields.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-timestamp-fields.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/data/sim-states-timestamp-fields.ts"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AACH,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,SAAS,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,GACtC,OAAO,CAqBT"}
@@ -0,0 +1,45 @@
1
+ const monthLengths = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
2
+ const februaryInALeapYear = 29;
3
+ /**
4
+ * Whether the fields a timestamp was written with name a real instant.
5
+ *
6
+ * A pattern can only say how many digits each field has. JavaScript's own
7
+ * parser rolls a day past the end of its month into the next one, so
8
+ * `2026-02-30T00:00:00Z` would otherwise be read as the second of March, and
9
+ * `2024-02-29T24:00:00Z` as midnight the next day.
10
+ */
11
+ export function simStatesTimestampFieldsHold(fields) {
12
+ const [year = 0, month = 0, day = 0, hour = 0, minute = 0, second = 0, offsetHour = 0, offsetMinute = 0,] = fields.map(readField);
13
+ return (isWithin(month, 1, 12) &&
14
+ isWithin(day, 1, daysInMonth(year, month)) &&
15
+ isWithin(hour, 0, 23) &&
16
+ isWithin(minute, 0, 59) &&
17
+ isWithin(second, 0, 59) &&
18
+ isWithin(offsetHour, 0, 23) &&
19
+ isWithin(offsetMinute, 0, 59));
20
+ }
21
+ /**
22
+ * Read one field, taking one the timestamp left out as a zero.
23
+ *
24
+ * A timestamp written in UTC carries no offset, and no offset is no hours and
25
+ * no minutes away from it.
26
+ */
27
+ function readField(written) {
28
+ return Number(written ?? 0);
29
+ }
30
+ function isWithin(value, least, most) {
31
+ return value >= least && value <= most;
32
+ }
33
+ /**
34
+ * How many days a month has, counting the leap day where the year has one.
35
+ */
36
+ function daysInMonth(year, month) {
37
+ if (month === 2 && isALeapYear(year)) {
38
+ return februaryInALeapYear;
39
+ }
40
+ return monthLengths.at(month - 1) ?? 0;
41
+ }
42
+ function isALeapYear(year) {
43
+ return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);
44
+ }
45
+ //# sourceMappingURL=sim-states-timestamp-fields.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-timestamp-fields.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/data/sim-states-timestamp-fields.ts"],"names":[],"mappings":"AAAA,MAAM,YAAY,GAAG,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;AAEtE,MAAM,mBAAmB,GAAG,EAAE,CAAC;AAE/B;;;;;;;GAOG;AACH,MAAM,UAAU,4BAA4B,CAC1C,MAAuC;IAEvC,MAAM,CACJ,IAAI,GAAG,CAAC,EACR,KAAK,GAAG,CAAC,EACT,GAAG,GAAG,CAAC,EACP,IAAI,GAAG,CAAC,EACR,MAAM,GAAG,CAAC,EACV,MAAM,GAAG,CAAC,EACV,UAAU,GAAG,CAAC,EACd,YAAY,GAAG,CAAC,EACjB,GAAG,MAAM,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAE1B,OAAO,CACL,QAAQ,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC;QACtB,QAAQ,CAAC,GAAG,EAAE,CAAC,EAAE,WAAW,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QAC1C,QAAQ,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC;QACrB,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACvB,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,CAAC,EAAE,EAAE,CAAC;QAC3B,QAAQ,CAAC,YAAY,EAAE,CAAC,EAAE,EAAE,CAAC,CAC9B,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,SAAS,SAAS,CAAC,OAA2B;IAC5C,OAAO,MAAM,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC;AAC9B,CAAC;AAED,SAAS,QAAQ,CAAC,KAAa,EAAE,KAAa,EAAE,IAAY;IAC1D,OAAO,KAAK,IAAI,KAAK,IAAI,KAAK,IAAI,IAAI,CAAC;AACzC,CAAC;AAED;;GAEG;AACH,SAAS,WAAW,CAAC,IAAY,EAAE,KAAa;IAC9C,IAAI,KAAK,KAAK,CAAC,IAAI,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;QACrC,OAAO,mBAAmB,CAAC;IAC7B,CAAC;IAED,OAAO,YAAY,CAAC,EAAE,CAAC,KAAK,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC;AACzC,CAAC;AAED,SAAS,WAAW,CAAC,IAAY;IAC/B,OAAO,IAAI,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,GAAG,KAAK,CAAC,IAAI,IAAI,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC;AAClE,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { JSONValue } from "../../../util/type-guard/json.js";
2
+ /**
3
+ * Read a JSON value as an RFC3339 timestamp, in milliseconds since the epoch.
4
+ *
5
+ * Answers undefined for anything that is not one, which is what lets a
6
+ * timestamp comparison and `IsTimestamp` tell a timestamp from a string that
7
+ * merely looks like a date.
8
+ */
9
+ export declare function readSimStatesTimestamp(value: JSONValue | undefined): number | undefined;
10
+ //# sourceMappingURL=sim-states-timestamp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-timestamp.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/data/sim-states-timestamp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAWlE;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,SAAS,GAAG,SAAS,GAC3B,MAAM,GAAG,SAAS,CAYpB"}
@@ -0,0 +1,26 @@
1
+ import { simStatesTimestampFieldsHold } from "./sim-states-timestamp-fields.js";
2
+ // RFC3339, which is the timestamp format Amazon States Language names. The
3
+ // looser formats Date.parse accepts are left out, so a plain "2026-07-26" is
4
+ // not a timestamp here and a comparison against one answers false rather than
5
+ // guessing at midnight in some zone.
6
+ const rfc3339 =
7
+ // oxlint-disable-next-line security/detect-unsafe-regex -- no nested quantifier.
8
+ /^(\d{4})-(\d{2})-(\d{2})[Tt](\d{2}):(\d{2}):(\d{2})(?:\.\d+)?(?:[Zz]|[+-](\d{2}):(\d{2}))$/;
9
+ /**
10
+ * Read a JSON value as an RFC3339 timestamp, in milliseconds since the epoch.
11
+ *
12
+ * Answers undefined for anything that is not one, which is what lets a
13
+ * timestamp comparison and `IsTimestamp` tell a timestamp from a string that
14
+ * merely looks like a date.
15
+ */
16
+ export function readSimStatesTimestamp(value) {
17
+ if (typeof value !== "string") {
18
+ return undefined;
19
+ }
20
+ const written = rfc3339.exec(value);
21
+ if (written === null || !simStatesTimestampFieldsHold(written.slice(1))) {
22
+ return undefined;
23
+ }
24
+ return Date.parse(value);
25
+ }
26
+ //# sourceMappingURL=sim-states-timestamp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-timestamp.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/data/sim-states-timestamp.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,4BAA4B,EAAE,MAAM,kCAAkC,CAAC;AAEhF,2EAA2E;AAC3E,6EAA6E;AAC7E,8EAA8E;AAC9E,qCAAqC;AACrC,MAAM,OAAO;AACX,iFAAiF;AACjF,4FAA4F,CAAC;AAE/F;;;;;;GAMG;AACH,MAAM,UAAU,sBAAsB,CACpC,KAA4B;IAE5B,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC9B,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,MAAM,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAEpC,IAAI,OAAO,KAAK,IAAI,IAAI,CAAC,4BAA4B,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACxE,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;AAC3B,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { SimStatesDefinition } from "./sim-states-definition.js";
2
+ /**
3
+ * Read a state machine definition from the JSON string it was written as.
4
+ *
5
+ * A definition using anything this simulator does not run is refused whole,
6
+ * naming the state and what it used. A state machine missing one state runs
7
+ * wrong, and running wrong gives a passing test that lies.
8
+ */
9
+ export declare function parseSimStatesDefinition(definition: string): SimStatesDefinition;
10
+ //# sourceMappingURL=sim-states-definition-parse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-definition-parse.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/definition/sim-states-definition-parse.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAKtE;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,MAAM,GACjB,mBAAmB,CA0BrB"}
@@ -0,0 +1,61 @@
1
+ import { isRecord } from "../../../util/type-guard/record.js";
2
+ import { SimStatesInvalidDefinition } from "../error/sim-step-functions.error.js";
3
+ import { parseSimStatesState } from "./sim-states-state-parse.js";
4
+ import { checkSimStatesTransitions } from "./sim-states-transitions.js";
5
+ /**
6
+ * Read a state machine definition from the JSON string it was written as.
7
+ *
8
+ * A definition using anything this simulator does not run is refused whole,
9
+ * naming the state and what it used. A state machine missing one state runs
10
+ * wrong, and running wrong gives a passing test that lies.
11
+ */
12
+ export function parseSimStatesDefinition(definition) {
13
+ const document = readDocument(definition);
14
+ const states = readStates(document);
15
+ const startAt = document["StartAt"];
16
+ if (typeof startAt !== "string") {
17
+ throw new SimStatesInvalidDefinition("A state machine definition needs a StartAt naming the state it begins at.");
18
+ }
19
+ if (!states.has(startAt)) {
20
+ throw new SimStatesInvalidDefinition(`StartAt names ${startAt}, which is not one of this state machine's states.`);
21
+ }
22
+ checkSimStatesTransitions(states);
23
+ const comment = document["Comment"];
24
+ return {
25
+ ...(typeof comment === "string" && { Comment: comment }),
26
+ StartAt: startAt,
27
+ States: states,
28
+ };
29
+ }
30
+ /**
31
+ * Read the definition string as the JSON object it has to be.
32
+ */
33
+ function readDocument(definition) {
34
+ let document;
35
+ try {
36
+ document = JSON.parse(definition);
37
+ }
38
+ catch {
39
+ throw new SimStatesInvalidDefinition("The state machine definition is not JSON.");
40
+ }
41
+ if (!isRecord(document)) {
42
+ throw new SimStatesInvalidDefinition("A state machine definition is a JSON object.");
43
+ }
44
+ return document;
45
+ }
46
+ /**
47
+ * Read every state, refusing the ones this simulator has no implementation
48
+ * for.
49
+ */
50
+ function readStates(document) {
51
+ const declared = document["States"];
52
+ if (!isRecord(declared) || Object.keys(declared).length === 0) {
53
+ throw new SimStatesInvalidDefinition("A state machine definition needs a States object holding at least one state.");
54
+ }
55
+ const states = new Map();
56
+ for (const [name, state] of Object.entries(declared)) {
57
+ states.set(name, parseSimStatesState(name, state));
58
+ }
59
+ return states;
60
+ }
61
+ //# sourceMappingURL=sim-states-definition-parse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-definition-parse.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/definition/sim-states-definition-parse.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAC9D,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAGlF,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAExE;;;;;;GAMG;AACH,MAAM,UAAU,wBAAwB,CACtC,UAAkB;IAElB,MAAM,QAAQ,GAAG,YAAY,CAAC,UAAU,CAAC,CAAC;IAC1C,MAAM,MAAM,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAC;IACpC,MAAM,OAAO,GAAG,QAAQ,CAAC,SAAS,CAAC,CAAC;IAEpC,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE,CAAC;QAChC,MAAM,IAAI,0BAA0B,CAClC,2EAA2E,CAC5E,CAAC;IACJ,CAAC;IAED,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;QACzB,MAAM,IAAI,0BAA0B,CAClC,iBAAiB,OAAO,oDAAoD,CAC7E,CAAC;IACJ,CAAC;IAED,yBAAyB,CAAC,MAAM,CAAC,CAAC;IAElC,MAAM,OAAO,GAAG,QAAQ,CAAC,SAAS,CAAC,CAAC;IAEpC,OAAO;QACL,GAAG,CAAC,OAAO,OAAO,KAAK,QAAQ,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC;QACxD,OAAO,EAAE,OAAO;QAChB,MAAM,EAAE,MAAM;KACf,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAS,YAAY,CAAC,UAAkB;IACtC,IAAI,QAAmB,CAAC;IAExB,IAAI,CAAC;QACH,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,CAAc,CAAC;IACjD,CAAC;IAAC,MAAM,CAAC;QACP,MAAM,IAAI,0BAA0B,CAClC,2CAA2C,CAC5C,CAAC;IACJ,CAAC;IAED,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC;QACxB,MAAM,IAAI,0BAA0B,CAClC,8CAA8C,CAC/C,CAAC;IACJ,CAAC;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED;;;GAGG;AACH,SAAS,UAAU,CACjB,QAAmC;IAEnC,MAAM,QAAQ,GAAG,QAAQ,CAAC,QAAQ,CAAC,CAAC;IAEpC,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC9D,MAAM,IAAI,0BAA0B,CAClC,8EAA8E,CAC/E,CAAC;IACJ,CAAC;IAED,MAAM,MAAM,GAAG,IAAI,GAAG,EAA0B,CAAC;IAEjD,KAAK,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC;QACrD,MAAM,CAAC,GAAG,CAAC,IAAI,EAAE,mBAAmB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC;IACrD,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import type { SimStatesState } from "./sim-states-state.js";
2
+ /**
3
+ * One state machine's Amazon States Language definition, after it has been
4
+ * read and checked.
5
+ *
6
+ * A definition is checked once, when the state machine is created. An
7
+ * execution walks a definition it can rely on, which keeps the state types
8
+ * out of the interpreter's error handling.
9
+ */
10
+ export interface SimStatesDefinition {
11
+ readonly Comment?: string;
12
+ readonly StartAt: string;
13
+ readonly States: ReadonlyMap<string, SimStatesState>;
14
+ }
15
+ //# sourceMappingURL=sim-states-definition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-definition.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/definition/sim-states-definition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D;;;;;;;GAOG;AACH,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;CACtD"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=sim-states-definition.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-definition.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/definition/sim-states-definition.ts"],"names":[],"mappings":""}
@@ -0,0 +1,17 @@
1
+ import type { JSONValue } from "../../../util/type-guard/json.js";
2
+ /**
3
+ * Refuse the fields a state's type does not have.
4
+ *
5
+ * A definition carrying one of these would behave differently here than it
6
+ * does on AWS, where the field is simply not part of the state.
7
+ */
8
+ export declare function checkSimStatesRefusedFields(name: string, type: string, state: Record<string, JSONValue>): void;
9
+ /**
10
+ * Check the two fields that say what happens after a state.
11
+ *
12
+ * This runs on the state as it was written, before it is read as one of the
13
+ * state types. Once it has been, `End` is a boolean as far as the compiler is
14
+ * concerned, and a definition carrying `"true"` would be taken at its word.
15
+ */
16
+ export declare function checkSimStatesTransitionFields(name: string, state: Record<string, JSONValue>): void;
17
+ //# sourceMappingURL=sim-states-state-fields.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-state-fields.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/definition/sim-states-state-fields.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAiBlE;;;;;GAKG;AACH,wBAAgB,2BAA2B,CACzC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAC/B,IAAI,CAUN;AAED;;;;;;GAMG;AACH,wBAAgB,8BAA8B,CAC5C,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAC/B,IAAI,CAiBN"}
@@ -0,0 +1,47 @@
1
+ import { SimStatesInvalidDefinition } from "../error/sim-step-functions.error.js";
2
+ // Real Step Functions gives a Fail state no input or output processing at all,
3
+ // and gives a Succeed state only the two paths.
4
+ const stateFieldsRefused = new Map([
5
+ [
6
+ "Fail",
7
+ ["InputPath", "OutputPath", "Parameters", "ResultPath", "ResultSelector"],
8
+ ],
9
+ ["Succeed", ["Parameters", "ResultPath", "ResultSelector"]],
10
+ // A Choice state and a Wait state produce no result of their own, so they
11
+ // carry the two paths and nothing that reshapes a result.
12
+ ["Choice", ["Parameters", "ResultPath", "ResultSelector"]],
13
+ ["Wait", ["Parameters", "ResultPath", "ResultSelector"]],
14
+ ]);
15
+ /**
16
+ * Refuse the fields a state's type does not have.
17
+ *
18
+ * A definition carrying one of these would behave differently here than it
19
+ * does on AWS, where the field is simply not part of the state.
20
+ */
21
+ export function checkSimStatesRefusedFields(name, type, state) {
22
+ const refused = stateFieldsRefused.get(type) ?? [];
23
+ const present = refused.filter((field) => Object.hasOwn(state, field));
24
+ if (present.length > 0) {
25
+ throw new SimStatesInvalidDefinition(`The ${type} state ${name} carries ${present.join(", ")}, which a ` +
26
+ `${type} state does not have.`);
27
+ }
28
+ }
29
+ /**
30
+ * Check the two fields that say what happens after a state.
31
+ *
32
+ * This runs on the state as it was written, before it is read as one of the
33
+ * state types. Once it has been, `End` is a boolean as far as the compiler is
34
+ * concerned, and a definition carrying `"true"` would be taken at its word.
35
+ */
36
+ export function checkSimStatesTransitionFields(name, state) {
37
+ const end = state["End"];
38
+ if (end !== undefined && typeof end !== "boolean") {
39
+ throw new SimStatesInvalidDefinition(`The state ${name} has an End that is not a boolean. Only true ends an ` +
40
+ "execution there.");
41
+ }
42
+ const next = state["Next"];
43
+ if (next !== undefined && typeof next !== "string") {
44
+ throw new SimStatesInvalidDefinition(`The state ${name} has a Next that is not a state name.`);
45
+ }
46
+ }
47
+ //# sourceMappingURL=sim-states-state-fields.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-state-fields.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/definition/sim-states-state-fields.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAElF,+EAA+E;AAC/E,gDAAgD;AAChD,MAAM,kBAAkB,GAAG,IAAI,GAAG,CAA4B;IAC5D;QACE,MAAM;QACN,CAAC,WAAW,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,gBAAgB,CAAC;KAC1E;IACD,CAAC,SAAS,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,gBAAgB,CAAC,CAAC;IAC3D,0EAA0E;IAC1E,0DAA0D;IAC1D,CAAC,QAAQ,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,gBAAgB,CAAC,CAAC;IAC1D,CAAC,MAAM,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,gBAAgB,CAAC,CAAC;CACzD,CAAC,CAAC;AAEH;;;;;GAKG;AACH,MAAM,UAAU,2BAA2B,CACzC,IAAY,EACZ,IAAY,EACZ,KAAgC;IAEhC,MAAM,OAAO,GAAG,kBAAkB,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACnD,MAAM,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC;IAEvE,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACvB,MAAM,IAAI,0BAA0B,CAClC,OAAO,IAAI,UAAU,IAAI,YAAY,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY;YACjE,GAAG,IAAI,uBAAuB,CACjC,CAAC;IACJ,CAAC;AACH,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,8BAA8B,CAC5C,IAAY,EACZ,KAAgC;IAEhC,MAAM,GAAG,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;IAEzB,IAAI,GAAG,KAAK,SAAS,IAAI,OAAO,GAAG,KAAK,SAAS,EAAE,CAAC;QAClD,MAAM,IAAI,0BAA0B,CAClC,aAAa,IAAI,uDAAuD;YACtE,kBAAkB,CACrB,CAAC;IACJ,CAAC;IAED,MAAM,IAAI,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;IAE3B,IAAI,IAAI,KAAK,SAAS,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;QACnD,MAAM,IAAI,0BAA0B,CAClC,aAAa,IAAI,uCAAuC,CACzD,CAAC;IACJ,CAAC;AACH,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { JSONValue } from "../../../util/type-guard/json.js";
2
+ import { type SimStatesState } from "./sim-states-state.js";
3
+ /**
4
+ * Check one state's type, and the fields that type is allowed.
5
+ */
6
+ export declare function parseSimStatesState(name: string, state: JSONValue): SimStatesState;
7
+ //# sourceMappingURL=sim-states-state-parse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-state-parse.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/definition/sim-states-state-parse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAiBlE,OAAO,EAEL,KAAK,cAAc,EAIpB,MAAM,uBAAuB,CAAC;AAE/B;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,SAAS,GACf,cAAc,CAyChB"}
@@ -0,0 +1,67 @@
1
+ import { isRecord } from "../../../util/type-guard/record.js";
2
+ import { checkSimStatesChoiceDefault, parseSimStatesChoices, } from "../choice/sim-states-choice-parse.js";
3
+ import { SimStatesInvalidDefinition, SimStatesUnsimulatedInput, } from "../error/sim-step-functions.error.js";
4
+ import { checkSimStatesTaskFields } from "../task/sim-states-task-fields.js";
5
+ import { parseSimStatesTaskResource } from "../task/sim-states-task-resource.js";
6
+ import { checkSimStatesWaitFields } from "../wait/sim-states-wait-fields.js";
7
+ import { checkSimStatesRefusedFields, checkSimStatesTransitionFields, } from "./sim-states-state-fields.js";
8
+ import { simStatesRunnableTypes, simStatesStateTypes, } from "./sim-states-state.js";
9
+ /**
10
+ * Check one state's type, and the fields that type is allowed.
11
+ */
12
+ export function parseSimStatesState(name, state) {
13
+ if (!isRecord(state)) {
14
+ throw new SimStatesInvalidDefinition(`The state ${name} is not an object.`);
15
+ }
16
+ const type = state["Type"];
17
+ if (typeof type !== "string") {
18
+ throw new SimStatesInvalidDefinition(`The state ${name} has no Type.`);
19
+ }
20
+ if (!simStatesStateTypes.includes(type)) {
21
+ throw new SimStatesInvalidDefinition(`The state ${name} has a Type of ${type}, which Amazon States Language ` +
22
+ "does not define.");
23
+ }
24
+ if (!simStatesRunnableTypes.includes(type)) {
25
+ throw new SimStatesUnsimulatedInput(`The state ${name} is a ${type} state, which this simulator does not ` +
26
+ `run yet. It runs ${simStatesRunnableTypes.join(", ")}.`);
27
+ }
28
+ checkSimStatesRefusedFields(name, type, state);
29
+ checkSimStatesTransitionFields(name, state);
30
+ if (type === "Choice") {
31
+ return readChoiceState(name, state);
32
+ }
33
+ if (type === "Task") {
34
+ return readTaskState(name, state);
35
+ }
36
+ if (type === "Wait") {
37
+ checkSimStatesWaitFields(name, state);
38
+ }
39
+ return state;
40
+ }
41
+ /**
42
+ * Read a `Choice` state, whose rules are checked and built as it is read.
43
+ *
44
+ * The rules become the objects the state tests its input with, so a `Choice`
45
+ * state that runs has already had its comparators, paths and operands read.
46
+ */
47
+ function readChoiceState(name, state) {
48
+ checkSimStatesChoiceDefault(name, state);
49
+ return {
50
+ ...state,
51
+ Choices: parseSimStatesChoices(name, state),
52
+ };
53
+ }
54
+ /**
55
+ * Read a `Task` state, whose `Resource` is read as the state is.
56
+ *
57
+ * The target becomes the object the state invokes through, so a `Task` state
58
+ * that runs has already had its `Resource` and its `Parameters` read.
59
+ */
60
+ function readTaskState(name, state) {
61
+ checkSimStatesTaskFields(name, state);
62
+ return {
63
+ ...state,
64
+ target: parseSimStatesTaskResource(name, state),
65
+ };
66
+ }
67
+ //# sourceMappingURL=sim-states-state-parse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-state-parse.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/definition/sim-states-state-parse.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAC9D,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,GACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,0BAA0B,EAC1B,yBAAyB,GAC1B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AACjF,OAAO,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,EACL,2BAA2B,EAC3B,8BAA8B,GAC/B,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAIL,sBAAsB,EACtB,mBAAmB,GACpB,MAAM,uBAAuB,CAAC;AAE/B;;GAEG;AACH,MAAM,UAAU,mBAAmB,CACjC,IAAY,EACZ,KAAgB;IAEhB,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;QACrB,MAAM,IAAI,0BAA0B,CAAC,aAAa,IAAI,oBAAoB,CAAC,CAAC;IAC9E,CAAC;IAED,MAAM,IAAI,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;IAE3B,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;QAC7B,MAAM,IAAI,0BAA0B,CAAC,aAAa,IAAI,eAAe,CAAC,CAAC;IACzE,CAAC;IAED,IAAI,CAAC,mBAAmB,CAAC,QAAQ,CAAC,IAAa,CAAC,EAAE,CAAC;QACjD,MAAM,IAAI,0BAA0B,CAClC,aAAa,IAAI,kBAAkB,IAAI,iCAAiC;YACtE,kBAAkB,CACrB,CAAC;IACJ,CAAC;IAED,IAAI,CAAC,sBAAsB,CAAC,QAAQ,CAAC,IAAa,CAAC,EAAE,CAAC;QACpD,MAAM,IAAI,yBAAyB,CACjC,aAAa,IAAI,SAAS,IAAI,wCAAwC;YACpE,oBAAoB,sBAAsB,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAC3D,CAAC;IACJ,CAAC;IAED,2BAA2B,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;IAC/C,8BAA8B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAE5C,IAAI,IAAI,KAAK,QAAQ,EAAE,CAAC;QACtB,OAAO,eAAe,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACtC,CAAC;IAED,IAAI,IAAI,KAAK,MAAM,EAAE,CAAC;QACpB,OAAO,aAAa,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACpC,CAAC;IAED,IAAI,IAAI,KAAK,MAAM,EAAE,CAAC;QACpB,wBAAwB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACxC,CAAC;IAED,OAAO,KAAkC,CAAC;AAC5C,CAAC;AAED;;;;;GAKG;AACH,SAAS,eAAe,CACtB,IAAY,EACZ,KAAgC;IAEhC,2BAA2B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAEzC,OAAO;QACL,GAAI,KAAyC;QAC7C,OAAO,EAAE,qBAAqB,CAAC,IAAI,EAAE,KAAK,CAAC;KAC5C,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,SAAS,aAAa,CACpB,IAAY,EACZ,KAAgC;IAEhC,wBAAwB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAEtC,OAAO;QACL,GAAI,KAAuC;QAC3C,MAAM,EAAE,0BAA0B,CAAC,IAAI,EAAE,KAAK,CAAC;KAChD,CAAC;AACJ,CAAC"}
@@ -0,0 +1,98 @@
1
+ import type { JSONValue } from "../../../util/type-guard/json.js";
2
+ import type { SimStatesChoiceRule } from "../choice/sim-states-choice-rule.js";
3
+ import type { SimStatesDataFlowFields } from "../data/sim-states-data-flow.js";
4
+ import type { SimStatesTaskTarget } from "../task/sim-states-task-target.js";
5
+ /**
6
+ * Every state type Amazon States Language defines.
7
+ *
8
+ * The ones this simulator has no implementation for are named here so a
9
+ * definition using one can be refused by its own name.
10
+ */
11
+ export declare const simStatesStateTypes: readonly ["Pass", "Succeed", "Fail", "Task", "Choice", "Wait", "Parallel", "Map"];
12
+ export type SimStatesStateType = (typeof simStatesStateTypes)[number];
13
+ /**
14
+ * The state types this simulator runs.
15
+ */
16
+ export declare const simStatesRunnableTypes: readonly ["Pass", "Succeed", "Fail", "Task", "Choice", "Wait"];
17
+ export type SimStatesRunnableType = (typeof simStatesRunnableTypes)[number];
18
+ /**
19
+ * What every state carries, whatever its type.
20
+ */
21
+ interface SimStatesCommonState extends SimStatesDataFlowFields {
22
+ readonly Comment?: string;
23
+ readonly Next?: string;
24
+ readonly End?: boolean;
25
+ }
26
+ /**
27
+ * A `Pass` state, which produces a result without doing any work.
28
+ */
29
+ export interface SimStatesPassState extends SimStatesCommonState {
30
+ readonly Type: "Pass";
31
+ readonly Result?: JSONValue;
32
+ }
33
+ /**
34
+ * A `Task` state, which does work outside the state machine.
35
+ *
36
+ * `Resource` is held as it was written, and `target` is what it named. The
37
+ * `Resource` is read when the definition is read, so one this simulator cannot
38
+ * reach is refused there rather than when an execution arrives at the state.
39
+ */
40
+ export interface SimStatesTaskState extends SimStatesCommonState {
41
+ readonly Type: "Task";
42
+ readonly Resource: string;
43
+ readonly target: SimStatesTaskTarget;
44
+ }
45
+ /**
46
+ * A `Succeed` state, which ends an execution successfully.
47
+ */
48
+ export interface SimStatesSucceedState extends SimStatesCommonState {
49
+ readonly Type: "Succeed";
50
+ }
51
+ /**
52
+ * A `Choice` state, which picks where the execution goes by testing its input.
53
+ *
54
+ * A `Choice` state has no result of its own, so it carries the two paths and
55
+ * none of the other data-flow fields.
56
+ */
57
+ export interface SimStatesChoiceState {
58
+ readonly Type: "Choice";
59
+ readonly Comment?: string;
60
+ readonly InputPath?: string | null;
61
+ readonly OutputPath?: string | null;
62
+ readonly Choices: readonly SimStatesChoiceRule[];
63
+ readonly Default?: string;
64
+ }
65
+ /**
66
+ * A `Wait` state, which holds the execution until an instant on the clock.
67
+ */
68
+ export interface SimStatesWaitState {
69
+ readonly Type: "Wait";
70
+ readonly Comment?: string;
71
+ readonly InputPath?: string | null;
72
+ readonly OutputPath?: string | null;
73
+ readonly Next?: string;
74
+ readonly End?: boolean;
75
+ readonly Seconds?: number;
76
+ readonly SecondsPath?: string;
77
+ readonly Timestamp?: string;
78
+ readonly TimestampPath?: string;
79
+ }
80
+ /**
81
+ * A `Fail` state, which ends an execution with an error.
82
+ *
83
+ * Real Step Functions gives `Fail` no input or output processing, so the
84
+ * data-flow fields on it are refused when the definition is read.
85
+ */
86
+ export interface SimStatesFailState {
87
+ readonly Type: "Fail";
88
+ readonly Comment?: string;
89
+ readonly Error?: string;
90
+ readonly Cause?: string;
91
+ }
92
+ export type SimStatesState = SimStatesPassState | SimStatesTaskState | SimStatesSucceedState | SimStatesFailState | SimStatesChoiceState | SimStatesWaitState;
93
+ /**
94
+ * Whether a state ends the execution when it is reached.
95
+ */
96
+ export declare function isSimStatesTerminal(state: SimStatesState): boolean;
97
+ export {};
98
+ //# sourceMappingURL=sim-states-state.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-state.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/definition/sim-states-state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAC/E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAE7E;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,YAC9B,MAAM,EACN,SAAS,EACT,MAAM,EACN,MAAM,EACN,QAAQ,EACR,MAAM,EACN,UAAU,EACV,KAAK,CACG,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEtE;;GAEG;AACH,eAAO,MAAM,sBAAsB,YACjC,MAAM,EACN,SAAS,EACT,MAAM,EACN,MAAM,EACN,QAAQ,EACR,MAAM,CACE,CAAC;AAEX,MAAM,MAAM,qBAAqB,GAAG,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE5E;;GAEG;AACH,UAAU,oBAAqB,SAAQ,uBAAuB;IAC5D,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,GAAG,CAAC,EAAE,OAAO,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,oBAAoB;IAC9D,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,CAAC,EAAE,SAAS,CAAC;CAC7B;AAED;;;;;;GAMG;AACH,MAAM,WAAW,kBAAmB,SAAQ,oBAAoB;IAC9D,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,MAAM,EAAE,mBAAmB,CAAC;CACtC;AAED;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB;IACjE,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC;CAC1B;AAED;;;;;GAKG;AACH,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC;IACxB,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,QAAQ,CAAC,OAAO,EAAE,SAAS,mBAAmB,EAAE,CAAC;IACjD,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,GAAG,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;CACjC;AAED;;;;;GAKG;AACH,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,MAAM,cAAc,GACtB,kBAAkB,GAClB,kBAAkB,GAClB,qBAAqB,GACrB,kBAAkB,GAClB,oBAAoB,GACpB,kBAAkB,CAAC;AAEvB;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,cAAc,GAAG,OAAO,CAElE"}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Every state type Amazon States Language defines.
3
+ *
4
+ * The ones this simulator has no implementation for are named here so a
5
+ * definition using one can be refused by its own name.
6
+ */
7
+ export const simStatesStateTypes = [
8
+ "Pass",
9
+ "Succeed",
10
+ "Fail",
11
+ "Task",
12
+ "Choice",
13
+ "Wait",
14
+ "Parallel",
15
+ "Map",
16
+ ];
17
+ /**
18
+ * The state types this simulator runs.
19
+ */
20
+ export const simStatesRunnableTypes = [
21
+ "Pass",
22
+ "Succeed",
23
+ "Fail",
24
+ "Task",
25
+ "Choice",
26
+ "Wait",
27
+ ];
28
+ /**
29
+ * Whether a state ends the execution when it is reached.
30
+ */
31
+ export function isSimStatesTerminal(state) {
32
+ return state.Type === "Succeed" || state.Type === "Fail";
33
+ }
34
+ //# sourceMappingURL=sim-states-state.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-state.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/definition/sim-states-state.ts"],"names":[],"mappings":"AAKA;;;;;GAKG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,MAAM;IACN,SAAS;IACT,MAAM;IACN,MAAM;IACN,QAAQ;IACR,MAAM;IACN,UAAU;IACV,KAAK;CACG,CAAC;AAIX;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,MAAM;IACN,SAAS;IACT,MAAM;IACN,MAAM;IACN,QAAQ;IACR,MAAM;CACE,CAAC;AA6FX;;GAEG;AACH,MAAM,UAAU,mBAAmB,CAAC,KAAqB;IACvD,OAAO,KAAK,CAAC,IAAI,KAAK,SAAS,IAAI,KAAK,CAAC,IAAI,KAAK,MAAM,CAAC;AAC3D,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { type SimStatesState } from "./sim-states-state.js";
2
+ /**
3
+ * Check that every state either ends the execution or moves to one that
4
+ * exists.
5
+ *
6
+ * A `Next` naming a state that is not there is a definition fault rather than
7
+ * a runtime one, and real Step Functions refuses it at creation too.
8
+ */
9
+ export declare function checkSimStatesTransitions(states: ReadonlyMap<string, SimStatesState>): void;
10
+ //# sourceMappingURL=sim-states-transitions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-transitions.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/definition/sim-states-transitions.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,cAAc,EAEpB,MAAM,uBAAuB,CAAC;AAE/B;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,WAAW,CAAC,MAAM,EAAE,cAAc,CAAC,GAC1C,IAAI,CAcN"}