@kensio/yulin 1.20.2 → 1.20.3

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 (588) hide show
  1. package/dist/sdk/router/resolve-sim-sdk-command-router.d.ts +8 -0
  2. package/dist/sdk/router/resolve-sim-sdk-command-router.d.ts.map +1 -1
  3. package/dist/sdk/router/resolve-sim-sdk-command-router.js +10 -0
  4. package/dist/sdk/router/resolve-sim-sdk-command-router.js.map +1 -1
  5. package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts +4 -0
  6. package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts.map +1 -1
  7. package/dist/service/aws/factory/sim-aws-account-region-service-builder.js +6 -0
  8. package/dist/service/aws/factory/sim-aws-account-region-service-builder.js.map +1 -1
  9. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-error.d.ts +15 -0
  10. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-error.d.ts.map +1 -0
  11. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-error.js +18 -0
  12. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-error.js.map +1 -0
  13. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-properties.d.ts +30 -0
  14. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-properties.d.ts.map +1 -0
  15. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-properties.js +74 -0
  16. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-properties.js.map +1 -0
  17. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reader.d.ts +45 -0
  18. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reader.d.ts.map +1 -0
  19. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reader.js +82 -0
  20. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reader.js.map +1 -0
  21. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reading.d.ts +27 -0
  22. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reading.d.ts.map +1 -0
  23. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reading.js +24 -0
  24. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reading.js.map +1 -0
  25. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-template.factory.d.ts +39 -0
  26. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-template.factory.d.ts.map +1 -0
  27. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-template.factory.js +42 -0
  28. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-template.factory.js.map +1 -0
  29. package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-cross-region-parameter-cfn.d.ts +32 -0
  30. package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-cross-region-parameter-cfn.d.ts.map +1 -0
  31. package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-cross-region-parameter-cfn.js +36 -0
  32. package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-cross-region-parameter-cfn.js.map +1 -0
  33. package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-custom-resource-value-adapter.d.ts +14 -0
  34. package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-custom-resource-value-adapter.d.ts.map +1 -0
  35. package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-custom-resource-value-adapter.js +23 -0
  36. package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-custom-resource-value-adapter.js.map +1 -0
  37. package/dist/service/cloudformation/resource/cfn/sim-cfn-default-resource-value-adapter.d.ts.map +1 -1
  38. package/dist/service/cloudformation/resource/cfn/sim-cfn-default-resource-value-adapter.js +2 -1
  39. package/dist/service/cloudformation/resource/cfn/sim-cfn-default-resource-value-adapter.js.map +1 -1
  40. package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.d.ts +2 -1
  41. package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.d.ts.map +1 -1
  42. package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.js +4 -1
  43. package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.js.map +1 -1
  44. package/dist/service/cloudformation/resource/cfn/sim-cfn-unanswered-attribute.d.ts +23 -0
  45. package/dist/service/cloudformation/resource/cfn/sim-cfn-unanswered-attribute.d.ts.map +1 -0
  46. package/dist/service/cloudformation/resource/cfn/sim-cfn-unanswered-attribute.js +46 -0
  47. package/dist/service/cloudformation/resource/cfn/sim-cfn-unanswered-attribute.js.map +1 -0
  48. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.js +1 -1
  49. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.js.map +1 -1
  50. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-custom-resource-factories.d.ts.map +1 -1
  51. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-custom-resource-factories.js +5 -0
  52. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-custom-resource-factories.js.map +1 -1
  53. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.d.ts.map +1 -1
  54. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.js +1 -4
  55. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.js.map +1 -1
  56. package/dist/service/cloudformation/resource/sim-cfn-resource-record.d.ts +7 -0
  57. package/dist/service/cloudformation/resource/sim-cfn-resource-record.d.ts.map +1 -1
  58. package/dist/service/cloudformation/resource/sim-cfn-resource-record.js +9 -0
  59. package/dist/service/cloudformation/resource/sim-cfn-resource-record.js.map +1 -1
  60. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-creator.d.ts +5 -4
  61. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-creator.d.ts.map +1 -1
  62. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-creator.js +14 -5
  63. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-creator.js.map +1 -1
  64. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-edge-associations.d.ts +19 -0
  65. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-edge-associations.d.ts.map +1 -0
  66. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-edge-associations.js +78 -0
  67. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-edge-associations.js.map +1 -0
  68. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-association-skips.d.ts +34 -0
  69. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-association-skips.d.ts.map +1 -0
  70. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-association-skips.js +58 -0
  71. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-association-skips.js.map +1 -0
  72. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-skip-reason.d.ts +26 -0
  73. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-skip-reason.d.ts.map +1 -0
  74. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-skip-reason.js +60 -0
  75. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-skip-reason.js.map +1 -0
  76. package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.d.ts +4 -1
  77. package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.d.ts.map +1 -1
  78. package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.js +6 -4
  79. package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.js.map +1 -1
  80. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-applicator.d.ts +3 -11
  81. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-applicator.d.ts.map +1 -1
  82. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-applicator.js +6 -20
  83. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-applicator.js.map +1 -1
  84. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-distribution.d.ts +1 -1
  85. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-distribution.d.ts.map +1 -1
  86. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-origin-applicator.d.ts +43 -0
  87. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-origin-applicator.d.ts.map +1 -0
  88. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-origin-applicator.js +63 -0
  89. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-origin-applicator.js.map +1 -0
  90. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-run.d.ts +16 -0
  91. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-run.d.ts.map +1 -0
  92. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-run.js +33 -0
  93. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-run.js.map +1 -0
  94. package/dist/service/cloudfront/controller/origin/sim-cf-origin-bound-request.d.ts +14 -0
  95. package/dist/service/cloudfront/controller/origin/sim-cf-origin-bound-request.d.ts.map +1 -0
  96. package/dist/service/cloudfront/controller/origin/sim-cf-origin-bound-request.js +2 -0
  97. package/dist/service/cloudfront/controller/origin/sim-cf-origin-bound-request.js.map +1 -0
  98. package/dist/service/cloudfront/controller/origin/sim-cf-origin-stage.d.ts +45 -0
  99. package/dist/service/cloudfront/controller/origin/sim-cf-origin-stage.d.ts.map +1 -0
  100. package/dist/service/cloudfront/controller/origin/sim-cf-origin-stage.js +47 -0
  101. package/dist/service/cloudfront/controller/origin/sim-cf-origin-stage.js.map +1 -0
  102. package/dist/service/cloudfront/controller/origin/sim-cloudfront-origin-fetcher.d.ts +6 -1
  103. package/dist/service/cloudfront/controller/origin/sim-cloudfront-origin-fetcher.d.ts.map +1 -1
  104. package/dist/service/cloudfront/controller/origin/sim-cloudfront-origin-fetcher.js +6 -2
  105. package/dist/service/cloudfront/controller/origin/sim-cloudfront-origin-fetcher.js.map +1 -1
  106. package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.d.ts +4 -3
  107. package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.d.ts.map +1 -1
  108. package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.js +20 -8
  109. package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.js.map +1 -1
  110. package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.d.ts.map +1 -1
  111. package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.js +1 -0
  112. package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.js.map +1 -1
  113. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-adapter.d.ts +2 -9
  114. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-adapter.d.ts.map +1 -1
  115. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-adapter.js +5 -13
  116. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-adapter.js.map +1 -1
  117. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-config.d.ts +16 -0
  118. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-config.d.ts.map +1 -0
  119. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-config.js +14 -0
  120. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-config.js.map +1 -0
  121. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin-event-adapter.d.ts +51 -0
  122. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin-event-adapter.d.ts.map +1 -0
  123. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin-event-adapter.js +83 -0
  124. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin-event-adapter.js.map +1 -0
  125. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin.d.ts +23 -0
  126. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin.d.ts.map +1 -0
  127. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin.js +30 -0
  128. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin.js.map +1 -0
  129. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-request-adapter.d.ts +9 -0
  130. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-request-adapter.d.ts.map +1 -1
  131. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-request-adapter.js +20 -0
  132. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-request-adapter.js.map +1 -1
  133. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-response-adapter.d.ts +4 -4
  134. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-response-adapter.d.ts.map +1 -1
  135. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-response-adapter.js +4 -4
  136. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-response-adapter.js.map +1 -1
  137. package/dist/service/cloudfront/edge/sim-aws-cf-edge-functions.d.ts.map +1 -1
  138. package/dist/service/cloudfront/edge/sim-aws-cf-edge-functions.js +2 -4
  139. package/dist/service/cloudfront/edge/sim-aws-cf-edge-functions.js.map +1 -1
  140. package/dist/service/cloudfront/edge/sim-cf-edge-association-checks.d.ts +20 -6
  141. package/dist/service/cloudfront/edge/sim-cf-edge-association-checks.d.ts.map +1 -1
  142. package/dist/service/cloudfront/edge/sim-cf-edge-association-checks.js +43 -8
  143. package/dist/service/cloudfront/edge/sim-cf-edge-association-checks.js.map +1 -1
  144. package/dist/service/cloudfront/edge/sim-cf-edge-association-validator.d.ts.map +1 -1
  145. package/dist/service/cloudfront/edge/sim-cf-edge-association-validator.js +3 -2
  146. package/dist/service/cloudfront/edge/sim-cf-edge-association-validator.js.map +1 -1
  147. package/dist/service/cloudfront/edge/sim-cf-edge-association.d.ts +5 -2
  148. package/dist/service/cloudfront/edge/sim-cf-edge-association.d.ts.map +1 -1
  149. package/dist/service/cloudfront/edge/sim-cf-edge-associations-configure.d.ts +3 -3
  150. package/dist/service/cloudfront/edge/sim-cf-edge-associations-configure.d.ts.map +1 -1
  151. package/dist/service/cloudfront/edge/sim-cf-edge-associations-configure.js +26 -10
  152. package/dist/service/cloudfront/edge/sim-cf-edge-associations-configure.js.map +1 -1
  153. package/dist/service/cloudfront/edge/sim-cf-edge-function-arn.d.ts +10 -0
  154. package/dist/service/cloudfront/edge/sim-cf-edge-function-arn.d.ts.map +1 -1
  155. package/dist/service/cloudfront/edge/sim-cf-edge-function-arn.js +29 -5
  156. package/dist/service/cloudfront/edge/sim-cf-edge-function-arn.js.map +1 -1
  157. package/dist/service/cloudfront/edge/sim-cf-edge-function-version.d.ts +14 -0
  158. package/dist/service/cloudfront/edge/sim-cf-edge-function-version.d.ts.map +1 -0
  159. package/dist/service/cloudfront/edge/sim-cf-edge-function-version.js +16 -0
  160. package/dist/service/cloudfront/edge/sim-cf-edge-function-version.js.map +1 -0
  161. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-edge.d.ts +27 -0
  162. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-edge.d.ts.map +1 -0
  163. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-edge.js +44 -0
  164. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-edge.js.map +1 -0
  165. package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.d.ts +23 -3
  166. package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.d.ts.map +1 -1
  167. package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.js +30 -2
  168. package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.js.map +1 -1
  169. package/dist/service/cloudfront/origin/s3/sim-cf-s3-origin-edge.d.ts +26 -0
  170. package/dist/service/cloudfront/origin/s3/sim-cf-s3-origin-edge.d.ts.map +1 -0
  171. package/dist/service/cloudfront/origin/s3/sim-cf-s3-origin-edge.js +63 -0
  172. package/dist/service/cloudfront/origin/s3/sim-cf-s3-origin-edge.js.map +1 -0
  173. package/dist/service/cloudfront/origin/s3/sim-cloudfront-s3-origin.d.ts +17 -2
  174. package/dist/service/cloudfront/origin/s3/sim-cloudfront-s3-origin.d.ts.map +1 -1
  175. package/dist/service/cloudfront/origin/s3/sim-cloudfront-s3-origin.js +20 -0
  176. package/dist/service/cloudfront/origin/s3/sim-cloudfront-s3-origin.js.map +1 -1
  177. package/dist/service/cloudfront/origin/sim-cf-edge-origin-not-simulated.error.d.ts +15 -0
  178. package/dist/service/cloudfront/origin/sim-cf-edge-origin-not-simulated.error.d.ts.map +1 -0
  179. package/dist/service/cloudfront/origin/sim-cf-edge-origin-not-simulated.error.js +15 -0
  180. package/dist/service/cloudfront/origin/sim-cf-edge-origin-not-simulated.error.js.map +1 -0
  181. package/dist/service/cloudfront/origin/sim-cloudfront-origin.d.ts +13 -0
  182. package/dist/service/cloudfront/origin/sim-cloudfront-origin.d.ts.map +1 -1
  183. package/dist/service/cloudfront/typings/lambda-at-edge.namespace.d.ts +71 -3
  184. package/dist/service/cloudfront/typings/lambda-at-edge.namespace.d.ts.map +1 -1
  185. package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-cfn-step-functions-resource-deleter.d.ts +2 -2
  186. package/dist/service/stepfunctions/cfn/sim-cfn-step-functions-resource-deleter.d.ts.map +1 -0
  187. package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-cfn-step-functions-resource-deleter.js +1 -1
  188. package/dist/service/stepfunctions/cfn/sim-cfn-step-functions-resource-deleter.js.map +1 -0
  189. package/dist/service/stepfunctions/cfn/sim-cfn-step-functions-resource-error.d.ts.map +1 -0
  190. package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-cfn-step-functions-resource-error.js +1 -1
  191. package/dist/service/stepfunctions/cfn/sim-cfn-step-functions-resource-error.js.map +1 -0
  192. package/dist/service/stepfunctions/cfn/sim-cfn-step-functions-resource-types.d.ts.map +1 -0
  193. package/dist/service/stepfunctions/cfn/sim-cfn-step-functions-resource-types.js.map +1 -0
  194. package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-step-functions-cfn-resource-factory.d.ts +6 -3
  195. package/dist/service/stepfunctions/cfn/sim-step-functions-cfn-resource-factory.d.ts.map +1 -0
  196. package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-step-functions-cfn-resource-factory.js +2 -1
  197. package/dist/service/stepfunctions/cfn/sim-step-functions-cfn-resource-factory.js.map +1 -0
  198. package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-creator.d.ts +7 -4
  199. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-creator.d.ts.map +1 -0
  200. package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-creator.js +9 -4
  201. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-creator.js.map +1 -0
  202. package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-definition.d.ts +12 -13
  203. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-definition.d.ts.map +1 -0
  204. package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-definition.js +30 -28
  205. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-definition.js.map +1 -0
  206. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-name.d.ts.map +1 -0
  207. package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-name.js +1 -1
  208. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-name.js.map +1 -0
  209. package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-properties.d.ts +11 -3
  210. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-properties.d.ts.map +1 -0
  211. package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-properties.js +18 -5
  212. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-properties.js.map +1 -0
  213. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-property-names.d.ts.map +1 -0
  214. package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-property-names.js +0 -5
  215. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-property-names.js.map +1 -0
  216. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-s3-definition.d.ts +37 -0
  217. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-s3-definition.d.ts.map +1 -0
  218. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-s3-definition.js +63 -0
  219. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-s3-definition.js.map +1 -0
  220. package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-substitutions.d.ts +1 -1
  221. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-substitutions.d.ts.map +1 -0
  222. package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-substitutions.js +3 -3
  223. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-substitutions.js.map +1 -0
  224. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-tags.d.ts +33 -0
  225. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-tags.d.ts.map +1 -0
  226. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-tags.js +58 -0
  227. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-tags.js.map +1 -0
  228. package/dist/service/stepfunctions/command/execution/sim-states-execution-start.d.ts.map +1 -1
  229. package/dist/service/stepfunctions/command/execution/sim-states-execution-start.js +15 -4
  230. package/dist/service/stepfunctions/command/execution/sim-states-execution-start.js.map +1 -1
  231. package/dist/service/stepfunctions/command/machine/machine.command.d.ts +2 -0
  232. package/dist/service/stepfunctions/command/machine/machine.command.d.ts.map +1 -1
  233. package/dist/service/stepfunctions/command/machine/sim-state-machine-input.d.ts +2 -0
  234. package/dist/service/stepfunctions/command/machine/sim-state-machine-input.d.ts.map +1 -1
  235. package/dist/service/stepfunctions/command/machine/sim-state-machine-input.js +3 -1
  236. package/dist/service/stepfunctions/command/machine/sim-state-machine-input.js.map +1 -1
  237. package/dist/service/stepfunctions/command/sim-step-functions-command.types.d.ts +1 -0
  238. package/dist/service/stepfunctions/command/sim-step-functions-command.types.d.ts.map +1 -1
  239. package/dist/service/stepfunctions/command/tag/sim-state-machine-tag-commands.d.ts +36 -0
  240. package/dist/service/stepfunctions/command/tag/sim-state-machine-tag-commands.d.ts.map +1 -0
  241. package/dist/service/stepfunctions/command/tag/sim-state-machine-tag-commands.js +76 -0
  242. package/dist/service/stepfunctions/command/tag/sim-state-machine-tag-commands.js.map +1 -0
  243. package/dist/service/stepfunctions/command/tag/tag.command.d.ts +46 -0
  244. package/dist/service/stepfunctions/command/tag/tag.command.d.ts.map +1 -0
  245. package/dist/service/stepfunctions/command/tag/tag.command.js +2 -0
  246. package/dist/service/stepfunctions/command/tag/tag.command.js.map +1 -0
  247. package/dist/service/stepfunctions/data/sim-states-context-object.d.ts +45 -0
  248. package/dist/service/stepfunctions/data/sim-states-context-object.d.ts.map +1 -0
  249. package/dist/service/stepfunctions/data/sim-states-context-object.js +48 -0
  250. package/dist/service/stepfunctions/data/sim-states-context-object.js.map +1 -0
  251. package/dist/service/stepfunctions/data/sim-states-context-path.d.ts +22 -0
  252. package/dist/service/stepfunctions/data/sim-states-context-path.d.ts.map +1 -0
  253. package/dist/service/stepfunctions/data/sim-states-context-path.js +30 -0
  254. package/dist/service/stepfunctions/data/sim-states-context-path.js.map +1 -0
  255. package/dist/service/stepfunctions/data/sim-states-data-flow.d.ts +3 -2
  256. package/dist/service/stepfunctions/data/sim-states-data-flow.d.ts.map +1 -1
  257. package/dist/service/stepfunctions/data/sim-states-data-flow.js +10 -9
  258. package/dist/service/stepfunctions/data/sim-states-data-flow.js.map +1 -1
  259. package/dist/service/stepfunctions/data/sim-states-intrinsic.d.ts +1 -1
  260. package/dist/service/stepfunctions/data/sim-states-intrinsic.d.ts.map +1 -1
  261. package/dist/service/stepfunctions/data/sim-states-intrinsic.js +6 -7
  262. package/dist/service/stepfunctions/data/sim-states-intrinsic.js.map +1 -1
  263. package/dist/service/stepfunctions/data/sim-states-payload-template.d.ts +9 -6
  264. package/dist/service/stepfunctions/data/sim-states-payload-template.d.ts.map +1 -1
  265. package/dist/service/stepfunctions/data/sim-states-payload-template.js +16 -14
  266. package/dist/service/stepfunctions/data/sim-states-payload-template.js.map +1 -1
  267. package/dist/service/stepfunctions/data/sim-states-reference-path.d.ts.map +1 -1
  268. package/dist/service/stepfunctions/data/sim-states-reference-path.js +4 -2
  269. package/dist/service/stepfunctions/data/sim-states-reference-path.js.map +1 -1
  270. package/dist/service/stepfunctions/definition/sim-states-definition-parse.d.ts +8 -0
  271. package/dist/service/stepfunctions/definition/sim-states-definition-parse.d.ts.map +1 -1
  272. package/dist/service/stepfunctions/definition/sim-states-definition-parse.js +9 -1
  273. package/dist/service/stepfunctions/definition/sim-states-definition-parse.js.map +1 -1
  274. package/dist/service/stepfunctions/definition/sim-states-map-fields.d.ts +23 -0
  275. package/dist/service/stepfunctions/definition/sim-states-map-fields.d.ts.map +1 -0
  276. package/dist/service/stepfunctions/definition/sim-states-map-fields.js +60 -0
  277. package/dist/service/stepfunctions/definition/sim-states-map-fields.js.map +1 -0
  278. package/dist/service/stepfunctions/definition/sim-states-map-parse.d.ts +12 -0
  279. package/dist/service/stepfunctions/definition/sim-states-map-parse.d.ts.map +1 -0
  280. package/dist/service/stepfunctions/definition/sim-states-map-parse.js +56 -0
  281. package/dist/service/stepfunctions/definition/sim-states-map-parse.js.map +1 -0
  282. package/dist/service/stepfunctions/definition/sim-states-map-processor.d.ts +11 -0
  283. package/dist/service/stepfunctions/definition/sim-states-map-processor.d.ts.map +1 -0
  284. package/dist/service/stepfunctions/definition/sim-states-map-processor.js +62 -0
  285. package/dist/service/stepfunctions/definition/sim-states-map-processor.js.map +1 -0
  286. package/dist/service/stepfunctions/definition/sim-states-nested-refusal.d.ts +14 -0
  287. package/dist/service/stepfunctions/definition/sim-states-nested-refusal.d.ts.map +1 -0
  288. package/dist/service/stepfunctions/definition/sim-states-nested-refusal.js +23 -0
  289. package/dist/service/stepfunctions/definition/sim-states-nested-refusal.js.map +1 -0
  290. package/dist/service/stepfunctions/definition/sim-states-parallel-parse.d.ts +10 -0
  291. package/dist/service/stepfunctions/definition/sim-states-parallel-parse.d.ts.map +1 -0
  292. package/dist/service/stepfunctions/definition/sim-states-parallel-parse.js +50 -0
  293. package/dist/service/stepfunctions/definition/sim-states-parallel-parse.js.map +1 -0
  294. package/dist/service/stepfunctions/definition/sim-states-state-fields.d.ts.map +1 -1
  295. package/dist/service/stepfunctions/definition/sim-states-state-fields.js +5 -0
  296. package/dist/service/stepfunctions/definition/sim-states-state-fields.js.map +1 -1
  297. package/dist/service/stepfunctions/definition/sim-states-state-parse.d.ts.map +1 -1
  298. package/dist/service/stepfunctions/definition/sim-states-state-parse.js +15 -7
  299. package/dist/service/stepfunctions/definition/sim-states-state-parse.js.map +1 -1
  300. package/dist/service/stepfunctions/definition/sim-states-state.d.ts +35 -11
  301. package/dist/service/stepfunctions/definition/sim-states-state.d.ts.map +1 -1
  302. package/dist/service/stepfunctions/definition/sim-states-state.js +1 -15
  303. package/dist/service/stepfunctions/definition/sim-states-state.js.map +1 -1
  304. package/dist/service/stepfunctions/definition/sim-states-transitions.d.ts.map +1 -1
  305. package/dist/service/stepfunctions/definition/sim-states-transitions.js +14 -0
  306. package/dist/service/stepfunctions/definition/sim-states-transitions.js.map +1 -1
  307. package/dist/service/stepfunctions/definition/store/sim-s3-states-definition-store.d.ts +45 -0
  308. package/dist/service/stepfunctions/definition/store/sim-s3-states-definition-store.d.ts.map +1 -0
  309. package/dist/service/stepfunctions/definition/store/sim-s3-states-definition-store.js +58 -0
  310. package/dist/service/stepfunctions/definition/store/sim-s3-states-definition-store.js.map +1 -0
  311. package/dist/service/stepfunctions/definition/store/sim-states-definition-store.d.ts +34 -0
  312. package/dist/service/stepfunctions/definition/store/sim-states-definition-store.d.ts.map +1 -0
  313. package/dist/service/stepfunctions/definition/store/sim-states-definition-store.js +14 -0
  314. package/dist/service/stepfunctions/definition/store/sim-states-definition-store.js.map +1 -0
  315. package/dist/service/stepfunctions/error/sim-step-functions.error.d.ts +36 -0
  316. package/dist/service/stepfunctions/error/sim-step-functions.error.d.ts.map +1 -1
  317. package/dist/service/stepfunctions/error/sim-step-functions.error.js +42 -0
  318. package/dist/service/stepfunctions/error/sim-step-functions.error.js.map +1 -1
  319. package/dist/service/stepfunctions/execution/sim-states-attempt.d.ts +16 -0
  320. package/dist/service/stepfunctions/execution/sim-states-attempt.d.ts.map +1 -0
  321. package/dist/service/stepfunctions/execution/sim-states-attempt.js +2 -0
  322. package/dist/service/stepfunctions/execution/sim-states-attempt.js.map +1 -0
  323. package/dist/service/stepfunctions/execution/sim-states-child-failure.d.ts +11 -0
  324. package/dist/service/stepfunctions/execution/sim-states-child-failure.d.ts.map +1 -0
  325. package/dist/service/stepfunctions/execution/sim-states-child-failure.js +20 -0
  326. package/dist/service/stepfunctions/execution/sim-states-child-failure.js.map +1 -0
  327. package/dist/service/stepfunctions/execution/sim-states-child-run.d.ts +55 -0
  328. package/dist/service/stepfunctions/execution/sim-states-child-run.d.ts.map +1 -0
  329. package/dist/service/stepfunctions/execution/sim-states-child-run.js +86 -0
  330. package/dist/service/stepfunctions/execution/sim-states-child-run.js.map +1 -0
  331. package/dist/service/stepfunctions/execution/sim-states-child-runs.d.ts +69 -0
  332. package/dist/service/stepfunctions/execution/sim-states-child-runs.d.ts.map +1 -0
  333. package/dist/service/stepfunctions/execution/sim-states-child-runs.js +114 -0
  334. package/dist/service/stepfunctions/execution/sim-states-child-runs.js.map +1 -0
  335. package/dist/service/stepfunctions/execution/sim-states-child-walk.d.ts +43 -0
  336. package/dist/service/stepfunctions/execution/sim-states-child-walk.d.ts.map +1 -0
  337. package/dist/service/stepfunctions/execution/sim-states-child-walk.js +2 -0
  338. package/dist/service/stepfunctions/execution/sim-states-child-walk.js.map +1 -0
  339. package/dist/service/stepfunctions/execution/sim-states-child.d.ts +41 -0
  340. package/dist/service/stepfunctions/execution/sim-states-child.d.ts.map +1 -0
  341. package/dist/service/stepfunctions/execution/sim-states-child.js +2 -0
  342. package/dist/service/stepfunctions/execution/sim-states-child.js.map +1 -0
  343. package/dist/service/stepfunctions/execution/sim-states-execution.d.ts +32 -3
  344. package/dist/service/stepfunctions/execution/sim-states-execution.d.ts.map +1 -1
  345. package/dist/service/stepfunctions/execution/sim-states-execution.js +42 -2
  346. package/dist/service/stepfunctions/execution/sim-states-execution.js.map +1 -1
  347. package/dist/service/stepfunctions/execution/sim-states-fan-out-outcome.d.ts +19 -0
  348. package/dist/service/stepfunctions/execution/sim-states-fan-out-outcome.d.ts.map +1 -0
  349. package/dist/service/stepfunctions/execution/sim-states-fan-out-outcome.js +15 -0
  350. package/dist/service/stepfunctions/execution/sim-states-fan-out-outcome.js.map +1 -0
  351. package/dist/service/stepfunctions/execution/sim-states-fan-out.d.ts +46 -0
  352. package/dist/service/stepfunctions/execution/sim-states-fan-out.d.ts.map +1 -0
  353. package/dist/service/stepfunctions/execution/sim-states-fan-out.js +106 -0
  354. package/dist/service/stepfunctions/execution/sim-states-fan-out.js.map +1 -0
  355. package/dist/service/stepfunctions/execution/sim-states-interpreter.d.ts +18 -11
  356. package/dist/service/stepfunctions/execution/sim-states-interpreter.d.ts.map +1 -1
  357. package/dist/service/stepfunctions/execution/sim-states-interpreter.js +55 -65
  358. package/dist/service/stepfunctions/execution/sim-states-interpreter.js.map +1 -1
  359. package/dist/service/stepfunctions/execution/sim-states-map-items.d.ts +13 -0
  360. package/dist/service/stepfunctions/execution/sim-states-map-items.d.ts.map +1 -0
  361. package/dist/service/stepfunctions/execution/sim-states-map-items.js +38 -0
  362. package/dist/service/stepfunctions/execution/sim-states-map-items.js.map +1 -0
  363. package/dist/service/stepfunctions/execution/sim-states-map-iteration.d.ts +32 -0
  364. package/dist/service/stepfunctions/execution/sim-states-map-iteration.d.ts.map +1 -0
  365. package/dist/service/stepfunctions/execution/sim-states-map-iteration.js +37 -0
  366. package/dist/service/stepfunctions/execution/sim-states-map-iteration.js.map +1 -0
  367. package/dist/service/stepfunctions/execution/sim-states-run-choice.d.ts.map +1 -1
  368. package/dist/service/stepfunctions/execution/sim-states-run-choice.js +2 -2
  369. package/dist/service/stepfunctions/execution/sim-states-run-choice.js.map +1 -1
  370. package/dist/service/stepfunctions/execution/sim-states-run-map.d.ts +12 -0
  371. package/dist/service/stepfunctions/execution/sim-states-run-map.d.ts.map +1 -0
  372. package/dist/service/stepfunctions/execution/sim-states-run-map.js +25 -0
  373. package/dist/service/stepfunctions/execution/sim-states-run-map.js.map +1 -0
  374. package/dist/service/stepfunctions/execution/sim-states-run-parallel.d.ts +16 -0
  375. package/dist/service/stepfunctions/execution/sim-states-run-parallel.d.ts.map +1 -0
  376. package/dist/service/stepfunctions/execution/sim-states-run-parallel.js +31 -0
  377. package/dist/service/stepfunctions/execution/sim-states-run-parallel.js.map +1 -0
  378. package/dist/service/stepfunctions/execution/sim-states-run-record.d.ts +47 -0
  379. package/dist/service/stepfunctions/execution/sim-states-run-record.d.ts.map +1 -0
  380. package/dist/service/stepfunctions/execution/sim-states-run-record.js +2 -0
  381. package/dist/service/stepfunctions/execution/sim-states-run-record.js.map +1 -0
  382. package/dist/service/stepfunctions/execution/sim-states-run-state.d.ts +4 -3
  383. package/dist/service/stepfunctions/execution/sim-states-run-state.d.ts.map +1 -1
  384. package/dist/service/stepfunctions/execution/sim-states-run-state.js +20 -11
  385. package/dist/service/stepfunctions/execution/sim-states-run-state.js.map +1 -1
  386. package/dist/service/stepfunctions/execution/sim-states-run-task.d.ts.map +1 -1
  387. package/dist/service/stepfunctions/execution/sim-states-run-task.js +2 -2
  388. package/dist/service/stepfunctions/execution/sim-states-run-task.js.map +1 -1
  389. package/dist/service/stepfunctions/execution/sim-states-run-wait.d.ts.map +1 -1
  390. package/dist/service/stepfunctions/execution/sim-states-run-wait.js +2 -2
  391. package/dist/service/stepfunctions/execution/sim-states-run-wait.js.map +1 -1
  392. package/dist/service/stepfunctions/execution/sim-states-settlement.d.ts +7 -3
  393. package/dist/service/stepfunctions/execution/sim-states-settlement.d.ts.map +1 -1
  394. package/dist/service/stepfunctions/execution/sim-states-settlement.js +11 -5
  395. package/dist/service/stepfunctions/execution/sim-states-settlement.js.map +1 -1
  396. package/dist/service/stepfunctions/execution/sim-states-state-attempts.d.ts +37 -0
  397. package/dist/service/stepfunctions/execution/sim-states-state-attempts.d.ts.map +1 -0
  398. package/dist/service/stepfunctions/execution/sim-states-state-attempts.js +112 -0
  399. package/dist/service/stepfunctions/execution/sim-states-state-attempts.js.map +1 -0
  400. package/dist/service/stepfunctions/execution/sim-states-state-outcome.d.ts +69 -15
  401. package/dist/service/stepfunctions/execution/sim-states-state-outcome.d.ts.map +1 -1
  402. package/dist/service/stepfunctions/execution/sim-states-state-runner.d.ts +26 -12
  403. package/dist/service/stepfunctions/execution/sim-states-state-runner.d.ts.map +1 -1
  404. package/dist/service/stepfunctions/execution/sim-states-state-runner.js +55 -15
  405. package/dist/service/stepfunctions/execution/sim-states-state-runner.js.map +1 -1
  406. package/dist/service/stepfunctions/execution/sim-states-walk-steps.d.ts +19 -0
  407. package/dist/service/stepfunctions/execution/sim-states-walk-steps.d.ts.map +1 -0
  408. package/dist/service/stepfunctions/execution/sim-states-walk-steps.js +35 -0
  409. package/dist/service/stepfunctions/execution/sim-states-walk-steps.js.map +1 -0
  410. package/dist/service/stepfunctions/execution/sim-states-walk.d.ts +19 -0
  411. package/dist/service/stepfunctions/execution/sim-states-walk.d.ts.map +1 -0
  412. package/dist/service/stepfunctions/execution/sim-states-walk.js +2 -0
  413. package/dist/service/stepfunctions/execution/sim-states-walk.js.map +1 -0
  414. package/dist/service/stepfunctions/execution/sim-states-walks.d.ts +25 -0
  415. package/dist/service/stepfunctions/execution/sim-states-walks.d.ts.map +1 -0
  416. package/dist/service/stepfunctions/execution/sim-states-walks.js +25 -0
  417. package/dist/service/stepfunctions/execution/sim-states-walks.js.map +1 -0
  418. package/dist/service/stepfunctions/index.d.ts +10 -3
  419. package/dist/service/stepfunctions/index.d.ts.map +1 -1
  420. package/dist/service/stepfunctions/index.js +4 -2
  421. package/dist/service/stepfunctions/index.js.map +1 -1
  422. package/dist/service/stepfunctions/machine/sim-state-machine-tag.d.ts +43 -0
  423. package/dist/service/stepfunctions/machine/sim-state-machine-tag.d.ts.map +1 -0
  424. package/dist/service/stepfunctions/machine/sim-state-machine-tag.js +111 -0
  425. package/dist/service/stepfunctions/machine/sim-state-machine-tag.js.map +1 -0
  426. package/dist/service/stepfunctions/machine/sim-state-machine-tags.d.ts +39 -0
  427. package/dist/service/stepfunctions/machine/sim-state-machine-tags.d.ts.map +1 -0
  428. package/dist/service/stepfunctions/machine/sim-state-machine-tags.js +80 -0
  429. package/dist/service/stepfunctions/machine/sim-state-machine-tags.js.map +1 -0
  430. package/dist/service/stepfunctions/machine/sim-state-machine.d.ts +6 -0
  431. package/dist/service/stepfunctions/machine/sim-state-machine.d.ts.map +1 -1
  432. package/dist/service/stepfunctions/machine/sim-state-machine.js +5 -0
  433. package/dist/service/stepfunctions/machine/sim-state-machine.js.map +1 -1
  434. package/dist/service/stepfunctions/retry/sim-states-attempt-state.d.ts +37 -0
  435. package/dist/service/stepfunctions/retry/sim-states-attempt-state.d.ts.map +1 -0
  436. package/dist/service/stepfunctions/retry/sim-states-attempt-state.js +38 -0
  437. package/dist/service/stepfunctions/retry/sim-states-attempt-state.js.map +1 -0
  438. package/dist/service/stepfunctions/retry/sim-states-catch-outcome.d.ts +11 -0
  439. package/dist/service/stepfunctions/retry/sim-states-catch-outcome.d.ts.map +1 -0
  440. package/dist/service/stepfunctions/retry/sim-states-catch-outcome.js +20 -0
  441. package/dist/service/stepfunctions/retry/sim-states-catch-outcome.js.map +1 -0
  442. package/dist/service/stepfunctions/retry/sim-states-catch-parse.d.ts +11 -0
  443. package/dist/service/stepfunctions/retry/sim-states-catch-parse.d.ts.map +1 -0
  444. package/dist/service/stepfunctions/retry/sim-states-catch-parse.js +49 -0
  445. package/dist/service/stepfunctions/retry/sim-states-catch-parse.js.map +1 -0
  446. package/dist/service/stepfunctions/retry/sim-states-catcher.d.ts +29 -0
  447. package/dist/service/stepfunctions/retry/sim-states-catcher.d.ts.map +1 -0
  448. package/dist/service/stepfunctions/retry/sim-states-catcher.js +31 -0
  449. package/dist/service/stepfunctions/retry/sim-states-catcher.js.map +1 -0
  450. package/dist/service/stepfunctions/retry/sim-states-error-equals.d.ts +19 -0
  451. package/dist/service/stepfunctions/retry/sim-states-error-equals.d.ts.map +1 -0
  452. package/dist/service/stepfunctions/retry/sim-states-error-equals.js +69 -0
  453. package/dist/service/stepfunctions/retry/sim-states-error-equals.js.map +1 -0
  454. package/dist/service/stepfunctions/retry/sim-states-error-handling.d.ts +31 -0
  455. package/dist/service/stepfunctions/retry/sim-states-error-handling.d.ts.map +1 -0
  456. package/dist/service/stepfunctions/retry/sim-states-error-handling.js +40 -0
  457. package/dist/service/stepfunctions/retry/sim-states-error-handling.js.map +1 -0
  458. package/dist/service/stepfunctions/retry/sim-states-error-name.d.ts +29 -0
  459. package/dist/service/stepfunctions/retry/sim-states-error-name.d.ts.map +1 -0
  460. package/dist/service/stepfunctions/retry/sim-states-error-name.js +34 -0
  461. package/dist/service/stepfunctions/retry/sim-states-error-name.js.map +1 -0
  462. package/dist/service/stepfunctions/retry/sim-states-recover.d.ts +31 -0
  463. package/dist/service/stepfunctions/retry/sim-states-recover.d.ts.map +1 -0
  464. package/dist/service/stepfunctions/retry/sim-states-recover.js +23 -0
  465. package/dist/service/stepfunctions/retry/sim-states-recover.js.map +1 -0
  466. package/dist/service/stepfunctions/retry/sim-states-recovered.d.ts +22 -0
  467. package/dist/service/stepfunctions/retry/sim-states-recovered.d.ts.map +1 -0
  468. package/dist/service/stepfunctions/retry/sim-states-recovered.js +33 -0
  469. package/dist/service/stepfunctions/retry/sim-states-recovered.js.map +1 -0
  470. package/dist/service/stepfunctions/retry/sim-states-retrier.d.ts +35 -0
  471. package/dist/service/stepfunctions/retry/sim-states-retrier.d.ts.map +1 -0
  472. package/dist/service/stepfunctions/retry/sim-states-retrier.js +31 -0
  473. package/dist/service/stepfunctions/retry/sim-states-retrier.js.map +1 -0
  474. package/dist/service/stepfunctions/retry/sim-states-retry-outcome.d.ts +12 -0
  475. package/dist/service/stepfunctions/retry/sim-states-retry-outcome.d.ts.map +1 -0
  476. package/dist/service/stepfunctions/retry/sim-states-retry-outcome.js +44 -0
  477. package/dist/service/stepfunctions/retry/sim-states-retry-outcome.js.map +1 -0
  478. package/dist/service/stepfunctions/retry/sim-states-retry-parse.d.ts +11 -0
  479. package/dist/service/stepfunctions/retry/sim-states-retry-parse.d.ts.map +1 -0
  480. package/dist/service/stepfunctions/retry/sim-states-retry-parse.js +76 -0
  481. package/dist/service/stepfunctions/retry/sim-states-retry-parse.js.map +1 -0
  482. package/dist/service/stepfunctions/retry/sim-states-task-deadline.d.ts +43 -0
  483. package/dist/service/stepfunctions/retry/sim-states-task-deadline.d.ts.map +1 -0
  484. package/dist/service/stepfunctions/retry/sim-states-task-deadline.js +76 -0
  485. package/dist/service/stepfunctions/retry/sim-states-task-deadline.js.map +1 -0
  486. package/dist/service/stepfunctions/retry/sim-states-task-handling.d.ts +11 -0
  487. package/dist/service/stepfunctions/retry/sim-states-task-handling.d.ts.map +1 -0
  488. package/dist/service/stepfunctions/retry/sim-states-task-handling.js +2 -0
  489. package/dist/service/stepfunctions/retry/sim-states-task-handling.js.map +1 -0
  490. package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.d.ts.map +1 -1
  491. package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.js +12 -0
  492. package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.js.map +1 -1
  493. package/dist/service/stepfunctions/sim-step-functions-inspection.d.ts +28 -0
  494. package/dist/service/stepfunctions/sim-step-functions-inspection.d.ts.map +1 -1
  495. package/dist/service/stepfunctions/sim-step-functions-inspection.js +38 -0
  496. package/dist/service/stepfunctions/sim-step-functions-inspection.js.map +1 -1
  497. package/dist/service/stepfunctions/sim-step-functions.d.ts +17 -0
  498. package/dist/service/stepfunctions/sim-step-functions.d.ts.map +1 -1
  499. package/dist/service/stepfunctions/sim-step-functions.js +31 -1
  500. package/dist/service/stepfunctions/sim-step-functions.js.map +1 -1
  501. package/dist/service/stepfunctions/task/service/sim-states-optimized-integrations.d.ts +36 -0
  502. package/dist/service/stepfunctions/task/service/sim-states-optimized-integrations.d.ts.map +1 -0
  503. package/dist/service/stepfunctions/task/service/sim-states-optimized-integrations.js +115 -0
  504. package/dist/service/stepfunctions/task/service/sim-states-optimized-integrations.js.map +1 -0
  505. package/dist/service/stepfunctions/task/service/sim-states-service-call.d.ts +25 -0
  506. package/dist/service/stepfunctions/task/service/sim-states-service-call.d.ts.map +1 -0
  507. package/dist/service/stepfunctions/task/service/sim-states-service-call.js +51 -0
  508. package/dist/service/stepfunctions/task/service/sim-states-service-call.js.map +1 -0
  509. package/dist/service/stepfunctions/task/service/sim-states-service-failure.d.ts +17 -0
  510. package/dist/service/stepfunctions/task/service/sim-states-service-failure.d.ts.map +1 -0
  511. package/dist/service/stepfunctions/task/service/sim-states-service-failure.js +43 -0
  512. package/dist/service/stepfunctions/task/service/sim-states-service-failure.js.map +1 -0
  513. package/dist/service/stepfunctions/task/service/sim-states-service-name.d.ts +42 -0
  514. package/dist/service/stepfunctions/task/service/sim-states-service-name.d.ts.map +1 -0
  515. package/dist/service/stepfunctions/task/service/sim-states-service-name.js +74 -0
  516. package/dist/service/stepfunctions/task/service/sim-states-service-name.js.map +1 -0
  517. package/dist/service/stepfunctions/task/service/sim-states-service-resource.d.ts +10 -0
  518. package/dist/service/stepfunctions/task/service/sim-states-service-resource.d.ts.map +1 -0
  519. package/dist/service/stepfunctions/task/service/sim-states-service-resource.js +79 -0
  520. package/dist/service/stepfunctions/task/service/sim-states-service-resource.js.map +1 -0
  521. package/dist/service/stepfunctions/task/service/sim-states-service-shape.d.ts +27 -0
  522. package/dist/service/stepfunctions/task/service/sim-states-service-shape.d.ts.map +1 -0
  523. package/dist/service/stepfunctions/task/service/sim-states-service-shape.js +2 -0
  524. package/dist/service/stepfunctions/task/service/sim-states-service-shape.js.map +1 -0
  525. package/dist/service/stepfunctions/task/service/sim-states-service-target.d.ts +33 -0
  526. package/dist/service/stepfunctions/task/service/sim-states-service-target.d.ts.map +1 -0
  527. package/dist/service/stepfunctions/task/service/sim-states-service-target.js +60 -0
  528. package/dist/service/stepfunctions/task/service/sim-states-service-target.js.map +1 -0
  529. package/dist/service/stepfunctions/task/sim-aws-states-task-targets.d.ts +11 -9
  530. package/dist/service/stepfunctions/task/sim-aws-states-task-targets.d.ts.map +1 -1
  531. package/dist/service/stepfunctions/task/sim-aws-states-task-targets.js +16 -20
  532. package/dist/service/stepfunctions/task/sim-aws-states-task-targets.js.map +1 -1
  533. package/dist/service/stepfunctions/task/sim-states-function-arn-target.d.ts +2 -2
  534. package/dist/service/stepfunctions/task/sim-states-function-arn-target.d.ts.map +1 -1
  535. package/dist/service/stepfunctions/task/sim-states-function-arn-target.js +2 -2
  536. package/dist/service/stepfunctions/task/sim-states-function-arn-target.js.map +1 -1
  537. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-parameters.d.ts +9 -0
  538. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-parameters.d.ts.map +1 -0
  539. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-parameters.js +37 -0
  540. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-parameters.js.map +1 -0
  541. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.d.ts +2 -2
  542. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.d.ts.map +1 -1
  543. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.js +2 -2
  544. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.js.map +1 -1
  545. package/dist/service/stepfunctions/task/sim-states-lambda-target.d.ts +38 -0
  546. package/dist/service/stepfunctions/task/sim-states-lambda-target.d.ts.map +1 -0
  547. package/dist/service/stepfunctions/task/sim-states-lambda-target.js +37 -0
  548. package/dist/service/stepfunctions/task/sim-states-lambda-target.js.map +1 -0
  549. package/dist/service/stepfunctions/task/sim-states-task-fields.d.ts +6 -5
  550. package/dist/service/stepfunctions/task/sim-states-task-fields.d.ts.map +1 -1
  551. package/dist/service/stepfunctions/task/sim-states-task-fields.js +9 -10
  552. package/dist/service/stepfunctions/task/sim-states-task-fields.js.map +1 -1
  553. package/dist/service/stepfunctions/task/sim-states-task-function.d.ts +2 -2
  554. package/dist/service/stepfunctions/task/sim-states-task-function.d.ts.map +1 -1
  555. package/dist/service/stepfunctions/task/sim-states-task-resource.d.ts +2 -2
  556. package/dist/service/stepfunctions/task/sim-states-task-resource.d.ts.map +1 -1
  557. package/dist/service/stepfunctions/task/sim-states-task-resource.js +16 -40
  558. package/dist/service/stepfunctions/task/sim-states-task-resource.js.map +1 -1
  559. package/dist/service/stepfunctions/task/sim-states-task-target.d.ts +33 -17
  560. package/dist/service/stepfunctions/task/sim-states-task-target.d.ts.map +1 -1
  561. package/dist/service/stepfunctions/task/sim-states-task-target.js +4 -5
  562. package/dist/service/stepfunctions/task/sim-states-task-target.js.map +1 -1
  563. package/package.json +3 -2
  564. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.d.ts.map +0 -1
  565. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.js.map +0 -1
  566. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.d.ts.map +0 -1
  567. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.js.map +0 -1
  568. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.d.ts.map +0 -1
  569. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.js.map +0 -1
  570. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.d.ts.map +0 -1
  571. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.js.map +0 -1
  572. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.d.ts.map +0 -1
  573. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.js.map +0 -1
  574. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.d.ts.map +0 -1
  575. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.js.map +0 -1
  576. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.d.ts.map +0 -1
  577. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.js.map +0 -1
  578. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.d.ts.map +0 -1
  579. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.js.map +0 -1
  580. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.d.ts.map +0 -1
  581. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.js.map +0 -1
  582. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.d.ts.map +0 -1
  583. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.js.map +0 -1
  584. /package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-cfn-step-functions-resource-error.d.ts +0 -0
  585. /package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-cfn-step-functions-resource-types.d.ts +0 -0
  586. /package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-cfn-step-functions-resource-types.js +0 -0
  587. /package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-name.d.ts +0 -0
  588. /package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-property-names.d.ts +0 -0
