@kensio/yulin 1.20.0 → 1.20.1

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 (626) hide show
  1. package/README.md +1 -0
  2. package/dist/sdk/router/resolve-sim-sdk-command-router.d.ts.map +1 -1
  3. package/dist/sdk/router/resolve-sim-sdk-command-router.js +8 -0
  4. package/dist/sdk/router/resolve-sim-sdk-command-router.js.map +1 -1
  5. package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts +11 -0
  6. package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts.map +1 -1
  7. package/dist/service/aws/factory/sim-aws-account-region-service-builder.js +17 -1
  8. package/dist/service/aws/factory/sim-aws-account-region-service-builder.js.map +1 -1
  9. package/dist/service/aws/factory/sim-aws-cross-account-collaborators.d.ts +10 -0
  10. package/dist/service/aws/factory/sim-aws-cross-account-collaborators.d.ts.map +1 -1
  11. package/dist/service/aws/factory/sim-aws-cross-account-collaborators.js +15 -0
  12. package/dist/service/aws/factory/sim-aws-cross-account-collaborators.js.map +1 -1
  13. package/dist/service/aws/factory/sim-aws-self-contained-service-builder.d.ts +9 -0
  14. package/dist/service/aws/factory/sim-aws-self-contained-service-builder.d.ts.map +1 -1
  15. package/dist/service/aws/factory/sim-aws-self-contained-service-builder.js +15 -0
  16. package/dist/service/aws/factory/sim-aws-self-contained-service-builder.js.map +1 -1
  17. package/dist/service/aws/factory/sim-aws-service-factory.d.ts +6 -0
  18. package/dist/service/aws/factory/sim-aws-service-factory.d.ts.map +1 -1
  19. package/dist/service/aws/factory/sim-aws-service-factory.js +8 -0
  20. package/dist/service/aws/factory/sim-aws-service-factory.js.map +1 -1
  21. package/dist/service/aws/sim-aws-account-region-scope.d.ts +6 -0
  22. package/dist/service/aws/sim-aws-account-region-scope.d.ts.map +1 -1
  23. package/dist/service/aws/sim-aws-account-region-scope.js +8 -0
  24. package/dist/service/aws/sim-aws-account-region-scope.js.map +1 -1
  25. package/dist/service/aws/sim-aws-account.d.ts +5 -0
  26. package/dist/service/aws/sim-aws-account.d.ts.map +1 -1
  27. package/dist/service/aws/sim-aws-account.js +6 -0
  28. package/dist/service/aws/sim-aws-account.js.map +1 -1
  29. package/dist/service/aws/sim-aws-region.d.ts +5 -0
  30. package/dist/service/aws/sim-aws-region.d.ts.map +1 -1
  31. package/dist/service/aws/sim-aws-region.js +6 -0
  32. package/dist/service/aws/sim-aws-region.js.map +1 -1
  33. package/dist/service/aws/sim-aws-service-accessors.d.ts +6 -0
  34. package/dist/service/aws/sim-aws-service-accessors.d.ts.map +1 -1
  35. package/dist/service/aws/sim-aws-service-accessors.js +8 -0
  36. package/dist/service/aws/sim-aws-service-accessors.js.map +1 -1
  37. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-cfn-value-adapter.d.ts +6 -0
  38. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-cfn-value-adapter.d.ts.map +1 -0
  39. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-cfn-value-adapter.js +15 -0
  40. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-cfn-value-adapter.js.map +1 -0
  41. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-delivery-stream-cfn.d.ts +23 -0
  42. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-delivery-stream-cfn.d.ts.map +1 -0
  43. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-delivery-stream-cfn.js +29 -0
  44. package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-delivery-stream-cfn.js.map +1 -0
  45. package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.d.ts.map +1 -1
  46. package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.js +4 -0
  47. package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.js.map +1 -1
  48. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.d.ts +27 -0
  49. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.d.ts.map +1 -0
  50. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.js +47 -0
  51. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.js.map +1 -0
  52. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.d.ts +49 -0
  53. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.d.ts.map +1 -0
  54. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.js +89 -0
  55. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.js.map +1 -0
  56. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.d.ts +23 -0
  57. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.d.ts.map +1 -0
  58. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.js +28 -0
  59. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.js.map +1 -0
  60. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.d.ts +57 -0
  61. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.d.ts.map +1 -0
  62. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.js +99 -0
  63. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.js.map +1 -0
  64. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.d.ts +21 -0
  65. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.d.ts.map +1 -0
  66. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.js +37 -0
  67. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.js.map +1 -0
  68. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.d.ts +32 -0
  69. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.d.ts.map +1 -0
  70. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.js +56 -0
  71. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.js.map +1 -0
  72. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.d.ts +20 -0
  73. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.d.ts.map +1 -0
  74. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.js +28 -0
  75. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.js.map +1 -0
  76. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.d.ts +43 -0
  77. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.d.ts.map +1 -0
  78. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.js +64 -0
  79. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.js.map +1 -0
  80. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.d.ts +10 -0
  81. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.d.ts.map +1 -0
  82. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.js +10 -0
  83. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.js.map +1 -0
  84. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-state-machine-cfn.d.ts +27 -0
  85. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-state-machine-cfn.d.ts.map +1 -0
  86. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-state-machine-cfn.js +37 -0
  87. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-state-machine-cfn.js.map +1 -0
  88. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.d.ts +31 -0
  89. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.d.ts.map +1 -0
  90. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.js +42 -0
  91. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.js.map +1 -0
  92. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.d.ts +7 -0
  93. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.d.ts.map +1 -0
  94. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.js +16 -0
  95. package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.js.map +1 -0
  96. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.d.ts.map +1 -1
  97. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.js +11 -0
  98. package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.js.map +1 -1
  99. package/dist/service/cloudfront/command/create-distribution/create-distribution.command.d.ts +25 -0
  100. package/dist/service/cloudfront/command/create-distribution/create-distribution.command.d.ts.map +1 -1
  101. package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.d.ts +0 -1
  102. package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.d.ts.map +1 -1
  103. package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.js +8 -36
  104. package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.js.map +1 -1
  105. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-list.d.ts +19 -0
  106. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-list.d.ts.map +1 -0
  107. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-list.js +39 -0
  108. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-list.js.map +1 -0
  109. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-origin.d.ts +10 -0
  110. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-origin.d.ts.map +1 -0
  111. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-origin.js +17 -0
  112. package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-origin.js.map +1 -0
  113. package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.d.ts.map +1 -1
  114. package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.js +8 -0
  115. package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.js.map +1 -1
  116. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.d.ts +4 -0
  117. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.d.ts.map +1 -1
  118. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.js +7 -0
  119. package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.js.map +1 -1
  120. package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.d.ts +6 -0
  121. package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.d.ts.map +1 -1
  122. package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.js +3 -0
  123. package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.js.map +1 -1
  124. package/dist/service/cloudfront/origin/sim-cf-origin-custom-headers.d.ts +15 -0
  125. package/dist/service/cloudfront/origin/sim-cf-origin-custom-headers.d.ts.map +1 -0
  126. package/dist/service/cloudfront/origin/sim-cf-origin-custom-headers.js +74 -0
  127. package/dist/service/cloudfront/origin/sim-cf-origin-custom-headers.js.map +1 -0
  128. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-creator.d.ts +33 -0
  129. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-creator.d.ts.map +1 -0
  130. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-creator.js +44 -0
  131. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-creator.js.map +1 -0
  132. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-name.d.ts +23 -0
  133. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-name.d.ts.map +1 -0
  134. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-name.js +28 -0
  135. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-name.js.map +1 -0
  136. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-properties.d.ts +48 -0
  137. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-properties.d.ts.map +1 -0
  138. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-properties.js +92 -0
  139. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-properties.js.map +1 -0
  140. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-property-names.d.ts +51 -0
  141. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-property-names.d.ts.map +1 -0
  142. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-property-names.js +114 -0
  143. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-property-names.js.map +1 -0
  144. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-destination-choice.d.ts +19 -0
  145. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-destination-choice.d.ts.map +1 -0
  146. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-destination-choice.js +44 -0
  147. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-destination-choice.js.map +1 -0
  148. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-s3-destination.d.ts +47 -0
  149. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-s3-destination.d.ts.map +1 -0
  150. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-s3-destination.js +105 -0
  151. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-s3-destination.js.map +1 -0
  152. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-source-choice.d.ts +19 -0
  153. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-source-choice.d.ts.map +1 -0
  154. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-source-choice.js +58 -0
  155. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-source-choice.js.map +1 -0
  156. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-tags.d.ts +11 -0
  157. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-tags.d.ts.map +1 -0
  158. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-tags.js +33 -0
  159. package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-tags.js.map +1 -0
  160. package/dist/service/firehose/cfn/sim-cfn-firehose-archive.resources.d.ts +44 -0
  161. package/dist/service/firehose/cfn/sim-cfn-firehose-archive.resources.d.ts.map +1 -0
  162. package/dist/service/firehose/cfn/sim-cfn-firehose-archive.resources.js +144 -0
  163. package/dist/service/firehose/cfn/sim-cfn-firehose-archive.resources.js.map +1 -0
  164. package/dist/service/firehose/cfn/sim-cfn-firehose-delivery-stream-template.factory.d.ts +51 -0
  165. package/dist/service/firehose/cfn/sim-cfn-firehose-delivery-stream-template.factory.d.ts.map +1 -0
  166. package/dist/service/firehose/cfn/sim-cfn-firehose-delivery-stream-template.factory.js +65 -0
  167. package/dist/service/firehose/cfn/sim-cfn-firehose-delivery-stream-template.factory.js.map +1 -0
  168. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-deleter.d.ts +19 -0
  169. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-deleter.d.ts.map +1 -0
  170. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-deleter.js +26 -0
  171. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-deleter.js.map +1 -0
  172. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-error.d.ts +44 -0
  173. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-error.d.ts.map +1 -0
  174. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-error.js +75 -0
  175. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-error.js.map +1 -0
  176. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-types.d.ts +14 -0
  177. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-types.d.ts.map +1 -0
  178. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-types.js +14 -0
  179. package/dist/service/firehose/cfn/sim-cfn-firehose-resource-types.js.map +1 -0
  180. package/dist/service/firehose/cfn/sim-firehose-cfn-resource-factory.d.ts +29 -0
  181. package/dist/service/firehose/cfn/sim-firehose-cfn-resource-factory.d.ts.map +1 -0
  182. package/dist/service/firehose/cfn/sim-firehose-cfn-resource-factory.js +38 -0
  183. package/dist/service/firehose/cfn/sim-firehose-cfn-resource-factory.js.map +1 -0
  184. package/dist/service/firehose/command/authorize/sim-firehose-authorizer.d.ts +39 -0
  185. package/dist/service/firehose/command/authorize/sim-firehose-authorizer.d.ts.map +1 -0
  186. package/dist/service/firehose/command/authorize/sim-firehose-authorizer.js +49 -0
  187. package/dist/service/firehose/command/authorize/sim-firehose-authorizer.js.map +1 -0
  188. package/dist/service/firehose/command/record/record.command.d.ts +55 -0
  189. package/dist/service/firehose/command/record/record.command.d.ts.map +1 -0
  190. package/dist/service/firehose/command/record/record.command.js +2 -0
  191. package/dist/service/firehose/command/record/record.command.js.map +1 -0
  192. package/dist/service/firehose/command/record/sim-firehose-put-commands.d.ts +43 -0
  193. package/dist/service/firehose/command/record/sim-firehose-put-commands.d.ts.map +1 -0
  194. package/dist/service/firehose/command/record/sim-firehose-put-commands.js +59 -0
  195. package/dist/service/firehose/command/record/sim-firehose-put-commands.js.map +1 -0
  196. package/dist/service/firehose/command/record/sim-firehose-record-data.d.ts +21 -0
  197. package/dist/service/firehose/command/record/sim-firehose-record-data.d.ts.map +1 -0
  198. package/dist/service/firehose/command/record/sim-firehose-record-data.js +54 -0
  199. package/dist/service/firehose/command/record/sim-firehose-record-data.js.map +1 -0
  200. package/dist/service/firehose/command/sim-firehose-command.types.d.ts +6 -0
  201. package/dist/service/firehose/command/sim-firehose-command.types.d.ts.map +1 -0
  202. package/dist/service/firehose/command/sim-firehose-command.types.js +2 -0
  203. package/dist/service/firehose/command/sim-firehose-command.types.js.map +1 -0
  204. package/dist/service/firehose/command/sim-firehose-commands.d.ts +37 -0
  205. package/dist/service/firehose/command/sim-firehose-commands.d.ts.map +1 -0
  206. package/dist/service/firehose/command/sim-firehose-commands.js +57 -0
  207. package/dist/service/firehose/command/sim-firehose-commands.js.map +1 -0
  208. package/dist/service/firehose/command/sim-firehose-delivery-stream-access.d.ts +47 -0
  209. package/dist/service/firehose/command/sim-firehose-delivery-stream-access.d.ts.map +1 -0
  210. package/dist/service/firehose/command/sim-firehose-delivery-stream-access.js +58 -0
  211. package/dist/service/firehose/command/sim-firehose-delivery-stream-access.js.map +1 -0
  212. package/dist/service/firehose/command/sim-firehose-request-options.d.ts +12 -0
  213. package/dist/service/firehose/command/sim-firehose-request-options.d.ts.map +1 -0
  214. package/dist/service/firehose/command/sim-firehose-request-options.js +2 -0
  215. package/dist/service/firehose/command/sim-firehose-request-options.js.map +1 -0
  216. package/dist/service/firehose/command/stream/sim-firehose-create-delivery-stream.d.ts +49 -0
  217. package/dist/service/firehose/command/stream/sim-firehose-create-delivery-stream.d.ts.map +1 -0
  218. package/dist/service/firehose/command/stream/sim-firehose-create-delivery-stream.js +69 -0
  219. package/dist/service/firehose/command/stream/sim-firehose-create-delivery-stream.js.map +1 -0
  220. package/dist/service/firehose/command/stream/sim-firehose-delivery-stream-page.d.ts +19 -0
  221. package/dist/service/firehose/command/stream/sim-firehose-delivery-stream-page.d.ts.map +1 -0
  222. package/dist/service/firehose/command/stream/sim-firehose-delivery-stream-page.js +24 -0
  223. package/dist/service/firehose/command/stream/sim-firehose-delivery-stream-page.js.map +1 -0
  224. package/dist/service/firehose/command/stream/sim-firehose-stream-commands.d.ts +50 -0
  225. package/dist/service/firehose/command/stream/sim-firehose-stream-commands.d.ts.map +1 -0
  226. package/dist/service/firehose/command/stream/sim-firehose-stream-commands.js +72 -0
  227. package/dist/service/firehose/command/stream/sim-firehose-stream-commands.js.map +1 -0
  228. package/dist/service/firehose/command/stream/sim-firehose-stream-descriptions.d.ts +7 -0
  229. package/dist/service/firehose/command/stream/sim-firehose-stream-descriptions.d.ts.map +1 -0
  230. package/dist/service/firehose/command/stream/sim-firehose-stream-descriptions.js +70 -0
  231. package/dist/service/firehose/command/stream/sim-firehose-stream-descriptions.js.map +1 -0
  232. package/dist/service/firehose/command/stream/stream.command.d.ts +137 -0
  233. package/dist/service/firehose/command/stream/stream.command.d.ts.map +1 -0
  234. package/dist/service/firehose/command/stream/stream.command.js +2 -0
  235. package/dist/service/firehose/command/stream/stream.command.js.map +1 -0
  236. package/dist/service/firehose/delivery/sim-firehose-buffer.d.ts +36 -0
  237. package/dist/service/firehose/delivery/sim-firehose-buffer.d.ts.map +1 -0
  238. package/dist/service/firehose/delivery/sim-firehose-buffer.js +55 -0
  239. package/dist/service/firehose/delivery/sim-firehose-buffer.js.map +1 -0
  240. package/dist/service/firehose/delivery/sim-firehose-delivery-failures.d.ts +34 -0
  241. package/dist/service/firehose/delivery/sim-firehose-delivery-failures.d.ts.map +1 -0
  242. package/dist/service/firehose/delivery/sim-firehose-delivery-failures.js +24 -0
  243. package/dist/service/firehose/delivery/sim-firehose-delivery-failures.js.map +1 -0
  244. package/dist/service/firehose/delivery/sim-firehose-delivery.d.ts +47 -0
  245. package/dist/service/firehose/delivery/sim-firehose-delivery.d.ts.map +1 -0
  246. package/dist/service/firehose/delivery/sim-firehose-delivery.js +76 -0
  247. package/dist/service/firehose/delivery/sim-firehose-delivery.js.map +1 -0
  248. package/dist/service/firehose/delivery/sim-firehose-object-key.d.ts +21 -0
  249. package/dist/service/firehose/delivery/sim-firehose-object-key.d.ts.map +1 -0
  250. package/dist/service/firehose/delivery/sim-firehose-object-key.js +27 -0
  251. package/dist/service/firehose/delivery/sim-firehose-object-key.js.map +1 -0
  252. package/dist/service/firehose/delivery/sim-firehose-object-writer.d.ts +50 -0
  253. package/dist/service/firehose/delivery/sim-firehose-object-writer.d.ts.map +1 -0
  254. package/dist/service/firehose/delivery/sim-firehose-object-writer.js +57 -0
  255. package/dist/service/firehose/delivery/sim-firehose-object-writer.js.map +1 -0
  256. package/dist/service/firehose/destination/sim-firehose-buffering-hints.d.ts +29 -0
  257. package/dist/service/firehose/destination/sim-firehose-buffering-hints.d.ts.map +1 -0
  258. package/dist/service/firehose/destination/sim-firehose-buffering-hints.js +45 -0
  259. package/dist/service/firehose/destination/sim-firehose-buffering-hints.js.map +1 -0
  260. package/dist/service/firehose/destination/sim-firehose-destination-choice.d.ts +35 -0
  261. package/dist/service/firehose/destination/sim-firehose-destination-choice.d.ts.map +1 -0
  262. package/dist/service/firehose/destination/sim-firehose-destination-choice.js +48 -0
  263. package/dist/service/firehose/destination/sim-firehose-destination-choice.js.map +1 -0
  264. package/dist/service/firehose/destination/sim-firehose-s3-destination.d.ts +32 -0
  265. package/dist/service/firehose/destination/sim-firehose-s3-destination.d.ts.map +1 -0
  266. package/dist/service/firehose/destination/sim-firehose-s3-destination.js +51 -0
  267. package/dist/service/firehose/destination/sim-firehose-s3-destination.js.map +1 -0
  268. package/dist/service/firehose/error/sim-firehose.error.d.ts +69 -0
  269. package/dist/service/firehose/error/sim-firehose.error.d.ts.map +1 -0
  270. package/dist/service/firehose/error/sim-firehose.error.js +79 -0
  271. package/dist/service/firehose/error/sim-firehose.error.js.map +1 -0
  272. package/dist/service/firehose/failure/sim-firehose-failure.d.ts +38 -0
  273. package/dist/service/firehose/failure/sim-firehose-failure.d.ts.map +1 -0
  274. package/dist/service/firehose/failure/sim-firehose-failure.js +40 -0
  275. package/dist/service/firehose/failure/sim-firehose-failure.js.map +1 -0
  276. package/dist/service/firehose/failure/sim-firehose-failures.d.ts +32 -0
  277. package/dist/service/firehose/failure/sim-firehose-failures.d.ts.map +1 -0
  278. package/dist/service/firehose/failure/sim-firehose-failures.js +47 -0
  279. package/dist/service/firehose/failure/sim-firehose-failures.js.map +1 -0
  280. package/dist/service/firehose/index.d.ts +17 -0
  281. package/dist/service/firehose/index.d.ts.map +1 -0
  282. package/dist/service/firehose/index.js +12 -0
  283. package/dist/service/firehose/index.js.map +1 -0
  284. package/dist/service/firehose/sdk/sim-firehose-sdk-command-router.d.ts +18 -0
  285. package/dist/service/firehose/sdk/sim-firehose-sdk-command-router.d.ts.map +1 -0
  286. package/dist/service/firehose/sdk/sim-firehose-sdk-command-router.js +48 -0
  287. package/dist/service/firehose/sdk/sim-firehose-sdk-command-router.js.map +1 -0
  288. package/dist/service/firehose/sim-firehose.d.ts +104 -0
  289. package/dist/service/firehose/sim-firehose.d.ts.map +1 -0
  290. package/dist/service/firehose/sim-firehose.js +130 -0
  291. package/dist/service/firehose/sim-firehose.js.map +1 -0
  292. package/dist/service/firehose/source/read/sim-firehose-source-poll.d.ts +39 -0
  293. package/dist/service/firehose/source/read/sim-firehose-source-poll.d.ts.map +1 -0
  294. package/dist/service/firehose/source/read/sim-firehose-source-poll.js +48 -0
  295. package/dist/service/firehose/source/read/sim-firehose-source-poll.js.map +1 -0
  296. package/dist/service/firehose/source/read/sim-firehose-source-reader.d.ts +62 -0
  297. package/dist/service/firehose/source/read/sim-firehose-source-reader.d.ts.map +1 -0
  298. package/dist/service/firehose/source/read/sim-firehose-source-reader.js +94 -0
  299. package/dist/service/firehose/source/read/sim-firehose-source-reader.js.map +1 -0
  300. package/dist/service/firehose/source/read/sim-firehose-source-reading.d.ts +39 -0
  301. package/dist/service/firehose/source/read/sim-firehose-source-reading.d.ts.map +1 -0
  302. package/dist/service/firehose/source/read/sim-firehose-source-reading.js +48 -0
  303. package/dist/service/firehose/source/read/sim-firehose-source-reading.js.map +1 -0
  304. package/dist/service/firehose/source/read/sim-firehose-source-shard-ids.d.ts +12 -0
  305. package/dist/service/firehose/source/read/sim-firehose-source-shard-ids.d.ts.map +1 -0
  306. package/dist/service/firehose/source/read/sim-firehose-source-shard-ids.js +56 -0
  307. package/dist/service/firehose/source/read/sim-firehose-source-shard-ids.js.map +1 -0
  308. package/dist/service/firehose/source/read/sim-firehose-source-shard.d.ts +36 -0
  309. package/dist/service/firehose/source/read/sim-firehose-source-shard.d.ts.map +1 -0
  310. package/dist/service/firehose/source/read/sim-firehose-source-shard.js +45 -0
  311. package/dist/service/firehose/source/read/sim-firehose-source-shard.js.map +1 -0
  312. package/dist/service/firehose/source/read/sim-firehose-source-shards.d.ts +42 -0
  313. package/dist/service/firehose/source/read/sim-firehose-source-shards.d.ts.map +1 -0
  314. package/dist/service/firehose/source/read/sim-firehose-source-shards.js +53 -0
  315. package/dist/service/firehose/source/read/sim-firehose-source-shards.js.map +1 -0
  316. package/dist/service/firehose/source/sim-firehose-kinesis-source-arn.d.ts +29 -0
  317. package/dist/service/firehose/source/sim-firehose-kinesis-source-arn.d.ts.map +1 -0
  318. package/dist/service/firehose/source/sim-firehose-kinesis-source-arn.js +57 -0
  319. package/dist/service/firehose/source/sim-firehose-kinesis-source-arn.js.map +1 -0
  320. package/dist/service/firehose/source/sim-firehose-record-source.d.ts +140 -0
  321. package/dist/service/firehose/source/sim-firehose-record-source.d.ts.map +1 -0
  322. package/dist/service/firehose/source/sim-firehose-record-source.js +53 -0
  323. package/dist/service/firehose/source/sim-firehose-record-source.js.map +1 -0
  324. package/dist/service/firehose/source/sim-firehose-source-choice.d.ts +26 -0
  325. package/dist/service/firehose/source/sim-firehose-source-choice.d.ts.map +1 -0
  326. package/dist/service/firehose/source/sim-firehose-source-choice.js +68 -0
  327. package/dist/service/firehose/source/sim-firehose-source-choice.js.map +1 -0
  328. package/dist/service/firehose/source/sim-firehose-source-failures.d.ts +38 -0
  329. package/dist/service/firehose/source/sim-firehose-source-failures.d.ts.map +1 -0
  330. package/dist/service/firehose/source/sim-firehose-source-failures.js +33 -0
  331. package/dist/service/firehose/source/sim-firehose-source-failures.js.map +1 -0
  332. package/dist/service/firehose/source/sim-firehose-source.d.ts +64 -0
  333. package/dist/service/firehose/source/sim-firehose-source.d.ts.map +1 -0
  334. package/dist/service/firehose/source/sim-firehose-source.js +58 -0
  335. package/dist/service/firehose/source/sim-firehose-source.js.map +1 -0
  336. package/dist/service/firehose/stream/sim-firehose-delivery-stream-arn.d.ts +10 -0
  337. package/dist/service/firehose/stream/sim-firehose-delivery-stream-arn.d.ts.map +1 -0
  338. package/dist/service/firehose/stream/sim-firehose-delivery-stream-arn.js +12 -0
  339. package/dist/service/firehose/stream/sim-firehose-delivery-stream-arn.js.map +1 -0
  340. package/dist/service/firehose/stream/sim-firehose-delivery-stream-name.d.ts +9 -0
  341. package/dist/service/firehose/stream/sim-firehose-delivery-stream-name.d.ts.map +1 -0
  342. package/dist/service/firehose/stream/sim-firehose-delivery-stream-name.js +25 -0
  343. package/dist/service/firehose/stream/sim-firehose-delivery-stream-name.js.map +1 -0
  344. package/dist/service/firehose/stream/sim-firehose-delivery-stream-store.d.ts +37 -0
  345. package/dist/service/firehose/stream/sim-firehose-delivery-stream-store.d.ts.map +1 -0
  346. package/dist/service/firehose/stream/sim-firehose-delivery-stream-store.js +55 -0
  347. package/dist/service/firehose/stream/sim-firehose-delivery-stream-store.js.map +1 -0
  348. package/dist/service/firehose/stream/sim-firehose-delivery-stream.d.ts +50 -0
  349. package/dist/service/firehose/stream/sim-firehose-delivery-stream.d.ts.map +1 -0
  350. package/dist/service/firehose/stream/sim-firehose-delivery-stream.factory.d.ts +57 -0
  351. package/dist/service/firehose/stream/sim-firehose-delivery-stream.factory.d.ts.map +1 -0
  352. package/dist/service/firehose/stream/sim-firehose-delivery-stream.factory.js +61 -0
  353. package/dist/service/firehose/stream/sim-firehose-delivery-stream.factory.js.map +1 -0
  354. package/dist/service/firehose/stream/sim-firehose-delivery-stream.js +42 -0
  355. package/dist/service/firehose/stream/sim-firehose-delivery-stream.js.map +1 -0
  356. package/dist/service/stepfunctions/choice/sim-states-choice-group-test.d.ts +32 -0
  357. package/dist/service/stepfunctions/choice/sim-states-choice-group-test.d.ts.map +1 -0
  358. package/dist/service/stepfunctions/choice/sim-states-choice-group-test.js +42 -0
  359. package/dist/service/stepfunctions/choice/sim-states-choice-group-test.js.map +1 -0
  360. package/dist/service/stepfunctions/choice/sim-states-choice-operand.d.ts +29 -0
  361. package/dist/service/stepfunctions/choice/sim-states-choice-operand.d.ts.map +1 -0
  362. package/dist/service/stepfunctions/choice/sim-states-choice-operand.js +38 -0
  363. package/dist/service/stepfunctions/choice/sim-states-choice-operand.js.map +1 -0
  364. package/dist/service/stepfunctions/choice/sim-states-choice-parse.d.ts +15 -0
  365. package/dist/service/stepfunctions/choice/sim-states-choice-parse.d.ts.map +1 -0
  366. package/dist/service/stepfunctions/choice/sim-states-choice-parse.js +44 -0
  367. package/dist/service/stepfunctions/choice/sim-states-choice-parse.js.map +1 -0
  368. package/dist/service/stepfunctions/choice/sim-states-choice-rule-record.d.ts +10 -0
  369. package/dist/service/stepfunctions/choice/sim-states-choice-rule-record.d.ts.map +1 -0
  370. package/dist/service/stepfunctions/choice/sim-states-choice-rule-record.js +31 -0
  371. package/dist/service/stepfunctions/choice/sim-states-choice-rule-record.js.map +1 -0
  372. package/dist/service/stepfunctions/choice/sim-states-choice-rule.d.ts +15 -0
  373. package/dist/service/stepfunctions/choice/sim-states-choice-rule.d.ts.map +1 -0
  374. package/dist/service/stepfunctions/choice/sim-states-choice-rule.js +18 -0
  375. package/dist/service/stepfunctions/choice/sim-states-choice-rule.js.map +1 -0
  376. package/dist/service/stepfunctions/choice/sim-states-choice-test-parse.d.ts +7 -0
  377. package/dist/service/stepfunctions/choice/sim-states-choice-test-parse.d.ts.map +1 -0
  378. package/dist/service/stepfunctions/choice/sim-states-choice-test-parse.js +72 -0
  379. package/dist/service/stepfunctions/choice/sim-states-choice-test-parse.js.map +1 -0
  380. package/dist/service/stepfunctions/choice/sim-states-choice-test.d.ts +33 -0
  381. package/dist/service/stepfunctions/choice/sim-states-choice-test.d.ts.map +1 -0
  382. package/dist/service/stepfunctions/choice/sim-states-choice-test.js +34 -0
  383. package/dist/service/stepfunctions/choice/sim-states-choice-test.js.map +1 -0
  384. package/dist/service/stepfunctions/choice/sim-states-comparison-families.d.ts +26 -0
  385. package/dist/service/stepfunctions/choice/sim-states-comparison-families.d.ts.map +1 -0
  386. package/dist/service/stepfunctions/choice/sim-states-comparison-families.js +65 -0
  387. package/dist/service/stepfunctions/choice/sim-states-comparison-families.js.map +1 -0
  388. package/dist/service/stepfunctions/choice/sim-states-comparison-parse.d.ts +15 -0
  389. package/dist/service/stepfunctions/choice/sim-states-comparison-parse.d.ts.map +1 -0
  390. package/dist/service/stepfunctions/choice/sim-states-comparison-parse.js +43 -0
  391. package/dist/service/stepfunctions/choice/sim-states-comparison-parse.js.map +1 -0
  392. package/dist/service/stepfunctions/choice/sim-states-comparison.d.ts +49 -0
  393. package/dist/service/stepfunctions/choice/sim-states-comparison.d.ts.map +1 -0
  394. package/dist/service/stepfunctions/choice/sim-states-comparison.js +51 -0
  395. package/dist/service/stepfunctions/choice/sim-states-comparison.js.map +1 -0
  396. package/dist/service/stepfunctions/choice/sim-states-comparisons.d.ts +6 -0
  397. package/dist/service/stepfunctions/choice/sim-states-comparisons.d.ts.map +1 -0
  398. package/dist/service/stepfunctions/choice/sim-states-comparisons.js +64 -0
  399. package/dist/service/stepfunctions/choice/sim-states-comparisons.js.map +1 -0
  400. package/dist/service/stepfunctions/choice/sim-states-glob.d.ts +14 -0
  401. package/dist/service/stepfunctions/choice/sim-states-glob.d.ts.map +1 -0
  402. package/dist/service/stepfunctions/choice/sim-states-glob.js +73 -0
  403. package/dist/service/stepfunctions/choice/sim-states-glob.js.map +1 -0
  404. package/dist/service/stepfunctions/command/execution/execution.command.d.ts +32 -0
  405. package/dist/service/stepfunctions/command/execution/execution.command.d.ts.map +1 -0
  406. package/dist/service/stepfunctions/command/execution/execution.command.js +2 -0
  407. package/dist/service/stepfunctions/command/execution/execution.command.js.map +1 -0
  408. package/dist/service/stepfunctions/command/execution/sim-states-execution-describe.d.ts +11 -0
  409. package/dist/service/stepfunctions/command/execution/sim-states-execution-describe.d.ts.map +1 -0
  410. package/dist/service/stepfunctions/command/execution/sim-states-execution-describe.js +23 -0
  411. package/dist/service/stepfunctions/command/execution/sim-states-execution-describe.js.map +1 -0
  412. package/dist/service/stepfunctions/command/execution/sim-states-execution-name.d.ts +12 -0
  413. package/dist/service/stepfunctions/command/execution/sim-states-execution-name.d.ts.map +1 -0
  414. package/dist/service/stepfunctions/command/execution/sim-states-execution-name.js +23 -0
  415. package/dist/service/stepfunctions/command/execution/sim-states-execution-name.js.map +1 -0
  416. package/dist/service/stepfunctions/command/execution/sim-states-execution-repeat.d.ts +12 -0
  417. package/dist/service/stepfunctions/command/execution/sim-states-execution-repeat.d.ts.map +1 -0
  418. package/dist/service/stepfunctions/command/execution/sim-states-execution-repeat.js +21 -0
  419. package/dist/service/stepfunctions/command/execution/sim-states-execution-repeat.js.map +1 -0
  420. package/dist/service/stepfunctions/command/execution/sim-states-execution-start.d.ts +36 -0
  421. package/dist/service/stepfunctions/command/execution/sim-states-execution-start.d.ts.map +1 -0
  422. package/dist/service/stepfunctions/command/execution/sim-states-execution-start.js +64 -0
  423. package/dist/service/stepfunctions/command/execution/sim-states-execution-start.js.map +1 -0
  424. package/dist/service/stepfunctions/command/execution/sim-states-execution-view.d.ts +18 -0
  425. package/dist/service/stepfunctions/command/execution/sim-states-execution-view.d.ts.map +1 -0
  426. package/dist/service/stepfunctions/command/execution/sim-states-execution-view.js +41 -0
  427. package/dist/service/stepfunctions/command/execution/sim-states-execution-view.js.map +1 -0
  428. package/dist/service/stepfunctions/command/machine/machine.command.d.ts +63 -0
  429. package/dist/service/stepfunctions/command/machine/machine.command.d.ts.map +1 -0
  430. package/dist/service/stepfunctions/command/machine/machine.command.js +2 -0
  431. package/dist/service/stepfunctions/command/machine/machine.command.js.map +1 -0
  432. package/dist/service/stepfunctions/command/machine/sim-state-machine-create.d.ts +30 -0
  433. package/dist/service/stepfunctions/command/machine/sim-state-machine-create.d.ts.map +1 -0
  434. package/dist/service/stepfunctions/command/machine/sim-state-machine-create.js +64 -0
  435. package/dist/service/stepfunctions/command/machine/sim-state-machine-create.js.map +1 -0
  436. package/dist/service/stepfunctions/command/machine/sim-state-machine-input.d.ts +22 -0
  437. package/dist/service/stepfunctions/command/machine/sim-state-machine-input.d.ts.map +1 -0
  438. package/dist/service/stepfunctions/command/machine/sim-state-machine-input.js +38 -0
  439. package/dist/service/stepfunctions/command/machine/sim-state-machine-input.js.map +1 -0
  440. package/dist/service/stepfunctions/command/machine/sim-state-machine-lookup.d.ts +7 -0
  441. package/dist/service/stepfunctions/command/machine/sim-state-machine-lookup.d.ts.map +1 -0
  442. package/dist/service/stepfunctions/command/machine/sim-state-machine-lookup.js +15 -0
  443. package/dist/service/stepfunctions/command/machine/sim-state-machine-lookup.js.map +1 -0
  444. package/dist/service/stepfunctions/command/machine/sim-state-machine-reads.d.ts +18 -0
  445. package/dist/service/stepfunctions/command/machine/sim-state-machine-reads.d.ts.map +1 -0
  446. package/dist/service/stepfunctions/command/machine/sim-state-machine-reads.js +49 -0
  447. package/dist/service/stepfunctions/command/machine/sim-state-machine-reads.js.map +1 -0
  448. package/dist/service/stepfunctions/command/machine/sim-state-machine-writes.d.ts +26 -0
  449. package/dist/service/stepfunctions/command/machine/sim-state-machine-writes.d.ts.map +1 -0
  450. package/dist/service/stepfunctions/command/machine/sim-state-machine-writes.js +44 -0
  451. package/dist/service/stepfunctions/command/machine/sim-state-machine-writes.js.map +1 -0
  452. package/dist/service/stepfunctions/command/sim-step-functions-command.types.d.ts +6 -0
  453. package/dist/service/stepfunctions/command/sim-step-functions-command.types.d.ts.map +1 -0
  454. package/dist/service/stepfunctions/command/sim-step-functions-command.types.js +2 -0
  455. package/dist/service/stepfunctions/command/sim-step-functions-command.types.js.map +1 -0
  456. package/dist/service/stepfunctions/command/sim-step-functions-request-options.d.ts +12 -0
  457. package/dist/service/stepfunctions/command/sim-step-functions-request-options.d.ts.map +1 -0
  458. package/dist/service/stepfunctions/command/sim-step-functions-request-options.js +2 -0
  459. package/dist/service/stepfunctions/command/sim-step-functions-request-options.js.map +1 -0
  460. package/dist/service/stepfunctions/data/sim-states-result-path.js +1 -1
  461. package/dist/service/stepfunctions/data/sim-states-result-path.js.map +1 -1
  462. package/dist/service/stepfunctions/data/sim-states-timestamp-fields.d.ts +10 -0
  463. package/dist/service/stepfunctions/data/sim-states-timestamp-fields.d.ts.map +1 -0
  464. package/dist/service/stepfunctions/data/sim-states-timestamp-fields.js +45 -0
  465. package/dist/service/stepfunctions/data/sim-states-timestamp-fields.js.map +1 -0
  466. package/dist/service/stepfunctions/data/sim-states-timestamp.d.ts +10 -0
  467. package/dist/service/stepfunctions/data/sim-states-timestamp.d.ts.map +1 -0
  468. package/dist/service/stepfunctions/data/sim-states-timestamp.js +26 -0
  469. package/dist/service/stepfunctions/data/sim-states-timestamp.js.map +1 -0
  470. package/dist/service/stepfunctions/definition/sim-states-definition-parse.d.ts +10 -0
  471. package/dist/service/stepfunctions/definition/sim-states-definition-parse.d.ts.map +1 -0
  472. package/dist/service/stepfunctions/definition/sim-states-definition-parse.js +61 -0
  473. package/dist/service/stepfunctions/definition/sim-states-definition-parse.js.map +1 -0
  474. package/dist/service/stepfunctions/definition/sim-states-definition.d.ts +15 -0
  475. package/dist/service/stepfunctions/definition/sim-states-definition.d.ts.map +1 -0
  476. package/dist/service/stepfunctions/definition/sim-states-definition.js +2 -0
  477. package/dist/service/stepfunctions/definition/sim-states-definition.js.map +1 -0
  478. package/dist/service/stepfunctions/definition/sim-states-state-fields.d.ts +17 -0
  479. package/dist/service/stepfunctions/definition/sim-states-state-fields.d.ts.map +1 -0
  480. package/dist/service/stepfunctions/definition/sim-states-state-fields.js +47 -0
  481. package/dist/service/stepfunctions/definition/sim-states-state-fields.js.map +1 -0
  482. package/dist/service/stepfunctions/definition/sim-states-state-parse.d.ts +7 -0
  483. package/dist/service/stepfunctions/definition/sim-states-state-parse.d.ts.map +1 -0
  484. package/dist/service/stepfunctions/definition/sim-states-state-parse.js +67 -0
  485. package/dist/service/stepfunctions/definition/sim-states-state-parse.js.map +1 -0
  486. package/dist/service/stepfunctions/definition/sim-states-state.d.ts +98 -0
  487. package/dist/service/stepfunctions/definition/sim-states-state.d.ts.map +1 -0
  488. package/dist/service/stepfunctions/definition/sim-states-state.js +34 -0
  489. package/dist/service/stepfunctions/definition/sim-states-state.js.map +1 -0
  490. package/dist/service/stepfunctions/definition/sim-states-transitions.d.ts +10 -0
  491. package/dist/service/stepfunctions/definition/sim-states-transitions.d.ts.map +1 -0
  492. package/dist/service/stepfunctions/definition/sim-states-transitions.js +79 -0
  493. package/dist/service/stepfunctions/definition/sim-states-transitions.js.map +1 -0
  494. package/dist/service/stepfunctions/error/sim-step-functions.error.d.ts +99 -0
  495. package/dist/service/stepfunctions/error/sim-step-functions.error.d.ts.map +1 -1
  496. package/dist/service/stepfunctions/error/sim-step-functions.error.js +119 -0
  497. package/dist/service/stepfunctions/error/sim-step-functions.error.js.map +1 -1
  498. package/dist/service/stepfunctions/execution/sim-states-execution-store.d.ts +33 -0
  499. package/dist/service/stepfunctions/execution/sim-states-execution-store.d.ts.map +1 -0
  500. package/dist/service/stepfunctions/execution/sim-states-execution-store.js +55 -0
  501. package/dist/service/stepfunctions/execution/sim-states-execution-store.js.map +1 -0
  502. package/dist/service/stepfunctions/execution/sim-states-execution.d.ts +53 -0
  503. package/dist/service/stepfunctions/execution/sim-states-execution.d.ts.map +1 -0
  504. package/dist/service/stepfunctions/execution/sim-states-execution.js +77 -0
  505. package/dist/service/stepfunctions/execution/sim-states-execution.js.map +1 -0
  506. package/dist/service/stepfunctions/execution/sim-states-failure.d.ts +24 -0
  507. package/dist/service/stepfunctions/execution/sim-states-failure.d.ts.map +1 -0
  508. package/dist/service/stepfunctions/execution/sim-states-failure.js +50 -0
  509. package/dist/service/stepfunctions/execution/sim-states-failure.js.map +1 -0
  510. package/dist/service/stepfunctions/execution/sim-states-interpreter.d.ts +42 -0
  511. package/dist/service/stepfunctions/execution/sim-states-interpreter.d.ts.map +1 -0
  512. package/dist/service/stepfunctions/execution/sim-states-interpreter.js +124 -0
  513. package/dist/service/stepfunctions/execution/sim-states-interpreter.js.map +1 -0
  514. package/dist/service/stepfunctions/execution/sim-states-run-choice.d.ts +12 -0
  515. package/dist/service/stepfunctions/execution/sim-states-run-choice.d.ts.map +1 -0
  516. package/dist/service/stepfunctions/execution/sim-states-run-choice.js +24 -0
  517. package/dist/service/stepfunctions/execution/sim-states-run-choice.js.map +1 -0
  518. package/dist/service/stepfunctions/execution/sim-states-run-state.d.ts +15 -0
  519. package/dist/service/stepfunctions/execution/sim-states-run-state.d.ts.map +1 -0
  520. package/dist/service/stepfunctions/execution/sim-states-run-state.js +68 -0
  521. package/dist/service/stepfunctions/execution/sim-states-run-state.js.map +1 -0
  522. package/dist/service/stepfunctions/execution/sim-states-run-task.d.ts +14 -0
  523. package/dist/service/stepfunctions/execution/sim-states-run-task.d.ts.map +1 -0
  524. package/dist/service/stepfunctions/execution/sim-states-run-task.js +23 -0
  525. package/dist/service/stepfunctions/execution/sim-states-run-task.js.map +1 -0
  526. package/dist/service/stepfunctions/execution/sim-states-run-wait.d.ts +11 -0
  527. package/dist/service/stepfunctions/execution/sim-states-run-wait.d.ts.map +1 -0
  528. package/dist/service/stepfunctions/execution/sim-states-run-wait.js +21 -0
  529. package/dist/service/stepfunctions/execution/sim-states-run-wait.js.map +1 -0
  530. package/dist/service/stepfunctions/execution/sim-states-settlement.d.ts +27 -0
  531. package/dist/service/stepfunctions/execution/sim-states-settlement.d.ts.map +1 -0
  532. package/dist/service/stepfunctions/execution/sim-states-settlement.js +33 -0
  533. package/dist/service/stepfunctions/execution/sim-states-settlement.js.map +1 -0
  534. package/dist/service/stepfunctions/execution/sim-states-state-outcome.d.ts +46 -0
  535. package/dist/service/stepfunctions/execution/sim-states-state-outcome.d.ts.map +1 -0
  536. package/dist/service/stepfunctions/execution/sim-states-state-outcome.js +2 -0
  537. package/dist/service/stepfunctions/execution/sim-states-state-outcome.js.map +1 -0
  538. package/dist/service/stepfunctions/execution/sim-states-state-runner.d.ts +27 -0
  539. package/dist/service/stepfunctions/execution/sim-states-state-runner.d.ts.map +1 -0
  540. package/dist/service/stepfunctions/execution/sim-states-state-runner.js +36 -0
  541. package/dist/service/stepfunctions/execution/sim-states-state-runner.js.map +1 -0
  542. package/dist/service/stepfunctions/index.d.ts +16 -0
  543. package/dist/service/stepfunctions/index.d.ts.map +1 -0
  544. package/dist/service/stepfunctions/index.js +9 -0
  545. package/dist/service/stepfunctions/index.js.map +1 -0
  546. package/dist/service/stepfunctions/machine/sim-state-machine-arn.d.ts +30 -0
  547. package/dist/service/stepfunctions/machine/sim-state-machine-arn.d.ts.map +1 -0
  548. package/dist/service/stepfunctions/machine/sim-state-machine-arn.js +48 -0
  549. package/dist/service/stepfunctions/machine/sim-state-machine-arn.js.map +1 -0
  550. package/dist/service/stepfunctions/machine/sim-state-machine-store.d.ts +20 -0
  551. package/dist/service/stepfunctions/machine/sim-state-machine-store.d.ts.map +1 -0
  552. package/dist/service/stepfunctions/machine/sim-state-machine-store.js +32 -0
  553. package/dist/service/stepfunctions/machine/sim-state-machine-store.js.map +1 -0
  554. package/dist/service/stepfunctions/machine/sim-state-machine.d.ts +54 -0
  555. package/dist/service/stepfunctions/machine/sim-state-machine.d.ts.map +1 -0
  556. package/dist/service/stepfunctions/machine/sim-state-machine.js +60 -0
  557. package/dist/service/stepfunctions/machine/sim-state-machine.js.map +1 -0
  558. package/dist/service/stepfunctions/machine/sim-states-name.d.ts +10 -0
  559. package/dist/service/stepfunctions/machine/sim-states-name.d.ts.map +1 -0
  560. package/dist/service/stepfunctions/machine/sim-states-name.js +42 -0
  561. package/dist/service/stepfunctions/machine/sim-states-name.js.map +1 -0
  562. package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.d.ts +19 -0
  563. package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.d.ts.map +1 -0
  564. package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.js +53 -0
  565. package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.js.map +1 -0
  566. package/dist/service/stepfunctions/sim-step-functions-inspection.d.ts +22 -0
  567. package/dist/service/stepfunctions/sim-step-functions-inspection.d.ts.map +1 -0
  568. package/dist/service/stepfunctions/sim-step-functions-inspection.js +29 -0
  569. package/dist/service/stepfunctions/sim-step-functions-inspection.js.map +1 -0
  570. package/dist/service/stepfunctions/sim-step-functions.d.ts +67 -0
  571. package/dist/service/stepfunctions/sim-step-functions.d.ts.map +1 -0
  572. package/dist/service/stepfunctions/sim-step-functions.js +124 -0
  573. package/dist/service/stepfunctions/sim-step-functions.js.map +1 -0
  574. package/dist/service/stepfunctions/task/sim-aws-states-task-targets.d.ts +33 -0
  575. package/dist/service/stepfunctions/task/sim-aws-states-task-targets.d.ts.map +1 -0
  576. package/dist/service/stepfunctions/task/sim-aws-states-task-targets.js +49 -0
  577. package/dist/service/stepfunctions/task/sim-aws-states-task-targets.js.map +1 -0
  578. package/dist/service/stepfunctions/task/sim-states-execution-role.d.ts +25 -0
  579. package/dist/service/stepfunctions/task/sim-states-execution-role.d.ts.map +1 -0
  580. package/dist/service/stepfunctions/task/sim-states-execution-role.js +57 -0
  581. package/dist/service/stepfunctions/task/sim-states-execution-role.js.map +1 -0
  582. package/dist/service/stepfunctions/task/sim-states-function-arn-target.d.ts +31 -0
  583. package/dist/service/stepfunctions/task/sim-states-function-arn-target.d.ts.map +1 -0
  584. package/dist/service/stepfunctions/task/sim-states-function-arn-target.js +39 -0
  585. package/dist/service/stepfunctions/task/sim-states-function-arn-target.js.map +1 -0
  586. package/dist/service/stepfunctions/task/sim-states-function-location.d.ts +20 -0
  587. package/dist/service/stepfunctions/task/sim-states-function-location.d.ts.map +1 -0
  588. package/dist/service/stepfunctions/task/sim-states-function-location.js +28 -0
  589. package/dist/service/stepfunctions/task/sim-states-function-location.js.map +1 -0
  590. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.d.ts +34 -0
  591. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.d.ts.map +1 -0
  592. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.js +65 -0
  593. package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.js.map +1 -0
  594. package/dist/service/stepfunctions/task/sim-states-no-task-targets.d.ts +16 -0
  595. package/dist/service/stepfunctions/task/sim-states-no-task-targets.d.ts.map +1 -0
  596. package/dist/service/stepfunctions/task/sim-states-no-task-targets.js +19 -0
  597. package/dist/service/stepfunctions/task/sim-states-no-task-targets.js.map +1 -0
  598. package/dist/service/stepfunctions/task/sim-states-task-fields.d.ts +14 -0
  599. package/dist/service/stepfunctions/task/sim-states-task-fields.d.ts.map +1 -0
  600. package/dist/service/stepfunctions/task/sim-states-task-fields.js +29 -0
  601. package/dist/service/stepfunctions/task/sim-states-task-fields.js.map +1 -0
  602. package/dist/service/stepfunctions/task/sim-states-task-function.d.ts +57 -0
  603. package/dist/service/stepfunctions/task/sim-states-task-function.d.ts.map +1 -0
  604. package/dist/service/stepfunctions/task/sim-states-task-function.js +93 -0
  605. package/dist/service/stepfunctions/task/sim-states-task-function.js.map +1 -0
  606. package/dist/service/stepfunctions/task/sim-states-task-invocation.d.ts +29 -0
  607. package/dist/service/stepfunctions/task/sim-states-task-invocation.d.ts.map +1 -0
  608. package/dist/service/stepfunctions/task/sim-states-task-invocation.js +2 -0
  609. package/dist/service/stepfunctions/task/sim-states-task-invocation.js.map +1 -0
  610. package/dist/service/stepfunctions/task/sim-states-task-resource.d.ts +12 -0
  611. package/dist/service/stepfunctions/task/sim-states-task-resource.d.ts.map +1 -0
  612. package/dist/service/stepfunctions/task/sim-states-task-resource.js +64 -0
  613. package/dist/service/stepfunctions/task/sim-states-task-resource.js.map +1 -0
  614. package/dist/service/stepfunctions/task/sim-states-task-target.d.ts +37 -0
  615. package/dist/service/stepfunctions/task/sim-states-task-target.d.ts.map +1 -0
  616. package/dist/service/stepfunctions/task/sim-states-task-target.js +12 -0
  617. package/dist/service/stepfunctions/task/sim-states-task-target.js.map +1 -0
  618. package/dist/service/stepfunctions/wait/sim-states-wait-due.d.ts +11 -0
  619. package/dist/service/stepfunctions/wait/sim-states-wait-due.d.ts.map +1 -0
  620. package/dist/service/stepfunctions/wait/sim-states-wait-due.js +67 -0
  621. package/dist/service/stepfunctions/wait/sim-states-wait-due.js.map +1 -0
  622. package/dist/service/stepfunctions/wait/sim-states-wait-fields.d.ts +18 -0
  623. package/dist/service/stepfunctions/wait/sim-states-wait-fields.d.ts.map +1 -0
  624. package/dist/service/stepfunctions/wait/sim-states-wait-fields.js +85 -0
  625. package/dist/service/stepfunctions/wait/sim-states-wait-fields.js.map +1 -0
  626. package/package.json +11 -1
