@kensio/yulin 1.20.0 → 1.20.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (868) hide show
  1. package/README.md +1 -0
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +1 -0
  5. package/dist/index.js.map +1 -1
  6. package/dist/sdk/router/resolve-sim-sdk-command-router.d.ts.map +1 -1
  7. package/dist/sdk/router/resolve-sim-sdk-command-router.js +8 -0
  8. package/dist/sdk/router/resolve-sim-sdk-command-router.js.map +1 -1
  9. package/dist/service/apigateway/api/sim-rest-api-lambda-proxy.factory.d.ts +2 -5
  10. package/dist/service/apigateway/api/sim-rest-api-lambda-proxy.factory.d.ts.map +1 -1
  11. package/dist/service/apigateway/api/sim-rest-api-lambda-proxy.factory.js +3 -7
  12. package/dist/service/apigateway/api/sim-rest-api-lambda-proxy.factory.js.map +1 -1
  13. package/dist/service/apigateway/api/sim-rest-api-proxy-stage.d.ts +22 -0
  14. package/dist/service/apigateway/api/sim-rest-api-proxy-stage.d.ts.map +1 -0
  15. package/dist/service/apigateway/api/sim-rest-api-proxy-stage.js +31 -0
  16. package/dist/service/apigateway/api/sim-rest-api-proxy-stage.js.map +1 -0
  17. package/dist/service/apigateway/api/stage/settings/sim-rest-api-method-settings.type.d.ts +19 -0
  18. package/dist/service/apigateway/api/stage/settings/sim-rest-api-method-settings.type.d.ts.map +1 -0
  19. package/dist/service/apigateway/api/stage/settings/sim-rest-api-method-settings.type.js +2 -0
  20. package/dist/service/apigateway/api/stage/settings/sim-rest-api-method-settings.type.js.map +1 -0
  21. package/dist/service/apigateway/api/stage/settings/sim-rest-api-stage-method-settings.d.ts +43 -0
  22. package/dist/service/apigateway/api/stage/settings/sim-rest-api-stage-method-settings.d.ts.map +1 -0
  23. package/dist/service/apigateway/api/stage/settings/sim-rest-api-stage-method-settings.js +75 -0
  24. package/dist/service/apigateway/api/stage/settings/sim-rest-api-stage-method-settings.js.map +1 -0
  25. package/dist/service/apigateway/api/stage/sim-rest-api-stage.d.ts +19 -0
  26. package/dist/service/apigateway/api/stage/sim-rest-api-stage.d.ts.map +1 -1
  27. package/dist/service/apigateway/api/stage/sim-rest-api-stage.js +22 -0
  28. package/dist/service/apigateway/api/stage/sim-rest-api-stage.js.map +1 -1
  29. package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-method-settings-properties.d.ts +33 -0
  30. package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-method-settings-properties.d.ts.map +1 -0
  31. package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-method-settings-properties.js +69 -0
  32. package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-method-settings-properties.js.map +1 -0
  33. package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-stage-properties.d.ts +4 -1
  34. package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-stage-properties.d.ts.map +1 -1
  35. package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-stage-properties.js +13 -4
  36. package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-stage-properties.js.map +1 -1
  37. package/dist/service/apigateway/command/sim-api-gateway-unsimulated-input.d.ts +6 -1
  38. package/dist/service/apigateway/command/sim-api-gateway-unsimulated-input.d.ts.map +1 -1
  39. package/dist/service/apigateway/command/sim-api-gateway-unsimulated-input.js +8 -3
  40. package/dist/service/apigateway/command/sim-api-gateway-unsimulated-input.js.map +1 -1
  41. package/dist/service/apigateway/command/stage/sim-rest-api-stage-commands.d.ts.map +1 -1
  42. package/dist/service/apigateway/command/stage/sim-rest-api-stage-commands.js +4 -0
  43. package/dist/service/apigateway/command/stage/sim-rest-api-stage-commands.js.map +1 -1
  44. package/dist/service/apigateway/command/stage/sim-rest-api-stage-method-settings-input.d.ts +18 -0
  45. package/dist/service/apigateway/command/stage/sim-rest-api-stage-method-settings-input.d.ts.map +1 -0
  46. package/dist/service/apigateway/command/stage/sim-rest-api-stage-method-settings-input.js +42 -0
  47. package/dist/service/apigateway/command/stage/sim-rest-api-stage-method-settings-input.js.map +1 -0
  48. package/dist/service/apigateway/command/stage/sim-rest-api-stage-publisher.d.ts +9 -0
  49. package/dist/service/apigateway/command/stage/sim-rest-api-stage-publisher.d.ts.map +1 -1
  50. package/dist/service/apigateway/command/stage/sim-rest-api-stage-publisher.js +17 -0
  51. package/dist/service/apigateway/command/stage/sim-rest-api-stage-publisher.js.map +1 -1
  52. package/dist/service/apigateway/command/stage/stage.command.d.ts +11 -0
  53. package/dist/service/apigateway/command/stage/stage.command.d.ts.map +1 -1
  54. package/dist/service/apigateway/index.d.ts +2 -0
  55. package/dist/service/apigateway/index.d.ts.map +1 -1
  56. package/dist/service/apigateway/index.js +1 -0
  57. package/dist/service/apigateway/index.js.map +1 -1
  58. package/dist/service/apigateway/serve/sim-api-gateway-controller.d.ts +4 -1
  59. package/dist/service/apigateway/serve/sim-api-gateway-controller.d.ts.map +1 -1
  60. package/dist/service/apigateway/serve/sim-api-gateway-controller.js +10 -1
  61. package/dist/service/apigateway/serve/sim-api-gateway-controller.js.map +1 -1
  62. package/dist/service/apigateway/serve/sim-api-gateway-error-response.d.ts +8 -0
  63. package/dist/service/apigateway/serve/sim-api-gateway-error-response.d.ts.map +1 -1
  64. package/dist/service/apigateway/serve/sim-api-gateway-error-response.js +10 -0
  65. package/dist/service/apigateway/serve/sim-api-gateway-error-response.js.map +1 -1
  66. package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.d.ts +5 -0
  67. package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.d.ts.map +1 -1
  68. package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.js +4 -0
  69. package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.js.map +1 -1
  70. package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-route-settings.type.d.ts +24 -0
  71. package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-route-settings.type.d.ts.map +1 -0
  72. package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-route-settings.type.js +2 -0
  73. package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-route-settings.type.js.map +1 -0
  74. package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-stage-route-settings.d.ts +39 -0
  75. package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-stage-route-settings.d.ts.map +1 -0
  76. package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-stage-route-settings.js +74 -0
  77. package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-stage-route-settings.js.map +1 -0
  78. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage.d.ts +16 -1
  79. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage.d.ts.map +1 -1
  80. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage.js +16 -0
  81. package/dist/service/apigatewayv2/api/stage/sim-http-api-stage.js.map +1 -1
  82. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-route-settings-properties.d.ts +30 -0
  83. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-route-settings-properties.d.ts.map +1 -0
  84. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-route-settings-properties.js +67 -0
  85. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-route-settings-properties.js.map +1 -0
  86. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.d.ts +3 -1
  87. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.d.ts.map +1 -1
  88. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.js +16 -5
  89. package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.js.map +1 -1
  90. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-unsimulated-input.d.ts +6 -1
  91. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-unsimulated-input.d.ts.map +1 -1
  92. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-unsimulated-input.js +8 -3
  93. package/dist/service/apigatewayv2/command/sim-api-gateway-v2-unsimulated-input.js.map +1 -1
  94. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-commands.d.ts.map +1 -1
  95. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-commands.js +8 -0
  96. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-commands.js.map +1 -1
  97. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-route-settings-input.d.ts +18 -0
  98. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-route-settings-input.d.ts.map +1 -0
  99. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-route-settings-input.js +32 -0
  100. package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-route-settings-input.js.map +1 -0
  101. package/dist/service/apigatewayv2/command/stage/stage.command.d.ts +3 -0
  102. package/dist/service/apigatewayv2/command/stage/stage.command.d.ts.map +1 -1
  103. package/dist/service/apigatewayv2/index.d.ts +2 -0
  104. package/dist/service/apigatewayv2/index.d.ts.map +1 -1
  105. package/dist/service/apigatewayv2/index.js +1 -0
  106. package/dist/service/apigatewayv2/index.js.map +1 -1
  107. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.d.ts +4 -1
  108. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.d.ts.map +1 -1
  109. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.js +11 -2
  110. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.js.map +1 -1
  111. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-error-response.d.ts +8 -0
  112. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-error-response.d.ts.map +1 -1
  113. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-error-response.js +10 -0
  114. package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-error-response.js.map +1 -1
  115. package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts +11 -0
  116. package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts.map +1 -1
  117. package/dist/service/aws/factory/sim-aws-account-region-service-builder.js +17 -1
  118. package/dist/service/aws/factory/sim-aws-account-region-service-builder.js.map +1 -1
  119. package/dist/service/aws/factory/sim-aws-account-service-cache.d.ts.map +1 -1
  120. package/dist/service/aws/factory/sim-aws-account-service-cache.js +5 -0
  121. package/dist/service/aws/factory/sim-aws-account-service-cache.js.map +1 -1
  122. package/dist/service/aws/factory/sim-aws-cross-account-collaborators.d.ts +10 -0
  123. package/dist/service/aws/factory/sim-aws-cross-account-collaborators.d.ts.map +1 -1
  124. package/dist/service/aws/factory/sim-aws-cross-account-collaborators.js +15 -0
  125. package/dist/service/aws/factory/sim-aws-cross-account-collaborators.js.map +1 -1
  126. package/dist/service/aws/factory/sim-aws-self-contained-service-builder.d.ts +9 -0
  127. package/dist/service/aws/factory/sim-aws-self-contained-service-builder.d.ts.map +1 -1
  128. package/dist/service/aws/factory/sim-aws-self-contained-service-builder.js +15 -0
  129. package/dist/service/aws/factory/sim-aws-self-contained-service-builder.js.map +1 -1
  130. package/dist/service/aws/factory/sim-aws-service-factory.d.ts +6 -0
  131. package/dist/service/aws/factory/sim-aws-service-factory.d.ts.map +1 -1
  132. package/dist/service/aws/factory/sim-aws-service-factory.js +8 -0
  133. package/dist/service/aws/factory/sim-aws-service-factory.js.map +1 -1
  134. package/dist/service/aws/sim-aws-account-region-scope.d.ts +6 -0
  135. package/dist/service/aws/sim-aws-account-region-scope.d.ts.map +1 -1
  136. package/dist/service/aws/sim-aws-account-region-scope.js +8 -0
  137. package/dist/service/aws/sim-aws-account-region-scope.js.map +1 -1
  138. package/dist/service/aws/sim-aws-account.d.ts +5 -0
  139. package/dist/service/aws/sim-aws-account.d.ts.map +1 -1
  140. package/dist/service/aws/sim-aws-account.js +6 -0
  141. package/dist/service/aws/sim-aws-account.js.map +1 -1
  142. package/dist/service/aws/sim-aws-region.d.ts +5 -0
  143. package/dist/service/aws/sim-aws-region.d.ts.map +1 -1
  144. package/dist/service/aws/sim-aws-region.js +6 -0
  145. package/dist/service/aws/sim-aws-region.js.map +1 -1
  146. package/dist/service/aws/sim-aws-service-accessors.d.ts +6 -0
  147. package/dist/service/aws/sim-aws-service-accessors.d.ts.map +1 -1
  148. package/dist/service/aws/sim-aws-service-accessors.js +8 -0
  149. package/dist/service/aws/sim-aws-service-accessors.js.map +1 -1
  150. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-cfn-value-adapter.d.ts +6 -0
  151. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-cfn-value-adapter.d.ts.map +1 -0
  152. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-cfn-value-adapter.js +15 -0
  153. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-cfn-value-adapter.js.map +1 -0
  154. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-delivery-stream-cfn.d.ts +23 -0
  155. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-delivery-stream-cfn.d.ts.map +1 -0
  156. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-delivery-stream-cfn.js +29 -0
  157. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-delivery-stream-cfn.js.map +1 -0
  158. package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.d.ts.map +1 -1
  159. package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.js +4 -0
  160. package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.js.map +1 -1
  161. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.d.ts +27 -0
  162. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.d.ts.map +1 -0
  163. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.js +47 -0
  164. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.js.map +1 -0
  165. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.d.ts +49 -0
  166. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.d.ts.map +1 -0
  167. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.js +89 -0
  168. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.js.map +1 -0
  169. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.d.ts +23 -0
  170. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.d.ts.map +1 -0
  171. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.js +28 -0
  172. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.js.map +1 -0
  173. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.d.ts +57 -0
  174. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.d.ts.map +1 -0
  175. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.js +99 -0
  176. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.js.map +1 -0
  177. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.d.ts +21 -0
  178. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.d.ts.map +1 -0
  179. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.js +37 -0
  180. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.js.map +1 -0
  181. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.d.ts +32 -0
  182. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.d.ts.map +1 -0
  183. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.js +56 -0
  184. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.js.map +1 -0
  185. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.d.ts +20 -0
  186. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.d.ts.map +1 -0
  187. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.js +28 -0
  188. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.js.map +1 -0
  189. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.d.ts +43 -0
  190. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.d.ts.map +1 -0
  191. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.js +64 -0
  192. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.js.map +1 -0
  193. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.d.ts +10 -0
  194. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.d.ts.map +1 -0
  195. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.js +10 -0
  196. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.js.map +1 -0
  197. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-state-machine-cfn.d.ts +27 -0
  198. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-state-machine-cfn.d.ts.map +1 -0
  199. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-state-machine-cfn.js +37 -0
  200. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-state-machine-cfn.js.map +1 -0
  201. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.d.ts +31 -0
  202. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.d.ts.map +1 -0
  203. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.js +42 -0
  204. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.js.map +1 -0
  205. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.d.ts +7 -0
  206. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.d.ts.map +1 -0
  207. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.js +16 -0
  208. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.js.map +1 -0
  209. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.d.ts.map +1 -1
  210. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.js +11 -0
  211. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.js.map +1 -1
  212. package/dist/service/cloudformation/template/node/fn/join/sim-cfn-fn-join.d.ts +7 -0
  213. package/dist/service/cloudformation/template/node/fn/join/sim-cfn-fn-join.d.ts.map +1 -1
  214. package/dist/service/cloudformation/template/node/fn/join/sim-cfn-fn-join.js +9 -1
  215. package/dist/service/cloudformation/template/node/fn/join/sim-cfn-fn-join.js.map +1 -1
  216. package/dist/service/cloudfront/behaviour/sim-cloud-front-behavior.d.ts +5 -0
  217. package/dist/service/cloudfront/behaviour/sim-cloud-front-behavior.d.ts.map +1 -1
  218. package/dist/service/cloudfront/behaviour/sim-cloud-front-behavior.js.map +1 -1
  219. package/dist/service/cloudfront/cff/sim-cff-arn.d.ts +13 -0
  220. package/dist/service/cloudfront/cff/sim-cff-arn.d.ts.map +1 -0
  221. package/dist/service/cloudfront/cff/sim-cff-arn.js +18 -0
  222. package/dist/service/cloudfront/cff/sim-cff-arn.js.map +1 -0
  223. package/dist/service/cloudfront/command/create-distribution/create-distribution.command.d.ts +41 -0
  224. package/dist/service/cloudfront/command/create-distribution/create-distribution.command.d.ts.map +1 -1
  225. package/dist/service/cloudfront/command/create-distribution/create-distribution.handler.d.ts +3 -0
  226. package/dist/service/cloudfront/command/create-distribution/create-distribution.handler.d.ts.map +1 -1
  227. package/dist/service/cloudfront/command/create-distribution/create-distribution.handler.js +11 -4
  228. package/dist/service/cloudfront/command/create-distribution/create-distribution.handler.js.map +1 -1
  229. package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.d.ts +0 -1
  230. package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.d.ts.map +1 -1
  231. package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.js +9 -36
  232. package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.js.map +1 -1
  233. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-list.d.ts +19 -0
  234. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-list.d.ts.map +1 -0
  235. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-list.js +39 -0
  236. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-list.js.map +1 -0
  237. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-origin.d.ts +10 -0
  238. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-origin.d.ts.map +1 -0
  239. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-origin.js +17 -0
  240. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-origin.js.map +1 -0
  241. package/dist/service/cloudfront/command/update-distribution/update-distribution.handler.d.ts +3 -0
  242. package/dist/service/cloudfront/command/update-distribution/update-distribution.handler.d.ts.map +1 -1
  243. package/dist/service/cloudfront/command/update-distribution/update-distribution.handler.js +9 -2
  244. package/dist/service/cloudfront/command/update-distribution/update-distribution.handler.js.map +1 -1
  245. package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.d.ts +3 -0
  246. package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.d.ts.map +1 -1
  247. package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.js +6 -0
  248. package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.js.map +1 -1
  249. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-applicator.d.ts +48 -0
  250. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-applicator.d.ts.map +1 -0
  251. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-applicator.js +66 -0
  252. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-applicator.js.map +1 -0
  253. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-distribution.d.ts +11 -0
  254. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-distribution.d.ts.map +1 -0
  255. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-distribution.js +14 -0
  256. package/dist/service/cloudfront/controller/edge/sim-lambda-edge-distribution.js.map +1 -0
  257. package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.d.ts +5 -0
  258. package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.d.ts.map +1 -1
  259. package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.js +16 -1
  260. package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.js.map +1 -1
  261. package/dist/service/cloudfront/distribution/configurator/sim-cf-behavior-properties.d.ts.map +1 -1
  262. package/dist/service/cloudfront/distribution/configurator/sim-cf-behavior-properties.js +2 -0
  263. package/dist/service/cloudfront/distribution/configurator/sim-cf-behavior-properties.js.map +1 -1
  264. package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.d.ts.map +1 -1
  265. package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.js +8 -0
  266. package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.js.map +1 -1
  267. package/dist/service/cloudfront/distribution/sim-cf-distribution-configuration-state.d.ts +5 -2
  268. package/dist/service/cloudfront/distribution/sim-cf-distribution-configuration-state.d.ts.map +1 -1
  269. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-body.d.ts +24 -0
  270. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-body.d.ts.map +1 -0
  271. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-body.js +51 -0
  272. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-body.js.map +1 -0
  273. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-adapter.d.ts +41 -0
  274. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-adapter.d.ts.map +1 -0
  275. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-adapter.js +78 -0
  276. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-adapter.js.map +1 -0
  277. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-headers.d.ts +20 -0
  278. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-headers.d.ts.map +1 -0
  279. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-headers.js +55 -0
  280. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-headers.js.map +1 -0
  281. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-request-adapter.d.ts +30 -0
  282. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-request-adapter.d.ts.map +1 -0
  283. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-request-adapter.js +90 -0
  284. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-request-adapter.js.map +1 -0
  285. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-response-adapter.d.ts +26 -0
  286. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-response-adapter.d.ts.map +1 -0
  287. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-response-adapter.js +47 -0
  288. package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-response-adapter.js.map +1 -0
  289. package/dist/service/cloudfront/edge/sim-aws-cf-edge-functions.d.ts +44 -0
  290. package/dist/service/cloudfront/edge/sim-aws-cf-edge-functions.d.ts.map +1 -0
  291. package/dist/service/cloudfront/edge/sim-aws-cf-edge-functions.js +89 -0
  292. package/dist/service/cloudfront/edge/sim-aws-cf-edge-functions.js.map +1 -0
  293. package/dist/service/cloudfront/edge/sim-cf-edge-association-auth-z.d.ts +7 -0
  294. package/dist/service/cloudfront/edge/sim-cf-edge-association-auth-z.d.ts.map +1 -0
  295. package/dist/service/cloudfront/edge/sim-cf-edge-association-auth-z.js +27 -0
  296. package/dist/service/cloudfront/edge/sim-cf-edge-association-auth-z.js.map +1 -0
  297. package/dist/service/cloudfront/edge/sim-cf-edge-association-checks.d.ts +47 -0
  298. package/dist/service/cloudfront/edge/sim-cf-edge-association-checks.d.ts.map +1 -0
  299. package/dist/service/cloudfront/edge/sim-cf-edge-association-checks.js +71 -0
  300. package/dist/service/cloudfront/edge/sim-cf-edge-association-checks.js.map +1 -0
  301. package/dist/service/cloudfront/edge/sim-cf-edge-association-validator.d.ts +36 -0
  302. package/dist/service/cloudfront/edge/sim-cf-edge-association-validator.d.ts.map +1 -0
  303. package/dist/service/cloudfront/edge/sim-cf-edge-association-validator.js +79 -0
  304. package/dist/service/cloudfront/edge/sim-cf-edge-association-validator.js.map +1 -0
  305. package/dist/service/cloudfront/edge/sim-cf-edge-association.d.ts +23 -0
  306. package/dist/service/cloudfront/edge/sim-cf-edge-association.d.ts.map +1 -0
  307. package/dist/service/cloudfront/edge/sim-cf-edge-association.js +2 -0
  308. package/dist/service/cloudfront/edge/sim-cf-edge-association.js.map +1 -0
  309. package/dist/service/cloudfront/edge/sim-cf-edge-associations-configure.d.ts +14 -0
  310. package/dist/service/cloudfront/edge/sim-cf-edge-associations-configure.d.ts.map +1 -0
  311. package/dist/service/cloudfront/edge/sim-cf-edge-associations-configure.js +36 -0
  312. package/dist/service/cloudfront/edge/sim-cf-edge-associations-configure.js.map +1 -0
  313. package/dist/service/cloudfront/edge/sim-cf-edge-function-arn.d.ts +18 -0
  314. package/dist/service/cloudfront/edge/sim-cf-edge-function-arn.d.ts.map +1 -0
  315. package/dist/service/cloudfront/edge/sim-cf-edge-function-arn.js +47 -0
  316. package/dist/service/cloudfront/edge/sim-cf-edge-function-arn.js.map +1 -0
  317. package/dist/service/cloudfront/edge/sim-cf-edge-functions.d.ts +25 -0
  318. package/dist/service/cloudfront/edge/sim-cf-edge-functions.d.ts.map +1 -0
  319. package/dist/service/cloudfront/edge/sim-cf-edge-functions.js +2 -0
  320. package/dist/service/cloudfront/edge/sim-cf-edge-functions.js.map +1 -0
  321. package/dist/service/cloudfront/error/sim-cloudfront.error.d.ts +13 -0
  322. package/dist/service/cloudfront/error/sim-cloudfront.error.d.ts.map +1 -1
  323. package/dist/service/cloudfront/error/sim-cloudfront.error.js +15 -0
  324. package/dist/service/cloudfront/error/sim-cloudfront.error.js.map +1 -1
  325. package/dist/service/cloudfront/index.d.ts +1 -0
  326. package/dist/service/cloudfront/index.d.ts.map +1 -1
  327. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.d.ts +4 -0
  328. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.d.ts.map +1 -1
  329. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.js +7 -0
  330. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.js.map +1 -1
  331. package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.d.ts +6 -0
  332. package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.d.ts.map +1 -1
  333. package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.js +3 -0
  334. package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.js.map +1 -1
  335. package/dist/service/cloudfront/origin/sim-cf-origin-custom-headers.d.ts +15 -0
  336. package/dist/service/cloudfront/origin/sim-cf-origin-custom-headers.d.ts.map +1 -0
  337. package/dist/service/cloudfront/origin/sim-cf-origin-custom-headers.js +74 -0
  338. package/dist/service/cloudfront/origin/sim-cf-origin-custom-headers.js.map +1 -0
  339. package/dist/service/cloudfront/sim-cloudfront-commands.d.ts +10 -0
  340. package/dist/service/cloudfront/sim-cloudfront-commands.d.ts.map +1 -1
  341. package/dist/service/cloudfront/sim-cloudfront-commands.js +10 -1
  342. package/dist/service/cloudfront/sim-cloudfront-commands.js.map +1 -1
  343. package/dist/service/cloudfront/sim-cloudfront.d.ts.map +1 -1
  344. package/dist/service/cloudfront/sim-cloudfront.js +3 -8
  345. package/dist/service/cloudfront/sim-cloudfront.js.map +1 -1
  346. package/dist/service/cloudfront/typings/lambda-at-edge.namespace.d.ts +91 -0
  347. package/dist/service/cloudfront/typings/lambda-at-edge.namespace.d.ts.map +1 -0
  348. package/dist/service/cloudfront/typings/lambda-at-edge.namespace.js +2 -0
  349. package/dist/service/cloudfront/typings/lambda-at-edge.namespace.js.map +1 -0
  350. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-creator.d.ts +33 -0
  351. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-creator.d.ts.map +1 -0
  352. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-creator.js +44 -0
  353. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-creator.js.map +1 -0
  354. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-name.d.ts +23 -0
  355. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-name.d.ts.map +1 -0
  356. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-name.js +28 -0
  357. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-name.js.map +1 -0
  358. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-properties.d.ts +48 -0
  359. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-properties.d.ts.map +1 -0
  360. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-properties.js +92 -0
  361. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-properties.js.map +1 -0
  362. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-property-names.d.ts +51 -0
  363. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-property-names.d.ts.map +1 -0
  364. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-property-names.js +114 -0
  365. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-property-names.js.map +1 -0
  366. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-destination-choice.d.ts +19 -0
  367. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-destination-choice.d.ts.map +1 -0
  368. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-destination-choice.js +44 -0
  369. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-destination-choice.js.map +1 -0
  370. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-s3-destination.d.ts +47 -0
  371. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-s3-destination.d.ts.map +1 -0
  372. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-s3-destination.js +105 -0
  373. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-s3-destination.js.map +1 -0
  374. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-source-choice.d.ts +19 -0
  375. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-source-choice.d.ts.map +1 -0
  376. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-source-choice.js +58 -0
  377. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-source-choice.js.map +1 -0
  378. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-tags.d.ts +11 -0
  379. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-tags.d.ts.map +1 -0
  380. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-tags.js +33 -0
  381. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-tags.js.map +1 -0
  382. package/dist/service/firehose/cfn/sim-cfn-firehose-archive.resources.d.ts +44 -0
  383. package/dist/service/firehose/cfn/sim-cfn-firehose-archive.resources.d.ts.map +1 -0
  384. package/dist/service/firehose/cfn/sim-cfn-firehose-archive.resources.js +144 -0
  385. package/dist/service/firehose/cfn/sim-cfn-firehose-archive.resources.js.map +1 -0
  386. package/dist/service/firehose/cfn/sim-cfn-firehose-delivery-stream-template.factory.d.ts +51 -0
  387. package/dist/service/firehose/cfn/sim-cfn-firehose-delivery-stream-template.factory.d.ts.map +1 -0
  388. package/dist/service/firehose/cfn/sim-cfn-firehose-delivery-stream-template.factory.js +65 -0
  389. package/dist/service/firehose/cfn/sim-cfn-firehose-delivery-stream-template.factory.js.map +1 -0
  390. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-deleter.d.ts +19 -0
  391. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-deleter.d.ts.map +1 -0
  392. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-deleter.js +26 -0
  393. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-deleter.js.map +1 -0
  394. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-error.d.ts +44 -0
  395. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-error.d.ts.map +1 -0
  396. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-error.js +75 -0
  397. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-error.js.map +1 -0
  398. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-types.d.ts +14 -0
  399. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-types.d.ts.map +1 -0
  400. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-types.js +14 -0
  401. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-types.js.map +1 -0
  402. package/dist/service/firehose/cfn/sim-firehose-cfn-resource-factory.d.ts +29 -0
  403. package/dist/service/firehose/cfn/sim-firehose-cfn-resource-factory.d.ts.map +1 -0
  404. package/dist/service/firehose/cfn/sim-firehose-cfn-resource-factory.js +38 -0
  405. package/dist/service/firehose/cfn/sim-firehose-cfn-resource-factory.js.map +1 -0
  406. package/dist/service/firehose/command/authorize/sim-firehose-authorizer.d.ts +39 -0
  407. package/dist/service/firehose/command/authorize/sim-firehose-authorizer.d.ts.map +1 -0
  408. package/dist/service/firehose/command/authorize/sim-firehose-authorizer.js +49 -0
  409. package/dist/service/firehose/command/authorize/sim-firehose-authorizer.js.map +1 -0
  410. package/dist/service/firehose/command/record/record.command.d.ts +55 -0
  411. package/dist/service/firehose/command/record/record.command.d.ts.map +1 -0
  412. package/dist/service/firehose/command/record/record.command.js +2 -0
  413. package/dist/service/firehose/command/record/record.command.js.map +1 -0
  414. package/dist/service/firehose/command/record/sim-firehose-put-commands.d.ts +43 -0
  415. package/dist/service/firehose/command/record/sim-firehose-put-commands.d.ts.map +1 -0
  416. package/dist/service/firehose/command/record/sim-firehose-put-commands.js +59 -0
  417. package/dist/service/firehose/command/record/sim-firehose-put-commands.js.map +1 -0
  418. package/dist/service/firehose/command/record/sim-firehose-record-data.d.ts +21 -0
  419. package/dist/service/firehose/command/record/sim-firehose-record-data.d.ts.map +1 -0
  420. package/dist/service/firehose/command/record/sim-firehose-record-data.js +54 -0
  421. package/dist/service/firehose/command/record/sim-firehose-record-data.js.map +1 -0
  422. package/dist/service/firehose/command/sim-firehose-command.types.d.ts +6 -0
  423. package/dist/service/firehose/command/sim-firehose-command.types.d.ts.map +1 -0
  424. package/dist/service/firehose/command/sim-firehose-command.types.js +2 -0
  425. package/dist/service/firehose/command/sim-firehose-command.types.js.map +1 -0
  426. package/dist/service/firehose/command/sim-firehose-commands.d.ts +37 -0
  427. package/dist/service/firehose/command/sim-firehose-commands.d.ts.map +1 -0
  428. package/dist/service/firehose/command/sim-firehose-commands.js +57 -0
  429. package/dist/service/firehose/command/sim-firehose-commands.js.map +1 -0
  430. package/dist/service/firehose/command/sim-firehose-delivery-stream-access.d.ts +47 -0
  431. package/dist/service/firehose/command/sim-firehose-delivery-stream-access.d.ts.map +1 -0
  432. package/dist/service/firehose/command/sim-firehose-delivery-stream-access.js +58 -0
  433. package/dist/service/firehose/command/sim-firehose-delivery-stream-access.js.map +1 -0
  434. package/dist/service/firehose/command/sim-firehose-request-options.d.ts +12 -0
  435. package/dist/service/firehose/command/sim-firehose-request-options.d.ts.map +1 -0
  436. package/dist/service/firehose/command/sim-firehose-request-options.js +2 -0
  437. package/dist/service/firehose/command/sim-firehose-request-options.js.map +1 -0
  438. package/dist/service/firehose/command/stream/sim-firehose-create-delivery-stream.d.ts +49 -0
  439. package/dist/service/firehose/command/stream/sim-firehose-create-delivery-stream.d.ts.map +1 -0
  440. package/dist/service/firehose/command/stream/sim-firehose-create-delivery-stream.js +69 -0
  441. package/dist/service/firehose/command/stream/sim-firehose-create-delivery-stream.js.map +1 -0
  442. package/dist/service/firehose/command/stream/sim-firehose-delivery-stream-page.d.ts +19 -0
  443. package/dist/service/firehose/command/stream/sim-firehose-delivery-stream-page.d.ts.map +1 -0
  444. package/dist/service/firehose/command/stream/sim-firehose-delivery-stream-page.js +24 -0
  445. package/dist/service/firehose/command/stream/sim-firehose-delivery-stream-page.js.map +1 -0
  446. package/dist/service/firehose/command/stream/sim-firehose-stream-commands.d.ts +50 -0
  447. package/dist/service/firehose/command/stream/sim-firehose-stream-commands.d.ts.map +1 -0
  448. package/dist/service/firehose/command/stream/sim-firehose-stream-commands.js +72 -0
  449. package/dist/service/firehose/command/stream/sim-firehose-stream-commands.js.map +1 -0
  450. package/dist/service/firehose/command/stream/sim-firehose-stream-descriptions.d.ts +7 -0
  451. package/dist/service/firehose/command/stream/sim-firehose-stream-descriptions.d.ts.map +1 -0
  452. package/dist/service/firehose/command/stream/sim-firehose-stream-descriptions.js +70 -0
  453. package/dist/service/firehose/command/stream/sim-firehose-stream-descriptions.js.map +1 -0
  454. package/dist/service/firehose/command/stream/stream.command.d.ts +137 -0
  455. package/dist/service/firehose/command/stream/stream.command.d.ts.map +1 -0
  456. package/dist/service/firehose/command/stream/stream.command.js +2 -0
  457. package/dist/service/firehose/command/stream/stream.command.js.map +1 -0
  458. package/dist/service/firehose/delivery/sim-firehose-buffer.d.ts +36 -0
  459. package/dist/service/firehose/delivery/sim-firehose-buffer.d.ts.map +1 -0
  460. package/dist/service/firehose/delivery/sim-firehose-buffer.js +55 -0
  461. package/dist/service/firehose/delivery/sim-firehose-buffer.js.map +1 -0
  462. package/dist/service/firehose/delivery/sim-firehose-delivery-failures.d.ts +34 -0
  463. package/dist/service/firehose/delivery/sim-firehose-delivery-failures.d.ts.map +1 -0
  464. package/dist/service/firehose/delivery/sim-firehose-delivery-failures.js +24 -0
  465. package/dist/service/firehose/delivery/sim-firehose-delivery-failures.js.map +1 -0
  466. package/dist/service/firehose/delivery/sim-firehose-delivery.d.ts +47 -0
  467. package/dist/service/firehose/delivery/sim-firehose-delivery.d.ts.map +1 -0
  468. package/dist/service/firehose/delivery/sim-firehose-delivery.js +76 -0
  469. package/dist/service/firehose/delivery/sim-firehose-delivery.js.map +1 -0
  470. package/dist/service/firehose/delivery/sim-firehose-object-key.d.ts +21 -0
  471. package/dist/service/firehose/delivery/sim-firehose-object-key.d.ts.map +1 -0
  472. package/dist/service/firehose/delivery/sim-firehose-object-key.js +27 -0
  473. package/dist/service/firehose/delivery/sim-firehose-object-key.js.map +1 -0
  474. package/dist/service/firehose/delivery/sim-firehose-object-writer.d.ts +50 -0
  475. package/dist/service/firehose/delivery/sim-firehose-object-writer.d.ts.map +1 -0
  476. package/dist/service/firehose/delivery/sim-firehose-object-writer.js +57 -0
  477. package/dist/service/firehose/delivery/sim-firehose-object-writer.js.map +1 -0
  478. package/dist/service/firehose/destination/sim-firehose-buffering-hints.d.ts +29 -0
  479. package/dist/service/firehose/destination/sim-firehose-buffering-hints.d.ts.map +1 -0
  480. package/dist/service/firehose/destination/sim-firehose-buffering-hints.js +45 -0
  481. package/dist/service/firehose/destination/sim-firehose-buffering-hints.js.map +1 -0
  482. package/dist/service/firehose/destination/sim-firehose-destination-choice.d.ts +35 -0
  483. package/dist/service/firehose/destination/sim-firehose-destination-choice.d.ts.map +1 -0
  484. package/dist/service/firehose/destination/sim-firehose-destination-choice.js +48 -0
  485. package/dist/service/firehose/destination/sim-firehose-destination-choice.js.map +1 -0
  486. package/dist/service/firehose/destination/sim-firehose-s3-destination.d.ts +32 -0
  487. package/dist/service/firehose/destination/sim-firehose-s3-destination.d.ts.map +1 -0
  488. package/dist/service/firehose/destination/sim-firehose-s3-destination.js +51 -0
  489. package/dist/service/firehose/destination/sim-firehose-s3-destination.js.map +1 -0
  490. package/dist/service/firehose/error/sim-firehose.error.d.ts +69 -0
  491. package/dist/service/firehose/error/sim-firehose.error.d.ts.map +1 -0
  492. package/dist/service/firehose/error/sim-firehose.error.js +79 -0
  493. package/dist/service/firehose/error/sim-firehose.error.js.map +1 -0
  494. package/dist/service/firehose/failure/sim-firehose-failure.d.ts +38 -0
  495. package/dist/service/firehose/failure/sim-firehose-failure.d.ts.map +1 -0
  496. package/dist/service/firehose/failure/sim-firehose-failure.js +40 -0
  497. package/dist/service/firehose/failure/sim-firehose-failure.js.map +1 -0
  498. package/dist/service/firehose/failure/sim-firehose-failures.d.ts +32 -0
  499. package/dist/service/firehose/failure/sim-firehose-failures.d.ts.map +1 -0
  500. package/dist/service/firehose/failure/sim-firehose-failures.js +47 -0
  501. package/dist/service/firehose/failure/sim-firehose-failures.js.map +1 -0
  502. package/dist/service/firehose/index.d.ts +17 -0
  503. package/dist/service/firehose/index.d.ts.map +1 -0
  504. package/dist/service/firehose/index.js +12 -0
  505. package/dist/service/firehose/index.js.map +1 -0
  506. package/dist/service/firehose/sdk/sim-firehose-sdk-command-router.d.ts +18 -0
  507. package/dist/service/firehose/sdk/sim-firehose-sdk-command-router.d.ts.map +1 -0
  508. package/dist/service/firehose/sdk/sim-firehose-sdk-command-router.js +48 -0
  509. package/dist/service/firehose/sdk/sim-firehose-sdk-command-router.js.map +1 -0
  510. package/dist/service/firehose/sim-firehose.d.ts +104 -0
  511. package/dist/service/firehose/sim-firehose.d.ts.map +1 -0
  512. package/dist/service/firehose/sim-firehose.js +130 -0
  513. package/dist/service/firehose/sim-firehose.js.map +1 -0
  514. package/dist/service/firehose/source/read/sim-firehose-source-poll.d.ts +39 -0
  515. package/dist/service/firehose/source/read/sim-firehose-source-poll.d.ts.map +1 -0
  516. package/dist/service/firehose/source/read/sim-firehose-source-poll.js +48 -0
  517. package/dist/service/firehose/source/read/sim-firehose-source-poll.js.map +1 -0
  518. package/dist/service/firehose/source/read/sim-firehose-source-reader.d.ts +62 -0
  519. package/dist/service/firehose/source/read/sim-firehose-source-reader.d.ts.map +1 -0
  520. package/dist/service/firehose/source/read/sim-firehose-source-reader.js +94 -0
  521. package/dist/service/firehose/source/read/sim-firehose-source-reader.js.map +1 -0
  522. package/dist/service/firehose/source/read/sim-firehose-source-reading.d.ts +39 -0
  523. package/dist/service/firehose/source/read/sim-firehose-source-reading.d.ts.map +1 -0
  524. package/dist/service/firehose/source/read/sim-firehose-source-reading.js +48 -0
  525. package/dist/service/firehose/source/read/sim-firehose-source-reading.js.map +1 -0
  526. package/dist/service/firehose/source/read/sim-firehose-source-shard-ids.d.ts +12 -0
  527. package/dist/service/firehose/source/read/sim-firehose-source-shard-ids.d.ts.map +1 -0
  528. package/dist/service/firehose/source/read/sim-firehose-source-shard-ids.js +56 -0
  529. package/dist/service/firehose/source/read/sim-firehose-source-shard-ids.js.map +1 -0
  530. package/dist/service/firehose/source/read/sim-firehose-source-shard.d.ts +36 -0
  531. package/dist/service/firehose/source/read/sim-firehose-source-shard.d.ts.map +1 -0
  532. package/dist/service/firehose/source/read/sim-firehose-source-shard.js +45 -0
  533. package/dist/service/firehose/source/read/sim-firehose-source-shard.js.map +1 -0
  534. package/dist/service/firehose/source/read/sim-firehose-source-shards.d.ts +42 -0
  535. package/dist/service/firehose/source/read/sim-firehose-source-shards.d.ts.map +1 -0
  536. package/dist/service/firehose/source/read/sim-firehose-source-shards.js +53 -0
  537. package/dist/service/firehose/source/read/sim-firehose-source-shards.js.map +1 -0
  538. package/dist/service/firehose/source/sim-firehose-kinesis-source-arn.d.ts +29 -0
  539. package/dist/service/firehose/source/sim-firehose-kinesis-source-arn.d.ts.map +1 -0
  540. package/dist/service/firehose/source/sim-firehose-kinesis-source-arn.js +57 -0
  541. package/dist/service/firehose/source/sim-firehose-kinesis-source-arn.js.map +1 -0
  542. package/dist/service/firehose/source/sim-firehose-record-source.d.ts +140 -0
  543. package/dist/service/firehose/source/sim-firehose-record-source.d.ts.map +1 -0
  544. package/dist/service/firehose/source/sim-firehose-record-source.js +53 -0
  545. package/dist/service/firehose/source/sim-firehose-record-source.js.map +1 -0
  546. package/dist/service/firehose/source/sim-firehose-source-choice.d.ts +26 -0
  547. package/dist/service/firehose/source/sim-firehose-source-choice.d.ts.map +1 -0
  548. package/dist/service/firehose/source/sim-firehose-source-choice.js +68 -0
  549. package/dist/service/firehose/source/sim-firehose-source-choice.js.map +1 -0
  550. package/dist/service/firehose/source/sim-firehose-source-failures.d.ts +38 -0
  551. package/dist/service/firehose/source/sim-firehose-source-failures.d.ts.map +1 -0
  552. package/dist/service/firehose/source/sim-firehose-source-failures.js +33 -0
  553. package/dist/service/firehose/source/sim-firehose-source-failures.js.map +1 -0
  554. package/dist/service/firehose/source/sim-firehose-source.d.ts +64 -0
  555. package/dist/service/firehose/source/sim-firehose-source.d.ts.map +1 -0
  556. package/dist/service/firehose/source/sim-firehose-source.js +58 -0
  557. package/dist/service/firehose/source/sim-firehose-source.js.map +1 -0
  558. package/dist/service/firehose/stream/sim-firehose-delivery-stream-arn.d.ts +10 -0
  559. package/dist/service/firehose/stream/sim-firehose-delivery-stream-arn.d.ts.map +1 -0
  560. package/dist/service/firehose/stream/sim-firehose-delivery-stream-arn.js +12 -0
  561. package/dist/service/firehose/stream/sim-firehose-delivery-stream-arn.js.map +1 -0
  562. package/dist/service/firehose/stream/sim-firehose-delivery-stream-name.d.ts +9 -0
  563. package/dist/service/firehose/stream/sim-firehose-delivery-stream-name.d.ts.map +1 -0
  564. package/dist/service/firehose/stream/sim-firehose-delivery-stream-name.js +25 -0
  565. package/dist/service/firehose/stream/sim-firehose-delivery-stream-name.js.map +1 -0
  566. package/dist/service/firehose/stream/sim-firehose-delivery-stream-store.d.ts +37 -0
  567. package/dist/service/firehose/stream/sim-firehose-delivery-stream-store.d.ts.map +1 -0
  568. package/dist/service/firehose/stream/sim-firehose-delivery-stream-store.js +55 -0
  569. package/dist/service/firehose/stream/sim-firehose-delivery-stream-store.js.map +1 -0
  570. package/dist/service/firehose/stream/sim-firehose-delivery-stream.d.ts +50 -0
  571. package/dist/service/firehose/stream/sim-firehose-delivery-stream.d.ts.map +1 -0
  572. package/dist/service/firehose/stream/sim-firehose-delivery-stream.factory.d.ts +57 -0
  573. package/dist/service/firehose/stream/sim-firehose-delivery-stream.factory.d.ts.map +1 -0
  574. package/dist/service/firehose/stream/sim-firehose-delivery-stream.factory.js +61 -0
  575. package/dist/service/firehose/stream/sim-firehose-delivery-stream.factory.js.map +1 -0
  576. package/dist/service/firehose/stream/sim-firehose-delivery-stream.js +42 -0
  577. package/dist/service/firehose/stream/sim-firehose-delivery-stream.js.map +1 -0
  578. package/dist/service/lambda/function/environment/sim-lambda-environment.d.ts +22 -20
  579. package/dist/service/lambda/function/environment/sim-lambda-environment.d.ts.map +1 -1
  580. package/dist/service/lambda/function/environment/sim-lambda-environment.js +27 -29
  581. package/dist/service/lambda/function/environment/sim-lambda-environment.js.map +1 -1
  582. package/dist/service/lambda/function/environment/sim-lambda-host-backed-variables.d.ts +28 -0
  583. package/dist/service/lambda/function/environment/sim-lambda-host-backed-variables.d.ts.map +1 -0
  584. package/dist/service/lambda/function/environment/sim-lambda-host-backed-variables.js +49 -0
  585. package/dist/service/lambda/function/environment/sim-lambda-host-backed-variables.js.map +1 -0
  586. package/dist/service/lambda/function/environment/sim-lambda-runtime-variables.d.ts +18 -0
  587. package/dist/service/lambda/function/environment/sim-lambda-runtime-variables.d.ts.map +1 -0
  588. package/dist/service/lambda/function/environment/sim-lambda-runtime-variables.js +23 -0
  589. package/dist/service/lambda/function/environment/sim-lambda-runtime-variables.js.map +1 -0
  590. package/dist/service/stepfunctions/choice/sim-states-choice-group-test.d.ts +32 -0
  591. package/dist/service/stepfunctions/choice/sim-states-choice-group-test.d.ts.map +1 -0
  592. package/dist/service/stepfunctions/choice/sim-states-choice-group-test.js +42 -0
  593. package/dist/service/stepfunctions/choice/sim-states-choice-group-test.js.map +1 -0
  594. package/dist/service/stepfunctions/choice/sim-states-choice-operand.d.ts +29 -0
  595. package/dist/service/stepfunctions/choice/sim-states-choice-operand.d.ts.map +1 -0
  596. package/dist/service/stepfunctions/choice/sim-states-choice-operand.js +38 -0
  597. package/dist/service/stepfunctions/choice/sim-states-choice-operand.js.map +1 -0
  598. package/dist/service/stepfunctions/choice/sim-states-choice-parse.d.ts +15 -0
  599. package/dist/service/stepfunctions/choice/sim-states-choice-parse.d.ts.map +1 -0
  600. package/dist/service/stepfunctions/choice/sim-states-choice-parse.js +44 -0
  601. package/dist/service/stepfunctions/choice/sim-states-choice-parse.js.map +1 -0
  602. package/dist/service/stepfunctions/choice/sim-states-choice-rule-record.d.ts +10 -0
  603. package/dist/service/stepfunctions/choice/sim-states-choice-rule-record.d.ts.map +1 -0
  604. package/dist/service/stepfunctions/choice/sim-states-choice-rule-record.js +31 -0
  605. package/dist/service/stepfunctions/choice/sim-states-choice-rule-record.js.map +1 -0
  606. package/dist/service/stepfunctions/choice/sim-states-choice-rule.d.ts +15 -0
  607. package/dist/service/stepfunctions/choice/sim-states-choice-rule.d.ts.map +1 -0
  608. package/dist/service/stepfunctions/choice/sim-states-choice-rule.js +18 -0
  609. package/dist/service/stepfunctions/choice/sim-states-choice-rule.js.map +1 -0
  610. package/dist/service/stepfunctions/choice/sim-states-choice-test-parse.d.ts +7 -0
  611. package/dist/service/stepfunctions/choice/sim-states-choice-test-parse.d.ts.map +1 -0
  612. package/dist/service/stepfunctions/choice/sim-states-choice-test-parse.js +72 -0
  613. package/dist/service/stepfunctions/choice/sim-states-choice-test-parse.js.map +1 -0
  614. package/dist/service/stepfunctions/choice/sim-states-choice-test.d.ts +33 -0
  615. package/dist/service/stepfunctions/choice/sim-states-choice-test.d.ts.map +1 -0
  616. package/dist/service/stepfunctions/choice/sim-states-choice-test.js +34 -0
  617. package/dist/service/stepfunctions/choice/sim-states-choice-test.js.map +1 -0
  618. package/dist/service/stepfunctions/choice/sim-states-comparison-families.d.ts +26 -0
  619. package/dist/service/stepfunctions/choice/sim-states-comparison-families.d.ts.map +1 -0
  620. package/dist/service/stepfunctions/choice/sim-states-comparison-families.js +65 -0
  621. package/dist/service/stepfunctions/choice/sim-states-comparison-families.js.map +1 -0
  622. package/dist/service/stepfunctions/choice/sim-states-comparison-parse.d.ts +15 -0
  623. package/dist/service/stepfunctions/choice/sim-states-comparison-parse.d.ts.map +1 -0
  624. package/dist/service/stepfunctions/choice/sim-states-comparison-parse.js +43 -0
  625. package/dist/service/stepfunctions/choice/sim-states-comparison-parse.js.map +1 -0
  626. package/dist/service/stepfunctions/choice/sim-states-comparison.d.ts +49 -0
  627. package/dist/service/stepfunctions/choice/sim-states-comparison.d.ts.map +1 -0
  628. package/dist/service/stepfunctions/choice/sim-states-comparison.js +51 -0
  629. package/dist/service/stepfunctions/choice/sim-states-comparison.js.map +1 -0
  630. package/dist/service/stepfunctions/choice/sim-states-comparisons.d.ts +6 -0
  631. package/dist/service/stepfunctions/choice/sim-states-comparisons.d.ts.map +1 -0
  632. package/dist/service/stepfunctions/choice/sim-states-comparisons.js +64 -0
  633. package/dist/service/stepfunctions/choice/sim-states-comparisons.js.map +1 -0
  634. package/dist/service/stepfunctions/choice/sim-states-glob.d.ts +14 -0
  635. package/dist/service/stepfunctions/choice/sim-states-glob.d.ts.map +1 -0
  636. package/dist/service/stepfunctions/choice/sim-states-glob.js +73 -0
  637. package/dist/service/stepfunctions/choice/sim-states-glob.js.map +1 -0
  638. package/dist/service/stepfunctions/command/execution/execution.command.d.ts +32 -0
  639. package/dist/service/stepfunctions/command/execution/execution.command.d.ts.map +1 -0
  640. package/dist/service/stepfunctions/command/execution/execution.command.js +2 -0
  641. package/dist/service/stepfunctions/command/execution/execution.command.js.map +1 -0
  642. package/dist/service/stepfunctions/command/execution/sim-states-execution-describe.d.ts +11 -0
  643. package/dist/service/stepfunctions/command/execution/sim-states-execution-describe.d.ts.map +1 -0
  644. package/dist/service/stepfunctions/command/execution/sim-states-execution-describe.js +23 -0
  645. package/dist/service/stepfunctions/command/execution/sim-states-execution-describe.js.map +1 -0
  646. package/dist/service/stepfunctions/command/execution/sim-states-execution-name.d.ts +12 -0
  647. package/dist/service/stepfunctions/command/execution/sim-states-execution-name.d.ts.map +1 -0
  648. package/dist/service/stepfunctions/command/execution/sim-states-execution-name.js +23 -0
  649. package/dist/service/stepfunctions/command/execution/sim-states-execution-name.js.map +1 -0
  650. package/dist/service/stepfunctions/command/execution/sim-states-execution-repeat.d.ts +12 -0
  651. package/dist/service/stepfunctions/command/execution/sim-states-execution-repeat.d.ts.map +1 -0
  652. package/dist/service/stepfunctions/command/execution/sim-states-execution-repeat.js +21 -0
  653. package/dist/service/stepfunctions/command/execution/sim-states-execution-repeat.js.map +1 -0
  654. package/dist/service/stepfunctions/command/execution/sim-states-execution-start.d.ts +36 -0
  655. package/dist/service/stepfunctions/command/execution/sim-states-execution-start.d.ts.map +1 -0
  656. package/dist/service/stepfunctions/command/execution/sim-states-execution-start.js +64 -0
  657. package/dist/service/stepfunctions/command/execution/sim-states-execution-start.js.map +1 -0
  658. package/dist/service/stepfunctions/command/execution/sim-states-execution-view.d.ts +18 -0
  659. package/dist/service/stepfunctions/command/execution/sim-states-execution-view.d.ts.map +1 -0
  660. package/dist/service/stepfunctions/command/execution/sim-states-execution-view.js +41 -0
  661. package/dist/service/stepfunctions/command/execution/sim-states-execution-view.js.map +1 -0
  662. package/dist/service/stepfunctions/command/machine/machine.command.d.ts +63 -0
  663. package/dist/service/stepfunctions/command/machine/machine.command.d.ts.map +1 -0
  664. package/dist/service/stepfunctions/command/machine/machine.command.js +2 -0
  665. package/dist/service/stepfunctions/command/machine/machine.command.js.map +1 -0
  666. package/dist/service/stepfunctions/command/machine/sim-state-machine-create.d.ts +30 -0
  667. package/dist/service/stepfunctions/command/machine/sim-state-machine-create.d.ts.map +1 -0
  668. package/dist/service/stepfunctions/command/machine/sim-state-machine-create.js +64 -0
  669. package/dist/service/stepfunctions/command/machine/sim-state-machine-create.js.map +1 -0
  670. package/dist/service/stepfunctions/command/machine/sim-state-machine-input.d.ts +22 -0
  671. package/dist/service/stepfunctions/command/machine/sim-state-machine-input.d.ts.map +1 -0
  672. package/dist/service/stepfunctions/command/machine/sim-state-machine-input.js +38 -0
  673. package/dist/service/stepfunctions/command/machine/sim-state-machine-input.js.map +1 -0
  674. package/dist/service/stepfunctions/command/machine/sim-state-machine-lookup.d.ts +7 -0
  675. package/dist/service/stepfunctions/command/machine/sim-state-machine-lookup.d.ts.map +1 -0
  676. package/dist/service/stepfunctions/command/machine/sim-state-machine-lookup.js +15 -0
  677. package/dist/service/stepfunctions/command/machine/sim-state-machine-lookup.js.map +1 -0
  678. package/dist/service/stepfunctions/command/machine/sim-state-machine-reads.d.ts +18 -0
  679. package/dist/service/stepfunctions/command/machine/sim-state-machine-reads.d.ts.map +1 -0
  680. package/dist/service/stepfunctions/command/machine/sim-state-machine-reads.js +49 -0
  681. package/dist/service/stepfunctions/command/machine/sim-state-machine-reads.js.map +1 -0
  682. package/dist/service/stepfunctions/command/machine/sim-state-machine-writes.d.ts +26 -0
  683. package/dist/service/stepfunctions/command/machine/sim-state-machine-writes.d.ts.map +1 -0
  684. package/dist/service/stepfunctions/command/machine/sim-state-machine-writes.js +44 -0
  685. package/dist/service/stepfunctions/command/machine/sim-state-machine-writes.js.map +1 -0
  686. package/dist/service/stepfunctions/command/sim-step-functions-command.types.d.ts +6 -0
  687. package/dist/service/stepfunctions/command/sim-step-functions-command.types.d.ts.map +1 -0
  688. package/dist/service/stepfunctions/command/sim-step-functions-command.types.js +2 -0
  689. package/dist/service/stepfunctions/command/sim-step-functions-command.types.js.map +1 -0
  690. package/dist/service/stepfunctions/command/sim-step-functions-request-options.d.ts +12 -0
  691. package/dist/service/stepfunctions/command/sim-step-functions-request-options.d.ts.map +1 -0
  692. package/dist/service/stepfunctions/command/sim-step-functions-request-options.js +2 -0
  693. package/dist/service/stepfunctions/command/sim-step-functions-request-options.js.map +1 -0
  694. package/dist/service/stepfunctions/data/sim-states-result-path.js +1 -1
  695. package/dist/service/stepfunctions/data/sim-states-result-path.js.map +1 -1
  696. package/dist/service/stepfunctions/data/sim-states-timestamp-fields.d.ts +10 -0
  697. package/dist/service/stepfunctions/data/sim-states-timestamp-fields.d.ts.map +1 -0
  698. package/dist/service/stepfunctions/data/sim-states-timestamp-fields.js +45 -0
  699. package/dist/service/stepfunctions/data/sim-states-timestamp-fields.js.map +1 -0
  700. package/dist/service/stepfunctions/data/sim-states-timestamp.d.ts +10 -0
  701. package/dist/service/stepfunctions/data/sim-states-timestamp.d.ts.map +1 -0
  702. package/dist/service/stepfunctions/data/sim-states-timestamp.js +26 -0
  703. package/dist/service/stepfunctions/data/sim-states-timestamp.js.map +1 -0
  704. package/dist/service/stepfunctions/definition/sim-states-definition-parse.d.ts +10 -0
  705. package/dist/service/stepfunctions/definition/sim-states-definition-parse.d.ts.map +1 -0
  706. package/dist/service/stepfunctions/definition/sim-states-definition-parse.js +61 -0
  707. package/dist/service/stepfunctions/definition/sim-states-definition-parse.js.map +1 -0
  708. package/dist/service/stepfunctions/definition/sim-states-definition.d.ts +15 -0
  709. package/dist/service/stepfunctions/definition/sim-states-definition.d.ts.map +1 -0
  710. package/dist/service/stepfunctions/definition/sim-states-definition.js +2 -0
  711. package/dist/service/stepfunctions/definition/sim-states-definition.js.map +1 -0
  712. package/dist/service/stepfunctions/definition/sim-states-state-fields.d.ts +17 -0
  713. package/dist/service/stepfunctions/definition/sim-states-state-fields.d.ts.map +1 -0
  714. package/dist/service/stepfunctions/definition/sim-states-state-fields.js +47 -0
  715. package/dist/service/stepfunctions/definition/sim-states-state-fields.js.map +1 -0
  716. package/dist/service/stepfunctions/definition/sim-states-state-parse.d.ts +7 -0
  717. package/dist/service/stepfunctions/definition/sim-states-state-parse.d.ts.map +1 -0
  718. package/dist/service/stepfunctions/definition/sim-states-state-parse.js +67 -0
  719. package/dist/service/stepfunctions/definition/sim-states-state-parse.js.map +1 -0
  720. package/dist/service/stepfunctions/definition/sim-states-state.d.ts +98 -0
  721. package/dist/service/stepfunctions/definition/sim-states-state.d.ts.map +1 -0
  722. package/dist/service/stepfunctions/definition/sim-states-state.js +34 -0
  723. package/dist/service/stepfunctions/definition/sim-states-state.js.map +1 -0
  724. package/dist/service/stepfunctions/definition/sim-states-transitions.d.ts +10 -0
  725. package/dist/service/stepfunctions/definition/sim-states-transitions.d.ts.map +1 -0
  726. package/dist/service/stepfunctions/definition/sim-states-transitions.js +79 -0
  727. package/dist/service/stepfunctions/definition/sim-states-transitions.js.map +1 -0
  728. package/dist/service/stepfunctions/error/sim-step-functions.error.d.ts +99 -0
  729. package/dist/service/stepfunctions/error/sim-step-functions.error.d.ts.map +1 -1
  730. package/dist/service/stepfunctions/error/sim-step-functions.error.js +119 -0
  731. package/dist/service/stepfunctions/error/sim-step-functions.error.js.map +1 -1
  732. package/dist/service/stepfunctions/execution/sim-states-execution-store.d.ts +33 -0
  733. package/dist/service/stepfunctions/execution/sim-states-execution-store.d.ts.map +1 -0
  734. package/dist/service/stepfunctions/execution/sim-states-execution-store.js +55 -0
  735. package/dist/service/stepfunctions/execution/sim-states-execution-store.js.map +1 -0
  736. package/dist/service/stepfunctions/execution/sim-states-execution.d.ts +53 -0
  737. package/dist/service/stepfunctions/execution/sim-states-execution.d.ts.map +1 -0
  738. package/dist/service/stepfunctions/execution/sim-states-execution.js +77 -0
  739. package/dist/service/stepfunctions/execution/sim-states-execution.js.map +1 -0
  740. package/dist/service/stepfunctions/execution/sim-states-failure.d.ts +24 -0
  741. package/dist/service/stepfunctions/execution/sim-states-failure.d.ts.map +1 -0
  742. package/dist/service/stepfunctions/execution/sim-states-failure.js +50 -0
  743. package/dist/service/stepfunctions/execution/sim-states-failure.js.map +1 -0
  744. package/dist/service/stepfunctions/execution/sim-states-interpreter.d.ts +42 -0
  745. package/dist/service/stepfunctions/execution/sim-states-interpreter.d.ts.map +1 -0
  746. package/dist/service/stepfunctions/execution/sim-states-interpreter.js +124 -0
  747. package/dist/service/stepfunctions/execution/sim-states-interpreter.js.map +1 -0
  748. package/dist/service/stepfunctions/execution/sim-states-run-choice.d.ts +12 -0
  749. package/dist/service/stepfunctions/execution/sim-states-run-choice.d.ts.map +1 -0
  750. package/dist/service/stepfunctions/execution/sim-states-run-choice.js +24 -0
  751. package/dist/service/stepfunctions/execution/sim-states-run-choice.js.map +1 -0
  752. package/dist/service/stepfunctions/execution/sim-states-run-state.d.ts +15 -0
  753. package/dist/service/stepfunctions/execution/sim-states-run-state.d.ts.map +1 -0
  754. package/dist/service/stepfunctions/execution/sim-states-run-state.js +68 -0
  755. package/dist/service/stepfunctions/execution/sim-states-run-state.js.map +1 -0
  756. package/dist/service/stepfunctions/execution/sim-states-run-task.d.ts +14 -0
  757. package/dist/service/stepfunctions/execution/sim-states-run-task.d.ts.map +1 -0
  758. package/dist/service/stepfunctions/execution/sim-states-run-task.js +23 -0
  759. package/dist/service/stepfunctions/execution/sim-states-run-task.js.map +1 -0
  760. package/dist/service/stepfunctions/execution/sim-states-run-wait.d.ts +11 -0
  761. package/dist/service/stepfunctions/execution/sim-states-run-wait.d.ts.map +1 -0
  762. package/dist/service/stepfunctions/execution/sim-states-run-wait.js +21 -0
  763. package/dist/service/stepfunctions/execution/sim-states-run-wait.js.map +1 -0
  764. package/dist/service/stepfunctions/execution/sim-states-settlement.d.ts +27 -0
  765. package/dist/service/stepfunctions/execution/sim-states-settlement.d.ts.map +1 -0
  766. package/dist/service/stepfunctions/execution/sim-states-settlement.js +33 -0
  767. package/dist/service/stepfunctions/execution/sim-states-settlement.js.map +1 -0
  768. package/dist/service/stepfunctions/execution/sim-states-state-outcome.d.ts +46 -0
  769. package/dist/service/stepfunctions/execution/sim-states-state-outcome.d.ts.map +1 -0
  770. package/dist/service/stepfunctions/execution/sim-states-state-outcome.js +2 -0
  771. package/dist/service/stepfunctions/execution/sim-states-state-outcome.js.map +1 -0
  772. package/dist/service/stepfunctions/execution/sim-states-state-runner.d.ts +27 -0
  773. package/dist/service/stepfunctions/execution/sim-states-state-runner.d.ts.map +1 -0
  774. package/dist/service/stepfunctions/execution/sim-states-state-runner.js +36 -0
  775. package/dist/service/stepfunctions/execution/sim-states-state-runner.js.map +1 -0
  776. package/dist/service/stepfunctions/index.d.ts +16 -0
  777. package/dist/service/stepfunctions/index.d.ts.map +1 -0
  778. package/dist/service/stepfunctions/index.js +9 -0
  779. package/dist/service/stepfunctions/index.js.map +1 -0
  780. package/dist/service/stepfunctions/machine/sim-state-machine-arn.d.ts +30 -0
  781. package/dist/service/stepfunctions/machine/sim-state-machine-arn.d.ts.map +1 -0
  782. package/dist/service/stepfunctions/machine/sim-state-machine-arn.js +48 -0
  783. package/dist/service/stepfunctions/machine/sim-state-machine-arn.js.map +1 -0
  784. package/dist/service/stepfunctions/machine/sim-state-machine-store.d.ts +20 -0
  785. package/dist/service/stepfunctions/machine/sim-state-machine-store.d.ts.map +1 -0
  786. package/dist/service/stepfunctions/machine/sim-state-machine-store.js +32 -0
  787. package/dist/service/stepfunctions/machine/sim-state-machine-store.js.map +1 -0
  788. package/dist/service/stepfunctions/machine/sim-state-machine.d.ts +54 -0
  789. package/dist/service/stepfunctions/machine/sim-state-machine.d.ts.map +1 -0
  790. package/dist/service/stepfunctions/machine/sim-state-machine.js +60 -0
  791. package/dist/service/stepfunctions/machine/sim-state-machine.js.map +1 -0
  792. package/dist/service/stepfunctions/machine/sim-states-name.d.ts +10 -0
  793. package/dist/service/stepfunctions/machine/sim-states-name.d.ts.map +1 -0
  794. package/dist/service/stepfunctions/machine/sim-states-name.js +42 -0
  795. package/dist/service/stepfunctions/machine/sim-states-name.js.map +1 -0
  796. package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.d.ts +19 -0
  797. package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.d.ts.map +1 -0
  798. package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.js +53 -0
  799. package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.js.map +1 -0
  800. package/dist/service/stepfunctions/sim-step-functions-inspection.d.ts +22 -0
  801. package/dist/service/stepfunctions/sim-step-functions-inspection.d.ts.map +1 -0
  802. package/dist/service/stepfunctions/sim-step-functions-inspection.js +29 -0
  803. package/dist/service/stepfunctions/sim-step-functions-inspection.js.map +1 -0
  804. package/dist/service/stepfunctions/sim-step-functions.d.ts +67 -0
  805. package/dist/service/stepfunctions/sim-step-functions.d.ts.map +1 -0
  806. package/dist/service/stepfunctions/sim-step-functions.js +124 -0
  807. package/dist/service/stepfunctions/sim-step-functions.js.map +1 -0
  808. package/dist/service/stepfunctions/task/sim-aws-states-task-targets.d.ts +33 -0
  809. package/dist/service/stepfunctions/task/sim-aws-states-task-targets.d.ts.map +1 -0
  810. package/dist/service/stepfunctions/task/sim-aws-states-task-targets.js +49 -0
  811. package/dist/service/stepfunctions/task/sim-aws-states-task-targets.js.map +1 -0
  812. package/dist/service/stepfunctions/task/sim-states-execution-role.d.ts +25 -0
  813. package/dist/service/stepfunctions/task/sim-states-execution-role.d.ts.map +1 -0
  814. package/dist/service/stepfunctions/task/sim-states-execution-role.js +57 -0
  815. package/dist/service/stepfunctions/task/sim-states-execution-role.js.map +1 -0
  816. package/dist/service/stepfunctions/task/sim-states-function-arn-target.d.ts +31 -0
  817. package/dist/service/stepfunctions/task/sim-states-function-arn-target.d.ts.map +1 -0
  818. package/dist/service/stepfunctions/task/sim-states-function-arn-target.js +39 -0
  819. package/dist/service/stepfunctions/task/sim-states-function-arn-target.js.map +1 -0
  820. package/dist/service/stepfunctions/task/sim-states-function-location.d.ts +20 -0
  821. package/dist/service/stepfunctions/task/sim-states-function-location.d.ts.map +1 -0
  822. package/dist/service/stepfunctions/task/sim-states-function-location.js +28 -0
  823. package/dist/service/stepfunctions/task/sim-states-function-location.js.map +1 -0
  824. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.d.ts +34 -0
  825. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.d.ts.map +1 -0
  826. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.js +65 -0
  827. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.js.map +1 -0
  828. package/dist/service/stepfunctions/task/sim-states-no-task-targets.d.ts +16 -0
  829. package/dist/service/stepfunctions/task/sim-states-no-task-targets.d.ts.map +1 -0
  830. package/dist/service/stepfunctions/task/sim-states-no-task-targets.js +19 -0
  831. package/dist/service/stepfunctions/task/sim-states-no-task-targets.js.map +1 -0
  832. package/dist/service/stepfunctions/task/sim-states-task-fields.d.ts +14 -0
  833. package/dist/service/stepfunctions/task/sim-states-task-fields.d.ts.map +1 -0
  834. package/dist/service/stepfunctions/task/sim-states-task-fields.js +29 -0
  835. package/dist/service/stepfunctions/task/sim-states-task-fields.js.map +1 -0
  836. package/dist/service/stepfunctions/task/sim-states-task-function.d.ts +57 -0
  837. package/dist/service/stepfunctions/task/sim-states-task-function.d.ts.map +1 -0
  838. package/dist/service/stepfunctions/task/sim-states-task-function.js +93 -0
  839. package/dist/service/stepfunctions/task/sim-states-task-function.js.map +1 -0
  840. package/dist/service/stepfunctions/task/sim-states-task-invocation.d.ts +29 -0
  841. package/dist/service/stepfunctions/task/sim-states-task-invocation.d.ts.map +1 -0
  842. package/dist/service/stepfunctions/task/sim-states-task-invocation.js +2 -0
  843. package/dist/service/stepfunctions/task/sim-states-task-invocation.js.map +1 -0
  844. package/dist/service/stepfunctions/task/sim-states-task-resource.d.ts +12 -0
  845. package/dist/service/stepfunctions/task/sim-states-task-resource.d.ts.map +1 -0
  846. package/dist/service/stepfunctions/task/sim-states-task-resource.js +64 -0
  847. package/dist/service/stepfunctions/task/sim-states-task-resource.js.map +1 -0
  848. package/dist/service/stepfunctions/task/sim-states-task-target.d.ts +37 -0
  849. package/dist/service/stepfunctions/task/sim-states-task-target.d.ts.map +1 -0
  850. package/dist/service/stepfunctions/task/sim-states-task-target.js +12 -0
  851. package/dist/service/stepfunctions/task/sim-states-task-target.js.map +1 -0
  852. package/dist/service/stepfunctions/wait/sim-states-wait-due.d.ts +11 -0
  853. package/dist/service/stepfunctions/wait/sim-states-wait-due.d.ts.map +1 -0
  854. package/dist/service/stepfunctions/wait/sim-states-wait-due.js +67 -0
  855. package/dist/service/stepfunctions/wait/sim-states-wait-due.js.map +1 -0
  856. package/dist/service/stepfunctions/wait/sim-states-wait-fields.d.ts +18 -0
  857. package/dist/service/stepfunctions/wait/sim-states-wait-fields.d.ts.map +1 -0
  858. package/dist/service/stepfunctions/wait/sim-states-wait-fields.js +85 -0
  859. package/dist/service/stepfunctions/wait/sim-states-wait-fields.js.map +1 -0
  860. package/dist/util/process/sim-process-environment.d.ts +9 -0
  861. package/dist/util/process/sim-process-environment.d.ts.map +1 -1
  862. package/dist/util/process/sim-process-environment.js +17 -0
  863. package/dist/util/process/sim-process-environment.js.map +1 -1
  864. package/dist/util/throttle/sim-token-bucket.d.ts +32 -0
  865. package/dist/util/throttle/sim-token-bucket.d.ts.map +1 -0
  866. package/dist/util/throttle/sim-token-bucket.js +53 -0
  867. package/dist/util/throttle/sim-token-bucket.js.map +1 -0
  868. package/package.json +11 -1
