@kensio/yulin 1.20.1 → 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 (787) hide show
  1. package/dist/index.d.ts +1 -0
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +1 -0
  4. package/dist/index.js.map +1 -1
  5. package/dist/sdk/router/resolve-sim-sdk-command-router.d.ts +8 -0
  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 +10 -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 +4 -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 +6 -0
  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/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-error.d.ts +15 -0
  123. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-error.d.ts.map +1 -0
  124. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-error.js +18 -0
  125. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-error.js.map +1 -0
  126. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-properties.d.ts +30 -0
  127. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-properties.d.ts.map +1 -0
  128. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-properties.js +74 -0
  129. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-properties.js.map +1 -0
  130. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reader.d.ts +45 -0
  131. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reader.d.ts.map +1 -0
  132. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reader.js +82 -0
  133. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reader.js.map +1 -0
  134. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reading.d.ts +27 -0
  135. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reading.d.ts.map +1 -0
  136. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reading.js +24 -0
  137. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reading.js.map +1 -0
  138. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-template.factory.d.ts +39 -0
  139. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-template.factory.d.ts.map +1 -0
  140. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-template.factory.js +42 -0
  141. package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-template.factory.js.map +1 -0
  142. package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-cross-region-parameter-cfn.d.ts +32 -0
  143. package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-cross-region-parameter-cfn.d.ts.map +1 -0
  144. package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-cross-region-parameter-cfn.js +36 -0
  145. package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-cross-region-parameter-cfn.js.map +1 -0
  146. package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-custom-resource-value-adapter.d.ts +14 -0
  147. package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-custom-resource-value-adapter.d.ts.map +1 -0
  148. package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-custom-resource-value-adapter.js +23 -0
  149. package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-custom-resource-value-adapter.js.map +1 -0
  150. package/dist/service/cloudformation/resource/cfn/sim-cfn-default-resource-value-adapter.d.ts.map +1 -1
  151. package/dist/service/cloudformation/resource/cfn/sim-cfn-default-resource-value-adapter.js +2 -1
  152. package/dist/service/cloudformation/resource/cfn/sim-cfn-default-resource-value-adapter.js.map +1 -1
  153. package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.d.ts +2 -1
  154. package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.d.ts.map +1 -1
  155. package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.js +4 -1
  156. package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.js.map +1 -1
  157. package/dist/service/cloudformation/resource/cfn/sim-cfn-unanswered-attribute.d.ts +23 -0
  158. package/dist/service/cloudformation/resource/cfn/sim-cfn-unanswered-attribute.d.ts.map +1 -0
  159. package/dist/service/cloudformation/resource/cfn/sim-cfn-unanswered-attribute.js +46 -0
  160. package/dist/service/cloudformation/resource/cfn/sim-cfn-unanswered-attribute.js.map +1 -0
  161. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.js +1 -1
  162. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.js.map +1 -1
  163. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-custom-resource-factories.d.ts.map +1 -1
  164. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-custom-resource-factories.js +5 -0
  165. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-custom-resource-factories.js.map +1 -1
  166. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.d.ts.map +1 -1
  167. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.js +1 -4
  168. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.js.map +1 -1
  169. package/dist/service/cloudformation/resource/sim-cfn-resource-record.d.ts +7 -0
  170. package/dist/service/cloudformation/resource/sim-cfn-resource-record.d.ts.map +1 -1
  171. package/dist/service/cloudformation/resource/sim-cfn-resource-record.js +9 -0
  172. package/dist/service/cloudformation/resource/sim-cfn-resource-record.js.map +1 -1
  173. package/dist/service/cloudformation/template/node/fn/join/sim-cfn-fn-join.d.ts +7 -0
  174. package/dist/service/cloudformation/template/node/fn/join/sim-cfn-fn-join.d.ts.map +1 -1
  175. package/dist/service/cloudformation/template/node/fn/join/sim-cfn-fn-join.js +9 -1
  176. package/dist/service/cloudformation/template/node/fn/join/sim-cfn-fn-join.js.map +1 -1
  177. package/dist/service/cloudfront/behaviour/sim-cloud-front-behavior.d.ts +5 -0
  178. package/dist/service/cloudfront/behaviour/sim-cloud-front-behavior.d.ts.map +1 -1
  179. package/dist/service/cloudfront/behaviour/sim-cloud-front-behavior.js.map +1 -1
  180. package/dist/service/cloudfront/cff/sim-cff-arn.d.ts +13 -0
  181. package/dist/service/cloudfront/cff/sim-cff-arn.d.ts.map +1 -0
  182. package/dist/service/cloudfront/cff/sim-cff-arn.js +18 -0
  183. package/dist/service/cloudfront/cff/sim-cff-arn.js.map +1 -0
  184. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-creator.d.ts +5 -4
  185. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-creator.d.ts.map +1 -1
  186. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-creator.js +14 -5
  187. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-creator.js.map +1 -1
  188. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-edge-associations.d.ts +19 -0
  189. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-edge-associations.d.ts.map +1 -0
  190. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-edge-associations.js +78 -0
  191. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-edge-associations.js.map +1 -0
  192. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-association-skips.d.ts +34 -0
  193. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-association-skips.d.ts.map +1 -0
  194. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-association-skips.js +58 -0
  195. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-association-skips.js.map +1 -0
  196. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-skip-reason.d.ts +26 -0
  197. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-skip-reason.d.ts.map +1 -0
  198. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-skip-reason.js +60 -0
  199. package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-skip-reason.js.map +1 -0
  200. package/dist/service/cloudfront/command/create-distribution/create-distribution.command.d.ts +16 -0
  201. package/dist/service/cloudfront/command/create-distribution/create-distribution.command.d.ts.map +1 -1
  202. package/dist/service/cloudfront/command/create-distribution/create-distribution.handler.d.ts +3 -0
  203. package/dist/service/cloudfront/command/create-distribution/create-distribution.handler.d.ts.map +1 -1
  204. package/dist/service/cloudfront/command/create-distribution/create-distribution.handler.js +11 -4
  205. package/dist/service/cloudfront/command/create-distribution/create-distribution.handler.js.map +1 -1
  206. package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.d.ts.map +1 -1
  207. package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.js +1 -0
  208. package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.js.map +1 -1
  209. package/dist/service/cloudfront/command/update-distribution/update-distribution.handler.d.ts +3 -0
  210. package/dist/service/cloudfront/command/update-distribution/update-distribution.handler.d.ts.map +1 -1
  211. package/dist/service/cloudfront/command/update-distribution/update-distribution.handler.js +9 -2
  212. package/dist/service/cloudfront/command/update-distribution/update-distribution.handler.js.map +1 -1
  213. package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.d.ts +7 -1
  214. package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.d.ts.map +1 -1
  215. package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.js +9 -1
  216. package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.js.map +1 -1
  217. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-applicator.d.ts +40 -0
  218. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-applicator.d.ts.map +1 -0
  219. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-applicator.js +52 -0
  220. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-applicator.js.map +1 -0
  221. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-distribution.d.ts +11 -0
  222. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-distribution.d.ts.map +1 -0
  223. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-distribution.js +14 -0
  224. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-distribution.js.map +1 -0
  225. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-origin-applicator.d.ts +43 -0
  226. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-origin-applicator.d.ts.map +1 -0
  227. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-origin-applicator.js +63 -0
  228. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-origin-applicator.js.map +1 -0
  229. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-run.d.ts +16 -0
  230. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-run.d.ts.map +1 -0
  231. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-run.js +33 -0
  232. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-run.js.map +1 -0
  233. package/dist/service/cloudfront/controller/origin/sim-cf-origin-bound-request.d.ts +14 -0
  234. package/dist/service/cloudfront/controller/origin/sim-cf-origin-bound-request.d.ts.map +1 -0
  235. package/dist/service/cloudfront/controller/origin/sim-cf-origin-bound-request.js +2 -0
  236. package/dist/service/cloudfront/controller/origin/sim-cf-origin-bound-request.js.map +1 -0
  237. package/dist/service/cloudfront/controller/origin/sim-cf-origin-stage.d.ts +45 -0
  238. package/dist/service/cloudfront/controller/origin/sim-cf-origin-stage.d.ts.map +1 -0
  239. package/dist/service/cloudfront/controller/origin/sim-cf-origin-stage.js +47 -0
  240. package/dist/service/cloudfront/controller/origin/sim-cf-origin-stage.js.map +1 -0
  241. package/dist/service/cloudfront/controller/origin/sim-cloudfront-origin-fetcher.d.ts +6 -1
  242. package/dist/service/cloudfront/controller/origin/sim-cloudfront-origin-fetcher.d.ts.map +1 -1
  243. package/dist/service/cloudfront/controller/origin/sim-cloudfront-origin-fetcher.js +6 -2
  244. package/dist/service/cloudfront/controller/origin/sim-cloudfront-origin-fetcher.js.map +1 -1
  245. package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.d.ts +9 -3
  246. package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.d.ts.map +1 -1
  247. package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.js +36 -9
  248. package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.js.map +1 -1
  249. package/dist/service/cloudfront/distribution/configurator/sim-cf-behavior-properties.d.ts.map +1 -1
  250. package/dist/service/cloudfront/distribution/configurator/sim-cf-behavior-properties.js +2 -0
  251. package/dist/service/cloudfront/distribution/configurator/sim-cf-behavior-properties.js.map +1 -1
  252. package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.d.ts.map +1 -1
  253. package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.js +1 -0
  254. package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.js.map +1 -1
  255. package/dist/service/cloudfront/distribution/sim-cf-distribution-configuration-state.d.ts +5 -2
  256. package/dist/service/cloudfront/distribution/sim-cf-distribution-configuration-state.d.ts.map +1 -1
  257. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-body.d.ts +24 -0
  258. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-body.d.ts.map +1 -0
  259. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-body.js +51 -0
  260. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-body.js.map +1 -0
  261. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-adapter.d.ts +34 -0
  262. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-adapter.d.ts.map +1 -0
  263. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-adapter.js +70 -0
  264. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-adapter.js.map +1 -0
  265. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-config.d.ts +16 -0
  266. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-config.d.ts.map +1 -0
  267. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-config.js +14 -0
  268. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-config.js.map +1 -0
  269. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-headers.d.ts +20 -0
  270. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-headers.d.ts.map +1 -0
  271. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-headers.js +55 -0
  272. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-headers.js.map +1 -0
  273. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin-event-adapter.d.ts +51 -0
  274. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin-event-adapter.d.ts.map +1 -0
  275. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin-event-adapter.js +83 -0
  276. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin-event-adapter.js.map +1 -0
  277. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin.d.ts +23 -0
  278. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin.d.ts.map +1 -0
  279. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin.js +30 -0
  280. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin.js.map +1 -0
  281. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-request-adapter.d.ts +39 -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 +110 -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 +87 -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 +61 -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 +106 -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 +80 -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 +26 -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 +52 -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 +28 -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 +71 -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-function-version.d.ts +14 -0
  318. package/dist/service/cloudfront/edge/sim-cf-edge-function-version.d.ts.map +1 -0
  319. package/dist/service/cloudfront/edge/sim-cf-edge-function-version.js +16 -0
  320. package/dist/service/cloudfront/edge/sim-cf-edge-function-version.js.map +1 -0
  321. package/dist/service/cloudfront/edge/sim-cf-edge-functions.d.ts +25 -0
  322. package/dist/service/cloudfront/edge/sim-cf-edge-functions.d.ts.map +1 -0
  323. package/dist/service/cloudfront/edge/sim-cf-edge-functions.js +2 -0
  324. package/dist/service/cloudfront/edge/sim-cf-edge-functions.js.map +1 -0
  325. package/dist/service/cloudfront/error/sim-cloudfront.error.d.ts +13 -0
  326. package/dist/service/cloudfront/error/sim-cloudfront.error.d.ts.map +1 -1
  327. package/dist/service/cloudfront/error/sim-cloudfront.error.js +15 -0
  328. package/dist/service/cloudfront/error/sim-cloudfront.error.js.map +1 -1
  329. package/dist/service/cloudfront/index.d.ts +1 -0
  330. package/dist/service/cloudfront/index.d.ts.map +1 -1
  331. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-edge.d.ts +27 -0
  332. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-edge.d.ts.map +1 -0
  333. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-edge.js +44 -0
  334. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-edge.js.map +1 -0
  335. package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.d.ts +23 -3
  336. package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.d.ts.map +1 -1
  337. package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.js +30 -2
  338. package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.js.map +1 -1
  339. package/dist/service/cloudfront/origin/s3/sim-cf-s3-origin-edge.d.ts +26 -0
  340. package/dist/service/cloudfront/origin/s3/sim-cf-s3-origin-edge.d.ts.map +1 -0
  341. package/dist/service/cloudfront/origin/s3/sim-cf-s3-origin-edge.js +63 -0
  342. package/dist/service/cloudfront/origin/s3/sim-cf-s3-origin-edge.js.map +1 -0
  343. package/dist/service/cloudfront/origin/s3/sim-cloudfront-s3-origin.d.ts +17 -2
  344. package/dist/service/cloudfront/origin/s3/sim-cloudfront-s3-origin.d.ts.map +1 -1
  345. package/dist/service/cloudfront/origin/s3/sim-cloudfront-s3-origin.js +20 -0
  346. package/dist/service/cloudfront/origin/s3/sim-cloudfront-s3-origin.js.map +1 -1
  347. package/dist/service/cloudfront/origin/sim-cf-edge-origin-not-simulated.error.d.ts +15 -0
  348. package/dist/service/cloudfront/origin/sim-cf-edge-origin-not-simulated.error.d.ts.map +1 -0
  349. package/dist/service/cloudfront/origin/sim-cf-edge-origin-not-simulated.error.js +15 -0
  350. package/dist/service/cloudfront/origin/sim-cf-edge-origin-not-simulated.error.js.map +1 -0
  351. package/dist/service/cloudfront/origin/sim-cloudfront-origin.d.ts +13 -0
  352. package/dist/service/cloudfront/origin/sim-cloudfront-origin.d.ts.map +1 -1
  353. package/dist/service/cloudfront/sim-cloudfront-commands.d.ts +10 -0
  354. package/dist/service/cloudfront/sim-cloudfront-commands.d.ts.map +1 -1
  355. package/dist/service/cloudfront/sim-cloudfront-commands.js +10 -1
  356. package/dist/service/cloudfront/sim-cloudfront-commands.js.map +1 -1
  357. package/dist/service/cloudfront/sim-cloudfront.d.ts.map +1 -1
  358. package/dist/service/cloudfront/sim-cloudfront.js +3 -8
  359. package/dist/service/cloudfront/sim-cloudfront.js.map +1 -1
  360. package/dist/service/cloudfront/typings/lambda-at-edge.namespace.d.ts +159 -0
  361. package/dist/service/cloudfront/typings/lambda-at-edge.namespace.d.ts.map +1 -0
  362. package/dist/service/cloudfront/typings/lambda-at-edge.namespace.js +2 -0
  363. package/dist/service/cloudfront/typings/lambda-at-edge.namespace.js.map +1 -0
  364. package/dist/service/lambda/function/environment/sim-lambda-environment.d.ts +22 -20
  365. package/dist/service/lambda/function/environment/sim-lambda-environment.d.ts.map +1 -1
  366. package/dist/service/lambda/function/environment/sim-lambda-environment.js +27 -29
  367. package/dist/service/lambda/function/environment/sim-lambda-environment.js.map +1 -1
  368. package/dist/service/lambda/function/environment/sim-lambda-host-backed-variables.d.ts +28 -0
  369. package/dist/service/lambda/function/environment/sim-lambda-host-backed-variables.d.ts.map +1 -0
  370. package/dist/service/lambda/function/environment/sim-lambda-host-backed-variables.js +49 -0
  371. package/dist/service/lambda/function/environment/sim-lambda-host-backed-variables.js.map +1 -0
  372. package/dist/service/lambda/function/environment/sim-lambda-runtime-variables.d.ts +18 -0
  373. package/dist/service/lambda/function/environment/sim-lambda-runtime-variables.d.ts.map +1 -0
  374. package/dist/service/lambda/function/environment/sim-lambda-runtime-variables.js +23 -0
  375. package/dist/service/lambda/function/environment/sim-lambda-runtime-variables.js.map +1 -0
  376. package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-cfn-step-functions-resource-deleter.d.ts +2 -2
  377. package/dist/service/stepfunctions/cfn/sim-cfn-step-functions-resource-deleter.d.ts.map +1 -0
  378. package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-cfn-step-functions-resource-deleter.js +1 -1
  379. package/dist/service/stepfunctions/cfn/sim-cfn-step-functions-resource-deleter.js.map +1 -0
  380. package/dist/service/stepfunctions/cfn/sim-cfn-step-functions-resource-error.d.ts.map +1 -0
  381. package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-cfn-step-functions-resource-error.js +1 -1
  382. package/dist/service/stepfunctions/cfn/sim-cfn-step-functions-resource-error.js.map +1 -0
  383. package/dist/service/stepfunctions/cfn/sim-cfn-step-functions-resource-types.d.ts.map +1 -0
  384. package/dist/service/stepfunctions/cfn/sim-cfn-step-functions-resource-types.js.map +1 -0
  385. package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-step-functions-cfn-resource-factory.d.ts +6 -3
  386. package/dist/service/stepfunctions/cfn/sim-step-functions-cfn-resource-factory.d.ts.map +1 -0
  387. package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-step-functions-cfn-resource-factory.js +2 -1
  388. package/dist/service/stepfunctions/cfn/sim-step-functions-cfn-resource-factory.js.map +1 -0
  389. package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-creator.d.ts +7 -4
  390. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-creator.d.ts.map +1 -0
  391. package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-creator.js +9 -4
  392. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-creator.js.map +1 -0
  393. package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-definition.d.ts +12 -13
  394. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-definition.d.ts.map +1 -0
  395. package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-definition.js +30 -28
  396. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-definition.js.map +1 -0
  397. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-name.d.ts.map +1 -0
  398. package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-name.js +1 -1
  399. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-name.js.map +1 -0
  400. package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-properties.d.ts +11 -3
  401. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-properties.d.ts.map +1 -0
  402. package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-properties.js +18 -5
  403. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-properties.js.map +1 -0
  404. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-property-names.d.ts.map +1 -0
  405. package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-property-names.js +0 -5
  406. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-property-names.js.map +1 -0
  407. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-s3-definition.d.ts +37 -0
  408. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-s3-definition.d.ts.map +1 -0
  409. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-s3-definition.js +63 -0
  410. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-s3-definition.js.map +1 -0
  411. package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-substitutions.d.ts +1 -1
  412. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-substitutions.d.ts.map +1 -0
  413. package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-substitutions.js +3 -3
  414. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-substitutions.js.map +1 -0
  415. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-tags.d.ts +33 -0
  416. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-tags.d.ts.map +1 -0
  417. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-tags.js +58 -0
  418. package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-tags.js.map +1 -0
  419. package/dist/service/stepfunctions/command/execution/sim-states-execution-start.d.ts.map +1 -1
  420. package/dist/service/stepfunctions/command/execution/sim-states-execution-start.js +15 -4
  421. package/dist/service/stepfunctions/command/execution/sim-states-execution-start.js.map +1 -1
  422. package/dist/service/stepfunctions/command/machine/machine.command.d.ts +2 -0
  423. package/dist/service/stepfunctions/command/machine/machine.command.d.ts.map +1 -1
  424. package/dist/service/stepfunctions/command/machine/sim-state-machine-input.d.ts +2 -0
  425. package/dist/service/stepfunctions/command/machine/sim-state-machine-input.d.ts.map +1 -1
  426. package/dist/service/stepfunctions/command/machine/sim-state-machine-input.js +3 -1
  427. package/dist/service/stepfunctions/command/machine/sim-state-machine-input.js.map +1 -1
  428. package/dist/service/stepfunctions/command/sim-step-functions-command.types.d.ts +1 -0
  429. package/dist/service/stepfunctions/command/sim-step-functions-command.types.d.ts.map +1 -1
  430. package/dist/service/stepfunctions/command/tag/sim-state-machine-tag-commands.d.ts +36 -0
  431. package/dist/service/stepfunctions/command/tag/sim-state-machine-tag-commands.d.ts.map +1 -0
  432. package/dist/service/stepfunctions/command/tag/sim-state-machine-tag-commands.js +76 -0
  433. package/dist/service/stepfunctions/command/tag/sim-state-machine-tag-commands.js.map +1 -0
  434. package/dist/service/stepfunctions/command/tag/tag.command.d.ts +46 -0
  435. package/dist/service/stepfunctions/command/tag/tag.command.d.ts.map +1 -0
  436. package/dist/service/stepfunctions/command/tag/tag.command.js +2 -0
  437. package/dist/service/stepfunctions/command/tag/tag.command.js.map +1 -0
  438. package/dist/service/stepfunctions/data/sim-states-context-object.d.ts +45 -0
  439. package/dist/service/stepfunctions/data/sim-states-context-object.d.ts.map +1 -0
  440. package/dist/service/stepfunctions/data/sim-states-context-object.js +48 -0
  441. package/dist/service/stepfunctions/data/sim-states-context-object.js.map +1 -0
  442. package/dist/service/stepfunctions/data/sim-states-context-path.d.ts +22 -0
  443. package/dist/service/stepfunctions/data/sim-states-context-path.d.ts.map +1 -0
  444. package/dist/service/stepfunctions/data/sim-states-context-path.js +30 -0
  445. package/dist/service/stepfunctions/data/sim-states-context-path.js.map +1 -0
  446. package/dist/service/stepfunctions/data/sim-states-data-flow.d.ts +3 -2
  447. package/dist/service/stepfunctions/data/sim-states-data-flow.d.ts.map +1 -1
  448. package/dist/service/stepfunctions/data/sim-states-data-flow.js +10 -9
  449. package/dist/service/stepfunctions/data/sim-states-data-flow.js.map +1 -1
  450. package/dist/service/stepfunctions/data/sim-states-intrinsic.d.ts +1 -1
  451. package/dist/service/stepfunctions/data/sim-states-intrinsic.d.ts.map +1 -1
  452. package/dist/service/stepfunctions/data/sim-states-intrinsic.js +6 -7
  453. package/dist/service/stepfunctions/data/sim-states-intrinsic.js.map +1 -1
  454. package/dist/service/stepfunctions/data/sim-states-payload-template.d.ts +9 -6
  455. package/dist/service/stepfunctions/data/sim-states-payload-template.d.ts.map +1 -1
  456. package/dist/service/stepfunctions/data/sim-states-payload-template.js +16 -14
  457. package/dist/service/stepfunctions/data/sim-states-payload-template.js.map +1 -1
  458. package/dist/service/stepfunctions/data/sim-states-reference-path.d.ts.map +1 -1
  459. package/dist/service/stepfunctions/data/sim-states-reference-path.js +4 -2
  460. package/dist/service/stepfunctions/data/sim-states-reference-path.js.map +1 -1
  461. package/dist/service/stepfunctions/definition/sim-states-definition-parse.d.ts +8 -0
  462. package/dist/service/stepfunctions/definition/sim-states-definition-parse.d.ts.map +1 -1
  463. package/dist/service/stepfunctions/definition/sim-states-definition-parse.js +9 -1
  464. package/dist/service/stepfunctions/definition/sim-states-definition-parse.js.map +1 -1
  465. package/dist/service/stepfunctions/definition/sim-states-map-fields.d.ts +23 -0
  466. package/dist/service/stepfunctions/definition/sim-states-map-fields.d.ts.map +1 -0
  467. package/dist/service/stepfunctions/definition/sim-states-map-fields.js +60 -0
  468. package/dist/service/stepfunctions/definition/sim-states-map-fields.js.map +1 -0
  469. package/dist/service/stepfunctions/definition/sim-states-map-parse.d.ts +12 -0
  470. package/dist/service/stepfunctions/definition/sim-states-map-parse.d.ts.map +1 -0
  471. package/dist/service/stepfunctions/definition/sim-states-map-parse.js +56 -0
  472. package/dist/service/stepfunctions/definition/sim-states-map-parse.js.map +1 -0
  473. package/dist/service/stepfunctions/definition/sim-states-map-processor.d.ts +11 -0
  474. package/dist/service/stepfunctions/definition/sim-states-map-processor.d.ts.map +1 -0
  475. package/dist/service/stepfunctions/definition/sim-states-map-processor.js +62 -0
  476. package/dist/service/stepfunctions/definition/sim-states-map-processor.js.map +1 -0
  477. package/dist/service/stepfunctions/definition/sim-states-nested-refusal.d.ts +14 -0
  478. package/dist/service/stepfunctions/definition/sim-states-nested-refusal.d.ts.map +1 -0
  479. package/dist/service/stepfunctions/definition/sim-states-nested-refusal.js +23 -0
  480. package/dist/service/stepfunctions/definition/sim-states-nested-refusal.js.map +1 -0
  481. package/dist/service/stepfunctions/definition/sim-states-parallel-parse.d.ts +10 -0
  482. package/dist/service/stepfunctions/definition/sim-states-parallel-parse.d.ts.map +1 -0
  483. package/dist/service/stepfunctions/definition/sim-states-parallel-parse.js +50 -0
  484. package/dist/service/stepfunctions/definition/sim-states-parallel-parse.js.map +1 -0
  485. package/dist/service/stepfunctions/definition/sim-states-state-fields.d.ts.map +1 -1
  486. package/dist/service/stepfunctions/definition/sim-states-state-fields.js +5 -0
  487. package/dist/service/stepfunctions/definition/sim-states-state-fields.js.map +1 -1
  488. package/dist/service/stepfunctions/definition/sim-states-state-parse.d.ts.map +1 -1
  489. package/dist/service/stepfunctions/definition/sim-states-state-parse.js +15 -7
  490. package/dist/service/stepfunctions/definition/sim-states-state-parse.js.map +1 -1
  491. package/dist/service/stepfunctions/definition/sim-states-state.d.ts +35 -11
  492. package/dist/service/stepfunctions/definition/sim-states-state.d.ts.map +1 -1
  493. package/dist/service/stepfunctions/definition/sim-states-state.js +1 -15
  494. package/dist/service/stepfunctions/definition/sim-states-state.js.map +1 -1
  495. package/dist/service/stepfunctions/definition/sim-states-transitions.d.ts.map +1 -1
  496. package/dist/service/stepfunctions/definition/sim-states-transitions.js +14 -0
  497. package/dist/service/stepfunctions/definition/sim-states-transitions.js.map +1 -1
  498. package/dist/service/stepfunctions/definition/store/sim-s3-states-definition-store.d.ts +45 -0
  499. package/dist/service/stepfunctions/definition/store/sim-s3-states-definition-store.d.ts.map +1 -0
  500. package/dist/service/stepfunctions/definition/store/sim-s3-states-definition-store.js +58 -0
  501. package/dist/service/stepfunctions/definition/store/sim-s3-states-definition-store.js.map +1 -0
  502. package/dist/service/stepfunctions/definition/store/sim-states-definition-store.d.ts +34 -0
  503. package/dist/service/stepfunctions/definition/store/sim-states-definition-store.d.ts.map +1 -0
  504. package/dist/service/stepfunctions/definition/store/sim-states-definition-store.js +14 -0
  505. package/dist/service/stepfunctions/definition/store/sim-states-definition-store.js.map +1 -0
  506. package/dist/service/stepfunctions/error/sim-step-functions.error.d.ts +36 -0
  507. package/dist/service/stepfunctions/error/sim-step-functions.error.d.ts.map +1 -1
  508. package/dist/service/stepfunctions/error/sim-step-functions.error.js +42 -0
  509. package/dist/service/stepfunctions/error/sim-step-functions.error.js.map +1 -1
  510. package/dist/service/stepfunctions/execution/sim-states-attempt.d.ts +16 -0
  511. package/dist/service/stepfunctions/execution/sim-states-attempt.d.ts.map +1 -0
  512. package/dist/service/stepfunctions/execution/sim-states-attempt.js +2 -0
  513. package/dist/service/stepfunctions/execution/sim-states-attempt.js.map +1 -0
  514. package/dist/service/stepfunctions/execution/sim-states-child-failure.d.ts +11 -0
  515. package/dist/service/stepfunctions/execution/sim-states-child-failure.d.ts.map +1 -0
  516. package/dist/service/stepfunctions/execution/sim-states-child-failure.js +20 -0
  517. package/dist/service/stepfunctions/execution/sim-states-child-failure.js.map +1 -0
  518. package/dist/service/stepfunctions/execution/sim-states-child-run.d.ts +55 -0
  519. package/dist/service/stepfunctions/execution/sim-states-child-run.d.ts.map +1 -0
  520. package/dist/service/stepfunctions/execution/sim-states-child-run.js +86 -0
  521. package/dist/service/stepfunctions/execution/sim-states-child-run.js.map +1 -0
  522. package/dist/service/stepfunctions/execution/sim-states-child-runs.d.ts +69 -0
  523. package/dist/service/stepfunctions/execution/sim-states-child-runs.d.ts.map +1 -0
  524. package/dist/service/stepfunctions/execution/sim-states-child-runs.js +114 -0
  525. package/dist/service/stepfunctions/execution/sim-states-child-runs.js.map +1 -0
  526. package/dist/service/stepfunctions/execution/sim-states-child-walk.d.ts +43 -0
  527. package/dist/service/stepfunctions/execution/sim-states-child-walk.d.ts.map +1 -0
  528. package/dist/service/stepfunctions/execution/sim-states-child-walk.js +2 -0
  529. package/dist/service/stepfunctions/execution/sim-states-child-walk.js.map +1 -0
  530. package/dist/service/stepfunctions/execution/sim-states-child.d.ts +41 -0
  531. package/dist/service/stepfunctions/execution/sim-states-child.d.ts.map +1 -0
  532. package/dist/service/stepfunctions/execution/sim-states-child.js +2 -0
  533. package/dist/service/stepfunctions/execution/sim-states-child.js.map +1 -0
  534. package/dist/service/stepfunctions/execution/sim-states-execution.d.ts +32 -3
  535. package/dist/service/stepfunctions/execution/sim-states-execution.d.ts.map +1 -1
  536. package/dist/service/stepfunctions/execution/sim-states-execution.js +42 -2
  537. package/dist/service/stepfunctions/execution/sim-states-execution.js.map +1 -1
  538. package/dist/service/stepfunctions/execution/sim-states-fan-out-outcome.d.ts +19 -0
  539. package/dist/service/stepfunctions/execution/sim-states-fan-out-outcome.d.ts.map +1 -0
  540. package/dist/service/stepfunctions/execution/sim-states-fan-out-outcome.js +15 -0
  541. package/dist/service/stepfunctions/execution/sim-states-fan-out-outcome.js.map +1 -0
  542. package/dist/service/stepfunctions/execution/sim-states-fan-out.d.ts +46 -0
  543. package/dist/service/stepfunctions/execution/sim-states-fan-out.d.ts.map +1 -0
  544. package/dist/service/stepfunctions/execution/sim-states-fan-out.js +106 -0
  545. package/dist/service/stepfunctions/execution/sim-states-fan-out.js.map +1 -0
  546. package/dist/service/stepfunctions/execution/sim-states-interpreter.d.ts +18 -11
  547. package/dist/service/stepfunctions/execution/sim-states-interpreter.d.ts.map +1 -1
  548. package/dist/service/stepfunctions/execution/sim-states-interpreter.js +55 -65
  549. package/dist/service/stepfunctions/execution/sim-states-interpreter.js.map +1 -1
  550. package/dist/service/stepfunctions/execution/sim-states-map-items.d.ts +13 -0
  551. package/dist/service/stepfunctions/execution/sim-states-map-items.d.ts.map +1 -0
  552. package/dist/service/stepfunctions/execution/sim-states-map-items.js +38 -0
  553. package/dist/service/stepfunctions/execution/sim-states-map-items.js.map +1 -0
  554. package/dist/service/stepfunctions/execution/sim-states-map-iteration.d.ts +32 -0
  555. package/dist/service/stepfunctions/execution/sim-states-map-iteration.d.ts.map +1 -0
  556. package/dist/service/stepfunctions/execution/sim-states-map-iteration.js +37 -0
  557. package/dist/service/stepfunctions/execution/sim-states-map-iteration.js.map +1 -0
  558. package/dist/service/stepfunctions/execution/sim-states-run-choice.d.ts.map +1 -1
  559. package/dist/service/stepfunctions/execution/sim-states-run-choice.js +2 -2
  560. package/dist/service/stepfunctions/execution/sim-states-run-choice.js.map +1 -1
  561. package/dist/service/stepfunctions/execution/sim-states-run-map.d.ts +12 -0
  562. package/dist/service/stepfunctions/execution/sim-states-run-map.d.ts.map +1 -0
  563. package/dist/service/stepfunctions/execution/sim-states-run-map.js +25 -0
  564. package/dist/service/stepfunctions/execution/sim-states-run-map.js.map +1 -0
  565. package/dist/service/stepfunctions/execution/sim-states-run-parallel.d.ts +16 -0
  566. package/dist/service/stepfunctions/execution/sim-states-run-parallel.d.ts.map +1 -0
  567. package/dist/service/stepfunctions/execution/sim-states-run-parallel.js +31 -0
  568. package/dist/service/stepfunctions/execution/sim-states-run-parallel.js.map +1 -0
  569. package/dist/service/stepfunctions/execution/sim-states-run-record.d.ts +47 -0
  570. package/dist/service/stepfunctions/execution/sim-states-run-record.d.ts.map +1 -0
  571. package/dist/service/stepfunctions/execution/sim-states-run-record.js +2 -0
  572. package/dist/service/stepfunctions/execution/sim-states-run-record.js.map +1 -0
  573. package/dist/service/stepfunctions/execution/sim-states-run-state.d.ts +4 -3
  574. package/dist/service/stepfunctions/execution/sim-states-run-state.d.ts.map +1 -1
  575. package/dist/service/stepfunctions/execution/sim-states-run-state.js +20 -11
  576. package/dist/service/stepfunctions/execution/sim-states-run-state.js.map +1 -1
  577. package/dist/service/stepfunctions/execution/sim-states-run-task.d.ts.map +1 -1
  578. package/dist/service/stepfunctions/execution/sim-states-run-task.js +2 -2
  579. package/dist/service/stepfunctions/execution/sim-states-run-task.js.map +1 -1
  580. package/dist/service/stepfunctions/execution/sim-states-run-wait.d.ts.map +1 -1
  581. package/dist/service/stepfunctions/execution/sim-states-run-wait.js +2 -2
  582. package/dist/service/stepfunctions/execution/sim-states-run-wait.js.map +1 -1
  583. package/dist/service/stepfunctions/execution/sim-states-settlement.d.ts +7 -3
  584. package/dist/service/stepfunctions/execution/sim-states-settlement.d.ts.map +1 -1
  585. package/dist/service/stepfunctions/execution/sim-states-settlement.js +11 -5
  586. package/dist/service/stepfunctions/execution/sim-states-settlement.js.map +1 -1
  587. package/dist/service/stepfunctions/execution/sim-states-state-attempts.d.ts +37 -0
  588. package/dist/service/stepfunctions/execution/sim-states-state-attempts.d.ts.map +1 -0
  589. package/dist/service/stepfunctions/execution/sim-states-state-attempts.js +112 -0
  590. package/dist/service/stepfunctions/execution/sim-states-state-attempts.js.map +1 -0
  591. package/dist/service/stepfunctions/execution/sim-states-state-outcome.d.ts +69 -15
  592. package/dist/service/stepfunctions/execution/sim-states-state-outcome.d.ts.map +1 -1
  593. package/dist/service/stepfunctions/execution/sim-states-state-runner.d.ts +26 -12
  594. package/dist/service/stepfunctions/execution/sim-states-state-runner.d.ts.map +1 -1
  595. package/dist/service/stepfunctions/execution/sim-states-state-runner.js +55 -15
  596. package/dist/service/stepfunctions/execution/sim-states-state-runner.js.map +1 -1
  597. package/dist/service/stepfunctions/execution/sim-states-walk-steps.d.ts +19 -0
  598. package/dist/service/stepfunctions/execution/sim-states-walk-steps.d.ts.map +1 -0
  599. package/dist/service/stepfunctions/execution/sim-states-walk-steps.js +35 -0
  600. package/dist/service/stepfunctions/execution/sim-states-walk-steps.js.map +1 -0
  601. package/dist/service/stepfunctions/execution/sim-states-walk.d.ts +19 -0
  602. package/dist/service/stepfunctions/execution/sim-states-walk.d.ts.map +1 -0
  603. package/dist/service/stepfunctions/execution/sim-states-walk.js +2 -0
  604. package/dist/service/stepfunctions/execution/sim-states-walk.js.map +1 -0
  605. package/dist/service/stepfunctions/execution/sim-states-walks.d.ts +25 -0
  606. package/dist/service/stepfunctions/execution/sim-states-walks.d.ts.map +1 -0
  607. package/dist/service/stepfunctions/execution/sim-states-walks.js +25 -0
  608. package/dist/service/stepfunctions/execution/sim-states-walks.js.map +1 -0
  609. package/dist/service/stepfunctions/index.d.ts +10 -3
  610. package/dist/service/stepfunctions/index.d.ts.map +1 -1
  611. package/dist/service/stepfunctions/index.js +4 -2
  612. package/dist/service/stepfunctions/index.js.map +1 -1
  613. package/dist/service/stepfunctions/machine/sim-state-machine-tag.d.ts +43 -0
  614. package/dist/service/stepfunctions/machine/sim-state-machine-tag.d.ts.map +1 -0
  615. package/dist/service/stepfunctions/machine/sim-state-machine-tag.js +111 -0
  616. package/dist/service/stepfunctions/machine/sim-state-machine-tag.js.map +1 -0
  617. package/dist/service/stepfunctions/machine/sim-state-machine-tags.d.ts +39 -0
  618. package/dist/service/stepfunctions/machine/sim-state-machine-tags.d.ts.map +1 -0
  619. package/dist/service/stepfunctions/machine/sim-state-machine-tags.js +80 -0
  620. package/dist/service/stepfunctions/machine/sim-state-machine-tags.js.map +1 -0
  621. package/dist/service/stepfunctions/machine/sim-state-machine.d.ts +6 -0
  622. package/dist/service/stepfunctions/machine/sim-state-machine.d.ts.map +1 -1
  623. package/dist/service/stepfunctions/machine/sim-state-machine.js +5 -0
  624. package/dist/service/stepfunctions/machine/sim-state-machine.js.map +1 -1
  625. package/dist/service/stepfunctions/retry/sim-states-attempt-state.d.ts +37 -0
  626. package/dist/service/stepfunctions/retry/sim-states-attempt-state.d.ts.map +1 -0
  627. package/dist/service/stepfunctions/retry/sim-states-attempt-state.js +38 -0
  628. package/dist/service/stepfunctions/retry/sim-states-attempt-state.js.map +1 -0
  629. package/dist/service/stepfunctions/retry/sim-states-catch-outcome.d.ts +11 -0
  630. package/dist/service/stepfunctions/retry/sim-states-catch-outcome.d.ts.map +1 -0
  631. package/dist/service/stepfunctions/retry/sim-states-catch-outcome.js +20 -0
  632. package/dist/service/stepfunctions/retry/sim-states-catch-outcome.js.map +1 -0
  633. package/dist/service/stepfunctions/retry/sim-states-catch-parse.d.ts +11 -0
  634. package/dist/service/stepfunctions/retry/sim-states-catch-parse.d.ts.map +1 -0
  635. package/dist/service/stepfunctions/retry/sim-states-catch-parse.js +49 -0
  636. package/dist/service/stepfunctions/retry/sim-states-catch-parse.js.map +1 -0
  637. package/dist/service/stepfunctions/retry/sim-states-catcher.d.ts +29 -0
  638. package/dist/service/stepfunctions/retry/sim-states-catcher.d.ts.map +1 -0
  639. package/dist/service/stepfunctions/retry/sim-states-catcher.js +31 -0
  640. package/dist/service/stepfunctions/retry/sim-states-catcher.js.map +1 -0
  641. package/dist/service/stepfunctions/retry/sim-states-error-equals.d.ts +19 -0
  642. package/dist/service/stepfunctions/retry/sim-states-error-equals.d.ts.map +1 -0
  643. package/dist/service/stepfunctions/retry/sim-states-error-equals.js +69 -0
  644. package/dist/service/stepfunctions/retry/sim-states-error-equals.js.map +1 -0
  645. package/dist/service/stepfunctions/retry/sim-states-error-handling.d.ts +31 -0
  646. package/dist/service/stepfunctions/retry/sim-states-error-handling.d.ts.map +1 -0
  647. package/dist/service/stepfunctions/retry/sim-states-error-handling.js +40 -0
  648. package/dist/service/stepfunctions/retry/sim-states-error-handling.js.map +1 -0
  649. package/dist/service/stepfunctions/retry/sim-states-error-name.d.ts +29 -0
  650. package/dist/service/stepfunctions/retry/sim-states-error-name.d.ts.map +1 -0
  651. package/dist/service/stepfunctions/retry/sim-states-error-name.js +34 -0
  652. package/dist/service/stepfunctions/retry/sim-states-error-name.js.map +1 -0
  653. package/dist/service/stepfunctions/retry/sim-states-recover.d.ts +31 -0
  654. package/dist/service/stepfunctions/retry/sim-states-recover.d.ts.map +1 -0
  655. package/dist/service/stepfunctions/retry/sim-states-recover.js +23 -0
  656. package/dist/service/stepfunctions/retry/sim-states-recover.js.map +1 -0
  657. package/dist/service/stepfunctions/retry/sim-states-recovered.d.ts +22 -0
  658. package/dist/service/stepfunctions/retry/sim-states-recovered.d.ts.map +1 -0
  659. package/dist/service/stepfunctions/retry/sim-states-recovered.js +33 -0
  660. package/dist/service/stepfunctions/retry/sim-states-recovered.js.map +1 -0
  661. package/dist/service/stepfunctions/retry/sim-states-retrier.d.ts +35 -0
  662. package/dist/service/stepfunctions/retry/sim-states-retrier.d.ts.map +1 -0
  663. package/dist/service/stepfunctions/retry/sim-states-retrier.js +31 -0
  664. package/dist/service/stepfunctions/retry/sim-states-retrier.js.map +1 -0
  665. package/dist/service/stepfunctions/retry/sim-states-retry-outcome.d.ts +12 -0
  666. package/dist/service/stepfunctions/retry/sim-states-retry-outcome.d.ts.map +1 -0
  667. package/dist/service/stepfunctions/retry/sim-states-retry-outcome.js +44 -0
  668. package/dist/service/stepfunctions/retry/sim-states-retry-outcome.js.map +1 -0
  669. package/dist/service/stepfunctions/retry/sim-states-retry-parse.d.ts +11 -0
  670. package/dist/service/stepfunctions/retry/sim-states-retry-parse.d.ts.map +1 -0
  671. package/dist/service/stepfunctions/retry/sim-states-retry-parse.js +76 -0
  672. package/dist/service/stepfunctions/retry/sim-states-retry-parse.js.map +1 -0
  673. package/dist/service/stepfunctions/retry/sim-states-task-deadline.d.ts +43 -0
  674. package/dist/service/stepfunctions/retry/sim-states-task-deadline.d.ts.map +1 -0
  675. package/dist/service/stepfunctions/retry/sim-states-task-deadline.js +76 -0
  676. package/dist/service/stepfunctions/retry/sim-states-task-deadline.js.map +1 -0
  677. package/dist/service/stepfunctions/retry/sim-states-task-handling.d.ts +11 -0
  678. package/dist/service/stepfunctions/retry/sim-states-task-handling.d.ts.map +1 -0
  679. package/dist/service/stepfunctions/retry/sim-states-task-handling.js +2 -0
  680. package/dist/service/stepfunctions/retry/sim-states-task-handling.js.map +1 -0
  681. package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.d.ts.map +1 -1
  682. package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.js +12 -0
  683. package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.js.map +1 -1
  684. package/dist/service/stepfunctions/sim-step-functions-inspection.d.ts +28 -0
  685. package/dist/service/stepfunctions/sim-step-functions-inspection.d.ts.map +1 -1
  686. package/dist/service/stepfunctions/sim-step-functions-inspection.js +38 -0
  687. package/dist/service/stepfunctions/sim-step-functions-inspection.js.map +1 -1
  688. package/dist/service/stepfunctions/sim-step-functions.d.ts +17 -0
  689. package/dist/service/stepfunctions/sim-step-functions.d.ts.map +1 -1
  690. package/dist/service/stepfunctions/sim-step-functions.js +31 -1
  691. package/dist/service/stepfunctions/sim-step-functions.js.map +1 -1
  692. package/dist/service/stepfunctions/task/service/sim-states-optimized-integrations.d.ts +36 -0
  693. package/dist/service/stepfunctions/task/service/sim-states-optimized-integrations.d.ts.map +1 -0
  694. package/dist/service/stepfunctions/task/service/sim-states-optimized-integrations.js +115 -0
  695. package/dist/service/stepfunctions/task/service/sim-states-optimized-integrations.js.map +1 -0
  696. package/dist/service/stepfunctions/task/service/sim-states-service-call.d.ts +25 -0
  697. package/dist/service/stepfunctions/task/service/sim-states-service-call.d.ts.map +1 -0
  698. package/dist/service/stepfunctions/task/service/sim-states-service-call.js +51 -0
  699. package/dist/service/stepfunctions/task/service/sim-states-service-call.js.map +1 -0
  700. package/dist/service/stepfunctions/task/service/sim-states-service-failure.d.ts +17 -0
  701. package/dist/service/stepfunctions/task/service/sim-states-service-failure.d.ts.map +1 -0
  702. package/dist/service/stepfunctions/task/service/sim-states-service-failure.js +43 -0
  703. package/dist/service/stepfunctions/task/service/sim-states-service-failure.js.map +1 -0
  704. package/dist/service/stepfunctions/task/service/sim-states-service-name.d.ts +42 -0
  705. package/dist/service/stepfunctions/task/service/sim-states-service-name.d.ts.map +1 -0
  706. package/dist/service/stepfunctions/task/service/sim-states-service-name.js +74 -0
  707. package/dist/service/stepfunctions/task/service/sim-states-service-name.js.map +1 -0
  708. package/dist/service/stepfunctions/task/service/sim-states-service-resource.d.ts +10 -0
  709. package/dist/service/stepfunctions/task/service/sim-states-service-resource.d.ts.map +1 -0
  710. package/dist/service/stepfunctions/task/service/sim-states-service-resource.js +79 -0
  711. package/dist/service/stepfunctions/task/service/sim-states-service-resource.js.map +1 -0
  712. package/dist/service/stepfunctions/task/service/sim-states-service-shape.d.ts +27 -0
  713. package/dist/service/stepfunctions/task/service/sim-states-service-shape.d.ts.map +1 -0
  714. package/dist/service/stepfunctions/task/service/sim-states-service-shape.js +2 -0
  715. package/dist/service/stepfunctions/task/service/sim-states-service-shape.js.map +1 -0
  716. package/dist/service/stepfunctions/task/service/sim-states-service-target.d.ts +33 -0
  717. package/dist/service/stepfunctions/task/service/sim-states-service-target.d.ts.map +1 -0
  718. package/dist/service/stepfunctions/task/service/sim-states-service-target.js +60 -0
  719. package/dist/service/stepfunctions/task/service/sim-states-service-target.js.map +1 -0
  720. package/dist/service/stepfunctions/task/sim-aws-states-task-targets.d.ts +11 -9
  721. package/dist/service/stepfunctions/task/sim-aws-states-task-targets.d.ts.map +1 -1
  722. package/dist/service/stepfunctions/task/sim-aws-states-task-targets.js +16 -20
  723. package/dist/service/stepfunctions/task/sim-aws-states-task-targets.js.map +1 -1
  724. package/dist/service/stepfunctions/task/sim-states-function-arn-target.d.ts +2 -2
  725. package/dist/service/stepfunctions/task/sim-states-function-arn-target.d.ts.map +1 -1
  726. package/dist/service/stepfunctions/task/sim-states-function-arn-target.js +2 -2
  727. package/dist/service/stepfunctions/task/sim-states-function-arn-target.js.map +1 -1
  728. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-parameters.d.ts +9 -0
  729. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-parameters.d.ts.map +1 -0
  730. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-parameters.js +37 -0
  731. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-parameters.js.map +1 -0
  732. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.d.ts +2 -2
  733. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.d.ts.map +1 -1
  734. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.js +2 -2
  735. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.js.map +1 -1
  736. package/dist/service/stepfunctions/task/sim-states-lambda-target.d.ts +38 -0
  737. package/dist/service/stepfunctions/task/sim-states-lambda-target.d.ts.map +1 -0
  738. package/dist/service/stepfunctions/task/sim-states-lambda-target.js +37 -0
  739. package/dist/service/stepfunctions/task/sim-states-lambda-target.js.map +1 -0
  740. package/dist/service/stepfunctions/task/sim-states-task-fields.d.ts +6 -5
  741. package/dist/service/stepfunctions/task/sim-states-task-fields.d.ts.map +1 -1
  742. package/dist/service/stepfunctions/task/sim-states-task-fields.js +9 -10
  743. package/dist/service/stepfunctions/task/sim-states-task-fields.js.map +1 -1
  744. package/dist/service/stepfunctions/task/sim-states-task-function.d.ts +2 -2
  745. package/dist/service/stepfunctions/task/sim-states-task-function.d.ts.map +1 -1
  746. package/dist/service/stepfunctions/task/sim-states-task-resource.d.ts +2 -2
  747. package/dist/service/stepfunctions/task/sim-states-task-resource.d.ts.map +1 -1
  748. package/dist/service/stepfunctions/task/sim-states-task-resource.js +16 -40
  749. package/dist/service/stepfunctions/task/sim-states-task-resource.js.map +1 -1
  750. package/dist/service/stepfunctions/task/sim-states-task-target.d.ts +33 -17
  751. package/dist/service/stepfunctions/task/sim-states-task-target.d.ts.map +1 -1
  752. package/dist/service/stepfunctions/task/sim-states-task-target.js +4 -5
  753. package/dist/service/stepfunctions/task/sim-states-task-target.js.map +1 -1
  754. package/dist/util/process/sim-process-environment.d.ts +9 -0
  755. package/dist/util/process/sim-process-environment.d.ts.map +1 -1
  756. package/dist/util/process/sim-process-environment.js +17 -0
  757. package/dist/util/process/sim-process-environment.js.map +1 -1
  758. package/dist/util/throttle/sim-token-bucket.d.ts +32 -0
  759. package/dist/util/throttle/sim-token-bucket.d.ts.map +1 -0
  760. package/dist/util/throttle/sim-token-bucket.js +53 -0
  761. package/dist/util/throttle/sim-token-bucket.js.map +1 -0
  762. package/package.json +3 -2
  763. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.d.ts.map +0 -1
  764. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.js.map +0 -1
  765. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.d.ts.map +0 -1
  766. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.js.map +0 -1
  767. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.d.ts.map +0 -1
  768. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.js.map +0 -1
  769. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.d.ts.map +0 -1
  770. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.js.map +0 -1
  771. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.d.ts.map +0 -1
  772. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.js.map +0 -1
  773. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.d.ts.map +0 -1
  774. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.js.map +0 -1
  775. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.d.ts.map +0 -1
  776. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.js.map +0 -1
  777. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.d.ts.map +0 -1
  778. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.js.map +0 -1
  779. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.d.ts.map +0 -1
  780. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.js.map +0 -1
  781. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.d.ts.map +0 -1
  782. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.js.map +0 -1
  783. /package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-cfn-step-functions-resource-error.d.ts +0 -0
  784. /package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-cfn-step-functions-resource-types.d.ts +0 -0
  785. /package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-cfn-step-functions-resource-types.js +0 -0
  786. /package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-name.d.ts +0 -0
  787. /package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-property-names.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"sim-state-machine-input.js","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/machine/sim-state-machine-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,iDAAiD,CAAC;AAE3F,OAAO,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AAElF,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AActE;;GAEG;AACH,MAAM,UAAU,8BAA8B,CAC5C,KAAiD;IAEjD,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IAElD,IAAI,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,EAAE,EAAE,CAAC;QACtC,MAAM,IAAI,uBAAuB,CAAC,kCAAkC,CAAC,CAAC;IACxE,CAAC;IAED,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;QAC7B,MAAM,IAAI,uBAAuB,CAAC,wCAAwC,CAAC,CAAC;IAC9E,CAAC;IAED,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;QAC1B,MAAM,IAAI,uBAAuB,CAAC,qCAAqC,CAAC,CAAC;IAC3E,CAAC;IAED,OAAO;QACL,IAAI,EAAE,kBAAkB,CAAC,IAAI,EAAE,wBAAwB,CAAC;QACxD,UAAU;QACV,MAAM,EAAE,wBAAwB,CAAC,UAAU,CAAC;QAC5C,OAAO;QACP,IAAI,EAAE,uBAAuB,CAAC,IAAI,CAAC;KACpC,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,uBAAuB,CACrC,IAAwB;IAExB,IAAI,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,UAAU,EAAE,CAAC;QAC9C,OAAO,UAAU,CAAC;IACpB,CAAC;IAED,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;QACvB,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,MAAM,IAAI,uBAAuB,CAC/B,GAAG,IAAI,0DAA0D,CAClE,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"sim-state-machine-input.js","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/machine/sim-state-machine-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,iDAAiD,CAAC;AAE3F,OAAO,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AAElF,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAe9E;;GAEG;AACH,MAAM,UAAU,8BAA8B,CAC5C,KAAiD;IAEjD,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IAExD,IAAI,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,EAAE,EAAE,CAAC;QACtC,MAAM,IAAI,uBAAuB,CAAC,kCAAkC,CAAC,CAAC;IACxE,CAAC;IAED,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;QAC7B,MAAM,IAAI,uBAAuB,CAAC,wCAAwC,CAAC,CAAC;IAC9E,CAAC;IAED,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;QAC1B,MAAM,IAAI,uBAAuB,CAAC,qCAAqC,CAAC,CAAC;IAC3E,CAAC;IAED,OAAO;QACL,IAAI,EAAE,kBAAkB,CAAC,IAAI,EAAE,wBAAwB,CAAC;QACxD,UAAU;QACV,MAAM,EAAE,wBAAwB,CAAC,UAAU,CAAC;QAC5C,OAAO;QACP,IAAI,EAAE,uBAAuB,CAAC,IAAI,CAAC;QACnC,IAAI,EAAE,mBAAmB,CAAC,SAAS,CAAC,IAAI,CAAC;KAC1C,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,uBAAuB,CACrC,IAAwB;IAExB,IAAI,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,UAAU,EAAE,CAAC;QAC9C,OAAO,UAAU,CAAC;IACpB,CAAC;IAED,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;QACvB,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,MAAM,IAAI,uBAAuB,CAC/B,GAAG,IAAI,0DAA0D,CAClE,CAAC;AACJ,CAAC"}