@@ -0,0 +1,32 @@
1
+ import type { SimStatesExecutionStatus } from "../../execution/sim-states-execution.js";
2
+ export interface SimStartExecutionCommandInput {
3
+ readonly stateMachineArn?: string;
4
+ readonly name?: string;
5
+ readonly input?: string;
6
+ }
7
+ export interface SimStartExecutionCommand {
8
+ readonly input: SimStartExecutionCommandInput;
9
+ }
10
+ export interface SimStartExecutionCommandOutput {
11
+ readonly executionArn: string;
12
+ readonly startDate: Date;
13
+ }
14
+ export interface SimDescribeExecutionCommandInput {
15
+ readonly executionArn?: string;
16
+ }
17
+ export interface SimDescribeExecutionCommand {
18
+ readonly input: SimDescribeExecutionCommandInput;
19
+ }
20
+ export interface SimDescribeExecutionCommandOutput {
21
+ readonly executionArn: string;
22
+ readonly stateMachineArn: string;
23
+ readonly name: string;
24
+ readonly status: SimStatesExecutionStatus;
25
+ readonly startDate: Date;
26
+ readonly stopDate?: Date;
27
+ readonly input: string;
28
+ readonly output?: string;
29
+ readonly error?: string;
30
+ readonly cause?: string;
31
+ }
32
+ //# sourceMappingURL=execution.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execution.command.d.ts","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/execution/execution.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yCAAyC,CAAC;AAExF,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,KAAK,EAAE,6BAA6B,CAAC;CAC/C;AAED,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,SAAS,EAAE,IAAI,CAAC;CAC1B;AAED,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,KAAK,EAAE,gCAAgC,CAAC;CAClD;AAED,MAAM,WAAW,iCAAiC;IAChD,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,EAAE,wBAAwB,CAAC;IAC1C,QAAQ,CAAC,SAAS,EAAE,IAAI,CAAC;IACzB,QAAQ,CAAC,QAAQ,CAAC,EAAE,IAAI,CAAC;IACzB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;CACzB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=execution.command.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execution.command.js","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/execution/execution.command.ts"],"names":[],"mappings":""}
@@ -0,0 +1,11 @@
1
+ import type { SimStatesExecutionStore } from "../../execution/sim-states-execution-store.js";
2
+ import type { SimDescribeExecutionCommand, SimDescribeExecutionCommandOutput } from "./execution.command.js";
3
+ /**
4
+ * The command that reads an execution back.
5
+ */
6
+ export declare class SimStatesExecutionDescribe {
7
+ #private;
8
+ constructor(executions: SimStatesExecutionStore);
9
+ handle(command: SimDescribeExecutionCommand): SimDescribeExecutionCommandOutput;
10
+ }
11
+ //# sourceMappingURL=sim-states-execution-describe.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-execution-describe.d.ts","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/execution/sim-states-execution-describe.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AAC7F,OAAO,KAAK,EACV,2BAA2B,EAC3B,iCAAiC,EAClC,MAAM,wBAAwB,CAAC;AAGhC;;GAEG;AACH,qBAAa,0BAA0B;;IAGrC,YAAY,UAAU,EAAE,uBAAuB,EAE9C;IAED,MAAM,CACJ,OAAO,EAAE,2BAA2B,GACnC,iCAAiC,CAkBnC;CACF"}
@@ -0,0 +1,23 @@
1
+ import { SimStatesExecutionNotFound, SimStatesInvalidRequest, } from "../../error/sim-step-functions.error.js";
2
+ import { simStatesExecutionView } from "./sim-states-execution-view.js";
3
+ /**
4
+ * The command that reads an execution back.
5
+ */
6
+ export class SimStatesExecutionDescribe {
7
+ #executions;
8
+ constructor(executions) {
9
+ this.#executions = executions;
10
+ }
11
+ handle(command) {
12
+ const { executionArn } = command.input;
13
+ if (executionArn === undefined) {
14
+ throw new SimStatesInvalidRequest("DescribeExecution needs an executionArn.");
15
+ }
16
+ const execution = this.#executions.find(executionArn);
17
+ if (execution === undefined) {
18
+ throw new SimStatesExecutionNotFound(`${executionArn} is not a simulated execution in this Account and Region.`);
19
+ }
20
+ return simStatesExecutionView(execution);
21
+ }
22
+ }
23
+ //# sourceMappingURL=sim-states-execution-describe.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-execution-describe.js","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/execution/sim-states-execution-describe.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAC1B,uBAAuB,GACxB,MAAM,yCAAyC,CAAC;AAMjD,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAExE;;GAEG;AACH,MAAM,OAAO,0BAA0B;IAC5B,WAAW,CAA0B;IAE9C,YAAY,UAAmC;QAC7C,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;IAChC,CAAC;IAED,MAAM,CACJ,OAAoC;QAEpC,MAAM,EAAE,YAAY,EAAE,GAAG,OAAO,CAAC,KAAK,CAAC;QAEvC,IAAI,YAAY,KAAK,SAAS,EAAE,CAAC;YAC/B,MAAM,IAAI,uBAAuB,CAC/B,0CAA0C,CAC3C,CAAC;QACJ,CAAC;QAED,MAAM,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAEtD,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;YAC5B,MAAM,IAAI,0BAA0B,CAClC,GAAG,YAAY,2DAA2D,CAC3E,CAAC;QACJ,CAAC;QAED,OAAO,sBAAsB,CAAC,SAAS,CAAC,CAAC;IAC3C,CAAC;CACF"}
@@ -0,0 +1,12 @@
1
+ import type { SimStatesExecutionStore } from "../../execution/sim-states-execution-store.js";
2
+ /**
3
+ * The name an execution runs under.
4
+ *
5
+ * Real Step Functions generates a UUID for an unnamed execution. A counter is
6
+ * used here because a simulation answering the same way twice is worth more
7
+ * than a name that looks right, and nothing reads meaning out of it. It steps
8
+ * over a name a caller has already used, so an unnamed start never fails over
9
+ * a name its caller never wrote.
10
+ */
11
+ export declare function chooseSimStatesExecutionName(executions: SimStatesExecutionStore, stateMachineArn: string, name: string | undefined): string;
12
+ //# sourceMappingURL=sim-states-execution-name.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-execution-name.d.ts","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/execution/sim-states-execution-name.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AAG7F;;;;;;;;GAQG;AACH,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,uBAAuB,EACnC,eAAe,EAAE,MAAM,EACvB,IAAI,EAAE,MAAM,GAAG,SAAS,GACvB,MAAM,CAcR"}
@@ -0,0 +1,23 @@
1
+ import { checkSimStatesName } from "../../machine/sim-states-name.js";
2
+ /**
3
+ * The name an execution runs under.
4
+ *
5
+ * Real Step Functions generates a UUID for an unnamed execution. A counter is
6
+ * used here because a simulation answering the same way twice is worth more
7
+ * than a name that looks right, and nothing reads meaning out of it. It steps
8
+ * over a name a caller has already used, so an unnamed start never fails over
9
+ * a name its caller never wrote.
10
+ */
11
+ export function chooseSimStatesExecutionName(executions, stateMachineArn, name) {
12
+ if (name !== undefined) {
13
+ return checkSimStatesName(name, "The execution name");
14
+ }
15
+ let index = executions.forStateMachine(stateMachineArn).length;
16
+ let candidate;
17
+ do {
18
+ index += 1;
19
+ candidate = `execution-${String(index)}`;
20
+ } while (executions.hasName(stateMachineArn, candidate));
21
+ return candidate;
22
+ }
23
+ //# sourceMappingURL=sim-states-execution-name.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-execution-name.js","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/execution/sim-states-execution-name.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE;;;;;;;;GAQG;AACH,MAAM,UAAU,4BAA4B,CAC1C,UAAmC,EACnC,eAAuB,EACvB,IAAwB;IAExB,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;QACvB,OAAO,kBAAkB,CAAC,IAAI,EAAE,oBAAoB,CAAC,CAAC;IACxD,CAAC;IAED,IAAI,KAAK,GAAG,UAAU,CAAC,eAAe,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC;IAC/D,IAAI,SAAiB,CAAC;IAEtB,GAAG,CAAC;QACF,KAAK,IAAI,CAAC,CAAC;QACX,SAAS,GAAG,aAAa,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC;IAC3C,CAAC,QAAQ,UAAU,CAAC,OAAO,CAAC,eAAe,EAAE,SAAS,CAAC,EAAE;IAEzD,OAAO,SAAS,CAAC;AACnB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { SimStatesExecution } from "../../execution/sim-states-execution.js";
2
+ import type { SimStartExecutionCommandOutput } from "./execution.command.js";
3
+ /**
4
+ * Answer a start that names an execution already there.
5
+ *
6
+ * `StartExecution` on a Standard workflow is idempotent. A repeat naming an
7
+ * execution that is still running, and carrying the same input, answers with
8
+ * that execution's own response. A repeat naming one that has finished, or
9
+ * carrying different input, is a name collision.
10
+ */
11
+ export declare function answerSimStatesRepeatedStart(already: SimStatesExecution, stateMachineName: string, input: string | undefined): SimStartExecutionCommandOutput;
12
+ //# sourceMappingURL=sim-states-execution-repeat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-execution-repeat.d.ts","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/execution/sim-states-execution-repeat.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAClF,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAG7E;;;;;;;GAOG;AACH,wBAAgB,4BAA4B,CAC1C,OAAO,EAAE,kBAAkB,EAC3B,gBAAgB,EAAE,MAAM,EACxB,KAAK,EAAE,MAAM,GAAG,SAAS,GACxB,8BAA8B,CAchC"}
@@ -0,0 +1,21 @@
1
+ import { SimStatesExecutionAlreadyExists } from "../../error/sim-step-functions.error.js";
2
+ import { readSimStatesExecutionInput } from "./sim-states-execution-view.js";
3
+ /**
4
+ * Answer a start that names an execution already there.
5
+ *
6
+ * `StartExecution` on a Standard workflow is idempotent. A repeat naming an
7
+ * execution that is still running, and carrying the same input, answers with
8
+ * that execution's own response. A repeat naming one that has finished, or
9
+ * carrying different input, is a name collision.
10
+ */
11
+ export function answerSimStatesRepeatedStart(already, stateMachineName, input) {
12
+ const sameInput = JSON.stringify(already.input) ===
13
+ JSON.stringify(readSimStatesExecutionInput(input));
14
+ if (sameInput && already.status === "RUNNING") {
15
+ return { executionArn: already.arn, startDate: already.startDate };
16
+ }
17
+ throw new SimStatesExecutionAlreadyExists(`${stateMachineName} already has an execution called ${already.name}. ` +
18
+ "A repeat is answered with the execution already there only while it " +
19
+ "is still running on the same input.");
20
+ }
21
+ //# sourceMappingURL=sim-states-execution-repeat.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-execution-repeat.js","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/execution/sim-states-execution-repeat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,yCAAyC,CAAC;AAG1F,OAAO,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAE7E;;;;;;;GAOG;AACH,MAAM,UAAU,4BAA4B,CAC1C,OAA2B,EAC3B,gBAAwB,EACxB,KAAyB;IAEzB,MAAM,SAAS,GACb,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK,CAAC;QAC7B,IAAI,CAAC,SAAS,CAAC,2BAA2B,CAAC,KAAK,CAAC,CAAC,CAAC;IAErD,IAAI,SAAS,IAAI,OAAO,CAAC,MAAM,KAAK,SAAS,EAAE,CAAC;QAC9C,OAAO,EAAE,YAAY,EAAE,OAAO,CAAC,GAAG,EAAE,SAAS,EAAE,OAAO,CAAC,SAAS,EAAE,CAAC;IACrE,CAAC;IAED,MAAM,IAAI,+BAA+B,CACvC,GAAG,gBAAgB,oCAAoC,OAAO,CAAC,IAAI,IAAI;QACrE,sEAAsE;QACtE,qCAAqC,CACxC,CAAC;AACJ,CAAC"}
@@ -0,0 +1,36 @@
1
+ import type { BackgroundScheduler } from "../../../../util/background/background.js";
2
+ import type { SimAwsAccountRegionScope } from "../../../aws/sim-aws-account-region-scope.js";
3
+ import type { SimStatesExecutionStore } from "../../execution/sim-states-execution-store.js";
4
+ import type { SimStateMachineStore } from "../../machine/sim-state-machine-store.js";
5
+ import type { SimStatesTaskTargets } from "../../task/sim-states-task-invocation.js";
6
+ import type { SimStartExecutionCommand, SimStartExecutionCommandOutput } from "./execution.command.js";
7
+ interface SimStatesExecutionStartProperties {
8
+ readonly stateMachines: SimStateMachineStore;
9
+ readonly executions: SimStatesExecutionStore;
10
+ readonly accountRegionScope: SimAwsAccountRegionScope;
11
+ readonly background: BackgroundScheduler;
12
+ readonly tasks: SimStatesTaskTargets;
13
+ }
14
+ /**
15
+ * The command that starts an execution.
16
+ */
17
+ export declare class SimStatesExecutionStart {
18
+ #private;
19
+ constructor(properties: SimStatesExecutionStartProperties);
20
+ /**
21
+ * Start an execution and answer with its ARN.
22
+ *
23
+ * The walk runs as far as it can before this answers. An execution with
24
+ * nothing to wait for has finished by the time the caller reads it back, and
25
+ * one reaching a state that waits on the clock is left `RUNNING` for
26
+ * `advanceBy` to move on.
27
+ *
28
+ * Real `StartExecution` answers before the execution has run at all, so a
29
+ * caller there sees `RUNNING` first. Settling here instead spares every test
30
+ * a wait for something that has no work left to do, and the docs record the
31
+ * divergence.
32
+ */
33
+ handle(command: SimStartExecutionCommand): Promise<SimStartExecutionCommandOutput>;
34
+ }
35
+ export {};
36
+ //# sourceMappingURL=sim-states-execution-start.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-execution-start.d.ts","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/execution/sim-states-execution-start.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AAE7F,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AAG7F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAErF,OAAO,KAAK,EACV,wBAAwB,EACxB,8BAA8B,EAC/B,MAAM,wBAAwB,CAAC;AAKhC,UAAU,iCAAiC;IACzC,QAAQ,CAAC,aAAa,EAAE,oBAAoB,CAAC;IAC7C,QAAQ,CAAC,UAAU,EAAE,uBAAuB,CAAC;IAC7C,QAAQ,CAAC,kBAAkB,EAAE,wBAAwB,CAAC;IACtD,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;IACzC,QAAQ,CAAC,KAAK,EAAE,oBAAoB,CAAC;CACtC;AAED;;GAEG;AACH,qBAAa,uBAAuB;;IAOlC,YAAY,UAAU,EAAE,iCAAiC,EAMxD;IAED;;;;;;;;;;;;OAYG;IACG,MAAM,CACV,OAAO,EAAE,wBAAwB,GAChC,OAAO,CAAC,8BAA8B,CAAC,CA8CzC;CACF"}
@@ -0,0 +1,64 @@
1
+ import { SimStatesExecution } from "../../execution/sim-states-execution.js";
2
+ import { SimStatesInterpreter } from "../../execution/sim-states-interpreter.js";
3
+ import { simStatesExecutionArn } from "../../machine/sim-state-machine-arn.js";
4
+ import { requireSimStateMachine } from "../machine/sim-state-machine-lookup.js";
5
+ import { chooseSimStatesExecutionName } from "./sim-states-execution-name.js";
6
+ import { answerSimStatesRepeatedStart } from "./sim-states-execution-repeat.js";
7
+ import { readSimStatesExecutionInput } from "./sim-states-execution-view.js";
8
+ /**
9
+ * The command that starts an execution.
10
+ */
11
+ export class SimStatesExecutionStart {
12
+ #stateMachines;
13
+ #executions;
14
+ #accountRegionScope;
15
+ #background;
16
+ #tasks;
17
+ constructor(properties) {
18
+ this.#stateMachines = properties.stateMachines;
19
+ this.#executions = properties.executions;
20
+ this.#accountRegionScope = properties.accountRegionScope;
21
+ this.#background = properties.background;
22
+ this.#tasks = properties.tasks;
23
+ }
24
+ /**
25
+ * Start an execution and answer with its ARN.
26
+ *
27
+ * The walk runs as far as it can before this answers. An execution with
28
+ * nothing to wait for has finished by the time the caller reads it back, and
29
+ * one reaching a state that waits on the clock is left `RUNNING` for
30
+ * `advanceBy` to move on.
31
+ *
32
+ * Real `StartExecution` answers before the execution has run at all, so a
33
+ * caller there sees `RUNNING` first. Settling here instead spares every test
34
+ * a wait for something that has no work left to do, and the docs record the
35
+ * divergence.
36
+ */
37
+ async handle(command) {
38
+ const { stateMachineArn, name, input } = command.input;
39
+ const stateMachine = requireSimStateMachine(this.#stateMachines, stateMachineArn, "StartExecution");
40
+ const executionName = chooseSimStatesExecutionName(this.#executions, stateMachine.arn, name);
41
+ const already = this.#executions.findByName(stateMachine.arn, executionName);
42
+ if (already !== undefined) {
43
+ return answerSimStatesRepeatedStart(already, stateMachine.name, input);
44
+ }
45
+ const startDate = this.#background.now();
46
+ const execution = new SimStatesExecution({
47
+ arn: simStatesExecutionArn(this.#accountRegionScope, stateMachine.name, executionName),
48
+ name: executionName,
49
+ stateMachineArn: stateMachine.arn,
50
+ input: readSimStatesExecutionInput(input),
51
+ startDate,
52
+ });
53
+ this.#executions.add(execution);
54
+ await new SimStatesInterpreter({
55
+ definition: stateMachine.parsedDefinition,
56
+ execution,
57
+ background: this.#background,
58
+ tasks: this.#tasks,
59
+ roleArn: stateMachine.roleArn,
60
+ }).run();
61
+ return { executionArn: execution.arn, startDate };
62
+ }
63
+ }
64
+ //# sourceMappingURL=sim-states-execution-start.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-execution-start.js","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/execution/sim-states-execution-start.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAG/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAKhF,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAC9E,OAAO,EAAE,4BAA4B,EAAE,MAAM,kCAAkC,CAAC;AAChF,OAAO,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAU7E;;GAEG;AACH,MAAM,OAAO,uBAAuB;IACzB,cAAc,CAAuB;IACrC,WAAW,CAA0B;IACrC,mBAAmB,CAA2B;IAC9C,WAAW,CAAsB;IACjC,MAAM,CAAuB;IAEtC,YAAY,UAA6C;QACvD,IAAI,CAAC,cAAc,GAAG,UAAU,CAAC,aAAa,CAAC;QAC/C,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC,UAAU,CAAC;QACzC,IAAI,CAAC,mBAAmB,GAAG,UAAU,CAAC,kBAAkB,CAAC;QACzD,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC,UAAU,CAAC;QACzC,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,KAAK,CAAC;IACjC,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,KAAK,CAAC,MAAM,CACV,OAAiC;QAEjC,MAAM,EAAE,eAAe,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC,KAAK,CAAC;QACvD,MAAM,YAAY,GAAG,sBAAsB,CACzC,IAAI,CAAC,cAAc,EACnB,eAAe,EACf,gBAAgB,CACjB,CAAC;QACF,MAAM,aAAa,GAAG,4BAA4B,CAChD,IAAI,CAAC,WAAW,EAChB,YAAY,CAAC,GAAG,EAChB,IAAI,CACL,CAAC;QAEF,MAAM,OAAO,GAAG,IAAI,CAAC,WAAW,CAAC,UAAU,CACzC,YAAY,CAAC,GAAG,EAChB,aAAa,CACd,CAAC;QAEF,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;YAC1B,OAAO,4BAA4B,CAAC,OAAO,EAAE,YAAY,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QACzE,CAAC;QAED,MAAM,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC;QACzC,MAAM,SAAS,GAAG,IAAI,kBAAkB,CAAC;YACvC,GAAG,EAAE,qBAAqB,CACxB,IAAI,CAAC,mBAAmB,EACxB,YAAY,CAAC,IAAI,EACjB,aAAa,CACd;YACD,IAAI,EAAE,aAAa;YACnB,eAAe,EAAE,YAAY,CAAC,GAAG;YACjC,KAAK,EAAE,2BAA2B,CAAC,KAAK,CAAC;YACzC,SAAS;SACV,CAAC,CAAC;QAEH,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QAEhC,MAAM,IAAI,oBAAoB,CAAC;YAC7B,UAAU,EAAE,YAAY,CAAC,gBAAgB;YACzC,SAAS;YACT,UAAU,EAAE,IAAI,CAAC,WAAW;YAC5B,KAAK,EAAE,IAAI,CAAC,MAAM;YAClB,OAAO,EAAE,YAAY,CAAC,OAAO;SAC9B,CAAC,CAAC,GAAG,EAAE,CAAC;QAET,OAAO,EAAE,YAAY,EAAE,SAAS,CAAC,GAAG,EAAE,SAAS,EAAE,CAAC;IACpD,CAAC;CACF"}
@@ -0,0 +1,18 @@
1
+ import type { JSONValue } from "../../../../util/type-guard/json.js";
2
+ import type { SimStatesExecution } from "../../execution/sim-states-execution.js";
3
+ import type * as commands from "./execution.command.js";
4
+ /**
5
+ * Read the JSON an execution was started with.
6
+ *
7
+ * Real Step Functions takes the input as a JSON string and gives an execution
8
+ * an empty object where the request carried nothing.
9
+ */
10
+ export declare function readSimStatesExecutionInput(input: string | undefined): JSONValue;
11
+ /**
12
+ * What `DescribeExecution` answers with.
13
+ *
14
+ * The fields an execution has not got are left off rather than sent as
15
+ * undefined, which is how the SDK shapes an answer from real Step Functions.
16
+ */
17
+ export declare function simStatesExecutionView(execution: SimStatesExecution): commands.SimDescribeExecutionCommandOutput;
18
+ //# sourceMappingURL=sim-states-execution-view.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-execution-view.d.ts","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/execution/sim-states-execution-view.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAC;AAErE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAClF,OAAO,KAAK,KAAK,QAAQ,MAAM,wBAAwB,CAAC;AAExD;;;;;GAKG;AACH,wBAAgB,2BAA2B,CACzC,KAAK,EAAE,MAAM,GAAG,SAAS,GACxB,SAAS,CAYX;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CACpC,SAAS,EAAE,kBAAkB,GAC5B,QAAQ,CAAC,iCAAiC,CAe5C"}
@@ -0,0 +1,41 @@
1
+ import { SimStatesInvalidRequest } from "../../error/sim-step-functions.error.js";
2
+ /**
3
+ * Read the JSON an execution was started with.
4
+ *
5
+ * Real Step Functions takes the input as a JSON string and gives an execution
6
+ * an empty object where the request carried nothing.
7
+ */
8
+ export function readSimStatesExecutionInput(input) {
9
+ if (input === undefined) {
10
+ return {};
11
+ }
12
+ try {
13
+ return JSON.parse(input);
14
+ }
15
+ catch {
16
+ throw new SimStatesInvalidRequest("The execution input is not JSON. StartExecution takes it as a JSON string.");
17
+ }
18
+ }
19
+ /**
20
+ * What `DescribeExecution` answers with.
21
+ *
22
+ * The fields an execution has not got are left off rather than sent as
23
+ * undefined, which is how the SDK shapes an answer from real Step Functions.
24
+ */
25
+ export function simStatesExecutionView(execution) {
26
+ return {
27
+ executionArn: execution.arn,
28
+ stateMachineArn: execution.stateMachineArn,
29
+ name: execution.name,
30
+ status: execution.status,
31
+ startDate: execution.startDate,
32
+ input: JSON.stringify(execution.input),
33
+ ...(execution.stopDate !== undefined && { stopDate: execution.stopDate }),
34
+ ...(execution.output !== undefined && {
35
+ output: JSON.stringify(execution.output),
36
+ }),
37
+ ...(execution.error !== undefined && { error: execution.error }),
38
+ ...(execution.cause !== undefined && { cause: execution.cause }),
39
+ };
40
+ }
41
+ //# sourceMappingURL=sim-states-execution-view.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-states-execution-view.js","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/execution/sim-states-execution-view.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AAIlF;;;;;GAKG;AACH,MAAM,UAAU,2BAA2B,CACzC,KAAyB;IAEzB,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACxB,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,IAAI,CAAC;QACH,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAc,CAAC;IACxC,CAAC;IAAC,MAAM,CAAC;QACP,MAAM,IAAI,uBAAuB,CAC/B,4EAA4E,CAC7E,CAAC;IACJ,CAAC;AACH,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,sBAAsB,CACpC,SAA6B;IAE7B,OAAO;QACL,YAAY,EAAE,SAAS,CAAC,GAAG;QAC3B,eAAe,EAAE,SAAS,CAAC,eAAe;QAC1C,IAAI,EAAE,SAAS,CAAC,IAAI;QACpB,MAAM,EAAE,SAAS,CAAC,MAAM;QACxB,SAAS,EAAE,SAAS,CAAC,SAAS;QAC9B,KAAK,EAAE,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,KAAK,CAAC;QACtC,GAAG,CAAC,SAAS,CAAC,QAAQ,KAAK,SAAS,IAAI,EAAE,QAAQ,EAAE,SAAS,CAAC,QAAQ,EAAE,CAAC;QACzE,GAAG,CAAC,SAAS,CAAC,MAAM,KAAK,SAAS,IAAI;YACpC,MAAM,EAAE,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,MAAM,CAAC;SACzC,CAAC;QACF,GAAG,CAAC,SAAS,CAAC,KAAK,KAAK,SAAS,IAAI,EAAE,KAAK,EAAE,SAAS,CAAC,KAAK,EAAE,CAAC;QAChE,GAAG,CAAC,SAAS,CAAC,KAAK,KAAK,SAAS,IAAI,EAAE,KAAK,EAAE,SAAS,CAAC,KAAK,EAAE,CAAC;KACjE,CAAC;AACJ,CAAC"}
@@ -0,0 +1,63 @@
1
+ import type { SimStateMachineType } from "../../machine/sim-state-machine.js";
2
+ export interface SimCreateStateMachineCommandInput {
3
+ readonly name?: string;
4
+ readonly definition?: string;
5
+ readonly roleArn?: string;
6
+ readonly type?: string;
7
+ }
8
+ export interface SimCreateStateMachineCommand {
9
+ readonly input: SimCreateStateMachineCommandInput;
10
+ }
11
+ export interface SimCreateStateMachineCommandOutput {
12
+ readonly stateMachineArn: string;
13
+ readonly creationDate: Date;
14
+ }
15
+ export interface SimDescribeStateMachineCommandInput {
16
+ readonly stateMachineArn?: string;
17
+ }
18
+ export interface SimDescribeStateMachineCommand {
19
+ readonly input: SimDescribeStateMachineCommandInput;
20
+ }
21
+ export interface SimDescribeStateMachineCommandOutput {
22
+ readonly stateMachineArn: string;
23
+ readonly name: string;
24
+ readonly status: "ACTIVE";
25
+ readonly definition: string;
26
+ readonly roleArn: string;
27
+ readonly type: SimStateMachineType;
28
+ readonly creationDate: Date;
29
+ }
30
+ export interface SimUpdateStateMachineCommandInput {
31
+ readonly stateMachineArn?: string;
32
+ readonly definition?: string;
33
+ readonly roleArn?: string;
34
+ }
35
+ export interface SimUpdateStateMachineCommand {
36
+ readonly input: SimUpdateStateMachineCommandInput;
37
+ }
38
+ export interface SimUpdateStateMachineCommandOutput {
39
+ readonly updateDate: Date;
40
+ }
41
+ export interface SimDeleteStateMachineCommandInput {
42
+ readonly stateMachineArn?: string;
43
+ }
44
+ export interface SimDeleteStateMachineCommand {
45
+ readonly input: SimDeleteStateMachineCommandInput;
46
+ }
47
+ export type SimDeleteStateMachineCommandOutput = Record<string, never>;
48
+ export interface SimStateMachineListItem {
49
+ readonly stateMachineArn: string;
50
+ readonly name: string;
51
+ readonly type: SimStateMachineType;
52
+ readonly creationDate: Date;
53
+ }
54
+ export interface SimListStateMachinesCommandInput {
55
+ readonly maxResults?: number;
56
+ }
57
+ export interface SimListStateMachinesCommand {
58
+ readonly input: SimListStateMachinesCommandInput;
59
+ }
60
+ export interface SimListStateMachinesCommandOutput {
61
+ readonly stateMachines: readonly SimStateMachineListItem[];
62
+ }
63
+ //# sourceMappingURL=machine.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"machine.command.d.ts","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/machine/machine.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAE9E,MAAM,WAAW,iCAAiC;IAChD,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,KAAK,EAAE,iCAAiC,CAAC;CACnD;AAED,MAAM,WAAW,kCAAkC;IACjD,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,YAAY,EAAE,IAAI,CAAC;CAC7B;AAED,MAAM,WAAW,mCAAmC;IAClD,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;CACnC;AAED,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,CAAC,KAAK,EAAE,mCAAmC,CAAC;CACrD;AAED,MAAM,WAAW,oCAAoC;IACnD,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC;IAC1B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,IAAI,EAAE,mBAAmB,CAAC;IACnC,QAAQ,CAAC,YAAY,EAAE,IAAI,CAAC;CAC7B;AAED,MAAM,WAAW,iCAAiC;IAChD,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,KAAK,EAAE,iCAAiC,CAAC;CACnD;AAED,MAAM,WAAW,kCAAkC;IACjD,QAAQ,CAAC,UAAU,EAAE,IAAI,CAAC;CAC3B;AAED,MAAM,WAAW,iCAAiC;IAChD,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;CACnC;AAED,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,KAAK,EAAE,iCAAiC,CAAC;CACnD;AAED,MAAM,MAAM,kCAAkC,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAEvE,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,mBAAmB,CAAC;IACnC,QAAQ,CAAC,YAAY,EAAE,IAAI,CAAC;CAC7B;AAED,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,KAAK,EAAE,gCAAgC,CAAC;CAClD;AAED,MAAM,WAAW,iCAAiC;IAChD,QAAQ,CAAC,aAAa,EAAE,SAAS,uBAAuB,EAAE,CAAC;CAC5D"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=machine.command.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"machine.command.js","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/machine/machine.command.ts"],"names":[],"mappings":""}
@@ -0,0 +1,30 @@
1
+ import type { BackgroundScheduler } from "../../../../util/background/background.js";
2
+ import type { SimAwsAccountRegionScope } from "../../../aws/sim-aws-account-region-scope.js";
3
+ import type { SimStateMachineStore } from "../../machine/sim-state-machine-store.js";
4
+ import type { SimCreateStateMachineCommand, SimCreateStateMachineCommandOutput } from "./machine.command.js";
5
+ interface SimStateMachineCreateProperties {
6
+ readonly stateMachines: SimStateMachineStore;
7
+ readonly accountRegionScope: SimAwsAccountRegionScope;
8
+ readonly background: BackgroundScheduler;
9
+ }
10
+ /**
11
+ * The command that creates a state machine.
12
+ */
13
+ export declare class SimStateMachineCreate {
14
+ #private;
15
+ constructor(properties: SimStateMachineCreateProperties);
16
+ /**
17
+ * Create a state machine, checking its definition as it is read.
18
+ *
19
+ * A definition using something this simulator does not run is refused here
20
+ * rather than when an execution reaches the state, which is where real Step
21
+ * Functions refuses a malformed one too.
22
+ *
23
+ * `CreateStateMachine` is idempotent. A second request carrying the same
24
+ * name, definition and type answers with the state machine that is already
25
+ * there.
26
+ */
27
+ handle(command: SimCreateStateMachineCommand): SimCreateStateMachineCommandOutput;
28
+ }
29
+ export {};
30
+ //# sourceMappingURL=sim-state-machine-create.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-state-machine-create.d.ts","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/machine/sim-state-machine-create.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AAI7F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,KAAK,EACV,4BAA4B,EAC5B,kCAAkC,EACnC,MAAM,sBAAsB,CAAC;AAM9B,UAAU,+BAA+B;IACvC,QAAQ,CAAC,aAAa,EAAE,oBAAoB,CAAC;IAC7C,QAAQ,CAAC,kBAAkB,EAAE,wBAAwB,CAAC;IACtD,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;CAC1C;AAED;;GAEG;AACH,qBAAa,qBAAqB;;IAKhC,YAAY,UAAU,EAAE,+BAA+B,EAItD;IAED;;;;;;;;;;OAUG;IACH,MAAM,CACJ,OAAO,EAAE,4BAA4B,GACpC,kCAAkC,CAkBpC;CACF"}
@@ -0,0 +1,64 @@
1
+ import { SimStateMachineAlreadyExists } from "../../error/sim-step-functions.error.js";
2
+ import { SimStateMachine } from "../../machine/sim-state-machine.js";
3
+ import { simStateMachineArn } from "../../machine/sim-state-machine-arn.js";
4
+ import { readSimStateMachineCreateInput, } from "./sim-state-machine-input.js";
5
+ /**
6
+ * The command that creates a state machine.
7
+ */
8
+ export class SimStateMachineCreate {
9
+ #stateMachines;
10
+ #accountRegionScope;
11
+ #background;
12
+ constructor(properties) {
13
+ this.#stateMachines = properties.stateMachines;
14
+ this.#accountRegionScope = properties.accountRegionScope;
15
+ this.#background = properties.background;
16
+ }
17
+ /**
18
+ * Create a state machine, checking its definition as it is read.
19
+ *
20
+ * A definition using something this simulator does not run is refused here
21
+ * rather than when an execution reaches the state, which is where real Step
22
+ * Functions refuses a malformed one too.
23
+ *
24
+ * `CreateStateMachine` is idempotent. A second request carrying the same
25
+ * name, definition and type answers with the state machine that is already
26
+ * there.
27
+ */
28
+ handle(command) {
29
+ const read = readSimStateMachineCreateInput(command.input);
30
+ const existing = this.#stateMachines.findByName(read.name);
31
+ if (existing !== undefined) {
32
+ return answerForExisting(existing, read);
33
+ }
34
+ const creationDate = this.#background.now();
35
+ const stateMachine = new SimStateMachine({
36
+ arn: simStateMachineArn(this.#accountRegionScope, read.name),
37
+ creationDate,
38
+ ...read,
39
+ });
40
+ this.#stateMachines.add(stateMachine);
41
+ return { stateMachineArn: stateMachine.arn, creationDate };
42
+ }
43
+ }
44
+ /**
45
+ * Answer a repeat request for a state machine that is already there.
46
+ *
47
+ * The idempotency check reads the name, the definition and the type. A request
48
+ * differing only in its `roleArn` is idempotent too, and real Step Functions
49
+ * leaves the role as it was. Its API reference contradicts itself on that
50
+ * point, listing a differing role ARN under `StateMachineAlreadyExists` while
51
+ * the operation's own note says the difference is ignored. The note is the
52
+ * more specific of the two and is followed here.
53
+ */
54
+ function answerForExisting(existing, read) {
55
+ if (existing.definition !== read.definition || existing.type !== read.type) {
56
+ throw new SimStateMachineAlreadyExists(`A state machine called ${read.name} is already there, with a ` +
57
+ "different definition or type.");
58
+ }
59
+ return {
60
+ stateMachineArn: existing.arn,
61
+ creationDate: existing.creationDate,
62
+ };
63
+ }
64
+ //# sourceMappingURL=sim-state-machine-create.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-state-machine-create.js","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/machine/sim-state-machine-create.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,4BAA4B,EAAE,MAAM,yCAAyC,CAAC;AACvF,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAM5E,OAAO,EAEL,8BAA8B,GAC/B,MAAM,8BAA8B,CAAC;AAQtC;;GAEG;AACH,MAAM,OAAO,qBAAqB;IACvB,cAAc,CAAuB;IACrC,mBAAmB,CAA2B;IAC9C,WAAW,CAAsB;IAE1C,YAAY,UAA2C;QACrD,IAAI,CAAC,cAAc,GAAG,UAAU,CAAC,aAAa,CAAC;QAC/C,IAAI,CAAC,mBAAmB,GAAG,UAAU,CAAC,kBAAkB,CAAC;QACzD,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC,UAAU,CAAC;IAC3C,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CACJ,OAAqC;QAErC,MAAM,IAAI,GAAG,8BAA8B,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QAC3D,MAAM,QAAQ,GAAG,IAAI,CAAC,cAAc,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAE3D,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;YAC3B,OAAO,iBAAiB,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;QAC3C,CAAC;QAED,MAAM,YAAY,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC;QAC5C,MAAM,YAAY,GAAG,IAAI,eAAe,CAAC;YACvC,GAAG,EAAE,kBAAkB,CAAC,IAAI,CAAC,mBAAmB,EAAE,IAAI,CAAC,IAAI,CAAC;YAC5D,YAAY;YACZ,GAAG,IAAI;SACR,CAAC,CAAC;QAEH,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;QAEtC,OAAO,EAAE,eAAe,EAAE,YAAY,CAAC,GAAG,EAAE,YAAY,EAAE,CAAC;IAC7D,CAAC;CACF;AAED;;;;;;;;;GASG;AACH,SAAS,iBAAiB,CACxB,QAAyB,EACzB,IAAgC;IAEhC,IAAI,QAAQ,CAAC,UAAU,KAAK,IAAI,CAAC,UAAU,IAAI,QAAQ,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,EAAE,CAAC;QAC3E,MAAM,IAAI,4BAA4B,CACpC,0BAA0B,IAAI,CAAC,IAAI,4BAA4B;YAC7D,+BAA+B,CAClC,CAAC;IACJ,CAAC;IAED,OAAO;QACL,eAAe,EAAE,QAAQ,CAAC,GAAG;QAC7B,YAAY,EAAE,QAAQ,CAAC,YAAY;KACpC,CAAC;AACJ,CAAC"}
@@ -0,0 +1,22 @@
1
+ import type { SimStatesDefinition } from "../../definition/sim-states-definition.js";
2
+ import type { SimStateMachineType } from "../../machine/sim-state-machine.js";
3
+ import type * as commands from "./machine.command.js";
4
+ /**
5
+ * What a CreateStateMachine request has to carry, once it has been checked.
6
+ */
7
+ export interface SimStateMachineCreateInput {
8
+ readonly name: string;
9
+ readonly definition: string;
10
+ readonly parsed: SimStatesDefinition;
11
+ readonly roleArn: string;
12
+ readonly type: SimStateMachineType;
13
+ }
14
+ /**
15
+ * Check a CreateStateMachine request and read its definition.
16
+ */
17
+ export declare function readSimStateMachineCreateInput(input: commands.SimCreateStateMachineCommandInput): SimStateMachineCreateInput;
18
+ /**
19
+ * Read the state machine type a request asked for.
20
+ */
21
+ export declare function readSimStateMachineType(type: string | undefined): SimStateMachineType;
22
+ //# sourceMappingURL=sim-state-machine-input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-state-machine-input.d.ts","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/machine/sim-state-machine-input.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAErF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAE9E,OAAO,KAAK,KAAK,QAAQ,MAAM,sBAAsB,CAAC;AAEtD;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,MAAM,EAAE,mBAAmB,CAAC;IACrC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,IAAI,EAAE,mBAAmB,CAAC;CACpC;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAC5C,KAAK,EAAE,QAAQ,CAAC,iCAAiC,GAChD,0BAA0B,CAsB5B;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,MAAM,GAAG,SAAS,GACvB,mBAAmB,CAYrB"}
@@ -0,0 +1,38 @@
1
+ import { parseSimStatesDefinition } from "../../definition/sim-states-definition-parse.js";
2
+ import { SimStatesInvalidRequest } from "../../error/sim-step-functions.error.js";
3
+ import { checkSimStatesName } from "../../machine/sim-states-name.js";
4
+ /**
5
+ * Check a CreateStateMachine request and read its definition.
6
+ */
7
+ export function readSimStateMachineCreateInput(input) {
8
+ const { name, definition, roleArn, type } = input;
9
+ if (name === undefined || name === "") {
10
+ throw new SimStatesInvalidRequest("CreateStateMachine needs a name.");
11
+ }
12
+ if (definition === undefined) {
13
+ throw new SimStatesInvalidRequest("CreateStateMachine needs a definition.");
14
+ }
15
+ if (roleArn === undefined) {
16
+ throw new SimStatesInvalidRequest("CreateStateMachine needs a roleArn.");
17
+ }
18
+ return {
19
+ name: checkSimStatesName(name, "The state machine name"),
20
+ definition,
21
+ parsed: parseSimStatesDefinition(definition),
22
+ roleArn,
23
+ type: readSimStateMachineType(type),
24
+ };
25
+ }
26
+ /**
27
+ * Read the state machine type a request asked for.
28
+ */
29
+ export function readSimStateMachineType(type) {
30
+ if (type === undefined || type === "STANDARD") {
31
+ return "STANDARD";
32
+ }
33
+ if (type === "EXPRESS") {
34
+ return "EXPRESS";
35
+ }
36
+ throw new SimStatesInvalidRequest(`${type} is not a state machine type. It is STANDARD or EXPRESS.`);
37
+ }
38
+ //# sourceMappingURL=sim-state-machine-input.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sim-state-machine-input.js","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/machine/sim-state-machine-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,iDAAiD,CAAC;AAE3F,OAAO,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AAElF,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AActE;;GAEG;AACH,MAAM,UAAU,8BAA8B,CAC5C,KAAiD;IAEjD,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IAElD,IAAI,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,EAAE,EAAE,CAAC;QACtC,MAAM,IAAI,uBAAuB,CAAC,kCAAkC,CAAC,CAAC;IACxE,CAAC;IAED,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;QAC7B,MAAM,IAAI,uBAAuB,CAAC,wCAAwC,CAAC,CAAC;IAC9E,CAAC;IAED,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;QAC1B,MAAM,IAAI,uBAAuB,CAAC,qCAAqC,CAAC,CAAC;IAC3E,CAAC;IAED,OAAO;QACL,IAAI,EAAE,kBAAkB,CAAC,IAAI,EAAE,wBAAwB,CAAC;QACxD,UAAU;QACV,MAAM,EAAE,wBAAwB,CAAC,UAAU,CAAC;QAC5C,OAAO;QACP,IAAI,EAAE,uBAAuB,CAAC,IAAI,CAAC;KACpC,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,uBAAuB,CACrC,IAAwB;IAExB,IAAI,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,UAAU,EAAE,CAAC;QAC9C,OAAO,UAAU,CAAC;IACpB,CAAC;IAED,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;QACvB,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,MAAM,IAAI,uBAAuB,CAC/B,GAAG,IAAI,0DAA0D,CAClE,CAAC;AACJ,CAAC"}