@@ -0,0 +1,29 @@
1
+ import { SimStatesUnsimulatedInput } from "../error/sim-step-functions.error.js";
2
+ /**
3
+ * The fields of a `Task` state this simulator has no implementation for.
4
+ */
5
+ export const simStatesTaskFieldsUnsimulated = [
6
+ "Retry",
7
+ "Catch",
8
+ "TimeoutSeconds",
9
+ "TimeoutSecondsPath",
10
+ "HeartbeatSeconds",
11
+ "HeartbeatSecondsPath",
12
+ "Credentials",
13
+ ];
14
+ /**
15
+ * Refuse the fields of a `Task` state this simulator does not run.
16
+ *
17
+ * A definition carrying one of them would behave differently here than it does
18
+ * on AWS. A task that failed would end the execution rather than being retried,
19
+ * and a task that ran long would answer rather than time out.
20
+ */
21
+ export function checkSimStatesTaskFields(stateName, state) {
22
+ const present = simStatesTaskFieldsUnsimulated.filter((field) => Object.hasOwn(state, field));
23
+ if (present.length > 0) {
24
+ throw new SimStatesUnsimulatedInput(`The Task state ${stateName} carries ${present.join(", ")}, which this ` +
25
+ "simulator does not run yet. A task that fails ends the execution, " +
26
+ "and a task that runs long runs to whatever its handler answers.");
27
+ }
28
+ }
29
+ //# sourceMappingURL=sim-states-task-fields.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-task-fields.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/task/sim-states-task-fields.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AAEjF;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,OAAO;IACP,OAAO;IACP,gBAAgB;IAChB,oBAAoB;IACpB,kBAAkB;IAClB,sBAAsB;IACtB,aAAa;CACL,CAAC;AAEX;;;;;;GAMG;AACH,MAAM,UAAU,wBAAwB,CACtC,SAAiB,EACjB,KAAgC;IAEhC,MAAM,OAAO,GAAG,8BAA8B,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAC9D,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,CAC5B,CAAC;IAEF,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACvB,MAAM,IAAI,yBAAyB,CACjC,kBAAkB,SAAS,YAAY,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe;YACtE,oEAAoE;YACpE,iEAAiE,CACpE,CAAC;IACJ,CAAC;AACH,CAAC"}
@@ -0,0 +1,57 @@
1
+ import type { SimAwsCaller } from "../../aws/caller/sim-aws-caller.js";
2
+ import type { SimAwsAccountRegionContainer } from "../../aws/sim-aws-account-region-scope.js";
3
+ import type { SimLambdaFunctionReference } from "../../lambda/function/sim-lambda-function-reference.js";
4
+ import type { JSONValue } from "../../../util/type-guard/json.js";
5
+ import type { SimStatesTaskTarget } from "./sim-states-task-target.js";
6
+ interface SimStatesTaskFunctionProperties {
7
+ readonly scope: SimAwsAccountRegionContainer;
8
+ }
9
+ /**
10
+ * One `Task` state's invocation of a function.
11
+ */
12
+ export interface SimStatesTaskFunctionRequest {
13
+ readonly stateName: string;
14
+ readonly target: SimStatesTaskTarget;
15
+ readonly reference: SimLambdaFunctionReference;
16
+ /**
17
+ * What the state named the function, which is what its messages say.
18
+ */
19
+ readonly named: string;
20
+ readonly payload: JSONValue;
21
+ readonly caller: SimAwsCaller;
22
+ }
23
+ /**
24
+ * A Lambda function a `Task` state invokes, in the Account and Region the
25
+ * function is in.
26
+ *
27
+ * The function is resolved on every task rather than when the state machine
28
+ * was created, so an alias moved to another version moves what runs and a
29
+ * permission taken away stops the task.
30
+ */
31
+ export declare class SimStatesTaskFunction {
32
+ #private;
33
+ constructor(properties: SimStatesTaskFunctionProperties);
34
+ /**
35
+ * Invoke the function as the execution role, if the role may.
36
+ */
37
+ invoke(request: SimStatesTaskFunctionRequest): Promise<JSONValue>;
38
+ /**
39
+ * Ask the function's own Account whether the execution role may invoke it.
40
+ *
41
+ * The function's resource policy is not consulted, which is the difference
42
+ * from an EventBridge rule target. The task arrives as an assumed role
43
+ * rather than as a service principal, and a role in the same Account needs
44
+ * only its own identity policy.
45
+ */
46
+ private authorize;
47
+ /**
48
+ * Run the handler, and read a task failure off it raising.
49
+ *
50
+ * Invoked directly rather than through an `Invoke` command, because a
51
+ * handler failure has to reach the task rather than being answered as an
52
+ * error payload the state would take for a result.
53
+ */
54
+ private run;
55
+ }
56
+ export {};
57
+ //# sourceMappingURL=sim-states-task-function.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-task-function.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/task/sim-states-task-function.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,2CAA2C,CAAC;AAE9F,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,wDAAwD,CAAC;AACzG,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAElE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAOvE,UAAU,+BAA+B;IACvC,QAAQ,CAAC,KAAK,EAAE,4BAA4B,CAAC;CAC9C;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,MAAM,EAAE,mBAAmB,CAAC;IACrC,QAAQ,CAAC,SAAS,EAAE,0BAA0B,CAAC;IAE/C;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAEvB,QAAQ,CAAC,OAAO,EAAE,SAAS,CAAC;IAC5B,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAC;CAC/B;AAED;;;;;;;GAOG;AACH,qBAAa,qBAAqB;;IAGhC,YAAY,UAAU,EAAE,+BAA+B,EAEtD;IAED;;OAEG;IACG,MAAM,CAAC,OAAO,EAAE,4BAA4B,GAAG,OAAO,CAAC,SAAS,CAAC,CAoBtE;IAED;;;;;;;OAOG;IACH,OAAO,CAAC,SAAS;IAmBjB;;;;;;OAMG;YACW,GAAG;CAclB"}
@@ -0,0 +1,93 @@
1
+ import { SimStatesTaskFailure } from "../error/sim-step-functions.error.js";
2
+ /**
3
+ * The action an execution needs to invoke a function.
4
+ */
5
+ const invokeAction = "lambda:InvokeFunction";
6
+ /**
7
+ * A Lambda function a `Task` state invokes, in the Account and Region the
8
+ * function is in.
9
+ *
10
+ * The function is resolved on every task rather than when the state machine
11
+ * was created, so an alias moved to another version moves what runs and a
12
+ * permission taken away stops the task.
13
+ */
14
+ export class SimStatesTaskFunction {
15
+ #scope;
16
+ constructor(properties) {
17
+ this.#scope = properties.scope;
18
+ }
19
+ /**
20
+ * Invoke the function as the execution role, if the role may.
21
+ */
22
+ async invoke(request) {
23
+ const found = this.#scope
24
+ .lambda()
25
+ .getSimFunctionTarget(request.reference.functionName, request.reference.qualifier);
26
+ if (found === undefined) {
27
+ throw new SimStatesTaskFailure(`The Task state ${request.stateName} invokes ${request.named}, ` +
28
+ "which is not a simulated Lambda function.");
29
+ }
30
+ this.authorize(request, found.resource.arn);
31
+ const result = await this.run(request, found.simFunction);
32
+ return request.target.answer(result, found.simFunction.version);
33
+ }
34
+ /**
35
+ * Ask the function's own Account whether the execution role may invoke it.
36
+ *
37
+ * The function's resource policy is not consulted, which is the difference
38
+ * from an EventBridge rule target. The task arrives as an assumed role
39
+ * rather than as a service principal, and a role in the same Account needs
40
+ * only its own identity policy.
41
+ */
42
+ authorize(request, functionArn) {
43
+ const decision = this.#scope.iam().authorize({
44
+ action: invokeAction,
45
+ resource: functionArn,
46
+ caller: request.caller,
47
+ });
48
+ if (decision.isDenied) {
49
+ throw new SimStatesTaskFailure(`The Task state ${request.stateName} is not allowed to ` +
50
+ `${invokeAction} on ${functionArn}. Grant it in a policy on the ` +
51
+ "state machine's execution role.");
52
+ }
53
+ }
54
+ /**
55
+ * Run the handler, and read a task failure off it raising.
56
+ *
57
+ * Invoked directly rather than through an `Invoke` command, because a
58
+ * handler failure has to reach the task rather than being answered as an
59
+ * error payload the state would take for a result.
60
+ */
61
+ async run(request, simFunction) {
62
+ let result;
63
+ try {
64
+ result = await simFunction.invoke(request.payload);
65
+ }
66
+ catch (error) {
67
+ throw request.target.handlerFailure(error, request.stateName);
68
+ }
69
+ return readTaskResult(result, request.stateName);
70
+ }
71
+ }
72
+ /**
73
+ * Read what the handler answered as the JSON the execution carries on with.
74
+ *
75
+ * The answer crosses the same JSON serialisation a real invocation's payload
76
+ * does, so a `Date` a handler returns reaches the next state as the string it
77
+ * would there, and a handler answering with nothing answers `null`.
78
+ */
79
+ function readTaskResult(result, stateName) {
80
+ if (result === undefined) {
81
+ return null;
82
+ }
83
+ let serialised;
84
+ try {
85
+ serialised = JSON.stringify(result);
86
+ }
87
+ catch {
88
+ throw new SimStatesTaskFailure(`The function the Task state ${stateName} invoked answered with ` +
89
+ "something that is not JSON.");
90
+ }
91
+ return JSON.parse(serialised);
92
+ }
93
+ //# sourceMappingURL=sim-states-task-function.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-task-function.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/task/sim-states-task-function.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAG5E;;GAEG;AACH,MAAM,YAAY,GAAG,uBAAuB,CAAC;AAuB7C;;;;;;;GAOG;AACH,MAAM,OAAO,qBAAqB;IACvB,MAAM,CAA+B;IAE9C,YAAY,UAA2C;QACrD,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,KAAK,CAAC;IACjC,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,MAAM,CAAC,OAAqC;QAChD,MAAM,KAAK,GAAG,IAAI,CAAC,MAAM;aACtB,MAAM,EAAE;aACR,oBAAoB,CACnB,OAAO,CAAC,SAAS,CAAC,YAAY,EAC9B,OAAO,CAAC,SAAS,CAAC,SAAS,CAC5B,CAAC;QAEJ,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,MAAM,IAAI,oBAAoB,CAC5B,kBAAkB,OAAO,CAAC,SAAS,YAAY,OAAO,CAAC,KAAK,IAAI;gBAC9D,2CAA2C,CAC9C,CAAC;QACJ,CAAC;QAED,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;QAE5C,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC;QAE1D,OAAO,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAClE,CAAC;IAED;;;;;;;OAOG;IACK,SAAS,CACf,OAAqC,EACrC,WAAmB;QAEnB,MAAM,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC;YAC3C,MAAM,EAAE,YAAY;YACpB,QAAQ,EAAE,WAAW;YACrB,MAAM,EAAE,OAAO,CAAC,MAAM;SACvB,CAAC,CAAC;QAEH,IAAI,QAAQ,CAAC,QAAQ,EAAE,CAAC;YACtB,MAAM,IAAI,oBAAoB,CAC5B,kBAAkB,OAAO,CAAC,SAAS,qBAAqB;gBACtD,GAAG,YAAY,OAAO,WAAW,gCAAgC;gBACjE,iCAAiC,CACpC,CAAC;QACJ,CAAC;IACH,CAAC;IAED;;;;;;OAMG;IACK,KAAK,CAAC,GAAG,CACf,OAAqC,EACrC,WAA8B;QAE9B,IAAI,MAAe,CAAC;QAEpB,IAAI,CAAC;YACH,MAAM,GAAG,MAAM,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACrD,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,OAAO,CAAC,MAAM,CAAC,cAAc,CAAC,KAAK,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;QAChE,CAAC;QAED,OAAO,cAAc,CAAC,MAAM,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IACnD,CAAC;CACF;AAED;;;;;;GAMG;AACH,SAAS,cAAc,CAAC,MAAe,EAAE,SAAiB;IACxD,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;QACzB,OAAO,IAAI,CAAC;IACd,CAAC;IAED,IAAI,UAAkB,CAAC;IAEvB,IAAI,CAAC;QACH,UAAU,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;IACtC,CAAC;IAAC,MAAM,CAAC;QACP,MAAM,IAAI,oBAAoB,CAC5B,+BAA+B,SAAS,yBAAyB;YAC/D,6BAA6B,CAChC,CAAC;IACJ,CAAC;IAED,OAAO,IAAI,CAAC,KAAK,CAAC,UAAU,CAAc,CAAC;AAC7C,CAAC"}
@@ -0,0 +1,29 @@
1
+ import type { JSONValue } from "../../../util/type-guard/json.js";
2
+ import type { SimStatesTaskTarget } from "./sim-states-task-target.js";
3
+ /**
4
+ * One `Task` state's invocation, as the state leaves it.
5
+ */
6
+ export interface SimStatesTaskInvocation {
7
+ readonly stateName: string;
8
+ readonly target: SimStatesTaskTarget;
9
+ /**
10
+ * What the state's `InputPath` and `Parameters` produced.
11
+ */
12
+ readonly payload: JSONValue;
13
+ /**
14
+ * The state machine's execution role, which the execution assumes to do the
15
+ * work.
16
+ */
17
+ readonly roleArn: string;
18
+ }
19
+ /**
20
+ * Where a `Task` state's work is done.
21
+ *
22
+ * A state machine reaches a function through this rather than holding one, so
23
+ * a `SimStepFunctions` built on its own has somewhere to say that there is
24
+ * nothing to reach.
25
+ */
26
+ export interface SimStatesTaskTargets {
27
+ invoke(invocation: SimStatesTaskInvocation): Promise<JSONValue>;
28
+ }
29
+ //# sourceMappingURL=sim-states-task-invocation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-task-invocation.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/task/sim-states-task-invocation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAEvE;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,MAAM,EAAE,mBAAmB,CAAC;IAErC;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,SAAS,CAAC;IAE5B;;;OAGG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;;GAMG;AACH,MAAM,WAAW,oBAAoB;IACnC,MAAM,CAAC,UAAU,EAAE,uBAAuB,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;CACjE"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=sim-states-task-invocation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-task-invocation.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/task/sim-states-task-invocation.ts"],"names":[],"mappings":""}
@@ -0,0 +1,12 @@
1
+ import type { JSONValue } from "../../../util/type-guard/json.js";
2
+ import type { SimStatesTaskTarget } from "./sim-states-task-target.js";
3
+ /**
4
+ * Read what a `Task` state's `Resource` names.
5
+ *
6
+ * This runs when the state machine is created, so a `Resource` this simulator
7
+ * cannot reach is refused there rather than when an execution arrives at the
8
+ * state. The service integrations beyond Lambda are refused here by name, and
9
+ * are where each of them will be added.
10
+ */
11
+ export declare function parseSimStatesTaskResource(stateName: string, state: Record<string, JSONValue>): SimStatesTaskTarget;
12
+ //# sourceMappingURL=sim-states-task-resource.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-task-resource.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/task/sim-states-task-resource.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAYlE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAEvE;;;;;;;GAOG;AACH,wBAAgB,0BAA0B,CACxC,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAC/B,mBAAmB,CAyBrB"}
@@ -0,0 +1,64 @@
1
+ import { parseSimLambdaFunctionArn } from "../../lambda/function/sim-lambda-function-arn-parts.js";
2
+ import { isRecord } from "../../../util/type-guard/record.js";
3
+ import { SimStatesInvalidDefinition, SimStatesUnsimulatedInput, } from "../error/sim-step-functions.error.js";
4
+ import { SimStatesFunctionArnTarget } from "./sim-states-function-arn-target.js";
5
+ import { SimStatesLambdaInvokeTarget, simStatesLambdaInvokeParameters, simStatesLambdaInvokeResource, } from "./sim-states-lambda-invoke-target.js";
6
+ /**
7
+ * Read what a `Task` state's `Resource` names.
8
+ *
9
+ * This runs when the state machine is created, so a `Resource` this simulator
10
+ * cannot reach is refused there rather than when an execution arrives at the
11
+ * state. The service integrations beyond Lambda are refused here by name, and
12
+ * are where each of them will be added.
13
+ */
14
+ export function parseSimStatesTaskResource(stateName, state) {
15
+ const resource = state["Resource"];
16
+ if (typeof resource !== "string" || resource === "") {
17
+ throw new SimStatesInvalidDefinition(`The Task state ${stateName} has no Resource saying what it does.`);
18
+ }
19
+ if (resource === simStatesLambdaInvokeResource) {
20
+ checkInvokeParameters(stateName, state["Parameters"]);
21
+ return new SimStatesLambdaInvokeTarget();
22
+ }
23
+ if (parseSimLambdaFunctionArn(resource) !== undefined) {
24
+ return new SimStatesFunctionArnTarget({ functionArn: resource });
25
+ }
26
+ throw new SimStatesUnsimulatedInput(`The Task state ${stateName} has a Resource of ${resource}, which this ` +
27
+ "simulator does not run. A Task state invokes a simulated Lambda " +
28
+ `function, through ${simStatesLambdaInvokeResource} or through a ` +
29
+ "function ARN.");
30
+ }
31
+ /**
32
+ * Check the `Invoke` request the state's `Parameters` build.
33
+ *
34
+ * The field naming the function is required, as it is on real Step Functions,
35
+ * and the fields of an `Invoke` this does not make are refused by name.
36
+ */
37
+ function checkInvokeParameters(stateName, parameters) {
38
+ if (!isRecord(parameters)) {
39
+ throw new SimStatesInvalidDefinition(`The Task state ${stateName} invokes a function and carries no ` +
40
+ "Parameters. A Parameters naming the function to invoke is what " +
41
+ `${simStatesLambdaInvokeResource} takes.`);
42
+ }
43
+ const fields = Object.keys(parameters).map(fieldName);
44
+ if (!fields.includes("FunctionName")) {
45
+ throw new SimStatesInvalidDefinition(`The Parameters of the Task state ${stateName} carry no FunctionName ` +
46
+ "naming the function to invoke.");
47
+ }
48
+ const beyond = fields.filter((field) => !simStatesLambdaInvokeParameters.includes(field));
49
+ if (beyond.length > 0) {
50
+ throw new SimStatesUnsimulatedInput(`The Parameters of the Task state ${stateName} carry ` +
51
+ `${beyond.join(", ")}. This simulator invokes a function with ` +
52
+ `${simStatesLambdaInvokeParameters.join(" and ")}.`);
53
+ }
54
+ }
55
+ /**
56
+ * The field one Payload Template key stands for.
57
+ *
58
+ * A key ending in `.$` holds a path to read rather than a value, and both
59
+ * spellings name the same field of the request.
60
+ */
61
+ function fieldName(key) {
62
+ return key.endsWith(".$") ? key.slice(0, -2) : key;
63
+ }
64
+ //# sourceMappingURL=sim-states-task-resource.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-task-resource.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/task/sim-states-task-resource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,wDAAwD,CAAC;AAEnG,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAC9D,OAAO,EACL,0BAA0B,EAC1B,yBAAyB,GAC1B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AACjF,OAAO,EACL,2BAA2B,EAC3B,+BAA+B,EAC/B,6BAA6B,GAC9B,MAAM,sCAAsC,CAAC;AAG9C;;;;;;;GAOG;AACH,MAAM,UAAU,0BAA0B,CACxC,SAAiB,EACjB,KAAgC;IAEhC,MAAM,QAAQ,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC;IAEnC,IAAI,OAAO,QAAQ,KAAK,QAAQ,IAAI,QAAQ,KAAK,EAAE,EAAE,CAAC;QACpD,MAAM,IAAI,0BAA0B,CAClC,kBAAkB,SAAS,uCAAuC,CACnE,CAAC;IACJ,CAAC;IAED,IAAI,QAAQ,KAAK,6BAA6B,EAAE,CAAC;QAC/C,qBAAqB,CAAC,SAAS,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC;QAEtD,OAAO,IAAI,2BAA2B,EAAE,CAAC;IAC3C,CAAC;IAED,IAAI,yBAAyB,CAAC,QAAQ,CAAC,KAAK,SAAS,EAAE,CAAC;QACtD,OAAO,IAAI,0BAA0B,CAAC,EAAE,WAAW,EAAE,QAAQ,EAAE,CAAC,CAAC;IACnE,CAAC;IAED,MAAM,IAAI,yBAAyB,CACjC,kBAAkB,SAAS,sBAAsB,QAAQ,eAAe;QACtE,kEAAkE;QAClE,qBAAqB,6BAA6B,gBAAgB;QAClE,eAAe,CAClB,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,SAAS,qBAAqB,CAC5B,SAAiB,EACjB,UAAiC;IAEjC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE,CAAC;QAC1B,MAAM,IAAI,0BAA0B,CAClC,kBAAkB,SAAS,qCAAqC;YAC9D,iEAAiE;YACjE,GAAG,6BAA6B,SAAS,CAC5C,CAAC;IACJ,CAAC;IAED,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAEtD,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,CAAC;QACrC,MAAM,IAAI,0BAA0B,CAClC,oCAAoC,SAAS,yBAAyB;YACpE,gCAAgC,CACnC,CAAC;IACJ,CAAC;IAED,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAC1B,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,+BAA+B,CAAC,QAAQ,CAAC,KAAc,CAAC,CACrE,CAAC;IAEF,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACtB,MAAM,IAAI,yBAAyB,CACjC,oCAAoC,SAAS,SAAS;YACpD,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,2CAA2C;YAC/D,GAAG,+BAA+B,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CACtD,CAAC;IACJ,CAAC;AACH,CAAC;AAED;;;;;GAKG;AACH,SAAS,SAAS,CAAC,GAAW;IAC5B,OAAO,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;AACrD,CAAC"}
@@ -0,0 +1,37 @@
1
+ import type { JSONValue } from "../../../util/type-guard/json.js";
2
+ /**
3
+ * The function one `Task` state invocation names, and what it sends.
4
+ */
5
+ export interface SimStatesTaskCall {
6
+ readonly functionNameOrArn: string;
7
+ readonly payload: JSONValue;
8
+ }
9
+ /**
10
+ * What a `Task` state's `Resource` named.
11
+ *
12
+ * The two forms a `Task` state invokes a function through differ in three
13
+ * places, and this is each of them: which function the state is talking to,
14
+ * what the state gets back, and what a handler raising is called. Everything
15
+ * between those, from assuming the execution role to running the handler, is
16
+ * the same for both.
17
+ */
18
+ export declare abstract class SimStatesTaskTarget {
19
+ /**
20
+ * The function to invoke and the payload to send it, read from what the
21
+ * state's data-flow fields produced.
22
+ */
23
+ abstract call(payload: JSONValue, stateName: string): SimStatesTaskCall;
24
+ /**
25
+ * The result the state produces from what the handler answered.
26
+ */
27
+ abstract answer(result: JSONValue, executedVersion: string): JSONValue;
28
+ /**
29
+ * What a handler raising fails the task with.
30
+ *
31
+ * The Amazon States Language error name is read here rather than where the
32
+ * failure is recorded, because the two forms report a handler error
33
+ * differently and `Retry` and `Catch` match on exactly that name.
34
+ */
35
+ abstract handlerFailure(error: unknown, stateName: string): Error;
36
+ }
37
+ //# sourceMappingURL=sim-states-task-target.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-task-target.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/task/sim-states-task-target.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAElE;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,OAAO,EAAE,SAAS,CAAC;CAC7B;AAED;;;;;;;;GAQG;AACH,8BAAsB,mBAAmB;IACvC;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,GAAG,iBAAiB,CAAC;IAExE;;OAEG;IACH,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,GAAG,SAAS,CAAC;IAEvE;;;;;;OAMG;IACH,QAAQ,CAAC,cAAc,CAAC,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,GAAG,KAAK,CAAC;CACnE"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * What a `Task` state's `Resource` named.
3
+ *
4
+ * The two forms a `Task` state invokes a function through differ in three
5
+ * places, and this is each of them: which function the state is talking to,
6
+ * what the state gets back, and what a handler raising is called. Everything
7
+ * between those, from assuming the execution role to running the handler, is
8
+ * the same for both.
9
+ */
10
+ export class SimStatesTaskTarget {
11
+ }
12
+ //# sourceMappingURL=sim-states-task-target.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-task-target.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/task/sim-states-task-target.ts"],"names":[],"mappings":"AAUA;;;;;;;;GAQG;AACH,MAAM,OAAgB,mBAAmB;CAoBxC"}
@@ -0,0 +1,11 @@
1
+ import type { JSONValue } from "../../../util/type-guard/json.js";
2
+ import type { SimStatesWaitState } from "../definition/sim-states-state.js";
3
+ /**
4
+ * The instant a `Wait` state waits for.
5
+ *
6
+ * The two literal fields are known from the definition. The two path fields
7
+ * are read out of the state's effective input, and a path holding the wrong
8
+ * kind of value fails the execution the way real Step Functions does.
9
+ */
10
+ export declare function simStatesWaitDue(state: SimStatesWaitState, input: JSONValue, now: Date): Date;
11
+ //# sourceMappingURL=sim-states-wait-due.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-wait-due.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/wait/sim-states-wait-due.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAIlE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAS5E;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,kBAAkB,EACzB,KAAK,EAAE,SAAS,EAChB,GAAG,EAAE,IAAI,GACR,IAAI,CA4BN"}
@@ -0,0 +1,67 @@
1
+ import { selectSimStatesPath } from "../data/sim-states-path-segment.js";
2
+ import { parseSimStatesReferencePath } from "../data/sim-states-reference-path.js";
3
+ import { readSimStatesTimestamp } from "../data/sim-states-timestamp.js";
4
+ import { SimStatesRuntimeFailure } from "../error/sim-step-functions.error.js";
5
+ import { simStatesMaximumWaitSeconds, simStatesWaitFields, } from "./sim-states-wait-fields.js";
6
+ const millisecondsInASecond = 1000;
7
+ /**
8
+ * The instant a `Wait` state waits for.
9
+ *
10
+ * The two literal fields are known from the definition. The two path fields
11
+ * are read out of the state's effective input, and a path holding the wrong
12
+ * kind of value fails the execution the way real Step Functions does.
13
+ */
14
+ export function simStatesWaitDue(state, input, now) {
15
+ if (state.Seconds !== undefined) {
16
+ return afterSeconds(now, state.Seconds, "Seconds");
17
+ }
18
+ if (state.Timestamp !== undefined) {
19
+ return atTimestamp(state.Timestamp, "Timestamp");
20
+ }
21
+ if (state.SecondsPath !== undefined) {
22
+ return afterSeconds(now, valueAt(state.SecondsPath, input), `SecondsPath ${state.SecondsPath}`);
23
+ }
24
+ if (state.TimestampPath !== undefined) {
25
+ return atTimestamp(valueAt(state.TimestampPath, input), `TimestampPath ${state.TimestampPath}`);
26
+ }
27
+ throw new SimStatesRuntimeFailure(`A Wait state carries none of ${simStatesWaitFields.join(", ")}, so ` +
28
+ "nothing says how long it waits.");
29
+ }
30
+ /**
31
+ * The instant a number of seconds from now.
32
+ */
33
+ function afterSeconds(now, seconds, source) {
34
+ if (!isAWaitInSeconds(seconds)) {
35
+ throw new SimStatesRuntimeFailure(`A Wait state reads ${source}, which holds ${JSON.stringify(seconds)} ` +
36
+ "rather than a whole number of seconds between 0 and " +
37
+ `${String(simStatesMaximumWaitSeconds)}.`);
38
+ }
39
+ return new Date(now.getTime() + seconds * millisecondsInASecond);
40
+ }
41
+ /**
42
+ * Whether a value is a length of time a `Wait` state can wait for.
43
+ */
44
+ function isAWaitInSeconds(seconds) {
45
+ return (typeof seconds === "number" &&
46
+ Number.isSafeInteger(seconds) &&
47
+ seconds >= 0 &&
48
+ seconds <= simStatesMaximumWaitSeconds);
49
+ }
50
+ /**
51
+ * The instant a timestamp names.
52
+ */
53
+ function atTimestamp(timestamp, source) {
54
+ const milliseconds = readSimStatesTimestamp(timestamp);
55
+ if (milliseconds === undefined) {
56
+ throw new SimStatesRuntimeFailure(`A Wait state reads ${source}, which holds ` +
57
+ `${JSON.stringify(timestamp)} rather than an RFC3339 instant.`);
58
+ }
59
+ return new Date(milliseconds);
60
+ }
61
+ /**
62
+ * What one of the two paths selects in the state's input.
63
+ */
64
+ function valueAt(path, input) {
65
+ return selectSimStatesPath(input, parseSimStatesReferencePath(path));
66
+ }
67
+ //# sourceMappingURL=sim-states-wait-due.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-wait-due.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/wait/sim-states-wait-due.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACnF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAEzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EACL,2BAA2B,EAC3B,mBAAmB,GACpB,MAAM,6BAA6B,CAAC;AAErC,MAAM,qBAAqB,GAAG,IAAI,CAAC;AAEnC;;;;;;GAMG;AACH,MAAM,UAAU,gBAAgB,CAC9B,KAAyB,EACzB,KAAgB,EAChB,GAAS;IAET,IAAI,KAAK,CAAC,OAAO,KAAK,SAAS,EAAE,CAAC;QAChC,OAAO,YAAY,CAAC,GAAG,EAAE,KAAK,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;IACrD,CAAC;IAED,IAAI,KAAK,CAAC,SAAS,KAAK,SAAS,EAAE,CAAC;QAClC,OAAO,WAAW,CAAC,KAAK,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;IACnD,CAAC;IAED,IAAI,KAAK,CAAC,WAAW,KAAK,SAAS,EAAE,CAAC;QACpC,OAAO,YAAY,CACjB,GAAG,EACH,OAAO,CAAC,KAAK,CAAC,WAAW,EAAE,KAAK,CAAC,EACjC,eAAe,KAAK,CAAC,WAAW,EAAE,CACnC,CAAC;IACJ,CAAC;IAED,IAAI,KAAK,CAAC,aAAa,KAAK,SAAS,EAAE,CAAC;QACtC,OAAO,WAAW,CAChB,OAAO,CAAC,KAAK,CAAC,aAAa,EAAE,KAAK,CAAC,EACnC,iBAAiB,KAAK,CAAC,aAAa,EAAE,CACvC,CAAC;IACJ,CAAC;IAED,MAAM,IAAI,uBAAuB,CAC/B,gCAAgC,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO;QACnE,iCAAiC,CACpC,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAS,YAAY,CACnB,GAAS,EACT,OAA8B,EAC9B,MAAc;IAEd,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,EAAE,CAAC;QAC/B,MAAM,IAAI,uBAAuB,CAC/B,sBAAsB,MAAM,iBAAiB,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG;YACrE,sDAAsD;YACtD,GAAG,MAAM,CAAC,2BAA2B,CAAC,GAAG,CAC5C,CAAC;IACJ,CAAC;IAED,OAAO,IAAI,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,GAAG,OAAO,GAAG,qBAAqB,CAAC,CAAC;AACnE,CAAC;AAED;;GAEG;AACH,SAAS,gBAAgB,CAAC,OAA8B;IACtD,OAAO,CACL,OAAO,OAAO,KAAK,QAAQ;QAC3B,MAAM,CAAC,aAAa,CAAC,OAAO,CAAC;QAC7B,OAAO,IAAI,CAAC;QACZ,OAAO,IAAI,2BAA2B,CACvC,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAS,WAAW,CAAC,SAAgC,EAAE,MAAc;IACnE,MAAM,YAAY,GAAG,sBAAsB,CAAC,SAAS,CAAC,CAAC;IAEvD,IAAI,YAAY,KAAK,SAAS,EAAE,CAAC;QAC/B,MAAM,IAAI,uBAAuB,CAC/B,sBAAsB,MAAM,gBAAgB;YAC1C,GAAG,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,kCAAkC,CACjE,CAAC;IACJ,CAAC;IAED,OAAO,IAAI,IAAI,CAAC,YAAY,CAAC,CAAC;AAChC,CAAC;AAED;;GAEG;AACH,SAAS,OAAO,CAAC,IAAY,EAAE,KAAgB;IAC7C,OAAO,mBAAmB,CAAC,KAAK,EAAE,2BAA2B,CAAC,IAAI,CAAC,CAAC,CAAC;AACvE,CAAC"}
@@ -0,0 +1,18 @@
1
+ import type { JSONValue } from "../../../util/type-guard/json.js";
2
+ /**
3
+ * The four ways a `Wait` state says how long to wait.
4
+ */
5
+ /**
6
+ * The longest wait Step Functions takes, which is a little over three years.
7
+ */
8
+ export declare const simStatesMaximumWaitSeconds = 99999999;
9
+ export declare const simStatesWaitFields: readonly ["Seconds", "SecondsPath", "Timestamp", "TimestampPath"];
10
+ /**
11
+ * Check what a `Wait` state waits for.
12
+ *
13
+ * A `Wait` state carries exactly one of the four fields. Real Step Functions
14
+ * refuses a definition carrying none or more than one when the state machine
15
+ * is created, and so does this.
16
+ */
17
+ export declare function checkSimStatesWaitFields(stateName: string, state: Record<string, JSONValue>): void;
18
+ //# sourceMappingURL=sim-states-wait-fields.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-wait-fields.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/wait/sim-states-wait-fields.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAKlE;;GAEG;AACH;;GAEG;AACH,eAAO,MAAM,2BAA2B,WAAa,CAAC;AAEtD,eAAO,MAAM,mBAAmB,YAC9B,SAAS,EACT,aAAa,EACb,WAAW,EACX,eAAe,CACP,CAAC;AAEX;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CACtC,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAC/B,IAAI,CAuBN"}
@@ -0,0 +1,85 @@
1
+ import { parseSimStatesReferencePath } from "../data/sim-states-reference-path.js";
2
+ import { readSimStatesTimestamp } from "../data/sim-states-timestamp.js";
3
+ import { SimStatesInvalidDefinition } from "../error/sim-step-functions.error.js";
4
+ /**
5
+ * The four ways a `Wait` state says how long to wait.
6
+ */
7
+ /**
8
+ * The longest wait Step Functions takes, which is a little over three years.
9
+ */
10
+ export const simStatesMaximumWaitSeconds = 99_999_999;
11
+ export const simStatesWaitFields = [
12
+ "Seconds",
13
+ "SecondsPath",
14
+ "Timestamp",
15
+ "TimestampPath",
16
+ ];
17
+ /**
18
+ * Check what a `Wait` state waits for.
19
+ *
20
+ * A `Wait` state carries exactly one of the four fields. Real Step Functions
21
+ * refuses a definition carrying none or more than one when the state machine
22
+ * is created, and so does this.
23
+ */
24
+ export function checkSimStatesWaitFields(stateName, state) {
25
+ const present = simStatesWaitFields.filter((field) => Object.hasOwn(state, field));
26
+ const [field] = present;
27
+ if (field === undefined) {
28
+ throw new SimStatesInvalidDefinition(`The Wait state ${stateName} carries none of ` +
29
+ `${simStatesWaitFields.join(", ")}. A Wait state carries exactly one.`);
30
+ }
31
+ if (present.length > 1) {
32
+ throw new SimStatesInvalidDefinition(`The Wait state ${stateName} carries ${present.join(", ")}. A Wait ` +
33
+ "state carries exactly one of them.");
34
+ }
35
+ // The field was found among this state's own keys.
36
+ // oxlint-disable-next-line security/detect-object-injection
37
+ checkField(stateName, field, state[field]);
38
+ }
39
+ /**
40
+ * Check the one field the state carries.
41
+ *
42
+ * The two paths are checked as far as their syntax here. What they select is
43
+ * only known once the state runs.
44
+ */
45
+ function checkField(stateName, field, written) {
46
+ if (field === "Seconds") {
47
+ checkSeconds(stateName, written);
48
+ return;
49
+ }
50
+ if (field === "Timestamp") {
51
+ checkTimestamp(stateName, written);
52
+ return;
53
+ }
54
+ if (typeof written !== "string") {
55
+ throw new SimStatesInvalidDefinition(`The Wait state ${stateName} has a ${field} that is not a Reference ` +
56
+ "Path.");
57
+ }
58
+ parseSimStatesReferencePath(written);
59
+ }
60
+ /**
61
+ * `Seconds` is a whole number of seconds within the range a wait takes.
62
+ */
63
+ function checkSeconds(stateName, written) {
64
+ if (typeof written !== "number" || !Number.isSafeInteger(written)) {
65
+ throw new SimStatesInvalidDefinition(`The Wait state ${stateName} has a Seconds that is not a whole number.`);
66
+ }
67
+ if (written < 0) {
68
+ throw new SimStatesInvalidDefinition(`The Wait state ${stateName} waits for ${String(written)} seconds. A ` +
69
+ "wait does not run backwards.");
70
+ }
71
+ if (written > simStatesMaximumWaitSeconds) {
72
+ throw new SimStatesInvalidDefinition(`The Wait state ${stateName} waits for ${String(written)} seconds. ` +
73
+ `Step Functions waits ${String(simStatesMaximumWaitSeconds)} at most.`);
74
+ }
75
+ }
76
+ /**
77
+ * `Timestamp` is an instant, written the way Amazon States Language writes one.
78
+ */
79
+ function checkTimestamp(stateName, written) {
80
+ if (readSimStatesTimestamp(written) === undefined) {
81
+ throw new SimStatesInvalidDefinition(`The Wait state ${stateName} has a Timestamp that is not an RFC3339 ` +
82
+ "instant, such as 2026-07-26T09:00:00Z.");
83
+ }
84
+ }
85
+ //# sourceMappingURL=sim-states-wait-fields.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-wait-fields.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/wait/sim-states-wait-fields.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACnF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAElF;;GAEG;AACH;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,UAAU,CAAC;AAEtD,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,SAAS;IACT,aAAa;IACb,WAAW;IACX,eAAe;CACP,CAAC;AAEX;;;;;;GAMG;AACH,MAAM,UAAU,wBAAwB,CACtC,SAAiB,EACjB,KAAgC;IAEhC,MAAM,OAAO,GAAG,mBAAmB,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CACnD,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,CAC5B,CAAC;IACF,MAAM,CAAC,KAAK,CAAC,GAAG,OAAO,CAAC;IAExB,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACxB,MAAM,IAAI,0BAA0B,CAClC,kBAAkB,SAAS,mBAAmB;YAC5C,GAAG,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,qCAAqC,CACzE,CAAC;IACJ,CAAC;IAED,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACvB,MAAM,IAAI,0BAA0B,CAClC,kBAAkB,SAAS,YAAY,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW;YAClE,oCAAoC,CACvC,CAAC;IACJ,CAAC;IAED,mDAAmD;IACnD,4DAA4D;IAC5D,UAAU,CAAC,SAAS,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;AAC7C,CAAC;AAED;;;;;GAKG;AACH,SAAS,UAAU,CACjB,SAAiB,EACjB,KAAa,EACb,OAA8B;IAE9B,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACxB,YAAY,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;QACjC,OAAO;IACT,CAAC;IAED,IAAI,KAAK,KAAK,WAAW,EAAE,CAAC;QAC1B,cAAc,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;QACnC,OAAO;IACT,CAAC;IAED,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE,CAAC;QAChC,MAAM,IAAI,0BAA0B,CAClC,kBAAkB,SAAS,UAAU,KAAK,2BAA2B;YACnE,OAAO,CACV,CAAC;IACJ,CAAC;IAED,2BAA2B,CAAC,OAAO,CAAC,CAAC;AACvC,CAAC;AAED;;GAEG;AACH,SAAS,YAAY,CAAC,SAAiB,EAAE,OAA8B;IACrE,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE,CAAC;QAClE,MAAM,IAAI,0BAA0B,CAClC,kBAAkB,SAAS,4CAA4C,CACxE,CAAC;IACJ,CAAC;IAED,IAAI,OAAO,GAAG,CAAC,EAAE,CAAC;QAChB,MAAM,IAAI,0BAA0B,CAClC,kBAAkB,SAAS,cAAc,MAAM,CAAC,OAAO,CAAC,cAAc;YACpE,8BAA8B,CACjC,CAAC;IACJ,CAAC;IAED,IAAI,OAAO,GAAG,2BAA2B,EAAE,CAAC;QAC1C,MAAM,IAAI,0BAA0B,CAClC,kBAAkB,SAAS,cAAc,MAAM,CAAC,OAAO,CAAC,YAAY;YAClE,wBAAwB,MAAM,CAAC,2BAA2B,CAAC,WAAW,CACzE,CAAC;IACJ,CAAC;AACH,CAAC;AAED;;GAEG;AACH,SAAS,cAAc,CACrB,SAAiB,EACjB,OAA8B;IAE9B,IAAI,sBAAsB,CAAC,OAAO,CAAC,KAAK,SAAS,EAAE,CAAC;QAClD,MAAM,IAAI,0BAA0B,CAClC,kBAAkB,SAAS,0CAA0C;YACnE,wCAAwC,CAC3C,CAAC;IACJ,CAAC;AACH,CAAC"}
@@ -37,6 +37,15 @@ declare class SimProcessEnvironment {
37
37
  * The host process environment, ignoring any run in progress.
38
38
  */
39
39
  hostVariables(): NodeJS.ProcessEnv;
40
+ /**
41
+ * The host process environment in the shape a run's variables are held in.
42
+ *
43
+ * A run's store holds string values only, which is what process.env holds
44
+ * once Node.js has read it. The declared type allows undefined, so the
45
+ * names holding one are dropped rather than carried into a run as the
46
+ * string "undefined".
47
+ */
48
+ definedHostVariables(): Record<string, string>;
40
49
  /**
41
50
  * Redefine process.env as an accessor backed by the run store.
42
51
  *
@@ -1 +1 @@
1
- {"version":3,"file":"sim-process-environment.d.ts","sourceRoot":"","sources":["../../../src/util/process/sim-process-environment.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,cAAM,qBAAqB;IACzB,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAmD;IAC3E,OAAO,CAAC,eAAe,CAAkC;IACzD,OAAO,CAAC,SAAS,CAAS;IAE1B;;OAEG;IACG,GAAG,CAAC,CAAC,EACT,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EACjC,GAAG,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,GACpB,OAAO,CAAC,CAAC,CAAC,CAGZ;IAED;;OAEG;IACH,aAAa,IAAI,MAAM,CAAC,UAAU,CAEjC;IAED;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,OAAO;IAkBf;;;;;;;;;;;;;OAaG;IACH,OAAO,CAAC,gBAAgB;CAmBzB;AAED;;GAEG;AACH,eAAO,MAAM,qBAAqB,uBAA8B,CAAC"}
1
+ {"version":3,"file":"sim-process-environment.d.ts","sourceRoot":"","sources":["../../../src/util/process/sim-process-environment.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,cAAM,qBAAqB;IACzB,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAmD;IAC3E,OAAO,CAAC,eAAe,CAAkC;IACzD,OAAO,CAAC,SAAS,CAAS;IAE1B;;OAEG;IACG,GAAG,CAAC,CAAC,EACT,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EACjC,GAAG,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,GACpB,OAAO,CAAC,CAAC,CAAC,CAGZ;IAED;;OAEG;IACH,aAAa,IAAI,MAAM,CAAC,UAAU,CAEjC;IAED;;;;;;;OAOG;IACH,oBAAoB,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAU7C;IAED;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,OAAO;IAkBf;;;;;;;;;;;;;OAaG;IACH,OAAO,CAAC,gBAAgB;CAmBzB;AAED;;GAEG;AACH,eAAO,MAAM,qBAAqB,uBAA8B,CAAC"}
@@ -43,6 +43,23 @@ class SimProcessEnvironment {
43
43
  hostVariables() {
44
44
  return this.hostEnvironment;
45
45
  }
46
+ /**
47
+ * The host process environment in the shape a run's variables are held in.
48
+ *
49
+ * A run's store holds string values only, which is what process.env holds
50
+ * once Node.js has read it. The declared type allows undefined, so the
51
+ * names holding one are dropped rather than carried into a run as the
52
+ * string "undefined".
53
+ */
54
+ definedHostVariables() {
55
+ const defined = [];
56
+ for (const [name, value] of Object.entries(this.hostEnvironment)) {
57
+ if (value !== undefined) {
58
+ defined.push([name, value]);
59
+ }
60
+ }
61
+ return Object.fromEntries(defined);
62
+ }
46
63
  /**
47
64
  * Redefine process.env as an accessor backed by the run store.
48
65
  *