@@ -3,4 +3,5 @@
3
3
  */
4
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
5
  export type { SimDescribeExecutionCommand, SimDescribeExecutionCommandInput, SimDescribeExecutionCommandOutput, SimStartExecutionCommand, SimStartExecutionCommandInput, SimStartExecutionCommandOutput, } from "./execution/execution.command.js";
6
+ export type { SimListTagsForResourceCommand, SimListTagsForResourceCommandInput, SimListTagsForResourceCommandOutput, SimTagResourceCommand, SimTagResourceCommandInput, SimTagResourceCommandOutput, SimUntagResourceCommand, SimUntagResourceCommandInput, SimUntagResourceCommandOutput, } from "./tag/tag.command.js";
6
7
  //# sourceMappingURL=sim-step-functions-command.types.d.ts.map
@@ -1 +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"}
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;AAC1C,YAAY,EACV,6BAA6B,EAC7B,kCAAkC,EAClC,mCAAmC,EACnC,qBAAqB,EACrB,0BAA0B,EAC1B,2BAA2B,EAC3B,uBAAuB,EACvB,4BAA4B,EAC5B,6BAA6B,GAC9B,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,36 @@
1
+ import type { SimStateMachineStore } from "../../machine/sim-state-machine-store.js";
2
+ import type { SimListTagsForResourceCommand, SimListTagsForResourceCommandOutput, SimTagResourceCommand, SimTagResourceCommandOutput, SimUntagResourceCommand, SimUntagResourceCommandOutput } from "./tag.command.js";
3
+ /**
4
+ * The commands that tag, untag and list the tags of a resource.
5
+ *
6
+ * All three name their resource by ARN and reach it the same way, so an ARN
7
+ * naming no state machine gives `ResourceNotFound` whichever of the three
8
+ * asked. A tag request is read before the resource is reached, so a request
9
+ * Step Functions would refuse is refused whether or not the state machine is
10
+ * there.
11
+ */
12
+ export declare class SimStateMachineTagCommands {
13
+ #private;
14
+ constructor(stateMachines: SimStateMachineStore);
15
+ /**
16
+ * Add tags to a resource, replacing the value of any key already there.
17
+ */
18
+ tagResource(command: SimTagResourceCommand): SimTagResourceCommandOutput;
19
+ /**
20
+ * Take tags off a resource.
21
+ */
22
+ untagResource(command: SimUntagResourceCommand): SimUntagResourceCommandOutput;
23
+ /**
24
+ * List the tags a resource holds.
25
+ */
26
+ listTagsForResource(command: SimListTagsForResourceCommand): SimListTagsForResourceCommandOutput;
27
+ /**
28
+ * The state machine an ARN names, or why it could not be reached.
29
+ *
30
+ * A `states` ARN naming an activity or an execution parses as neither, and
31
+ * is refused as an ARN this simulation tags nothing under. Only a state
32
+ * machine holds tags here.
33
+ */
34
+ private reach;
35
+ }
36
+ //# sourceMappingURL=sim-state-machine-tag-commands.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-state-machine-tag-commands.d.ts","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/tag/sim-state-machine-tag-commands.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,KAAK,EACV,6BAA6B,EAC7B,mCAAmC,EACnC,qBAAqB,EACrB,2BAA2B,EAC3B,uBAAuB,EACvB,6BAA6B,EAC9B,MAAM,kBAAkB,CAAC;AAE1B;;;;;;;;GAQG;AACH,qBAAa,0BAA0B;;IAGrC,YAAY,aAAa,EAAE,oBAAoB,EAE9C;IAED;;OAEG;IACH,WAAW,CAAC,OAAO,EAAE,qBAAqB,GAAG,2BAA2B,CAevE;IAED;;OAEG;IACH,aAAa,CACX,OAAO,EAAE,uBAAuB,GAC/B,6BAA6B,CAa/B;IAED;;OAEG;IACH,mBAAmB,CACjB,OAAO,EAAE,6BAA6B,GACrC,mCAAmC,CAOrC;IAED;;;;;;OAMG;IACH,OAAO,CAAC,KAAK;CAyBd"}
@@ -0,0 +1,76 @@
1
+ import { SimStatesInvalidRequest, SimStatesTaggedResourceNotFound, } from "../../error/sim-step-functions.error.js";
2
+ import { parseSimStateMachineArn } from "../../machine/sim-state-machine-arn.js";
3
+ import { readSimStatesTags } from "../../machine/sim-state-machine-tag.js";
4
+ /**
5
+ * The commands that tag, untag and list the tags of a resource.
6
+ *
7
+ * All three name their resource by ARN and reach it the same way, so an ARN
8
+ * naming no state machine gives `ResourceNotFound` whichever of the three
9
+ * asked. A tag request is read before the resource is reached, so a request
10
+ * Step Functions would refuse is refused whether or not the state machine is
11
+ * there.
12
+ */
13
+ export class SimStateMachineTagCommands {
14
+ #stateMachines;
15
+ constructor(stateMachines) {
16
+ this.#stateMachines = stateMachines;
17
+ }
18
+ /**
19
+ * Add tags to a resource, replacing the value of any key already there.
20
+ */
21
+ tagResource(command) {
22
+ const { resourceArn, tags } = command.input;
23
+ if (tags === undefined) {
24
+ throw new SimStatesInvalidRequest("TagResource needs tags.");
25
+ }
26
+ // The request is read before the resource is reached, so a tag Step
27
+ // Functions would refuse is refused whether or not the state machine is
28
+ // there.
29
+ const read = readSimStatesTags(tags);
30
+ this.reach(resourceArn, "TagResource").tags.apply(read);
31
+ return {};
32
+ }
33
+ /**
34
+ * Take tags off a resource.
35
+ */
36
+ untagResource(command) {
37
+ const { resourceArn, tagKeys } = command.input;
38
+ if (tagKeys === undefined) {
39
+ throw new SimStatesInvalidRequest("UntagResource needs tagKeys.");
40
+ }
41
+ // An empty list is a request Step Functions takes. UntagResource asks for
42
+ // a resource without the keys it names, and naming none of them asks for
43
+ // the resource as it already is.
44
+ this.reach(resourceArn, "UntagResource").tags.remove(tagKeys);
45
+ return {};
46
+ }
47
+ /**
48
+ * List the tags a resource holds.
49
+ */
50
+ listTagsForResource(command) {
51
+ const stateMachine = this.reach(command.input.resourceArn, "ListTagsForResource");
52
+ return { tags: stateMachine.tags.ordered().map((tag) => tag.toTag()) };
53
+ }
54
+ /**
55
+ * The state machine an ARN names, or why it could not be reached.
56
+ *
57
+ * A `states` ARN naming an activity or an execution parses as neither, and
58
+ * is refused as an ARN this simulation tags nothing under. Only a state
59
+ * machine holds tags here.
60
+ */
61
+ reach(resourceArn, commandName) {
62
+ if (resourceArn === undefined || resourceArn === "") {
63
+ throw new SimStatesInvalidRequest(`${commandName} needs a resourceArn.`);
64
+ }
65
+ if (parseSimStateMachineArn(resourceArn) === undefined) {
66
+ throw new SimStatesInvalidRequest(`${resourceArn} is not a state machine ARN, and a state machine is ` +
67
+ "the only Step Functions resource this simulation tags.");
68
+ }
69
+ const stateMachine = this.#stateMachines.find(resourceArn);
70
+ if (stateMachine === undefined) {
71
+ throw new SimStatesTaggedResourceNotFound(`${resourceArn} is not a simulated state machine in this Account and Region.`);
72
+ }
73
+ return stateMachine;
74
+ }
75
+ }
76
+ //# sourceMappingURL=sim-state-machine-tag-commands.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-state-machine-tag-commands.js","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/tag/sim-state-machine-tag-commands.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,+BAA+B,GAChC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAAO,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAW3E;;;;;;;;GAQG;AACH,MAAM,OAAO,0BAA0B;IAC5B,cAAc,CAAuB;IAE9C,YAAY,aAAmC;QAC7C,IAAI,CAAC,cAAc,GAAG,aAAa,CAAC;IACtC,CAAC;IAED;;OAEG;IACH,WAAW,CAAC,OAA8B;QACxC,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC,KAAK,CAAC;QAE5C,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;YACvB,MAAM,IAAI,uBAAuB,CAAC,yBAAyB,CAAC,CAAC;QAC/D,CAAC;QAED,oEAAoE;QACpE,wEAAwE;QACxE,SAAS;QACT,MAAM,IAAI,GAAG,iBAAiB,CAAC,IAAI,CAAC,CAAC;QAErC,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,aAAa,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QAExD,OAAO,EAAE,CAAC;IACZ,CAAC;IAED;;OAEG;IACH,aAAa,CACX,OAAgC;QAEhC,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,KAAK,CAAC;QAE/C,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;YAC1B,MAAM,IAAI,uBAAuB,CAAC,8BAA8B,CAAC,CAAC;QACpE,CAAC;QAED,0EAA0E;QAC1E,yEAAyE;QACzE,iCAAiC;QACjC,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,eAAe,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAE9D,OAAO,EAAE,CAAC;IACZ,CAAC;IAED;;OAEG;IACH,mBAAmB,CACjB,OAAsC;QAEtC,MAAM,YAAY,GAAG,IAAI,CAAC,KAAK,CAC7B,OAAO,CAAC,KAAK,CAAC,WAAW,EACzB,qBAAqB,CACtB,CAAC;QAEF,OAAO,EAAE,IAAI,EAAE,YAAY,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC,EAAE,CAAC;IACzE,CAAC;IAED;;;;;;OAMG;IACK,KAAK,CACX,WAA+B,EAC/B,WAAmB;QAEnB,IAAI,WAAW,KAAK,SAAS,IAAI,WAAW,KAAK,EAAE,EAAE,CAAC;YACpD,MAAM,IAAI,uBAAuB,CAAC,GAAG,WAAW,uBAAuB,CAAC,CAAC;QAC3E,CAAC;QAED,IAAI,uBAAuB,CAAC,WAAW,CAAC,KAAK,SAAS,EAAE,CAAC;YACvD,MAAM,IAAI,uBAAuB,CAC/B,GAAG,WAAW,sDAAsD;gBAClE,wDAAwD,CAC3D,CAAC;QACJ,CAAC;QAED,MAAM,YAAY,GAAG,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAE3D,IAAI,YAAY,KAAK,SAAS,EAAE,CAAC;YAC/B,MAAM,IAAI,+BAA+B,CACvC,GAAG,WAAW,+DAA+D,CAC9E,CAAC;QACJ,CAAC;QAED,OAAO,YAAY,CAAC;IACtB,CAAC;CACF"}
@@ -0,0 +1,46 @@
1
+ import type { SimStatesTag, SimStatesTagInput } from "../../machine/sim-state-machine-tag.js";
2
+ /**
3
+ * Minimal structural sim Step Functions TagResource input.
4
+ *
5
+ * The resource is named by its ARN, which is how all three tag commands name
6
+ * one.
7
+ */
8
+ export interface SimTagResourceCommandInput {
9
+ readonly resourceArn?: string;
10
+ readonly tags?: readonly SimStatesTagInput[];
11
+ }
12
+ export interface SimTagResourceCommand {
13
+ readonly input: SimTagResourceCommandInput;
14
+ }
15
+ /**
16
+ * Real Step Functions answers with an empty body, so `ListTagsForResource` is
17
+ * the only way to see what a tag request did.
18
+ */
19
+ export type SimTagResourceCommandOutput = Record<string, never>;
20
+ /**
21
+ * Minimal structural sim Step Functions UntagResource input.
22
+ */
23
+ export interface SimUntagResourceCommandInput {
24
+ readonly resourceArn?: string;
25
+ readonly tagKeys?: readonly string[];
26
+ }
27
+ export interface SimUntagResourceCommand {
28
+ readonly input: SimUntagResourceCommandInput;
29
+ }
30
+ export type SimUntagResourceCommandOutput = Record<string, never>;
31
+ /**
32
+ * Minimal structural sim Step Functions ListTagsForResource input.
33
+ *
34
+ * There is no page to ask for. Real Step Functions answers with every tag a
35
+ * resource holds, and its API has no paging on this operation.
36
+ */
37
+ export interface SimListTagsForResourceCommandInput {
38
+ readonly resourceArn?: string;
39
+ }
40
+ export interface SimListTagsForResourceCommand {
41
+ readonly input: SimListTagsForResourceCommandInput;
42
+ }
43
+ export interface SimListTagsForResourceCommandOutput {
44
+ readonly tags: readonly SimStatesTag[];
45
+ }
46
+ //# sourceMappingURL=tag.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tag.command.d.ts","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/tag/tag.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,iBAAiB,EAClB,MAAM,wCAAwC,CAAC;AAEhD;;;;;GAKG;AACH,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,IAAI,CAAC,EAAE,SAAS,iBAAiB,EAAE,CAAC;CAC9C;AAED,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,KAAK,EAAE,0BAA0B,CAAC;CAC5C;AAED;;;GAGG;AACH,MAAM,MAAM,2BAA2B,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAEhE;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACtC;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,KAAK,EAAE,4BAA4B,CAAC;CAC9C;AAED,MAAM,MAAM,6BAA6B,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAElE;;;;;GAKG;AACH,MAAM,WAAW,kCAAkC;IACjD,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,KAAK,EAAE,kCAAkC,CAAC;CACpD;AAED,MAAM,WAAW,mCAAmC;IAClD,QAAQ,CAAC,IAAI,EAAE,SAAS,YAAY,EAAE,CAAC;CACxC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=tag.command.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tag.command.js","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/tag/tag.command.ts"],"names":[],"mappings":""}
@@ -0,0 +1,45 @@
1
+ import type { JSONObject, JSONValue } from "../../../util/type-guard/json.js";
2
+ /**
3
+ * What the context object says about the execution and its state machine.
4
+ *
5
+ * These are the same for every state one execution runs, the states inside a
6
+ * `Parallel` branch and a `Map` iteration included, so they are built once
7
+ * when the execution starts.
8
+ */
9
+ export interface SimStatesExecutionContext {
10
+ readonly executionArn: string;
11
+ readonly executionName: string;
12
+ readonly input: JSONValue;
13
+ readonly startDate: Date;
14
+ readonly stateMachineArn: string;
15
+ readonly stateMachineName: string;
16
+ readonly roleArn: string;
17
+ }
18
+ /**
19
+ * What one state adds to the context object while it runs.
20
+ */
21
+ export interface SimStatesStateContextEntry {
22
+ readonly name: string;
23
+ readonly enteredTime: Date;
24
+ readonly retryCount: number;
25
+ }
26
+ /**
27
+ * The context object an execution's states read through `$$`.
28
+ *
29
+ * Real Step Functions also carries `$$.Task.Token`, which belongs with the
30
+ * task tokens this simulator has no implementation for. A path reading one
31
+ * selects nothing and fails the state that read it.
32
+ */
33
+ export declare function simStatesContextObject(execution: SimStatesExecutionContext): JSONObject;
34
+ /**
35
+ * The same context object with what the state now running adds to it.
36
+ */
37
+ export declare function simStatesStateContext(contextObject: JSONObject, state: SimStatesStateContextEntry): JSONObject;
38
+ /**
39
+ * The same context object with the item one `Map` iteration is running for.
40
+ *
41
+ * `ItemSelector` reads this while the `Map` state builds the iteration's
42
+ * input, and so do the states inside the iteration once it starts.
43
+ */
44
+ export declare function simStatesMapItemContext(contextObject: JSONObject, index: number, value: JSONValue): JSONObject;
45
+ //# sourceMappingURL=sim-states-context-object.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-context-object.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/data/sim-states-context-object.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAE9E;;;;;;GAMG;AACH,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,KAAK,EAAE,SAAS,CAAC;IAC1B,QAAQ,CAAC,SAAS,EAAE,IAAI,CAAC;IACzB,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,WAAW,EAAE,IAAI,CAAC;IAC3B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;AAED;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CACpC,SAAS,EAAE,yBAAyB,GACnC,UAAU,CAcZ;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CACnC,aAAa,EAAE,UAAU,EACzB,KAAK,EAAE,0BAA0B,GAChC,UAAU,CASZ;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CACrC,aAAa,EAAE,UAAU,EACzB,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,SAAS,GACf,UAAU,CAKZ"}
@@ -0,0 +1,48 @@
1
+ /**
2
+ * The context object an execution's states read through `$$`.
3
+ *
4
+ * Real Step Functions also carries `$$.Task.Token`, which belongs with the
5
+ * task tokens this simulator has no implementation for. A path reading one
6
+ * selects nothing and fails the state that read it.
7
+ */
8
+ export function simStatesContextObject(execution) {
9
+ return {
10
+ Execution: {
11
+ Id: execution.executionArn,
12
+ Input: execution.input,
13
+ Name: execution.executionName,
14
+ RoleArn: execution.roleArn,
15
+ StartTime: execution.startDate.toISOString(),
16
+ },
17
+ StateMachine: {
18
+ Id: execution.stateMachineArn,
19
+ Name: execution.stateMachineName,
20
+ },
21
+ };
22
+ }
23
+ /**
24
+ * The same context object with what the state now running adds to it.
25
+ */
26
+ export function simStatesStateContext(contextObject, state) {
27
+ return {
28
+ ...contextObject,
29
+ State: {
30
+ EnteredTime: state.enteredTime.toISOString(),
31
+ Name: state.name,
32
+ RetryCount: state.retryCount,
33
+ },
34
+ };
35
+ }
36
+ /**
37
+ * The same context object with the item one `Map` iteration is running for.
38
+ *
39
+ * `ItemSelector` reads this while the `Map` state builds the iteration's
40
+ * input, and so do the states inside the iteration once it starts.
41
+ */
42
+ export function simStatesMapItemContext(contextObject, index, value) {
43
+ return {
44
+ ...contextObject,
45
+ Map: { Item: { Index: index, Value: value } },
46
+ };
47
+ }
48
+ //# sourceMappingURL=sim-states-context-object.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-context-object.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/data/sim-states-context-object.ts"],"names":[],"mappings":"AA4BA;;;;;;GAMG;AACH,MAAM,UAAU,sBAAsB,CACpC,SAAoC;IAEpC,OAAO;QACL,SAAS,EAAE;YACT,EAAE,EAAE,SAAS,CAAC,YAAY;YAC1B,KAAK,EAAE,SAAS,CAAC,KAAK;YACtB,IAAI,EAAE,SAAS,CAAC,aAAa;YAC7B,OAAO,EAAE,SAAS,CAAC,OAAO;YAC1B,SAAS,EAAE,SAAS,CAAC,SAAS,CAAC,WAAW,EAAE;SAC7C;QACD,YAAY,EAAE;YACZ,EAAE,EAAE,SAAS,CAAC,eAAe;YAC7B,IAAI,EAAE,SAAS,CAAC,gBAAgB;SACjC;KACF,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,qBAAqB,CACnC,aAAyB,EACzB,KAAiC;IAEjC,OAAO;QACL,GAAG,aAAa;QAChB,KAAK,EAAE;YACL,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC,WAAW,EAAE;YAC5C,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,UAAU,EAAE,KAAK,CAAC,UAAU;SAC7B;KACF,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,uBAAuB,CACrC,aAAyB,EACzB,KAAa,EACb,KAAgB;IAEhB,OAAO;QACL,GAAG,aAAa;QAChB,GAAG,EAAE,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE;KAC9C,CAAC;AACJ,CAAC"}
@@ -0,0 +1,22 @@
1
+ import type { JSONValue } from "../../../util/type-guard/json.js";
2
+ import { type SimStatesPathSegment } from "./sim-states-path-segment.js";
3
+ /**
4
+ * A path as it was written, and which document it reads.
5
+ */
6
+ export interface SimStatesReadPath {
7
+ readonly segments: readonly SimStatesPathSegment[];
8
+ readonly fromContext: boolean;
9
+ }
10
+ /**
11
+ * Read a path that is allowed to read the context object.
12
+ *
13
+ * Amazon States Language roots a path at `$` for the value the state is
14
+ * working on and at `$$` for the context object. Both are read the same way
15
+ * once the root has said which of the two to read.
16
+ */
17
+ export declare function parseSimStatesReadPath(path: string): SimStatesReadPath;
18
+ /**
19
+ * The value a path selects, from the state's data or from the context object.
20
+ */
21
+ export declare function selectSimStatesReadPath(path: string, document: JSONValue, context: JSONValue): JSONValue | undefined;
22
+ //# sourceMappingURL=sim-states-context-path.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-context-path.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/data/sim-states-context-path.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,8BAA8B,CAAC;AAGtC;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,QAAQ,EAAE,SAAS,oBAAoB,EAAE,CAAC;IACnD,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC;CAC/B;AAOD;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,iBAAiB,CAWtE;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,SAAS,EACnB,OAAO,EAAE,SAAS,GACjB,SAAS,GAAG,SAAS,CAOvB"}
@@ -0,0 +1,30 @@
1
+ import { selectSimStatesPath, } from "./sim-states-path-segment.js";
2
+ import { parseSimStatesReferencePath } from "./sim-states-reference-path.js";
3
+ /**
4
+ * What a path rooted at the context object starts with.
5
+ */
6
+ const contextRoot = "$$";
7
+ /**
8
+ * Read a path that is allowed to read the context object.
9
+ *
10
+ * Amazon States Language roots a path at `$` for the value the state is
11
+ * working on and at `$$` for the context object. Both are read the same way
12
+ * once the root has said which of the two to read.
13
+ */
14
+ export function parseSimStatesReadPath(path) {
15
+ if (path.startsWith(contextRoot)) {
16
+ return {
17
+ fromContext: true,
18
+ segments: parseSimStatesReferencePath(`$${path.slice(contextRoot.length)}`),
19
+ };
20
+ }
21
+ return { fromContext: false, segments: parseSimStatesReferencePath(path) };
22
+ }
23
+ /**
24
+ * The value a path selects, from the state's data or from the context object.
25
+ */
26
+ export function selectSimStatesReadPath(path, document, context) {
27
+ const read = parseSimStatesReadPath(path);
28
+ return selectSimStatesPath(read.fromContext ? context : document, read.segments);
29
+ }
30
+ //# sourceMappingURL=sim-states-context-path.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-context-path.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/data/sim-states-context-path.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,mBAAmB,GACpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAU7E;;GAEG;AACH,MAAM,WAAW,GAAG,IAAI,CAAC;AAEzB;;;;;;GAMG;AACH,MAAM,UAAU,sBAAsB,CAAC,IAAY;IACjD,IAAI,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE,CAAC;QACjC,OAAO;YACL,WAAW,EAAE,IAAI;YACjB,QAAQ,EAAE,2BAA2B,CACnC,IAAI,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,MAAM,CAAC,EAAE,CACrC;SACF,CAAC;IACJ,CAAC;IAED,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,QAAQ,EAAE,2BAA2B,CAAC,IAAI,CAAC,EAAE,CAAC;AAC7E,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,uBAAuB,CACrC,IAAY,EACZ,QAAmB,EACnB,OAAkB;IAElB,MAAM,IAAI,GAAG,sBAAsB,CAAC,IAAI,CAAC,CAAC;IAE1C,OAAO,mBAAmB,CACxB,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,EACrC,IAAI,CAAC,QAAQ,CACd,CAAC;AACJ,CAAC"}
@@ -18,8 +18,9 @@ export interface SimStatesDataFlowFields {
18
18
  *
19
19
  * `InputPath` narrows the raw input and `Parameters` then builds a value from
20
20
  * what is left, which is the order Amazon States Language applies them in.
21
+ * Both read the context object where the caller has one.
21
22
  */
22
- export declare function simStatesEffectiveInput(rawInput: JSONValue, fields: SimStatesDataFlowFields): JSONValue;
23
+ export declare function simStatesEffectiveInput(rawInput: JSONValue, fields: SimStatesDataFlowFields, context?: JSONValue): JSONValue;
23
24
  /**
24
25
  * The output a state passes to the next one.
25
26
  *
@@ -28,5 +29,5 @@ export declare function simStatesEffectiveInput(rawInput: JSONValue, fields: Sim
28
29
  * input rather than the effective one, so a state can keep fields `InputPath`
29
30
  * had already taken away.
30
31
  */
31
- export declare function simStatesEffectiveOutput(rawInput: JSONValue, result: JSONValue, fields: SimStatesDataFlowFields): JSONValue;
32
+ export declare function simStatesEffectiveOutput(rawInput: JSONValue, result: JSONValue, fields: SimStatesDataFlowFields, context?: JSONValue): JSONValue;
32
33
  //# sourceMappingURL=sim-states-data-flow.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sim-states-data-flow.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/data/sim-states-data-flow.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAOlE;;;;;;GAMG;AACH,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,QAAQ,CAAC,UAAU,CAAC,EAAE,SAAS,CAAC;IAChC,QAAQ,CAAC,cAAc,CAAC,EAAE,SAAS,CAAC;IACpC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACrC;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,SAAS,EACnB,MAAM,EAAE,uBAAuB,GAC9B,SAAS,CAMX;AAED;;;;;;;GAOG;AACH,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,SAAS,EACnB,MAAM,EAAE,SAAS,EACjB,MAAM,EAAE,uBAAuB,GAC9B,SAAS,CAWX"}
1
+ {"version":3,"file":"sim-states-data-flow.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/data/sim-states-data-flow.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAOlE;;;;;;GAMG;AACH,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,QAAQ,CAAC,UAAU,CAAC,EAAE,SAAS,CAAC;IAChC,QAAQ,CAAC,cAAc,CAAC,EAAE,SAAS,CAAC;IACpC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACrC;AAED;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,SAAS,EACnB,MAAM,EAAE,uBAAuB,EAC/B,OAAO,GAAE,SAAgB,GACxB,SAAS,CAMX;AAED;;;;;;;GAOG;AACH,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,SAAS,EACnB,MAAM,EAAE,SAAS,EACjB,MAAM,EAAE,uBAAuB,EAC/B,OAAO,GAAE,SAAgB,GACxB,SAAS,CAgBX"}
@@ -1,6 +1,6 @@
1
1
  import { SimStatesPathMatchFailure } from "../error/sim-step-functions.error.js";
2
+ import { selectSimStatesReadPath } from "./sim-states-context-path.js";
2
3
  import { evaluateSimStatesPayloadTemplate } from "./sim-states-payload-template.js";
3
- import { selectSimStatesPath } from "./sim-states-path-segment.js";
4
4
  import { parseSimStatesReferencePath } from "./sim-states-reference-path.js";
5
5
  import { insertAtSimStatesPath } from "./sim-states-result-path.js";
6
6
  /**
@@ -8,12 +8,13 @@ import { insertAtSimStatesPath } from "./sim-states-result-path.js";
8
8
  *
9
9
  * `InputPath` narrows the raw input and `Parameters` then builds a value from
10
10
  * what is left, which is the order Amazon States Language applies them in.
11
+ * Both read the context object where the caller has one.
11
12
  */
12
- export function simStatesEffectiveInput(rawInput, fields) {
13
- const narrowed = applyPath(rawInput, fields.InputPath, "InputPath");
13
+ export function simStatesEffectiveInput(rawInput, fields, context = null) {
14
+ const narrowed = applyPath(rawInput, fields.InputPath, "InputPath", context);
14
15
  return fields.Parameters === undefined
15
16
  ? narrowed
16
- : evaluateSimStatesPayloadTemplate(fields.Parameters, narrowed);
17
+ : evaluateSimStatesPayloadTemplate(fields.Parameters, narrowed, context);
17
18
  }
18
19
  /**
19
20
  * The output a state passes to the next one.
@@ -23,11 +24,11 @@ export function simStatesEffectiveInput(rawInput, fields) {
23
24
  * input rather than the effective one, so a state can keep fields `InputPath`
24
25
  * had already taken away.
25
26
  */
26
- export function simStatesEffectiveOutput(rawInput, result, fields) {
27
+ export function simStatesEffectiveOutput(rawInput, result, fields, context = null) {
27
28
  const selected = fields.ResultSelector === undefined
28
29
  ? result
29
- : evaluateSimStatesPayloadTemplate(fields.ResultSelector, result);
30
- return applyPath(applyResultPath(rawInput, selected, fields.ResultPath), fields.OutputPath, "OutputPath");
30
+ : evaluateSimStatesPayloadTemplate(fields.ResultSelector, result, context);
31
+ return applyPath(applyResultPath(rawInput, selected, fields.ResultPath), fields.OutputPath, "OutputPath", context);
31
32
  }
32
33
  /**
33
34
  * Combine a result with the raw input, as `ResultPath` asks.
@@ -48,14 +49,14 @@ function applyResultPath(rawInput, result, resultPath) {
48
49
  * object, an absent one passes the value through, and a path selecting nothing
49
50
  * fails the state.
50
51
  */
51
- function applyPath(value, path, field) {
52
+ function applyPath(value, path, field, context) {
52
53
  if (path === null) {
53
54
  return {};
54
55
  }
55
56
  if (path === undefined) {
56
57
  return value;
57
58
  }
58
- const selected = selectSimStatesPath(value, parseSimStatesReferencePath(path));
59
+ const selected = selectSimStatesReadPath(path, value, context);
59
60
  if (selected === undefined) {
60
61
  throw new SimStatesPathMatchFailure(`${field} reads ${path}, which selects nothing in the value the state ` +
61
62
  "was given.");
@@ -1 +1 @@
1
- {"version":3,"file":"sim-states-data-flow.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/data/sim-states-data-flow.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,EAAE,gCAAgC,EAAE,MAAM,kCAAkC,CAAC;AACpF,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAiBpE;;;;;GAKG;AACH,MAAM,UAAU,uBAAuB,CACrC,QAAmB,EACnB,MAA+B;IAE/B,MAAM,QAAQ,GAAG,SAAS,CAAC,QAAQ,EAAE,MAAM,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;IAEpE,OAAO,MAAM,CAAC,UAAU,KAAK,SAAS;QACpC,CAAC,CAAC,QAAQ;QACV,CAAC,CAAC,gCAAgC,CAAC,MAAM,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;AACpE,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,wBAAwB,CACtC,QAAmB,EACnB,MAAiB,EACjB,MAA+B;IAE/B,MAAM,QAAQ,GACZ,MAAM,CAAC,cAAc,KAAK,SAAS;QACjC,CAAC,CAAC,MAAM;QACR,CAAC,CAAC,gCAAgC,CAAC,MAAM,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC;IAEtE,OAAO,SAAS,CACd,eAAe,CAAC,QAAQ,EAAE,QAAQ,EAAE,MAAM,CAAC,UAAU,CAAC,EACtD,MAAM,CAAC,UAAU,EACjB,YAAY,CACb,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAS,eAAe,CACtB,QAAmB,EACnB,MAAiB,EACjB,UAAqC;IAErC,IAAI,UAAU,KAAK,IAAI,EAAE,CAAC;QACxB,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;QAC7B,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO,qBAAqB,CAC1B,QAAQ,EACR,2BAA2B,CAAC,UAAU,CAAC,EACvC,MAAM,EACN,UAAU,CACX,CAAC;AACJ,CAAC;AAED;;;;;;GAMG;AACH,SAAS,SAAS,CAChB,KAAgB,EAChB,IAA+B,EAC/B,KAAa;IAEb,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAClB,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;QACvB,OAAO,KAAK,CAAC;IACf,CAAC;IAED,MAAM,QAAQ,GAAG,mBAAmB,CAClC,KAAK,EACL,2BAA2B,CAAC,IAAI,CAAC,CAClC,CAAC;IAEF,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;QAC3B,MAAM,IAAI,yBAAyB,CACjC,GAAG,KAAK,UAAU,IAAI,iDAAiD;YACrE,YAAY,CACf,CAAC;IACJ,CAAC;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC"}
1
+ {"version":3,"file":"sim-states-data-flow.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/data/sim-states-data-flow.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,gCAAgC,EAAE,MAAM,kCAAkC,CAAC;AACpF,OAAO,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAiBpE;;;;;;GAMG;AACH,MAAM,UAAU,uBAAuB,CACrC,QAAmB,EACnB,MAA+B,EAC/B,OAAO,GAAc,IAAI;IAEzB,MAAM,QAAQ,GAAG,SAAS,CAAC,QAAQ,EAAE,MAAM,CAAC,SAAS,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;IAE7E,OAAO,MAAM,CAAC,UAAU,KAAK,SAAS;QACpC,CAAC,CAAC,QAAQ;QACV,CAAC,CAAC,gCAAgC,CAAC,MAAM,CAAC,UAAU,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;AAC7E,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,wBAAwB,CACtC,QAAmB,EACnB,MAAiB,EACjB,MAA+B,EAC/B,OAAO,GAAc,IAAI;IAEzB,MAAM,QAAQ,GACZ,MAAM,CAAC,cAAc,KAAK,SAAS;QACjC,CAAC,CAAC,MAAM;QACR,CAAC,CAAC,gCAAgC,CAC9B,MAAM,CAAC,cAAc,EACrB,MAAM,EACN,OAAO,CACR,CAAC;IAER,OAAO,SAAS,CACd,eAAe,CAAC,QAAQ,EAAE,QAAQ,EAAE,MAAM,CAAC,UAAU,CAAC,EACtD,MAAM,CAAC,UAAU,EACjB,YAAY,EACZ,OAAO,CACR,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAS,eAAe,CACtB,QAAmB,EACnB,MAAiB,EACjB,UAAqC;IAErC,IAAI,UAAU,KAAK,IAAI,EAAE,CAAC;QACxB,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;QAC7B,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO,qBAAqB,CAC1B,QAAQ,EACR,2BAA2B,CAAC,UAAU,CAAC,EACvC,MAAM,EACN,UAAU,CACX,CAAC;AACJ,CAAC;AAED;;;;;;GAMG;AACH,SAAS,SAAS,CAChB,KAAgB,EAChB,IAA+B,EAC/B,KAAa,EACb,OAAkB;IAElB,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAClB,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;QACvB,OAAO,KAAK,CAAC;IACf,CAAC;IAED,MAAM,QAAQ,GAAG,uBAAuB,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC;IAE/D,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;QAC3B,MAAM,IAAI,yBAAyB,CACjC,GAAG,KAAK,UAAU,IAAI,iDAAiD;YACrE,YAAY,CACf,CAAC;IACJ,CAAC;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC"}
@@ -6,5 +6,5 @@ export declare const simStatesIntrinsicNames: readonly string[];
6
6
  /**
7
7
  * Run an intrinsic function against the document its paths read from.
8
8
  */
9
- export declare function evaluateSimStatesIntrinsic(expression: string, document: JSONValue): JSONValue;
9
+ export declare function evaluateSimStatesIntrinsic(expression: string, document: JSONValue, context?: JSONValue): JSONValue;
10
10
  //# sourceMappingURL=sim-states-intrinsic.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sim-states-intrinsic.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/data/sim-states-intrinsic.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAQlE;;GAEG;AACH,eAAO,MAAM,uBAAuB,EAAE,SAAS,MAAM,EAEzC,CAAC;AAEb;;GAEG;AACH,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,SAAS,GAClB,SAAS,CAiBX"}
1
+ {"version":3,"file":"sim-states-intrinsic.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/data/sim-states-intrinsic.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAOlE;;GAEG;AACH,eAAO,MAAM,uBAAuB,EAAE,SAAS,MAAM,EAEzC,CAAC;AAEb;;GAEG;AACH,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,SAAS,EACnB,OAAO,GAAE,SAAgB,GACxB,SAAS,CAiBX"}
@@ -1,8 +1,7 @@
1
1
  import { SimStatesIntrinsicFailure } from "../error/sim-step-functions.error.js";
2
+ import { selectSimStatesReadPath } from "./sim-states-context-path.js";
2
3
  import { simStatesIntrinsics } from "./sim-states-intrinsic-functions.js";
3
4
  import { parseSimStatesIntrinsic } from "./sim-states-intrinsic-parse.js";
4
- import { selectSimStatesPath } from "./sim-states-path-segment.js";
5
- import { parseSimStatesReferencePath } from "./sim-states-reference-path.js";
6
5
  /**
7
6
  * The names this simulator answers, for a message listing them.
8
7
  */
@@ -12,26 +11,26 @@ export const simStatesIntrinsicNames = simStatesIntrinsics
12
11
  /**
13
12
  * Run an intrinsic function against the document its paths read from.
14
13
  */
15
- export function evaluateSimStatesIntrinsic(expression, document) {
14
+ export function evaluateSimStatesIntrinsic(expression, document, context = null) {
16
15
  const call = parseSimStatesIntrinsic(expression);
17
16
  const intrinsic = simStatesIntrinsics.get(call.name);
18
17
  if (intrinsic === undefined) {
19
18
  throw new SimStatesIntrinsicFailure(`${call.name} is not an intrinsic function this simulator answers. It ` +
20
19
  `answers ${simStatesIntrinsicNames.join(", ")}.`);
21
20
  }
22
- return intrinsic(call.arguments.map((argument) => resolveArgument(argument, document, expression)), expression);
21
+ return intrinsic(call.arguments.map((argument) => resolveArgument(argument, document, expression, context)), expression);
23
22
  }
24
23
  /**
25
24
  * Reduce one argument to the value the intrinsic receives.
26
25
  */
27
- function resolveArgument(argument, document, expression) {
26
+ function resolveArgument(argument, document, expression, context) {
28
27
  if (argument.kind === "literal") {
29
28
  return argument.value;
30
29
  }
31
30
  if (argument.kind === "call") {
32
- return evaluateSimStatesIntrinsic(argument.expression, document);
31
+ return evaluateSimStatesIntrinsic(argument.expression, document, context);
33
32
  }
34
- const selected = selectSimStatesPath(document, parseSimStatesReferencePath(argument.path));
33
+ const selected = selectSimStatesReadPath(argument.path, document, context);
35
34
  if (selected === undefined) {
36
35
  throw new SimStatesIntrinsicFailure(`${expression} reads ${argument.path}, which selects nothing in the ` +
37
36
  "value it was given.");
@@ -1 +1 @@
1
- {"version":3,"file":"sim-states-intrinsic.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/data/sim-states-intrinsic.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AAEjF,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAE7E;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAsB,mBAAmB;KAC1E,IAAI,EAAE;KACN,OAAO,EAAE,CAAC;AAEb;;GAEG;AACH,MAAM,UAAU,0BAA0B,CACxC,UAAkB,EAClB,QAAmB;IAEnB,MAAM,IAAI,GAAG,uBAAuB,CAAC,UAAU,CAAC,CAAC;IACjD,MAAM,SAAS,GAAG,mBAAmB,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAErD,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;QAC5B,MAAM,IAAI,yBAAyB,CACjC,GAAG,IAAI,CAAC,IAAI,2DAA2D;YACrE,WAAW,uBAAuB,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CACnD,CAAC;IACJ,CAAC;IAED,OAAO,SAAS,CACd,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAC9B,eAAe,CAAC,QAAQ,EAAE,QAAQ,EAAE,UAAU,CAAC,CAChD,EACD,UAAU,CACX,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAS,eAAe,CACtB,QAAoC,EACpC,QAAmB,EACnB,UAAkB;IAElB,IAAI,QAAQ,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;QAChC,OAAO,QAAQ,CAAC,KAAK,CAAC;IACxB,CAAC;IAED,IAAI,QAAQ,CAAC,IAAI,KAAK,MAAM,EAAE,CAAC;QAC7B,OAAO,0BAA0B,CAAC,QAAQ,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;IACnE,CAAC;IAED,MAAM,QAAQ,GAAG,mBAAmB,CAClC,QAAQ,EACR,2BAA2B,CAAC,QAAQ,CAAC,IAAI,CAAC,CAC3C,CAAC;IAEF,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;QAC3B,MAAM,IAAI,yBAAyB,CACjC,GAAG,UAAU,UAAU,QAAQ,CAAC,IAAI,iCAAiC;YACnE,qBAAqB,CACxB,CAAC;IACJ,CAAC;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC"}
1
+ {"version":3,"file":"sim-states-intrinsic.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/data/sim-states-intrinsic.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AAEjF,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAE1E;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAsB,mBAAmB;KAC1E,IAAI,EAAE;KACN,OAAO,EAAE,CAAC;AAEb;;GAEG;AACH,MAAM,UAAU,0BAA0B,CACxC,UAAkB,EAClB,QAAmB,EACnB,OAAO,GAAc,IAAI;IAEzB,MAAM,IAAI,GAAG,uBAAuB,CAAC,UAAU,CAAC,CAAC;IACjD,MAAM,SAAS,GAAG,mBAAmB,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAErD,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;QAC5B,MAAM,IAAI,yBAAyB,CACjC,GAAG,IAAI,CAAC,IAAI,2DAA2D;YACrE,WAAW,uBAAuB,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CACnD,CAAC;IACJ,CAAC;IAED,OAAO,SAAS,CACd,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAC9B,eAAe,CAAC,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,CAAC,CACzD,EACD,UAAU,CACX,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAS,eAAe,CACtB,QAAoC,EACpC,QAAmB,EACnB,UAAkB,EAClB,OAAkB;IAElB,IAAI,QAAQ,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;QAChC,OAAO,QAAQ,CAAC,KAAK,CAAC;IACxB,CAAC;IAED,IAAI,QAAQ,CAAC,IAAI,KAAK,MAAM,EAAE,CAAC;QAC7B,OAAO,0BAA0B,CAAC,QAAQ,CAAC,UAAU,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAED,MAAM,QAAQ,GAAG,uBAAuB,CAAC,QAAQ,CAAC,IAAI,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;IAE3E,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;QAC3B,MAAM,IAAI,yBAAyB,CACjC,GAAG,UAAU,UAAU,QAAQ,CAAC,IAAI,iCAAiC;YACnE,qBAAqB,CACxB,CAAC;IACJ,CAAC;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC"}
@@ -2,11 +2,14 @@ import type { JSONValue } from "../../../util/type-guard/json.js";
2
2
  /**
3
3
  * Build a value from a Payload Template.
4
4
  *
5
- * `Parameters` and `ResultSelector` are both Payload Templates. A field whose
6
- * name ends in `.$` takes its value from a Reference Path or an intrinsic
7
- * function, and the `.$` comes off the name. Every other field is copied as it
8
- * stands, with objects and arrays walked so a `.$` field nested inside one is
9
- * still resolved.
5
+ * `Parameters`, `ResultSelector` and `ItemSelector` are all Payload Templates.
6
+ * A field whose name ends in `.$` takes its value from a Reference Path or an
7
+ * intrinsic function, and the `.$` comes off the name. Every other field is
8
+ * copied as it stands, with objects and arrays walked so a `.$` field nested
9
+ * inside one is still resolved.
10
+ *
11
+ * A path rooted at `$$` reads the context object the caller was given. One
12
+ * given none reads nothing there, and the field fails the state.
10
13
  */
11
- export declare function evaluateSimStatesPayloadTemplate(template: JSONValue, document: JSONValue): JSONValue;
14
+ export declare function evaluateSimStatesPayloadTemplate(template: JSONValue, document: JSONValue, context?: JSONValue): JSONValue;
12
15
  //# sourceMappingURL=sim-states-payload-template.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sim-states-payload-template.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/data/sim-states-payload-template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAc,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAa9E;;;;;;;;GAQG;AACH,wBAAgB,gCAAgC,CAC9C,QAAQ,EAAE,SAAS,EACnB,QAAQ,EAAE,SAAS,GAClB,SAAS,CA8BX"}
1
+ {"version":3,"file":"sim-states-payload-template.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/data/sim-states-payload-template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAc,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAY9E;;;;;;;;;;;GAWG;AACH,wBAAgB,gCAAgC,CAC9C,QAAQ,EAAE,SAAS,EACnB,QAAQ,EAAE,SAAS,EACnB,OAAO,GAAE,SAAgB,GACxB,SAAS,CA8BX"}