@@ -0,0 +1,58 @@
1
+ import { text } from "node:stream/consumers";
2
+ /**
3
+ * Simulated S3-backed storage for state machine definitions.
4
+ *
5
+ * A real `cdk deploy` publishes the definition file to the bootstrap staging
6
+ * bucket before CloudFormation reads the template, and sim CloudFormation
7
+ * publishes a cloud assembly's assets the same way round. The fetch goes
8
+ * through the ordinary GetObject, so the object the assets publisher wrote is
9
+ * the object this reads.
10
+ *
11
+ * An object that is not there gives nothing back. The Resource is skipped with
12
+ * the location on it, and the rest of the stack deploys.
13
+ */
14
+ export class SimS3StatesDefinitionStore {
15
+ #s3;
16
+ constructor(properties) {
17
+ this.#s3 = properties.s3;
18
+ }
19
+ /**
20
+ * Read the definition an object holds.
21
+ */
22
+ async read(location) {
23
+ const body = await this.objectBody(location);
24
+ if (body === undefined) {
25
+ return undefined;
26
+ }
27
+ return await text(body);
28
+ }
29
+ /**
30
+ * The object's body, or nothing where the bucket or the key is absent.
31
+ */
32
+ async objectBody(location) {
33
+ try {
34
+ const output = await this.#s3.getObject({
35
+ input: { Bucket: location.bucketName, Key: location.objectKey },
36
+ });
37
+ return output.Body;
38
+ }
39
+ catch (error) {
40
+ if (isMissingObject(error)) {
41
+ return undefined;
42
+ }
43
+ throw error;
44
+ }
45
+ }
46
+ }
47
+ /**
48
+ * Whether an error is simulated S3 saying the object is not there.
49
+ *
50
+ * Anything else, such as an access denial, is left to raise. A definition that
51
+ * could not be read for a reason other than absence is worth surfacing rather
52
+ * than turning into a skipped Resource.
53
+ */
54
+ function isMissingObject(error) {
55
+ return (error instanceof Error &&
56
+ (error.name === "NoSuchBucket" || error.name === "NoSuchKey"));
57
+ }
58
+ //# sourceMappingURL=sim-s3-states-definition-store.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-s3-states-definition-store.js","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/definition/store/sim-s3-states-definition-store.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAoB7C;;;;;;;;;;;GAWG;AACH,MAAM,OAAO,0BAA0B;IAC5B,GAAG,CAAkC;IAE9C,YAAY,UAAgD;QAC1D,IAAI,CAAC,GAAG,GAAG,UAAU,CAAC,EAAE,CAAC;IAC3B,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,IAAI,CACR,QAAqC;QAErC,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;QAE7C,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;YACvB,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC,CAAC;IAC1B,CAAC;IAED;;OAEG;IACK,KAAK,CAAC,UAAU,CACtB,QAAqC;QAErC,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC;gBACtC,KAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,CAAC,UAAU,EAAE,GAAG,EAAE,QAAQ,CAAC,SAAS,EAAE;aAChE,CAAC,CAAC;YAEH,OAAO,MAAM,CAAC,IAAI,CAAC;QACrB,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAI,eAAe,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC3B,OAAO,SAAS,CAAC;YACnB,CAAC;YAED,MAAM,KAAK,CAAC;QACd,CAAC;IACH,CAAC;CACF;AAED;;;;;;GAMG;AACH,SAAS,eAAe,CAAC,KAAc;IACrC,OAAO,CACL,KAAK,YAAY,KAAK;QACtB,CAAC,KAAK,CAAC,IAAI,KAAK,cAAc,IAAI,KAAK,CAAC,IAAI,KAAK,WAAW,CAAC,CAC9D,CAAC;AACJ,CAAC"}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Where a definition is stored, as an object in a bucket.
3
+ */
4
+ export interface SimStatesDefinitionLocation {
5
+ readonly bucketName: string;
6
+ readonly objectKey: string;
7
+ }
8
+ /**
9
+ * Storage a state machine definition is fetched from.
10
+ *
11
+ * A CloudFormation Resource writing `DefinitionS3Location` points at an object
12
+ * rather than carrying the Amazon States Language itself. CDK writes that form
13
+ * for `DefinitionBody.fromFile`, and for any definition past the template size
14
+ * limit.
15
+ */
16
+ export interface SimStatesDefinitionStore {
17
+ /**
18
+ * The definition held at a location, or nothing where the object is not
19
+ * there.
20
+ */
21
+ read(location: SimStatesDefinitionLocation): Promise<string | undefined>;
22
+ }
23
+ /**
24
+ * The store a simulated Step Functions built on its own has, which holds
25
+ * nothing.
26
+ *
27
+ * Object storage is another simulated service, reachable through SimAws. A
28
+ * `SimStepFunctions` constructed directly has no bucket to read, and answers
29
+ * for every location the way it answers for an object that is absent.
30
+ */
31
+ export declare class SimStatesNoDefinitionStore implements SimStatesDefinitionStore {
32
+ read(_location: SimStatesDefinitionLocation): Promise<string | undefined>;
33
+ }
34
+ //# sourceMappingURL=sim-states-definition-store.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-definition-store.d.ts","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/definition/store/sim-states-definition-store.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC5B;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,wBAAwB;IACvC;;;OAGG;IACH,IAAI,CAAC,QAAQ,EAAE,2BAA2B,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC1E;AAED;;;;;;;GAOG;AACH,qBAAa,0BAA2B,YAAW,wBAAwB;IACzE,IAAI,CAAC,SAAS,EAAE,2BAA2B,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAExE;CACF"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * The store a simulated Step Functions built on its own has, which holds
3
+ * nothing.
4
+ *
5
+ * Object storage is another simulated service, reachable through SimAws. A
6
+ * `SimStepFunctions` constructed directly has no bucket to read, and answers
7
+ * for every location the way it answers for an object that is absent.
8
+ */
9
+ export class SimStatesNoDefinitionStore {
10
+ read(_location) {
11
+ return Promise.resolve(undefined);
12
+ }
13
+ }
14
+ //# sourceMappingURL=sim-states-definition-store.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-definition-store.js","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/definition/store/sim-states-definition-store.ts"],"names":[],"mappings":"AAwBA;;;;;;;GAOG;AACH,MAAM,OAAO,0BAA0B;IACrC,IAAI,CAAC,SAAsC;QACzC,OAAO,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IACpC,CAAC;CACF"}
@@ -76,6 +76,17 @@ export declare class SimStatesTaskFailure extends SimStepFunctionsError {
76
76
  export declare class SimStatesTaskHandlerFailure extends SimStepFunctionsError {
77
77
  readonly name = "SimStatesTaskHandlerFailure";
78
78
  }
79
+ /**
80
+ * A service that refused the call a `Task` state made.
81
+ *
82
+ * Amazon States Language names a service error after the service and the error
83
+ * together, so `DynamoDb.ConditionalCheckFailedException` is a conditional
84
+ * write that did not hold. The name is given where this is raised, because it
85
+ * is read off what the service said rather than fixed by the class.
86
+ */
87
+ export declare class SimStatesServiceFailure extends SimStepFunctionsError {
88
+ readonly name = "SimStatesServiceFailure";
89
+ }
79
90
  /**
80
91
  * A state that could not run on the data it was given.
81
92
  *
@@ -155,4 +166,29 @@ export declare class SimStatesInvalidRequest extends SimStepFunctionsError {
155
166
  readonly name = "InvalidArn";
156
167
  constructor(message: string);
157
168
  }
169
+ /**
170
+ * A resource a tag request's ARN names nothing for.
171
+ *
172
+ * The tag commands reach a state machine, an activity or an execution, so real
173
+ * Step Functions answers them with `ResourceNotFound` rather than the
174
+ * `StateMachineDoesNotExist` that `DescribeStateMachine` gives.
175
+ */
176
+ export declare class SimStatesTaggedResourceNotFound extends SimStepFunctionsError {
177
+ readonly name = "ResourceNotFound";
178
+ constructor(message: string);
179
+ }
180
+ /**
181
+ * A tag key or value outside what Step Functions takes.
182
+ */
183
+ export declare class SimStatesInvalidTag extends SimStepFunctionsError {
184
+ readonly name = "ValidationException";
185
+ constructor(message: string);
186
+ }
187
+ /**
188
+ * A request that would leave a resource holding more tags than it may.
189
+ */
190
+ export declare class SimStatesTooManyTags extends SimStepFunctionsError {
191
+ readonly name = "TooManyTags";
192
+ constructor(message: string);
193
+ }
158
194
  //# sourceMappingURL=sim-step-functions.error.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sim-step-functions.error.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/error/sim-step-functions.error.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,qBAAa,qBAAsB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SAAyB,IAAI,+BAA+B;IAE5D,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF;AAED;;GAEG;AACH,qBAAa,yBAA0B,SAAQ,qBAAqB;IAClE,SAAyB,IAAI,8BAA8B;IAE3D,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF;AAED;;;;;GAKG;AACH,qBAAa,0BAA2B,SAAQ,qBAAqB;IACnE,SAAyB,IAAI,2BAA2B;IAExD,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF;AAED;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,qBAAqB;IAC7D,SAAyB,IAAI,iBAAiB;IAE9C,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF;AAED;;GAEG;AACH,qBAAa,4BAA6B,SAAQ,qBAAqB;IACrE,SAAyB,IAAI,+BAA+B;IAE5D,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF;AAED;;GAEG;AACH,qBAAa,+BAAgC,SAAQ,qBAAqB;IACxE,SAAyB,IAAI,4BAA4B;IAEzD,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF;AAED;;GAEG;AACH,qBAAa,uBAAwB,SAAQ,qBAAqB;IAChE,SAAyB,IAAI,gBAAgB;IAE7C,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF"}
1
+ {"version":3,"file":"sim-step-functions.error.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/error/sim-step-functions.error.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,qBAAa,qBAAsB,SAAQ,KAAK;aAG5B,eAAe,EAAE,MAAM;IAFzC,YACE,OAAO,EAAE,MAAM,EACC,eAAe,EAAE,MAAM,EAGxC;CACF;AAED;;;;;;GAMG;AACH,qBAAa,kBAAmB,SAAQ,qBAAqB;IAC3D,SAAyB,IAAI,wBAAwB;IAErD,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF;AAED;;;;;GAKG;AACH,qBAAa,yBAA0B,SAAQ,qBAAqB;IAClE,SAAyB,IAAI,+BAA+B;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,SAAQ,qBAAqB;IACnE,SAAyB,IAAI,2BAA2B;IAExD,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF;AAED;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,qBAAqB;IAC7D,SAAyB,IAAI,iBAAiB;IAE9C,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF;AAED;;GAEG;AACH,qBAAa,4BAA6B,SAAQ,qBAAqB;IACrE,SAAyB,IAAI,+BAA+B;IAE5D,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF;AAED;;GAEG;AACH,qBAAa,+BAAgC,SAAQ,qBAAqB;IACxE,SAAyB,IAAI,4BAA4B;IAEzD,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF;AAED;;GAEG;AACH,qBAAa,uBAAwB,SAAQ,qBAAqB;IAChE,SAAyB,IAAI,gBAAgB;IAE7C,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF;AAED;;;;;;GAMG;AACH,qBAAa,+BAAgC,SAAQ,qBAAqB;IACxE,SAAyB,IAAI,sBAAsB;IAEnD,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF;AAED;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,qBAAqB;IAC5D,SAAyB,IAAI,yBAAyB;IAEtD,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF;AAED;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,qBAAqB;IAC7D,SAAyB,IAAI,iBAAiB;IAE9C,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF"}
@@ -91,6 +91,17 @@ export class SimStatesTaskFailure extends SimStepFunctionsError {
91
91
  export class SimStatesTaskHandlerFailure extends SimStepFunctionsError {
92
92
  name = "SimStatesTaskHandlerFailure";
93
93
  }
94
+ /**
95
+ * A service that refused the call a `Task` state made.
96
+ *
97
+ * Amazon States Language names a service error after the service and the error
98
+ * together, so `DynamoDb.ConditionalCheckFailedException` is a conditional
99
+ * write that did not hold. The name is given where this is raised, because it
100
+ * is read off what the service said rather than fixed by the class.
101
+ */
102
+ export class SimStatesServiceFailure extends SimStepFunctionsError {
103
+ name = "SimStatesServiceFailure";
104
+ }
94
105
  /**
95
106
  * A state that could not run on the data it was given.
96
107
  *
@@ -188,4 +199,35 @@ export class SimStatesInvalidRequest extends SimStepFunctionsError {
188
199
  super(message, "States.Runtime");
189
200
  }
190
201
  }
202
+ /**
203
+ * A resource a tag request's ARN names nothing for.
204
+ *
205
+ * The tag commands reach a state machine, an activity or an execution, so real
206
+ * Step Functions answers them with `ResourceNotFound` rather than the
207
+ * `StateMachineDoesNotExist` that `DescribeStateMachine` gives.
208
+ */
209
+ export class SimStatesTaggedResourceNotFound extends SimStepFunctionsError {
210
+ name = "ResourceNotFound";
211
+ constructor(message) {
212
+ super(message, "States.Runtime");
213
+ }
214
+ }
215
+ /**
216
+ * A tag key or value outside what Step Functions takes.
217
+ */
218
+ export class SimStatesInvalidTag extends SimStepFunctionsError {
219
+ name = "ValidationException";
220
+ constructor(message) {
221
+ super(message, "States.Runtime");
222
+ }
223
+ }
224
+ /**
225
+ * A request that would leave a resource holding more tags than it may.
226
+ */
227
+ export class SimStatesTooManyTags extends SimStepFunctionsError {
228
+ name = "TooManyTags";
229
+ constructor(message) {
230
+ super(message, "States.Runtime");
231
+ }
232
+ }
191
233
  //# sourceMappingURL=sim-step-functions.error.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sim-step-functions.error.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/error/sim-step-functions.error.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,OAAO,qBAAsB,SAAQ,KAAK;IAG5B,eAAe;IAFjC,YACE,OAAe,EACC,eAAuB;QAEvC,KAAK,CAAC,OAAO,CAAC,CAAC;+BAFC,eAAe;IAGjC,CAAC;CACF;AAED;;;;;;GAMG;AACH,MAAM,OAAO,kBAAmB,SAAQ,qBAAqB;IAClC,IAAI,GAAG,oBAAoB,CAAC;IAErD,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,EAA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ACvC,IAAI,GAAG,YAAY,CAAC;IAE7C,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,EAAE,gBAAgB,CAAC,CAAC;IACnC,CAAC;CACF"}
1
+ {"version":3,"file":"sim-step-functions.error.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/error/sim-step-functions.error.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,OAAO,qBAAsB,SAAQ,KAAK;IAG5B,eAAe;IAFjC,YACE,OAAe,EACC,eAAuB;QAEvC,KAAK,CAAC,OAAO,CAAC,CAAC;+BAFC,eAAe;IAGjC,CAAC;CACF;AAED;;;;;;GAMG;AACH,MAAM,OAAO,kBAAmB,SAAQ,qBAAqB;IAClC,IAAI,GAAG,oBAAoB,CAAC;IAErD,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,EAAE,6BAA6B,CAAC,CAAC;IAChD,CAAC;CACF;AAED;;;;;GAKG;AACH,MAAM,OAAO,yBAA0B,SAAQ,qBAAqB;IACzC,IAAI,GAAG,2BAA2B,CAAC;IAE5D,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,EAAE,6BAA6B,CAAC,CAAC;IAChD,CAAC;CACF;AAED;;GAEG;AACH,MAAM,OAAO,+BAAgC,SAAQ,qBAAqB;IAC/C,IAAI,GAAG,iCAAiC,CAAC;IAElE,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,EAAE,+BAA+B,CAAC,CAAC;IAClD,CAAC;CACF;AAED;;GAEG;AACH,MAAM,OAAO,yBAA0B,SAAQ,qBAAqB;IACzC,IAAI,GAAG,2BAA2B,CAAC;IAE5D,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,EAAE,yBAAyB,CAAC,CAAC;IAC5C,CAAC;CACF;AAED;;GAEG;AACH,MAAM,OAAO,wBAAyB,SAAQ,qBAAqB;IACxC,IAAI,GAAG,0BAA0B,CAAC;IAE3D,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,EAAE,wBAAwB,CAAC,CA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AAC;IACnC,CAAC;CACF"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * One run of one state, as an execution made it.
3
+ *
4
+ * A state a `Retry` ran again appears once per attempt, in the order the
5
+ * attempts were made, so a test can count how many times a task ran and read
6
+ * what each run failed with.
7
+ */
8
+ export interface SimStatesAttempt {
9
+ readonly stateName: string;
10
+ /**
11
+ * The Amazon States Language error name the attempt failed with, where it
12
+ * failed. An attempt that did its work carries none.
13
+ */
14
+ readonly error?: string;
15
+ }
16
+ //# sourceMappingURL=sim-states-attempt.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-attempt.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/execution/sim-states-attempt.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAE3B;;;OAGG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;CACzB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=sim-states-attempt.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-attempt.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/execution/sim-states-attempt.ts"],"names":[],"mappings":""}
@@ -0,0 +1,11 @@
1
+ import type { SimStatesFailOutcome } from "./sim-states-state-outcome.js";
2
+ /**
3
+ * The failure one child takes the state that ran it down with.
4
+ *
5
+ * Amazon States Language gives a state whose child failed an error name of
6
+ * its own, and the child's name is what the cause says. A child that failed on
7
+ * the data it was given keeps `States.Runtime`, which nothing catches: a state
8
+ * around it is no more able to carry on than the child was.
9
+ */
10
+ export declare function simStatesChildFailure(named: string, failure: SimStatesFailOutcome): SimStatesFailOutcome;
11
+ //# sourceMappingURL=sim-states-child-failure.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-child-failure.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/execution/sim-states-child-failure.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAE1E;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,oBAAoB,GAC5B,oBAAoB,CAWtB"}
@@ -0,0 +1,20 @@
1
+ import { simStatesBranchFailedError, simStatesRuntimeError, } from "../retry/sim-states-error-name.js";
2
+ /**
3
+ * The failure one child takes the state that ran it down with.
4
+ *
5
+ * Amazon States Language gives a state whose child failed an error name of
6
+ * its own, and the child's name is what the cause says. A child that failed on
7
+ * the data it was given keeps `States.Runtime`, which nothing catches: a state
8
+ * around it is no more able to carry on than the child was.
9
+ */
10
+ export function simStatesChildFailure(named, failure) {
11
+ const said = failure.cause === undefined ? "" : `: ${failure.cause}`;
12
+ return {
13
+ kind: "fail",
14
+ error: failure.error === simStatesRuntimeError
15
+ ? simStatesRuntimeError
16
+ : simStatesBranchFailedError,
17
+ cause: `${named} failed with ${failure.error}${said}`,
18
+ };
19
+ }
20
+ //# sourceMappingURL=sim-states-child-failure.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-child-failure.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/execution/sim-states-child-failure.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAC1B,qBAAqB,GACtB,MAAM,mCAAmC,CAAC;AAG3C;;;;;;;GAOG;AACH,MAAM,UAAU,qBAAqB,CACnC,KAAa,EACb,OAA6B;IAE7B,MAAM,IAAI,GAAG,OAAO,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,KAAK,EAAE,CAAC;IAErE,OAAO;QACL,IAAI,EAAE,MAAM;QACZ,KAAK,EACH,OAAO,CAAC,KAAK,KAAK,qBAAqB;YACrC,CAAC,CAAC,qBAAqB;YACvB,CAAC,CAAC,0BAA0B;QAChC,KAAK,EAAE,GAAG,KAAK,gBAAgB,OAAO,CAAC,KAAK,GAAG,IAAI,EAAE;KACtD,CAAC;AACJ,CAAC"}
@@ -0,0 +1,55 @@
1
+ import type { JSONValue } from "../../../util/type-guard/json.js";
2
+ import type { SimStatesChild, SimStatesChildKind, SimStatesChildStatus } from "./sim-states-child.js";
3
+ import type { SimStatesRunRecord } from "./sim-states-run-record.js";
4
+ import type { SimStatesFailOutcome } from "./sim-states-state-outcome.js";
5
+ interface SimStatesChildRunProperties {
6
+ readonly kind: SimStatesChildKind;
7
+ readonly stateName: string;
8
+ readonly index: number;
9
+ readonly input: JSONValue;
10
+ /**
11
+ * The run the state holding this child belongs to, which is where a child
12
+ * of its own is recorded.
13
+ */
14
+ readonly parent: SimStatesRunRecord;
15
+ }
16
+ /**
17
+ * One branch of a `Parallel` state, or one iteration of a `Map` state, as it
18
+ * runs.
19
+ *
20
+ * The states a child visits are its own rather than the execution's, so they
21
+ * are held here. A child of a child is still reported on the execution, which
22
+ * is why a child run passes one it is told about upwards.
23
+ */
24
+ export declare class SimStatesChildRun implements SimStatesRunRecord, SimStatesChild {
25
+ #private;
26
+ readonly kind: SimStatesChildKind;
27
+ readonly stateName: string;
28
+ readonly index: number;
29
+ readonly input: JSONValue;
30
+ constructor(properties: SimStatesChildRunProperties);
31
+ get status(): SimStatesChildStatus;
32
+ get output(): JSONValue;
33
+ /**
34
+ * What the branch failed with, where it failed.
35
+ */
36
+ get failure(): SimStatesFailOutcome | undefined;
37
+ get error(): string | undefined;
38
+ get visitedStates(): readonly string[];
39
+ get stopped(): boolean;
40
+ enter(stateName: string): void;
41
+ attempt(stateName: string, error: string | undefined): void;
42
+ succeed(output: JSONValue): void;
43
+ fail(error: string, cause: string | undefined): void;
44
+ child(child: SimStatesChildRun): void;
45
+ /**
46
+ * Give up on this branch, because one of its siblings failed.
47
+ *
48
+ * Whatever it had scheduled on the clock still runs, and finds a branch that
49
+ * has stopped rather than one to carry on with. The branches this one was
50
+ * itself running are given up on too, however deep they go.
51
+ */
52
+ abandon(): void;
53
+ }
54
+ export {};
55
+ //# sourceMappingURL=sim-states-child-run.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-child-run.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/execution/sim-states-child-run.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,KAAK,EACV,cAAc,EACd,kBAAkB,EAClB,oBAAoB,EACrB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAE1E,UAAU,2BAA2B;IACnC,QAAQ,CAAC,IAAI,EAAE,kBAAkB,CAAC;IAClC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,SAAS,CAAC;IAE1B;;;OAGG;IACH,QAAQ,CAAC,MAAM,EAAE,kBAAkB,CAAC;CACrC;AAED;;;;;;;GAOG;AACH,qBAAa,iBAAkB,YAAW,kBAAkB,EAAE,cAAc;;IAC1E,QAAQ,CAAC,IAAI,EAAE,kBAAkB,CAAC;IAClC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,SAAS,CAAC;IAY1B,YAAY,UAAU,EAAE,2BAA2B,EAMlD;IAED,IAAI,MAAM,IAAI,oBAAoB,CAEjC;IAED,IAAI,MAAM,IAAI,SAAS,CAEtB;IAED;;OAEG;IACH,IAAI,OAAO,IAAI,oBAAoB,GAAG,SAAS,CAE9C;IAED,IAAI,KAAK,IAAI,MAAM,GAAG,SAAS,CAE9B;IAED,IAAI,aAAa,IAAI,SAAS,MAAM,EAAE,CAErC;IAED,IAAI,OAAO,IAAI,OAAO,CAErB;IAED,KAAK,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAE7B;IAED,OAAO,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,CAE1D;IAED,OAAO,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAG/B;IAED,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,CAGnD;IAED,KAAK,CAAC,KAAK,EAAE,iBAAiB,GAAG,IAAI,CAGpC;IAED;;;;;;OAMG;IACH,OAAO,IAAI,IAAI,CAUd;CACF"}
@@ -0,0 +1,86 @@
1
+ /**
2
+ * One branch of a `Parallel` state, or one iteration of a `Map` state, as it
3
+ * runs.
4
+ *
5
+ * The states a child visits are its own rather than the execution's, so they
6
+ * are held here. A child of a child is still reported on the execution, which
7
+ * is why a child run passes one it is told about upwards.
8
+ */
9
+ export class SimStatesChildRun {
10
+ kind;
11
+ stateName;
12
+ index;
13
+ input;
14
+ /**
15
+ * What the branch answered with, which is `null` until it has.
16
+ */
17
+ #output = null;
18
+ #status = "RUNNING";
19
+ #failure;
20
+ #visited = [];
21
+ #children = [];
22
+ #parent;
23
+ constructor(properties) {
24
+ this.kind = properties.kind;
25
+ this.stateName = properties.stateName;
26
+ this.index = properties.index;
27
+ this.input = properties.input;
28
+ this.#parent = properties.parent;
29
+ }
30
+ get status() {
31
+ return this.#status;
32
+ }
33
+ get output() {
34
+ return this.#output;
35
+ }
36
+ /**
37
+ * What the branch failed with, where it failed.
38
+ */
39
+ get failure() {
40
+ return this.#failure;
41
+ }
42
+ get error() {
43
+ return this.#failure?.error;
44
+ }
45
+ get visitedStates() {
46
+ return [...this.#visited];
47
+ }
48
+ get stopped() {
49
+ return this.#status !== "RUNNING";
50
+ }
51
+ enter(stateName) {
52
+ this.#visited.push(stateName);
53
+ }
54
+ attempt(stateName, error) {
55
+ this.#parent.attempt(stateName, error);
56
+ }
57
+ succeed(output) {
58
+ this.#status = "SUCCEEDED";
59
+ this.#output = output;
60
+ }
61
+ fail(error, cause) {
62
+ this.#status = "FAILED";
63
+ this.#failure = { kind: "fail", error, cause };
64
+ }
65
+ child(child) {
66
+ this.#children.push(child);
67
+ this.#parent.child(child);
68
+ }
69
+ /**
70
+ * Give up on this branch, because one of its siblings failed.
71
+ *
72
+ * Whatever it had scheduled on the clock still runs, and finds a branch that
73
+ * has stopped rather than one to carry on with. The branches this one was
74
+ * itself running are given up on too, however deep they go.
75
+ */
76
+ abandon() {
77
+ if (this.stopped) {
78
+ return;
79
+ }
80
+ this.#status = "ABANDONED";
81
+ this.#children.forEach((child) => {
82
+ child.abandon();
83
+ });
84
+ }
85
+ }
86
+ //# sourceMappingURL=sim-states-child-run.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-child-run.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/execution/sim-states-child-run.ts"],"names":[],"mappings":"AAsBA;;;;;;;GAOG;AACH,MAAM,OAAO,iBAAiB;IACnB,IAAI,CAAqB;IACzB,SAAS,CAAS;IAClB,KAAK,CAAS;IACd,KAAK,CAAY;IAE1B;;OAEG;IACH,OAAO,GAAc,IAAI,CAAC;IAC1B,OAAO,GAAyB,SAAS,CAAC;IAC1C,QAAQ,CAAmC;IAClC,QAAQ,GAAa,EAAE,CAAC;IACxB,SAAS,GAAwB,EAAE,CAAC;IACpC,OAAO,CAAqB;IAErC,YAAY,UAAuC;QACjD,IAAI,CAAC,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC;QAC5B,IAAI,CAAC,SAAS,GAAG,UAAU,CAAC,SAAS,CAAC;QACtC,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;QAC9B,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;QAC9B,IAAI,CAAC,OAAO,GAAG,UAAU,CAAC,MAAM,CAAC;IACnC,CA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,CAAC,OAAO,GAAG,WAAW,CAAC;QAE3B,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE;YAC/B,KAAK,CAAC,OAAO,EAAE,CAAC;QAClB,CAAC,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -0,0 +1,69 @@
1
+ import type { JSONObject, JSONValue } from "../../../util/type-guard/json.js";
2
+ import type { SimStatesDefinition } from "../definition/sim-states-definition.js";
3
+ import type { SimStatesChildKind } from "./sim-states-child.js";
4
+ import { SimStatesChildRun } from "./sim-states-child-run.js";
5
+ import type { SimStatesStateContext } from "./sim-states-state-outcome.js";
6
+ /**
7
+ * One child of a state that runs states of its own, before it is started.
8
+ */
9
+ export interface SimStatesChildStart {
10
+ readonly index: number;
11
+ readonly definition: SimStatesDefinition;
12
+ readonly input: JSONValue;
13
+ /**
14
+ * What the child's states read through `$$`.
15
+ */
16
+ readonly contextObject: JSONObject;
17
+ }
18
+ interface SimStatesChildRunsProperties {
19
+ readonly kind: SimStatesChildKind;
20
+ readonly context: SimStatesStateContext;
21
+ readonly children: readonly SimStatesChildStart[];
22
+ /**
23
+ * How many children may be running at once. A state with no bound of its
24
+ * own is given an infinite one.
25
+ */
26
+ readonly limit: number;
27
+ /**
28
+ * What to do once one child has ended.
29
+ */
30
+ readonly onSettled: (run: SimStatesChildRun) => Promise<void>;
31
+ }
32
+ /**
33
+ * The children one state runs.
34
+ *
35
+ * A child that reaches a `Wait` state is left on the clock rather than waited
36
+ * for. Its siblings start alongside it.
37
+ */
38
+ export declare class SimStatesChildRuns {
39
+ #private;
40
+ constructor(properties: SimStatesChildRunsProperties);
41
+ /**
42
+ * Whether every child has ended.
43
+ */
44
+ get finished(): boolean;
45
+ /**
46
+ * What each child produced, in the order the children were written.
47
+ */
48
+ get outputs(): readonly JSONValue[];
49
+ /**
50
+ * Start the next child, and the ones after it there is room for.
51
+ *
52
+ * A child is started once the one before it is either done or waiting on
53
+ * the clock, since a child waiting is one that is still running. This
54
+ * answers where the bound is reached, and the children left over start as
55
+ * the ones running end. The children a failure leaves nothing to do are
56
+ * dropped from the queue, so this answers as soon as one of them fails.
57
+ */
58
+ start(): Promise<void>;
59
+ /**
60
+ * Take in that one child has ended, which leaves room for another.
61
+ */
62
+ ended(): void;
63
+ /**
64
+ * Give up on the children a failure leaves nothing to do.
65
+ */
66
+ abandon(): void;
67
+ }
68
+ export {};
69
+ //# sourceMappingURL=sim-states-child-runs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-child-runs.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/execution/sim-states-child-runs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAE3E;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;IACzC,QAAQ,CAAC,KAAK,EAAE,SAAS,CAAC;IAE1B;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,UAAU,CAAC;CACpC;AAED,UAAU,4BAA4B;IACpC,QAAQ,CAAC,IAAI,EAAE,kBAAkB,CAAC;IAClC,QAAQ,CAAC,OAAO,EAAE,qBAAqB,CAAC;IACxC,QAAQ,CAAC,QAAQ,EAAE,SAAS,mBAAmB,EAAE,CAAC;IAElD;;;OAGG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,CAAC,GAAG,EAAE,i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