@kensio/yulin 1.20.1 → 1.20.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/sdk/router/resolve-sim-sdk-command-router.d.ts +8 -0
- package/dist/sdk/router/resolve-sim-sdk-command-router.d.ts.map +1 -1
- package/dist/sdk/router/resolve-sim-sdk-command-router.js +10 -0
- package/dist/sdk/router/resolve-sim-sdk-command-router.js.map +1 -1
- package/dist/service/apigateway/api/sim-rest-api-lambda-proxy.factory.d.ts +2 -5
- package/dist/service/apigateway/api/sim-rest-api-lambda-proxy.factory.d.ts.map +1 -1
- package/dist/service/apigateway/api/sim-rest-api-lambda-proxy.factory.js +3 -7
- package/dist/service/apigateway/api/sim-rest-api-lambda-proxy.factory.js.map +1 -1
- package/dist/service/apigateway/api/sim-rest-api-proxy-stage.d.ts +22 -0
- package/dist/service/apigateway/api/sim-rest-api-proxy-stage.d.ts.map +1 -0
- package/dist/service/apigateway/api/sim-rest-api-proxy-stage.js +31 -0
- package/dist/service/apigateway/api/sim-rest-api-proxy-stage.js.map +1 -0
- package/dist/service/apigateway/api/stage/settings/sim-rest-api-method-settings.type.d.ts +19 -0
- package/dist/service/apigateway/api/stage/settings/sim-rest-api-method-settings.type.d.ts.map +1 -0
- package/dist/service/apigateway/api/stage/settings/sim-rest-api-method-settings.type.js +2 -0
- package/dist/service/apigateway/api/stage/settings/sim-rest-api-method-settings.type.js.map +1 -0
- package/dist/service/apigateway/api/stage/settings/sim-rest-api-stage-method-settings.d.ts +43 -0
- package/dist/service/apigateway/api/stage/settings/sim-rest-api-stage-method-settings.d.ts.map +1 -0
- package/dist/service/apigateway/api/stage/settings/sim-rest-api-stage-method-settings.js +75 -0
- package/dist/service/apigateway/api/stage/settings/sim-rest-api-stage-method-settings.js.map +1 -0
- package/dist/service/apigateway/api/stage/sim-rest-api-stage.d.ts +19 -0
- package/dist/service/apigateway/api/stage/sim-rest-api-stage.d.ts.map +1 -1
- package/dist/service/apigateway/api/stage/sim-rest-api-stage.js +22 -0
- package/dist/service/apigateway/api/stage/sim-rest-api-stage.js.map +1 -1
- package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-method-settings-properties.d.ts +33 -0
- package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-method-settings-properties.d.ts.map +1 -0
- package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-method-settings-properties.js +69 -0
- package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-method-settings-properties.js.map +1 -0
- package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-stage-properties.d.ts +4 -1
- package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-stage-properties.d.ts.map +1 -1
- package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-stage-properties.js +13 -4
- package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-stage-properties.js.map +1 -1
- package/dist/service/apigateway/command/sim-api-gateway-unsimulated-input.d.ts +6 -1
- package/dist/service/apigateway/command/sim-api-gateway-unsimulated-input.d.ts.map +1 -1
- package/dist/service/apigateway/command/sim-api-gateway-unsimulated-input.js +8 -3
- package/dist/service/apigateway/command/sim-api-gateway-unsimulated-input.js.map +1 -1
- package/dist/service/apigateway/command/stage/sim-rest-api-stage-commands.d.ts.map +1 -1
- package/dist/service/apigateway/command/stage/sim-rest-api-stage-commands.js +4 -0
- package/dist/service/apigateway/command/stage/sim-rest-api-stage-commands.js.map +1 -1
- package/dist/service/apigateway/command/stage/sim-rest-api-stage-method-settings-input.d.ts +18 -0
- package/dist/service/apigateway/command/stage/sim-rest-api-stage-method-settings-input.d.ts.map +1 -0
- package/dist/service/apigateway/command/stage/sim-rest-api-stage-method-settings-input.js +42 -0
- package/dist/service/apigateway/command/stage/sim-rest-api-stage-method-settings-input.js.map +1 -0
- package/dist/service/apigateway/command/stage/sim-rest-api-stage-publisher.d.ts +9 -0
- package/dist/service/apigateway/command/stage/sim-rest-api-stage-publisher.d.ts.map +1 -1
- package/dist/service/apigateway/command/stage/sim-rest-api-stage-publisher.js +17 -0
- package/dist/service/apigateway/command/stage/sim-rest-api-stage-publisher.js.map +1 -1
- package/dist/service/apigateway/command/stage/stage.command.d.ts +11 -0
- package/dist/service/apigateway/command/stage/stage.command.d.ts.map +1 -1
- package/dist/service/apigateway/index.d.ts +2 -0
- package/dist/service/apigateway/index.d.ts.map +1 -1
- package/dist/service/apigateway/index.js +1 -0
- package/dist/service/apigateway/index.js.map +1 -1
- package/dist/service/apigateway/serve/sim-api-gateway-controller.d.ts +4 -1
- package/dist/service/apigateway/serve/sim-api-gateway-controller.d.ts.map +1 -1
- package/dist/service/apigateway/serve/sim-api-gateway-controller.js +10 -1
- package/dist/service/apigateway/serve/sim-api-gateway-controller.js.map +1 -1
- package/dist/service/apigateway/serve/sim-api-gateway-error-response.d.ts +8 -0
- package/dist/service/apigateway/serve/sim-api-gateway-error-response.d.ts.map +1 -1
- package/dist/service/apigateway/serve/sim-api-gateway-error-response.js +10 -0
- package/dist/service/apigateway/serve/sim-api-gateway-error-response.js.map +1 -1
- package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.d.ts +5 -0
- package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.d.ts.map +1 -1
- package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.js +4 -0
- package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.js.map +1 -1
- package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-route-settings.type.d.ts +24 -0
- package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-route-settings.type.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-route-settings.type.js +2 -0
- package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-route-settings.type.js.map +1 -0
- package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-stage-route-settings.d.ts +39 -0
- package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-stage-route-settings.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-stage-route-settings.js +74 -0
- package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-stage-route-settings.js.map +1 -0
- package/dist/service/apigatewayv2/api/stage/sim-http-api-stage.d.ts +16 -1
- package/dist/service/apigatewayv2/api/stage/sim-http-api-stage.d.ts.map +1 -1
- package/dist/service/apigatewayv2/api/stage/sim-http-api-stage.js +16 -0
- package/dist/service/apigatewayv2/api/stage/sim-http-api-stage.js.map +1 -1
- package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-route-settings-properties.d.ts +30 -0
- package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-route-settings-properties.d.ts.map +1 -0
- package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-route-settings-properties.js +67 -0
- package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-route-settings-properties.js.map +1 -0
- package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.d.ts +3 -1
- package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.d.ts.map +1 -1
- package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.js +16 -5
- package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.js.map +1 -1
- package/dist/service/apigatewayv2/command/sim-api-gateway-v2-unsimulated-input.d.ts +6 -1
- package/dist/service/apigatewayv2/command/sim-api-gateway-v2-unsimulated-input.d.ts.map +1 -1
- package/dist/service/apigatewayv2/command/sim-api-gateway-v2-unsimulated-input.js +8 -3
- package/dist/service/apigatewayv2/command/sim-api-gateway-v2-unsimulated-input.js.map +1 -1
- package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-commands.d.ts.map +1 -1
- package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-commands.js +8 -0
- package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-commands.js.map +1 -1
- package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-route-settings-input.d.ts +18 -0
- package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-route-settings-input.d.ts.map +1 -0
- package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-route-settings-input.js +32 -0
- package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-route-settings-input.js.map +1 -0
- package/dist/service/apigatewayv2/command/stage/stage.command.d.ts +3 -0
- package/dist/service/apigatewayv2/command/stage/stage.command.d.ts.map +1 -1
- package/dist/service/apigatewayv2/index.d.ts +2 -0
- package/dist/service/apigatewayv2/index.d.ts.map +1 -1
- package/dist/service/apigatewayv2/index.js +1 -0
- package/dist/service/apigatewayv2/index.js.map +1 -1
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.d.ts +4 -1
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.d.ts.map +1 -1
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.js +11 -2
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.js.map +1 -1
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-error-response.d.ts +8 -0
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-error-response.d.ts.map +1 -1
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-error-response.js +10 -0
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-error-response.js.map +1 -1
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts +4 -0
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts.map +1 -1
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.js +6 -0
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.js.map +1 -1
- package/dist/service/aws/factory/sim-aws-account-service-cache.d.ts.map +1 -1
- package/dist/service/aws/factory/sim-aws-account-service-cache.js +5 -0
- package/dist/service/aws/factory/sim-aws-account-service-cache.js.map +1 -1
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-error.d.ts +15 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-error.d.ts.map +1 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-error.js +18 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-error.js.map +1 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-properties.d.ts +30 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-properties.d.ts.map +1 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-properties.js +74 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-properties.js.map +1 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reader.d.ts +45 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reader.d.ts.map +1 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reader.js +82 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reader.js.map +1 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reading.d.ts +27 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reading.d.ts.map +1 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reading.js +24 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reading.js.map +1 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-template.factory.d.ts +39 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-template.factory.d.ts.map +1 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-template.factory.js +42 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-template.factory.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-cross-region-parameter-cfn.d.ts +32 -0
- package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-cross-region-parameter-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-cross-region-parameter-cfn.js +36 -0
- package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-cross-region-parameter-cfn.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-custom-resource-value-adapter.d.ts +14 -0
- package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-custom-resource-value-adapter.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-custom-resource-value-adapter.js +23 -0
- package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-custom-resource-value-adapter.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/sim-cfn-default-resource-value-adapter.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/cfn/sim-cfn-default-resource-value-adapter.js +2 -1
- package/dist/service/cloudformation/resource/cfn/sim-cfn-default-resource-value-adapter.js.map +1 -1
- package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.d.ts +2 -1
- package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.js +4 -1
- package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.js.map +1 -1
- package/dist/service/cloudformation/resource/cfn/sim-cfn-unanswered-attribute.d.ts +23 -0
- package/dist/service/cloudformation/resource/cfn/sim-cfn-unanswered-attribute.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/sim-cfn-unanswered-attribute.js +46 -0
- package/dist/service/cloudformation/resource/cfn/sim-cfn-unanswered-attribute.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.js +1 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.js.map +1 -1
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-custom-resource-factories.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-custom-resource-factories.js +5 -0
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-custom-resource-factories.js.map +1 -1
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.js +1 -4
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.js.map +1 -1
- package/dist/service/cloudformation/resource/sim-cfn-resource-record.d.ts +7 -0
- package/dist/service/cloudformation/resource/sim-cfn-resource-record.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/sim-cfn-resource-record.js +9 -0
- package/dist/service/cloudformation/resource/sim-cfn-resource-record.js.map +1 -1
- package/dist/service/cloudformation/template/node/fn/join/sim-cfn-fn-join.d.ts +7 -0
- package/dist/service/cloudformation/template/node/fn/join/sim-cfn-fn-join.d.ts.map +1 -1
- package/dist/service/cloudformation/template/node/fn/join/sim-cfn-fn-join.js +9 -1
- package/dist/service/cloudformation/template/node/fn/join/sim-cfn-fn-join.js.map +1 -1
- package/dist/service/cloudfront/behaviour/sim-cloud-front-behavior.d.ts +5 -0
- package/dist/service/cloudfront/behaviour/sim-cloud-front-behavior.d.ts.map +1 -1
- package/dist/service/cloudfront/behaviour/sim-cloud-front-behavior.js.map +1 -1
- package/dist/service/cloudfront/cff/sim-cff-arn.d.ts +13 -0
- package/dist/service/cloudfront/cff/sim-cff-arn.d.ts.map +1 -0
- package/dist/service/cloudfront/cff/sim-cff-arn.js +18 -0
- package/dist/service/cloudfront/cff/sim-cff-arn.js.map +1 -0
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-creator.d.ts +5 -4
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-creator.d.ts.map +1 -1
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-creator.js +14 -5
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-creator.js.map +1 -1
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-edge-associations.d.ts +19 -0
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-edge-associations.d.ts.map +1 -0
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-edge-associations.js +78 -0
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-edge-associations.js.map +1 -0
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-association-skips.d.ts +34 -0
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-association-skips.d.ts.map +1 -0
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-association-skips.js +58 -0
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-association-skips.js.map +1 -0
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-skip-reason.d.ts +26 -0
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-skip-reason.d.ts.map +1 -0
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-skip-reason.js +60 -0
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-skip-reason.js.map +1 -0
- package/dist/service/cloudfront/command/create-distribution/create-distribution.command.d.ts +16 -0
- package/dist/service/cloudfront/command/create-distribution/create-distribution.command.d.ts.map +1 -1
- package/dist/service/cloudfront/command/create-distribution/create-distribution.handler.d.ts +3 -0
- package/dist/service/cloudfront/command/create-distribution/create-distribution.handler.d.ts.map +1 -1
- package/dist/service/cloudfront/command/create-distribution/create-distribution.handler.js +11 -4
- package/dist/service/cloudfront/command/create-distribution/create-distribution.handler.js.map +1 -1
- package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.d.ts.map +1 -1
- package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.js +1 -0
- package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.js.map +1 -1
- package/dist/service/cloudfront/command/update-distribution/update-distribution.handler.d.ts +3 -0
- package/dist/service/cloudfront/command/update-distribution/update-distribution.handler.d.ts.map +1 -1
- package/dist/service/cloudfront/command/update-distribution/update-distribution.handler.js +9 -2
- package/dist/service/cloudfront/command/update-distribution/update-distribution.handler.js.map +1 -1
- package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.d.ts +7 -1
- package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.d.ts.map +1 -1
- package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.js +9 -1
- package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.js.map +1 -1
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-applicator.d.ts +40 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-applicator.d.ts.map +1 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-applicator.js +52 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-applicator.js.map +1 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-distribution.d.ts +11 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-distribution.d.ts.map +1 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-distribution.js +14 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-distribution.js.map +1 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-origin-applicator.d.ts +43 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-origin-applicator.d.ts.map +1 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-origin-applicator.js +63 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-origin-applicator.js.map +1 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-run.d.ts +16 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-run.d.ts.map +1 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-run.js +33 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-run.js.map +1 -0
- package/dist/service/cloudfront/controller/origin/sim-cf-origin-bound-request.d.ts +14 -0
- package/dist/service/cloudfront/controller/origin/sim-cf-origin-bound-request.d.ts.map +1 -0
- package/dist/service/cloudfront/controller/origin/sim-cf-origin-bound-request.js +2 -0
- package/dist/service/cloudfront/controller/origin/sim-cf-origin-bound-request.js.map +1 -0
- package/dist/service/cloudfront/controller/origin/sim-cf-origin-stage.d.ts +45 -0
- package/dist/service/cloudfront/controller/origin/sim-cf-origin-stage.d.ts.map +1 -0
- package/dist/service/cloudfront/controller/origin/sim-cf-origin-stage.js +47 -0
- package/dist/service/cloudfront/controller/origin/sim-cf-origin-stage.js.map +1 -0
- package/dist/service/cloudfront/controller/origin/sim-cloudfront-origin-fetcher.d.ts +6 -1
- package/dist/service/cloudfront/controller/origin/sim-cloudfront-origin-fetcher.d.ts.map +1 -1
- package/dist/service/cloudfront/controller/origin/sim-cloudfront-origin-fetcher.js +6 -2
- package/dist/service/cloudfront/controller/origin/sim-cloudfront-origin-fetcher.js.map +1 -1
- package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.d.ts +9 -3
- package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.d.ts.map +1 -1
- package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.js +36 -9
- package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.js.map +1 -1
- package/dist/service/cloudfront/distribution/configurator/sim-cf-behavior-properties.d.ts.map +1 -1
- package/dist/service/cloudfront/distribution/configurator/sim-cf-behavior-properties.js +2 -0
- package/dist/service/cloudfront/distribution/configurator/sim-cf-behavior-properties.js.map +1 -1
- package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.d.ts.map +1 -1
- package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.js +1 -0
- package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.js.map +1 -1
- package/dist/service/cloudfront/distribution/sim-cf-distribution-configuration-state.d.ts +5 -2
- package/dist/service/cloudfront/distribution/sim-cf-distribution-configuration-state.d.ts.map +1 -1
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-body.d.ts +24 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-body.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-body.js +51 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-body.js.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-adapter.d.ts +34 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-adapter.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-adapter.js +70 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-adapter.js.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-config.d.ts +16 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-config.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-config.js +14 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-config.js.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-headers.d.ts +20 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-headers.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-headers.js +55 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-headers.js.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin-event-adapter.d.ts +51 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin-event-adapter.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin-event-adapter.js +83 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin-event-adapter.js.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin.d.ts +23 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin.js +30 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin.js.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-request-adapter.d.ts +39 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-request-adapter.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-request-adapter.js +110 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-request-adapter.js.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-response-adapter.d.ts +26 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-response-adapter.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-response-adapter.js +47 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-response-adapter.js.map +1 -0
- package/dist/service/cloudfront/edge/sim-aws-cf-edge-functions.d.ts +44 -0
- package/dist/service/cloudfront/edge/sim-aws-cf-edge-functions.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/sim-aws-cf-edge-functions.js +87 -0
- package/dist/service/cloudfront/edge/sim-aws-cf-edge-functions.js.map +1 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-association-auth-z.d.ts +7 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-association-auth-z.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-association-auth-z.js +27 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-association-auth-z.js.map +1 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-association-checks.d.ts +61 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-association-checks.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-association-checks.js +106 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-association-checks.js.map +1 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-association-validator.d.ts +36 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-association-validator.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-association-validator.js +80 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-association-validator.js.map +1 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-association.d.ts +26 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-association.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-association.js +2 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-association.js.map +1 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-associations-configure.d.ts +14 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-associations-configure.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-associations-configure.js +52 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-associations-configure.js.map +1 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-function-arn.d.ts +28 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-function-arn.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-function-arn.js +71 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-function-arn.js.map +1 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-function-version.d.ts +14 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-function-version.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-function-version.js +16 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-function-version.js.map +1 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-functions.d.ts +25 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-functions.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-functions.js +2 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-functions.js.map +1 -0
- package/dist/service/cloudfront/error/sim-cloudfront.error.d.ts +13 -0
- package/dist/service/cloudfront/error/sim-cloudfront.error.d.ts.map +1 -1
- package/dist/service/cloudfront/error/sim-cloudfront.error.js +15 -0
- package/dist/service/cloudfront/error/sim-cloudfront.error.js.map +1 -1
- package/dist/service/cloudfront/index.d.ts +1 -0
- package/dist/service/cloudfront/index.d.ts.map +1 -1
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-edge.d.ts +27 -0
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-edge.d.ts.map +1 -0
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-edge.js +44 -0
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-edge.js.map +1 -0
- package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.d.ts +23 -3
- package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.d.ts.map +1 -1
- package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.js +30 -2
- package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.js.map +1 -1
- package/dist/service/cloudfront/origin/s3/sim-cf-s3-origin-edge.d.ts +26 -0
- package/dist/service/cloudfront/origin/s3/sim-cf-s3-origin-edge.d.ts.map +1 -0
- package/dist/service/cloudfront/origin/s3/sim-cf-s3-origin-edge.js +63 -0
- package/dist/service/cloudfront/origin/s3/sim-cf-s3-origin-edge.js.map +1 -0
- package/dist/service/cloudfront/origin/s3/sim-cloudfront-s3-origin.d.ts +17 -2
- package/dist/service/cloudfront/origin/s3/sim-cloudfront-s3-origin.d.ts.map +1 -1
- package/dist/service/cloudfront/origin/s3/sim-cloudfront-s3-origin.js +20 -0
- package/dist/service/cloudfront/origin/s3/sim-cloudfront-s3-origin.js.map +1 -1
- package/dist/service/cloudfront/origin/sim-cf-edge-origin-not-simulated.error.d.ts +15 -0
- package/dist/service/cloudfront/origin/sim-cf-edge-origin-not-simulated.error.d.ts.map +1 -0
- package/dist/service/cloudfront/origin/sim-cf-edge-origin-not-simulated.error.js +15 -0
- package/dist/service/cloudfront/origin/sim-cf-edge-origin-not-simulated.error.js.map +1 -0
- package/dist/service/cloudfront/origin/sim-cloudfront-origin.d.ts +13 -0
- package/dist/service/cloudfront/origin/sim-cloudfront-origin.d.ts.map +1 -1
- package/dist/service/cloudfront/sim-cloudfront-commands.d.ts +10 -0
- package/dist/service/cloudfront/sim-cloudfront-commands.d.ts.map +1 -1
- package/dist/service/cloudfront/sim-cloudfront-commands.js +10 -1
- package/dist/service/cloudfront/sim-cloudfront-commands.js.map +1 -1
- package/dist/service/cloudfront/sim-cloudfront.d.ts.map +1 -1
- package/dist/service/cloudfront/sim-cloudfront.js +3 -8
- package/dist/service/cloudfront/sim-cloudfront.js.map +1 -1
- package/dist/service/cloudfront/typings/lambda-at-edge.namespace.d.ts +159 -0
- package/dist/service/cloudfront/typings/lambda-at-edge.namespace.d.ts.map +1 -0
- package/dist/service/cloudfront/typings/lambda-at-edge.namespace.js +2 -0
- package/dist/service/cloudfront/typings/lambda-at-edge.namespace.js.map +1 -0
- package/dist/service/lambda/function/environment/sim-lambda-environment.d.ts +22 -20
- package/dist/service/lambda/function/environment/sim-lambda-environment.d.ts.map +1 -1
- package/dist/service/lambda/function/environment/sim-lambda-environment.js +27 -29
- package/dist/service/lambda/function/environment/sim-lambda-environment.js.map +1 -1
- package/dist/service/lambda/function/environment/sim-lambda-host-backed-variables.d.ts +28 -0
- package/dist/service/lambda/function/environment/sim-lambda-host-backed-variables.d.ts.map +1 -0
- package/dist/service/lambda/function/environment/sim-lambda-host-backed-variables.js +49 -0
- package/dist/service/lambda/function/environment/sim-lambda-host-backed-variables.js.map +1 -0
- package/dist/service/lambda/function/environment/sim-lambda-runtime-variables.d.ts +18 -0
- package/dist/service/lambda/function/environment/sim-lambda-runtime-variables.d.ts.map +1 -0
- package/dist/service/lambda/function/environment/sim-lambda-runtime-variables.js +23 -0
- package/dist/service/lambda/function/environment/sim-lambda-runtime-variables.js.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-cfn-step-functions-resource-deleter.d.ts +2 -2
- package/dist/service/stepfunctions/cfn/sim-cfn-step-functions-resource-deleter.d.ts.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-cfn-step-functions-resource-deleter.js +1 -1
- package/dist/service/stepfunctions/cfn/sim-cfn-step-functions-resource-deleter.js.map +1 -0
- package/dist/service/stepfunctions/cfn/sim-cfn-step-functions-resource-error.d.ts.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-cfn-step-functions-resource-error.js +1 -1
- package/dist/service/stepfunctions/cfn/sim-cfn-step-functions-resource-error.js.map +1 -0
- package/dist/service/stepfunctions/cfn/sim-cfn-step-functions-resource-types.d.ts.map +1 -0
- package/dist/service/stepfunctions/cfn/sim-cfn-step-functions-resource-types.js.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-step-functions-cfn-resource-factory.d.ts +6 -3
- package/dist/service/stepfunctions/cfn/sim-step-functions-cfn-resource-factory.d.ts.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-step-functions-cfn-resource-factory.js +2 -1
- package/dist/service/stepfunctions/cfn/sim-step-functions-cfn-resource-factory.js.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-creator.d.ts +7 -4
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-creator.d.ts.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-creator.js +9 -4
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-creator.js.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-definition.d.ts +12 -13
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-definition.d.ts.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-definition.js +30 -28
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-definition.js.map +1 -0
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-name.d.ts.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-name.js +1 -1
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-name.js.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-properties.d.ts +11 -3
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-properties.d.ts.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-properties.js +18 -5
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-properties.js.map +1 -0
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-property-names.d.ts.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-property-names.js +0 -5
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-property-names.js.map +1 -0
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-s3-definition.d.ts +37 -0
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-s3-definition.d.ts.map +1 -0
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-s3-definition.js +63 -0
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-s3-definition.js.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-substitutions.d.ts +1 -1
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-substitutions.d.ts.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-substitutions.js +3 -3
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-substitutions.js.map +1 -0
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-tags.d.ts +33 -0
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-tags.d.ts.map +1 -0
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-tags.js +58 -0
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-tags.js.map +1 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-start.d.ts.map +1 -1
- package/dist/service/stepfunctions/command/execution/sim-states-execution-start.js +15 -4
- package/dist/service/stepfunctions/command/execution/sim-states-execution-start.js.map +1 -1
- package/dist/service/stepfunctions/command/machine/machine.command.d.ts +2 -0
- package/dist/service/stepfunctions/command/machine/machine.command.d.ts.map +1 -1
- package/dist/service/stepfunctions/command/machine/sim-state-machine-input.d.ts +2 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-input.d.ts.map +1 -1
- package/dist/service/stepfunctions/command/machine/sim-state-machine-input.js +3 -1
- package/dist/service/stepfunctions/command/machine/sim-state-machine-input.js.map +1 -1
- package/dist/service/stepfunctions/command/sim-step-functions-command.types.d.ts +1 -0
- package/dist/service/stepfunctions/command/sim-step-functions-command.types.d.ts.map +1 -1
- package/dist/service/stepfunctions/command/tag/sim-state-machine-tag-commands.d.ts +36 -0
- package/dist/service/stepfunctions/command/tag/sim-state-machine-tag-commands.d.ts.map +1 -0
- package/dist/service/stepfunctions/command/tag/sim-state-machine-tag-commands.js +76 -0
- package/dist/service/stepfunctions/command/tag/sim-state-machine-tag-commands.js.map +1 -0
- package/dist/service/stepfunctions/command/tag/tag.command.d.ts +46 -0
- package/dist/service/stepfunctions/command/tag/tag.command.d.ts.map +1 -0
- package/dist/service/stepfunctions/command/tag/tag.command.js +2 -0
- package/dist/service/stepfunctions/command/tag/tag.command.js.map +1 -0
- package/dist/service/stepfunctions/data/sim-states-context-object.d.ts +45 -0
- package/dist/service/stepfunctions/data/sim-states-context-object.d.ts.map +1 -0
- package/dist/service/stepfunctions/data/sim-states-context-object.js +48 -0
- package/dist/service/stepfunctions/data/sim-states-context-object.js.map +1 -0
- package/dist/service/stepfunctions/data/sim-states-context-path.d.ts +22 -0
- package/dist/service/stepfunctions/data/sim-states-context-path.d.ts.map +1 -0
- package/dist/service/stepfunctions/data/sim-states-context-path.js +30 -0
- package/dist/service/stepfunctions/data/sim-states-context-path.js.map +1 -0
- package/dist/service/stepfunctions/data/sim-states-data-flow.d.ts +3 -2
- package/dist/service/stepfunctions/data/sim-states-data-flow.d.ts.map +1 -1
- package/dist/service/stepfunctions/data/sim-states-data-flow.js +10 -9
- package/dist/service/stepfunctions/data/sim-states-data-flow.js.map +1 -1
- package/dist/service/stepfunctions/data/sim-states-intrinsic.d.ts +1 -1
- package/dist/service/stepfunctions/data/sim-states-intrinsic.d.ts.map +1 -1
- package/dist/service/stepfunctions/data/sim-states-intrinsic.js +6 -7
- package/dist/service/stepfunctions/data/sim-states-intrinsic.js.map +1 -1
- package/dist/service/stepfunctions/data/sim-states-payload-template.d.ts +9 -6
- package/dist/service/stepfunctions/data/sim-states-payload-template.d.ts.map +1 -1
- package/dist/service/stepfunctions/data/sim-states-payload-template.js +16 -14
- package/dist/service/stepfunctions/data/sim-states-payload-template.js.map +1 -1
- package/dist/service/stepfunctions/data/sim-states-reference-path.d.ts.map +1 -1
- package/dist/service/stepfunctions/data/sim-states-reference-path.js +4 -2
- package/dist/service/stepfunctions/data/sim-states-reference-path.js.map +1 -1
- package/dist/service/stepfunctions/definition/sim-states-definition-parse.d.ts +8 -0
- package/dist/service/stepfunctions/definition/sim-states-definition-parse.d.ts.map +1 -1
- package/dist/service/stepfunctions/definition/sim-states-definition-parse.js +9 -1
- package/dist/service/stepfunctions/definition/sim-states-definition-parse.js.map +1 -1
- package/dist/service/stepfunctions/definition/sim-states-map-fields.d.ts +23 -0
- package/dist/service/stepfunctions/definition/sim-states-map-fields.d.ts.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-map-fields.js +60 -0
- package/dist/service/stepfunctions/definition/sim-states-map-fields.js.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-map-parse.d.ts +12 -0
- package/dist/service/stepfunctions/definition/sim-states-map-parse.d.ts.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-map-parse.js +56 -0
- package/dist/service/stepfunctions/definition/sim-states-map-parse.js.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-map-processor.d.ts +11 -0
- package/dist/service/stepfunctions/definition/sim-states-map-processor.d.ts.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-map-processor.js +62 -0
- package/dist/service/stepfunctions/definition/sim-states-map-processor.js.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-nested-refusal.d.ts +14 -0
- package/dist/service/stepfunctions/definition/sim-states-nested-refusal.d.ts.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-nested-refusal.js +23 -0
- package/dist/service/stepfunctions/definition/sim-states-nested-refusal.js.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-parallel-parse.d.ts +10 -0
- package/dist/service/stepfunctions/definition/sim-states-parallel-parse.d.ts.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-parallel-parse.js +50 -0
- package/dist/service/stepfunctions/definition/sim-states-parallel-parse.js.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-state-fields.d.ts.map +1 -1
- package/dist/service/stepfunctions/definition/sim-states-state-fields.js +5 -0
- package/dist/service/stepfunctions/definition/sim-states-state-fields.js.map +1 -1
- package/dist/service/stepfunctions/definition/sim-states-state-parse.d.ts.map +1 -1
- package/dist/service/stepfunctions/definition/sim-states-state-parse.js +15 -7
- package/dist/service/stepfunctions/definition/sim-states-state-parse.js.map +1 -1
- package/dist/service/stepfunctions/definition/sim-states-state.d.ts +35 -11
- package/dist/service/stepfunctions/definition/sim-states-state.d.ts.map +1 -1
- package/dist/service/stepfunctions/definition/sim-states-state.js +1 -15
- package/dist/service/stepfunctions/definition/sim-states-state.js.map +1 -1
- package/dist/service/stepfunctions/definition/sim-states-transitions.d.ts.map +1 -1
- package/dist/service/stepfunctions/definition/sim-states-transitions.js +14 -0
- package/dist/service/stepfunctions/definition/sim-states-transitions.js.map +1 -1
- package/dist/service/stepfunctions/definition/store/sim-s3-states-definition-store.d.ts +45 -0
- package/dist/service/stepfunctions/definition/store/sim-s3-states-definition-store.d.ts.map +1 -0
- package/dist/service/stepfunctions/definition/store/sim-s3-states-definition-store.js +58 -0
- package/dist/service/stepfunctions/definition/store/sim-s3-states-definition-store.js.map +1 -0
- package/dist/service/stepfunctions/definition/store/sim-states-definition-store.d.ts +34 -0
- package/dist/service/stepfunctions/definition/store/sim-states-definition-store.d.ts.map +1 -0
- package/dist/service/stepfunctions/definition/store/sim-states-definition-store.js +14 -0
- package/dist/service/stepfunctions/definition/store/sim-states-definition-store.js.map +1 -0
- package/dist/service/stepfunctions/error/sim-step-functions.error.d.ts +36 -0
- package/dist/service/stepfunctions/error/sim-step-functions.error.d.ts.map +1 -1
- package/dist/service/stepfunctions/error/sim-step-functions.error.js +42 -0
- package/dist/service/stepfunctions/error/sim-step-functions.error.js.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-attempt.d.ts +16 -0
- package/dist/service/stepfunctions/execution/sim-states-attempt.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-attempt.js +2 -0
- package/dist/service/stepfunctions/execution/sim-states-attempt.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-child-failure.d.ts +11 -0
- package/dist/service/stepfunctions/execution/sim-states-child-failure.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-child-failure.js +20 -0
- package/dist/service/stepfunctions/execution/sim-states-child-failure.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-child-run.d.ts +55 -0
- package/dist/service/stepfunctions/execution/sim-states-child-run.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-child-run.js +86 -0
- package/dist/service/stepfunctions/execution/sim-states-child-run.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-child-runs.d.ts +69 -0
- package/dist/service/stepfunctions/execution/sim-states-child-runs.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-child-runs.js +114 -0
- package/dist/service/stepfunctions/execution/sim-states-child-runs.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-child-walk.d.ts +43 -0
- package/dist/service/stepfunctions/execution/sim-states-child-walk.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-child-walk.js +2 -0
- package/dist/service/stepfunctions/execution/sim-states-child-walk.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-child.d.ts +41 -0
- package/dist/service/stepfunctions/execution/sim-states-child.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-child.js +2 -0
- package/dist/service/stepfunctions/execution/sim-states-child.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-execution.d.ts +32 -3
- package/dist/service/stepfunctions/execution/sim-states-execution.d.ts.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-execution.js +42 -2
- package/dist/service/stepfunctions/execution/sim-states-execution.js.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-fan-out-outcome.d.ts +19 -0
- package/dist/service/stepfunctions/execution/sim-states-fan-out-outcome.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-fan-out-outcome.js +15 -0
- package/dist/service/stepfunctions/execution/sim-states-fan-out-outcome.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-fan-out.d.ts +46 -0
- package/dist/service/stepfunctions/execution/sim-states-fan-out.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-fan-out.js +106 -0
- package/dist/service/stepfunctions/execution/sim-states-fan-out.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-interpreter.d.ts +18 -11
- package/dist/service/stepfunctions/execution/sim-states-interpreter.d.ts.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-interpreter.js +55 -65
- package/dist/service/stepfunctions/execution/sim-states-interpreter.js.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-map-items.d.ts +13 -0
- package/dist/service/stepfunctions/execution/sim-states-map-items.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-map-items.js +38 -0
- package/dist/service/stepfunctions/execution/sim-states-map-items.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-map-iteration.d.ts +32 -0
- package/dist/service/stepfunctions/execution/sim-states-map-iteration.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-map-iteration.js +37 -0
- package/dist/service/stepfunctions/execution/sim-states-map-iteration.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-choice.d.ts.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-run-choice.js +2 -2
- package/dist/service/stepfunctions/execution/sim-states-run-choice.js.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-run-map.d.ts +12 -0
- package/dist/service/stepfunctions/execution/sim-states-run-map.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-map.js +25 -0
- package/dist/service/stepfunctions/execution/sim-states-run-map.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-parallel.d.ts +16 -0
- package/dist/service/stepfunctions/execution/sim-states-run-parallel.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-parallel.js +31 -0
- package/dist/service/stepfunctions/execution/sim-states-run-parallel.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-record.d.ts +47 -0
- package/dist/service/stepfunctions/execution/sim-states-run-record.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-record.js +2 -0
- package/dist/service/stepfunctions/execution/sim-states-run-record.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-state.d.ts +4 -3
- package/dist/service/stepfunctions/execution/sim-states-run-state.d.ts.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-run-state.js +20 -11
- package/dist/service/stepfunctions/execution/sim-states-run-state.js.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-run-task.d.ts.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-run-task.js +2 -2
- package/dist/service/stepfunctions/execution/sim-states-run-task.js.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-run-wait.d.ts.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-run-wait.js +2 -2
- package/dist/service/stepfunctions/execution/sim-states-run-wait.js.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-settlement.d.ts +7 -3
- package/dist/service/stepfunctions/execution/sim-states-settlement.d.ts.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-settlement.js +11 -5
- package/dist/service/stepfunctions/execution/sim-states-settlement.js.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-state-attempts.d.ts +37 -0
- package/dist/service/stepfunctions/execution/sim-states-state-attempts.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-state-attempts.js +112 -0
- package/dist/service/stepfunctions/execution/sim-states-state-attempts.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-state-outcome.d.ts +69 -15
- package/dist/service/stepfunctions/execution/sim-states-state-outcome.d.ts.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-state-runner.d.ts +26 -12
- package/dist/service/stepfunctions/execution/sim-states-state-runner.d.ts.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-state-runner.js +55 -15
- package/dist/service/stepfunctions/execution/sim-states-state-runner.js.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-walk-steps.d.ts +19 -0
- package/dist/service/stepfunctions/execution/sim-states-walk-steps.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-walk-steps.js +35 -0
- package/dist/service/stepfunctions/execution/sim-states-walk-steps.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-walk.d.ts +19 -0
- package/dist/service/stepfunctions/execution/sim-states-walk.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-walk.js +2 -0
- package/dist/service/stepfunctions/execution/sim-states-walk.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-walks.d.ts +25 -0
- package/dist/service/stepfunctions/execution/sim-states-walks.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-walks.js +25 -0
- package/dist/service/stepfunctions/execution/sim-states-walks.js.map +1 -0
- package/dist/service/stepfunctions/index.d.ts +10 -3
- package/dist/service/stepfunctions/index.d.ts.map +1 -1
- package/dist/service/stepfunctions/index.js +4 -2
- package/dist/service/stepfunctions/index.js.map +1 -1
- package/dist/service/stepfunctions/machine/sim-state-machine-tag.d.ts +43 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-tag.d.ts.map +1 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-tag.js +111 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-tag.js.map +1 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-tags.d.ts +39 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-tags.d.ts.map +1 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-tags.js +80 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-tags.js.map +1 -0
- package/dist/service/stepfunctions/machine/sim-state-machine.d.ts +6 -0
- package/dist/service/stepfunctions/machine/sim-state-machine.d.ts.map +1 -1
- package/dist/service/stepfunctions/machine/sim-state-machine.js +5 -0
- package/dist/service/stepfunctions/machine/sim-state-machine.js.map +1 -1
- package/dist/service/stepfunctions/retry/sim-states-attempt-state.d.ts +37 -0
- package/dist/service/stepfunctions/retry/sim-states-attempt-state.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-attempt-state.js +38 -0
- package/dist/service/stepfunctions/retry/sim-states-attempt-state.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-catch-outcome.d.ts +11 -0
- package/dist/service/stepfunctions/retry/sim-states-catch-outcome.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-catch-outcome.js +20 -0
- package/dist/service/stepfunctions/retry/sim-states-catch-outcome.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-catch-parse.d.ts +11 -0
- package/dist/service/stepfunctions/retry/sim-states-catch-parse.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-catch-parse.js +49 -0
- package/dist/service/stepfunctions/retry/sim-states-catch-parse.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-catcher.d.ts +29 -0
- package/dist/service/stepfunctions/retry/sim-states-catcher.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-catcher.js +31 -0
- package/dist/service/stepfunctions/retry/sim-states-catcher.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-error-equals.d.ts +19 -0
- package/dist/service/stepfunctions/retry/sim-states-error-equals.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-error-equals.js +69 -0
- package/dist/service/stepfunctions/retry/sim-states-error-equals.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-error-handling.d.ts +31 -0
- package/dist/service/stepfunctions/retry/sim-states-error-handling.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-error-handling.js +40 -0
- package/dist/service/stepfunctions/retry/sim-states-error-handling.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-error-name.d.ts +29 -0
- package/dist/service/stepfunctions/retry/sim-states-error-name.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-error-name.js +34 -0
- package/dist/service/stepfunctions/retry/sim-states-error-name.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-recover.d.ts +31 -0
- package/dist/service/stepfunctions/retry/sim-states-recover.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-recover.js +23 -0
- package/dist/service/stepfunctions/retry/sim-states-recover.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-recovered.d.ts +22 -0
- package/dist/service/stepfunctions/retry/sim-states-recovered.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-recovered.js +33 -0
- package/dist/service/stepfunctions/retry/sim-states-recovered.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-retrier.d.ts +35 -0
- package/dist/service/stepfunctions/retry/sim-states-retrier.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-retrier.js +31 -0
- package/dist/service/stepfunctions/retry/sim-states-retrier.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-retry-outcome.d.ts +12 -0
- package/dist/service/stepfunctions/retry/sim-states-retry-outcome.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-retry-outcome.js +44 -0
- package/dist/service/stepfunctions/retry/sim-states-retry-outcome.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-retry-parse.d.ts +11 -0
- package/dist/service/stepfunctions/retry/sim-states-retry-parse.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-retry-parse.js +76 -0
- package/dist/service/stepfunctions/retry/sim-states-retry-parse.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-task-deadline.d.ts +43 -0
- package/dist/service/stepfunctions/retry/sim-states-task-deadline.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-task-deadline.js +76 -0
- package/dist/service/stepfunctions/retry/sim-states-task-deadline.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-task-handling.d.ts +11 -0
- package/dist/service/stepfunctions/retry/sim-states-task-handling.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-task-handling.js +2 -0
- package/dist/service/stepfunctions/retry/sim-states-task-handling.js.map +1 -0
- package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.d.ts.map +1 -1
- package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.js +12 -0
- package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.js.map +1 -1
- package/dist/service/stepfunctions/sim-step-functions-inspection.d.ts +28 -0
- package/dist/service/stepfunctions/sim-step-functions-inspection.d.ts.map +1 -1
- package/dist/service/stepfunctions/sim-step-functions-inspection.js +38 -0
- package/dist/service/stepfunctions/sim-step-functions-inspection.js.map +1 -1
- package/dist/service/stepfunctions/sim-step-functions.d.ts +17 -0
- package/dist/service/stepfunctions/sim-step-functions.d.ts.map +1 -1
- package/dist/service/stepfunctions/sim-step-functions.js +31 -1
- package/dist/service/stepfunctions/sim-step-functions.js.map +1 -1
- package/dist/service/stepfunctions/task/service/sim-states-optimized-integrations.d.ts +36 -0
- package/dist/service/stepfunctions/task/service/sim-states-optimized-integrations.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-optimized-integrations.js +115 -0
- package/dist/service/stepfunctions/task/service/sim-states-optimized-integrations.js.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-call.d.ts +25 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-call.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-call.js +51 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-call.js.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-failure.d.ts +17 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-failure.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-failure.js +43 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-failure.js.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-name.d.ts +42 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-name.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-name.js +74 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-name.js.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-resource.d.ts +10 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-resource.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-resource.js +79 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-resource.js.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-shape.d.ts +27 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-shape.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-shape.js +2 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-shape.js.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-target.d.ts +33 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-target.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-target.js +60 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-target.js.map +1 -0
- package/dist/service/stepfunctions/task/sim-aws-states-task-targets.d.ts +11 -9
- package/dist/service/stepfunctions/task/sim-aws-states-task-targets.d.ts.map +1 -1
- package/dist/service/stepfunctions/task/sim-aws-states-task-targets.js +16 -20
- package/dist/service/stepfunctions/task/sim-aws-states-task-targets.js.map +1 -1
- package/dist/service/stepfunctions/task/sim-states-function-arn-target.d.ts +2 -2
- package/dist/service/stepfunctions/task/sim-states-function-arn-target.d.ts.map +1 -1
- package/dist/service/stepfunctions/task/sim-states-function-arn-target.js +2 -2
- package/dist/service/stepfunctions/task/sim-states-function-arn-target.js.map +1 -1
- package/dist/service/stepfunctions/task/sim-states-lambda-invoke-parameters.d.ts +9 -0
- package/dist/service/stepfunctions/task/sim-states-lambda-invoke-parameters.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-lambda-invoke-parameters.js +37 -0
- package/dist/service/stepfunctions/task/sim-states-lambda-invoke-parameters.js.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.d.ts +2 -2
- package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.d.ts.map +1 -1
- package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.js +2 -2
- package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.js.map +1 -1
- package/dist/service/stepfunctions/task/sim-states-lambda-target.d.ts +38 -0
- package/dist/service/stepfunctions/task/sim-states-lambda-target.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-lambda-target.js +37 -0
- package/dist/service/stepfunctions/task/sim-states-lambda-target.js.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-task-fields.d.ts +6 -5
- package/dist/service/stepfunctions/task/sim-states-task-fields.d.ts.map +1 -1
- package/dist/service/stepfunctions/task/sim-states-task-fields.js +9 -10
- package/dist/service/stepfunctions/task/sim-states-task-fields.js.map +1 -1
- package/dist/service/stepfunctions/task/sim-states-task-function.d.ts +2 -2
- package/dist/service/stepfunctions/task/sim-states-task-function.d.ts.map +1 -1
- package/dist/service/stepfunctions/task/sim-states-task-resource.d.ts +2 -2
- package/dist/service/stepfunctions/task/sim-states-task-resource.d.ts.map +1 -1
- package/dist/service/stepfunctions/task/sim-states-task-resource.js +16 -40
- package/dist/service/stepfunctions/task/sim-states-task-resource.js.map +1 -1
- package/dist/service/stepfunctions/task/sim-states-task-target.d.ts +33 -17
- package/dist/service/stepfunctions/task/sim-states-task-target.d.ts.map +1 -1
- package/dist/service/stepfunctions/task/sim-states-task-target.js +4 -5
- package/dist/service/stepfunctions/task/sim-states-task-target.js.map +1 -1
- package/dist/util/process/sim-process-environment.d.ts +9 -0
- package/dist/util/process/sim-process-environment.d.ts.map +1 -1
- package/dist/util/process/sim-process-environment.js +17 -0
- package/dist/util/process/sim-process-environment.js.map +1 -1
- package/dist/util/throttle/sim-token-bucket.d.ts +32 -0
- package/dist/util/throttle/sim-token-bucket.d.ts.map +1 -0
- package/dist/util/throttle/sim-token-bucket.js +53 -0
- package/dist/util/throttle/sim-token-bucket.js.map +1 -0
- package/package.json +3 -2
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.d.ts.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.js.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.d.ts.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.js.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.d.ts.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.js.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.d.ts.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.js.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.d.ts.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.js.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.d.ts.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.js.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.d.ts.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.js.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.d.ts.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.js.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.d.ts.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.js.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.d.ts.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.js.map +0 -1
- /package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-cfn-step-functions-resource-error.d.ts +0 -0
- /package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-cfn-step-functions-resource-types.d.ts +0 -0
- /package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-cfn-step-functions-resource-types.js +0 -0
- /package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-name.d.ts +0 -0
- /package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-property-names.d.ts +0 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type { JSONValue } from "../../../util/type-guard/json.js";
|
|
2
|
+
import type { SimStatesChild, SimStatesChildKind, SimStatesChildStatus } from "./sim-states-child.js";
|
|
3
|
+
import type { SimStatesRunRecord } from "./sim-states-run-record.js";
|
|
4
|
+
import type { SimStatesFailOutcome } from "./sim-states-state-outcome.js";
|
|
5
|
+
interface SimStatesChildRunProperties {
|
|
6
|
+
readonly kind: SimStatesChildKind;
|
|
7
|
+
readonly stateName: string;
|
|
8
|
+
readonly index: number;
|
|
9
|
+
readonly input: JSONValue;
|
|
10
|
+
/**
|
|
11
|
+
* The run the state holding this child belongs to, which is where a child
|
|
12
|
+
* of its own is recorded.
|
|
13
|
+
*/
|
|
14
|
+
readonly parent: SimStatesRunRecord;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* One branch of a `Parallel` state, or one iteration of a `Map` state, as it
|
|
18
|
+
* runs.
|
|
19
|
+
*
|
|
20
|
+
* The states a child visits are its own rather than the execution's, so they
|
|
21
|
+
* are held here. A child of a child is still reported on the execution, which
|
|
22
|
+
* is why a child run passes one it is told about upwards.
|
|
23
|
+
*/
|
|
24
|
+
export declare class SimStatesChildRun implements SimStatesRunRecord, SimStatesChild {
|
|
25
|
+
#private;
|
|
26
|
+
readonly kind: SimStatesChildKind;
|
|
27
|
+
readonly stateName: string;
|
|
28
|
+
readonly index: number;
|
|
29
|
+
readonly input: JSONValue;
|
|
30
|
+
constructor(properties: SimStatesChildRunProperties);
|
|
31
|
+
get status(): SimStatesChildStatus;
|
|
32
|
+
get output(): JSONValue;
|
|
33
|
+
/**
|
|
34
|
+
* What the branch failed with, where it failed.
|
|
35
|
+
*/
|
|
36
|
+
get failure(): SimStatesFailOutcome | undefined;
|
|
37
|
+
get error(): string | undefined;
|
|
38
|
+
get visitedStates(): readonly string[];
|
|
39
|
+
get stopped(): boolean;
|
|
40
|
+
enter(stateName: string): void;
|
|
41
|
+
attempt(stateName: string, error: string | undefined): void;
|
|
42
|
+
succeed(output: JSONValue): void;
|
|
43
|
+
fail(error: string, cause: string | undefined): void;
|
|
44
|
+
child(child: SimStatesChildRun): void;
|
|
45
|
+
/**
|
|
46
|
+
* Give up on this branch, because one of its siblings failed.
|
|
47
|
+
*
|
|
48
|
+
* Whatever it had scheduled on the clock still runs, and finds a branch that
|
|
49
|
+
* has stopped rather than one to carry on with. The branches this one was
|
|
50
|
+
* itself running are given up on too, however deep they go.
|
|
51
|
+
*/
|
|
52
|
+
abandon(): void;
|
|
53
|
+
}
|
|
54
|
+
export {};
|
|
55
|
+
//# sourceMappingURL=sim-states-child-run.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-child-run.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/execution/sim-states-child-run.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,KAAK,EACV,cAAc,EACd,kBAAkB,EAClB,oBAAoB,EACrB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAE1E,UAAU,2BAA2B;IACnC,QAAQ,CAAC,IAAI,EAAE,kBAAkB,CAAC;IAClC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,SAAS,CAAC;IAE1B;;;OAGG;IACH,QAAQ,CAAC,MAAM,EAAE,kBAAkB,CAAC;CACrC;AAED;;;;;;;GAOG;AACH,qBAAa,iBAAkB,YAAW,kBAAkB,EAAE,cAAc;;IAC1E,QAAQ,CAAC,IAAI,EAAE,kBAAkB,CAAC;IAClC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,SAAS,CAAC;IAY1B,YAAY,UAAU,EAAE,2BAA2B,EAMlD;IAED,IAAI,MAAM,IAAI,oBAAoB,CAEjC;IAED,IAAI,MAAM,IAAI,SAAS,CAEtB;IAED;;OAEG;IACH,IAAI,OAAO,IAAI,oBAAoB,GAAG,SAAS,CAE9C;IAED,IAAI,KAAK,IAAI,MAAM,GAAG,SAAS,CAE9B;IAED,IAAI,aAAa,IAAI,SAAS,MAAM,EAAE,CAErC;IAED,IAAI,OAAO,IAAI,OAAO,CAErB;IAED,KAAK,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAE7B;IAED,OAAO,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,CAE1D;IAED,OAAO,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAG/B;IAED,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,CAGnD;IAED,KAAK,CAAC,KAAK,EAAE,iBAAiB,GAAG,IAAI,CAGpC;IAED;;;;;;OAMG;IACH,OAAO,IAAI,IAAI,CAUd;CACF"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One branch of a `Parallel` state, or one iteration of a `Map` state, as it
|
|
3
|
+
* runs.
|
|
4
|
+
*
|
|
5
|
+
* The states a child visits are its own rather than the execution's, so they
|
|
6
|
+
* are held here. A child of a child is still reported on the execution, which
|
|
7
|
+
* is why a child run passes one it is told about upwards.
|
|
8
|
+
*/
|
|
9
|
+
export class SimStatesChildRun {
|
|
10
|
+
kind;
|
|
11
|
+
stateName;
|
|
12
|
+
index;
|
|
13
|
+
input;
|
|
14
|
+
/**
|
|
15
|
+
* What the branch answered with, which is `null` until it has.
|
|
16
|
+
*/
|
|
17
|
+
#output = null;
|
|
18
|
+
#status = "RUNNING";
|
|
19
|
+
#failure;
|
|
20
|
+
#visited = [];
|
|
21
|
+
#children = [];
|
|
22
|
+
#parent;
|
|
23
|
+
constructor(properties) {
|
|
24
|
+
this.kind = properties.kind;
|
|
25
|
+
this.stateName = properties.stateName;
|
|
26
|
+
this.index = properties.index;
|
|
27
|
+
this.input = properties.input;
|
|
28
|
+
this.#parent = properties.parent;
|
|
29
|
+
}
|
|
30
|
+
get status() {
|
|
31
|
+
return this.#status;
|
|
32
|
+
}
|
|
33
|
+
get output() {
|
|
34
|
+
return this.#output;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* What the branch failed with, where it failed.
|
|
38
|
+
*/
|
|
39
|
+
get failure() {
|
|
40
|
+
return this.#failure;
|
|
41
|
+
}
|
|
42
|
+
get error() {
|
|
43
|
+
return this.#failure?.error;
|
|
44
|
+
}
|
|
45
|
+
get visitedStates() {
|
|
46
|
+
return [...this.#visited];
|
|
47
|
+
}
|
|
48
|
+
get stopped() {
|
|
49
|
+
return this.#status !== "RUNNING";
|
|
50
|
+
}
|
|
51
|
+
enter(stateName) {
|
|
52
|
+
this.#visited.push(stateName);
|
|
53
|
+
}
|
|
54
|
+
attempt(stateName, error) {
|
|
55
|
+
this.#parent.attempt(stateName, error);
|
|
56
|
+
}
|
|
57
|
+
succeed(output) {
|
|
58
|
+
this.#status = "SUCCEEDED";
|
|
59
|
+
this.#output = output;
|
|
60
|
+
}
|
|
61
|
+
fail(error, cause) {
|
|
62
|
+
this.#status = "FAILED";
|
|
63
|
+
this.#failure = { kind: "fail", error, cause };
|
|
64
|
+
}
|
|
65
|
+
child(child) {
|
|
66
|
+
this.#children.push(child);
|
|
67
|
+
this.#parent.child(child);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Give up on this branch, because one of its siblings failed.
|
|
71
|
+
*
|
|
72
|
+
* Whatever it had scheduled on the clock still runs, and finds a branch that
|
|
73
|
+
* has stopped rather than one to carry on with. The branches this one was
|
|
74
|
+
* itself running are given up on too, however deep they go.
|
|
75
|
+
*/
|
|
76
|
+
abandon() {
|
|
77
|
+
if (this.stopped) {
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
this.#status = "ABANDONED";
|
|
81
|
+
this.#children.forEach((child) => {
|
|
82
|
+
child.abandon();
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
//# sourceMappingURL=sim-states-child-run.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-child-run.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/execution/sim-states-child-run.ts"],"names":[],"mappings":"AAsBA;;;;;;;GAOG;AACH,MAAM,OAAO,iBAAiB;IACnB,IAAI,CAAqB;IACzB,SAAS,CAAS;IAClB,KAAK,CAAS;IACd,KAAK,CAAY;IAE1B;;OAEG;IACH,OAAO,GAAc,IAAI,CAAC;IAC1B,OAAO,GAAyB,SAAS,CAAC;IAC1C,QAAQ,CAAmC;IAClC,QAAQ,GAAa,EAAE,CAAC;IACxB,SAAS,GAAwB,EAAE,CAAC;IACpC,OAAO,CAAqB;IAErC,YAAY,UAAuC;QACjD,IAAI,CAAC,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC;QAC5B,IAAI,CAAC,SAAS,GAAG,UAAU,CAAC,SAAS,CAAC;QACtC,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;QAC9B,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;QAC9B,IAAI,CAAC,OAAO,GAAG,UAAU,CAAC,MAAM,CAAC;IACnC,CAAC;IAED,IAAI,MAAM;QACR,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IAED,IAAI,MAAM;QACR,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IAED;;OAEG;IACH,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAED,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC;IAC9B,CAAC;IAED,IAAI,aAAa;QACf,OAAO,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC5B,CAAC;IAED,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC;IACpC,CAAC;IAED,KAAK,CAAC,SAAiB;QACrB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IAChC,CAAC;IAED,OAAO,CAAC,SAAiB,EAAE,KAAyB;QAClD,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;IACzC,CAAC;IAED,OAAO,CAAC,MAAiB;QACvB,IAAI,CAAC,OAAO,GAAG,WAAW,CAAC;QAC3B,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;IACxB,CAAC;IAED,IAAI,CAAC,KAAa,EAAE,KAAyB;QAC3C,IAAI,CAAC,OAAO,GAAG,QAAQ,CAAC;QACxB,IAAI,CAAC,QAAQ,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC;IACjD,CAAC;IAED,KAAK,CAAC,KAAwB;QAC5B,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC3B,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAC5B,CAAC;IAED;;;;;;OAMG;IACH,OAAO;QACL,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACjB,OAAO;QACT,CAAC;QAED,IAAI,CAAC,OAAO,GAAG,WAAW,CAAC;QAE3B,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE;YAC/B,KAAK,CAAC,OAAO,EAAE,CAAC;QAClB,CAAC,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import type { JSONObject, JSONValue } from "../../../util/type-guard/json.js";
|
|
2
|
+
import type { SimStatesDefinition } from "../definition/sim-states-definition.js";
|
|
3
|
+
import type { SimStatesChildKind } from "./sim-states-child.js";
|
|
4
|
+
import { SimStatesChildRun } from "./sim-states-child-run.js";
|
|
5
|
+
import type { SimStatesStateContext } from "./sim-states-state-outcome.js";
|
|
6
|
+
/**
|
|
7
|
+
* One child of a state that runs states of its own, before it is started.
|
|
8
|
+
*/
|
|
9
|
+
export interface SimStatesChildStart {
|
|
10
|
+
readonly index: number;
|
|
11
|
+
readonly definition: SimStatesDefinition;
|
|
12
|
+
readonly input: JSONValue;
|
|
13
|
+
/**
|
|
14
|
+
* What the child's states read through `$$`.
|
|
15
|
+
*/
|
|
16
|
+
readonly contextObject: JSONObject;
|
|
17
|
+
}
|
|
18
|
+
interface SimStatesChildRunsProperties {
|
|
19
|
+
readonly kind: SimStatesChildKind;
|
|
20
|
+
readonly context: SimStatesStateContext;
|
|
21
|
+
readonly children: readonly SimStatesChildStart[];
|
|
22
|
+
/**
|
|
23
|
+
* How many children may be running at once. A state with no bound of its
|
|
24
|
+
* own is given an infinite one.
|
|
25
|
+
*/
|
|
26
|
+
readonly limit: number;
|
|
27
|
+
/**
|
|
28
|
+
* What to do once one child has ended.
|
|
29
|
+
*/
|
|
30
|
+
readonly onSettled: (run: SimStatesChildRun) => Promise<void>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* The children one state runs.
|
|
34
|
+
*
|
|
35
|
+
* A child that reaches a `Wait` state is left on the clock rather than waited
|
|
36
|
+
* for. Its siblings start alongside it.
|
|
37
|
+
*/
|
|
38
|
+
export declare class SimStatesChildRuns {
|
|
39
|
+
#private;
|
|
40
|
+
constructor(properties: SimStatesChildRunsProperties);
|
|
41
|
+
/**
|
|
42
|
+
* Whether every child has ended.
|
|
43
|
+
*/
|
|
44
|
+
get finished(): boolean;
|
|
45
|
+
/**
|
|
46
|
+
* What each child produced, in the order the children were written.
|
|
47
|
+
*/
|
|
48
|
+
get outputs(): readonly JSONValue[];
|
|
49
|
+
/**
|
|
50
|
+
* Start the next child, and the ones after it there is room for.
|
|
51
|
+
*
|
|
52
|
+
* A child is started once the one before it is either done or waiting on
|
|
53
|
+
* the clock, since a child waiting is one that is still running. This
|
|
54
|
+
* answers where the bound is reached, and the children left over start as
|
|
55
|
+
* the ones running end. The children a failure leaves nothing to do are
|
|
56
|
+
* dropped from the queue, so this answers as soon as one of them fails.
|
|
57
|
+
*/
|
|
58
|
+
start(): Promise<void>;
|
|
59
|
+
/**
|
|
60
|
+
* Take in that one child has ended, which leaves room for another.
|
|
61
|
+
*/
|
|
62
|
+
ended(): void;
|
|
63
|
+
/**
|
|
64
|
+
* Give up on the children a failure leaves nothing to do.
|
|
65
|
+
*/
|
|
66
|
+
abandon(): void;
|
|
67
|
+
}
|
|
68
|
+
export {};
|
|
69
|
+
//# sourceMappingURL=sim-states-child-runs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-child-runs.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/execution/sim-states-child-runs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAE3E;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;IACzC,QAAQ,CAAC,KAAK,EAAE,SAAS,CAAC;IAE1B;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,UAAU,CAAC;CACpC;AAED,UAAU,4BAA4B;IACpC,QAAQ,CAAC,IAAI,EAAE,kBAAkB,CAAC;IAClC,QAAQ,CAAC,OAAO,EAAE,qBAAqB,CAAC;IACxC,QAAQ,CAAC,QAAQ,EAAE,SAAS,mBAAmB,EAAE,CAAC;IAElD;;;OAGG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,CAAC,GAAG,EAAE,iBAAiB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC/D;AAED;;;;;GAKG;AACH,qBAAa,kBAAkB;;IAoB7B,YAAY,UAAU,EAAE,4BAA4B,EAOnD;IAED;;OAEG;IACH,IAAI,QAAQ,IAAI,OAAO,CAEtB;IAED;;OAEG;IACH,IAAI,OAAO,IAAI,SAAS,SAAS,EAAE,CAElC;IAED;;;;;;;;OAQG;IACG,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAS3B;IAED;;OAEG;IACH,KAAK,IAAI,IAAI,CAGZ;IAED;;OAEG;IACH,OAAO,IAAI,IAAI,CAKd;CAyCF"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { SimStatesChildRun } from "./sim-states-child-run.js";
|
|
2
|
+
/**
|
|
3
|
+
* The children one state runs.
|
|
4
|
+
*
|
|
5
|
+
* A child that reaches a `Wait` state is left on the clock rather than waited
|
|
6
|
+
* for. Its siblings start alongside it.
|
|
7
|
+
*/
|
|
8
|
+
export class SimStatesChildRuns {
|
|
9
|
+
#kind;
|
|
10
|
+
#context;
|
|
11
|
+
#onSettled;
|
|
12
|
+
#limit;
|
|
13
|
+
/**
|
|
14
|
+
* The children still to be started, in the order they were written.
|
|
15
|
+
*/
|
|
16
|
+
#waiting;
|
|
17
|
+
/**
|
|
18
|
+
* The children that have been started, in the same order.
|
|
19
|
+
*/
|
|
20
|
+
#started = [];
|
|
21
|
+
#total;
|
|
22
|
+
#running = 0;
|
|
23
|
+
#ended = 0;
|
|
24
|
+
constructor(properties) {
|
|
25
|
+
this.#kind = properties.kind;
|
|
26
|
+
this.#context = properties.context;
|
|
27
|
+
this.#onSettled = properties.onSettled;
|
|
28
|
+
this.#limit = properties.limit;
|
|
29
|
+
this.#waiting = [...properties.children];
|
|
30
|
+
this.#total = properties.children.length;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Whether every child has ended.
|
|
34
|
+
*/
|
|
35
|
+
get finished() {
|
|
36
|
+
return this.#ended >= this.#total;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* What each child produced, in the order the children were written.
|
|
40
|
+
*/
|
|
41
|
+
get outputs() {
|
|
42
|
+
return this.#started.map((run) => run.output);
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Start the next child, and the ones after it there is room for.
|
|
46
|
+
*
|
|
47
|
+
* A child is started once the one before it is either done or waiting on
|
|
48
|
+
* the clock, since a child waiting is one that is still running. This
|
|
49
|
+
* answers where the bound is reached, and the children left over start as
|
|
50
|
+
* the ones running end. The children a failure leaves nothing to do are
|
|
51
|
+
* dropped from the queue, so this answers as soon as one of them fails.
|
|
52
|
+
*/
|
|
53
|
+
async start() {
|
|
54
|
+
const child = this.#next();
|
|
55
|
+
if (child === undefined) {
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
await this.#start(child);
|
|
59
|
+
await this.start();
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Take in that one child has ended, which leaves room for another.
|
|
63
|
+
*/
|
|
64
|
+
ended() {
|
|
65
|
+
this.#running -= 1;
|
|
66
|
+
this.#ended += 1;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Give up on the children a failure leaves nothing to do.
|
|
70
|
+
*/
|
|
71
|
+
abandon() {
|
|
72
|
+
this.#started.forEach((run) => {
|
|
73
|
+
run.abandon();
|
|
74
|
+
});
|
|
75
|
+
this.#waiting.length = 0;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* The next child to start, where there is room to start one.
|
|
79
|
+
*
|
|
80
|
+
* The room is arithmetic rather than a test, since a state with no bound
|
|
81
|
+
* has an infinite one and takes the same subtraction.
|
|
82
|
+
*/
|
|
83
|
+
#next() {
|
|
84
|
+
return this.#waiting
|
|
85
|
+
.splice(0, Math.min(1, this.#limit - this.#running))
|
|
86
|
+
.at(0);
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Run one child as far as it goes without waiting on the clock.
|
|
90
|
+
*/
|
|
91
|
+
async #start(child) {
|
|
92
|
+
const run = new SimStatesChildRun({
|
|
93
|
+
kind: this.#kind,
|
|
94
|
+
stateName: this.#context.stateName,
|
|
95
|
+
index: child.index,
|
|
96
|
+
input: child.input,
|
|
97
|
+
parent: this.#context.record,
|
|
98
|
+
});
|
|
99
|
+
this.#running += 1;
|
|
100
|
+
this.#started.push(run);
|
|
101
|
+
this.#context.record.child(run);
|
|
102
|
+
await this.#context
|
|
103
|
+
.walkChild({
|
|
104
|
+
definition: child.definition,
|
|
105
|
+
record: run,
|
|
106
|
+
contextObject: child.contextObject,
|
|
107
|
+
onSettled: async () => {
|
|
108
|
+
await this.#onSettled(run);
|
|
109
|
+
},
|
|
110
|
+
})
|
|
111
|
+
.run();
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
//# sourceMappingURL=sim-states-child-runs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-child-runs.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/execution/sim-states-child-runs.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAkC9D;;;;;GAKG;AACH,MAAM,OAAO,kBAAkB;IACpB,KAAK,CAAqB;IAC1B,QAAQ,CAAwB;IAChC,UAAU,CAA4C;IACtD,MAAM,CAAS;IAExB;;OAEG;IACM,QAAQ,CAAwB;IAEzC;;OAEG;IACM,QAAQ,GAAwB,EAAE,CAAC;IAEnC,MAAM,CAAS;IACxB,QAAQ,GAAG,CAAC,CAAC;IACb,MAAM,GAAG,CAAC,CAAC;IAEX,YAAY,UAAwC;QAClD,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,IAAI,CAAC;QAC7B,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,OAAO,CAAC;QACnC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,SAAS,CAAC;QACvC,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,KAAK,CAAC;QAC/B,IAAI,CAAC,QAAQ,GAAG,CAAC,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAC;QACzC,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,QAAQ,CAAC,MAAM,CAAC;IAC3C,CAAC;IAED;;OAEG;IACH,IAAI,QAAQ;QACV,OAAO,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,MAAM,CAAC;IACpC,CAAC;IAED;;OAEG;IACH,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IAChD,CAAC;IAED;;;;;;;;OAQG;IACH,KAAK,CAAC,KAAK;QACT,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC;QAE3B,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,OAAO;QACT,CAAC;QAED,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACzB,MAAM,IAAI,CAAC,KAAK,EAAE,CAAC;IACrB,CAAC;IAED;;OAEG;IACH,KAAK;QACH,IAAI,CAAC,QAAQ,IAAI,CAAC,CAAC;QACnB,IAAI,CAAC,MAAM,IAAI,CAAC,CAAC;IACnB,CAAC;IAED;;OAEG;IACH,OAAO;QACL,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;YAC5B,GAAG,CAAC,OAAO,EAAE,CAAC;QAChB,CAAC,CAAC,CAAC;QACH,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC;IAC3B,CAAC;IAED;;;;;OAKG;IACH,KAAK;QACH,OAAO,IAAI,CAAC,QAAQ;aACjB,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC;aACnD,EAAE,CAAC,CAAC,CAAC,CAAC;IACX,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,MAAM,CAAC,KAA0B;QACrC,MAAM,GAAG,GAAG,IAAI,iBAAiB,CAAC;YAChC,IAAI,EAAE,IAAI,CAAC,KAAK;YAChB,SAAS,EAAE,IAAI,CAAC,QAAQ,CAAC,SAAS;YAClC,KAAK,EAAE,KAAK,CAAC,KAAK;YAClB,KAAK,EAAE,KAAK,CAAC,KAAK;YAClB,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,MAAM;SAC7B,CAAC,CAAC;QAEH,IAAI,CAAC,QAAQ,IAAI,CAAC,CAAC;QACnB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACxB,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAEhC,MAAM,IAAI,CAAC,QAAQ;aAChB,SAAS,CAAC;YACT,UAAU,EAAE,KAAK,CAAC,UAAU;YAC5B,MAAM,EAAE,GAAG;YACX,aAAa,EAAE,KAAK,CAAC,aAAa;YAClC,SAAS,EAAE,KAAK,IAAmB,EAAE;gBACnC,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;YAC7B,CAAC;SACF,CAAC;aACD,GAAG,EAAE,CAAC;IACX,CAAC;CACF"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { JSONObject } from "../../../util/type-guard/json.js";
|
|
2
|
+
import type { SimStatesDefinition } from "../definition/sim-states-definition.js";
|
|
3
|
+
import type { SimStatesRunRecord } from "./sim-states-run-record.js";
|
|
4
|
+
export interface SimStatesChildWalkProperties {
|
|
5
|
+
/**
|
|
6
|
+
* The states the child walks, which is a state machine of its own.
|
|
7
|
+
*/
|
|
8
|
+
readonly definition: SimStatesDefinition;
|
|
9
|
+
/**
|
|
10
|
+
* What the child records itself on, and where its input comes from.
|
|
11
|
+
*/
|
|
12
|
+
readonly record: SimStatesRunRecord;
|
|
13
|
+
/**
|
|
14
|
+
* What the child's states read through `$$`.
|
|
15
|
+
*/
|
|
16
|
+
readonly contextObject: JSONObject;
|
|
17
|
+
/**
|
|
18
|
+
* What to do once the child has ended, whenever that turns out to be. An
|
|
19
|
+
* execution's own walk has nothing holding it, and carries none.
|
|
20
|
+
*/
|
|
21
|
+
readonly onSettled?: () => Promise<void>;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* A walk over one branch's states.
|
|
25
|
+
*/
|
|
26
|
+
export interface SimStatesChildWalk {
|
|
27
|
+
/**
|
|
28
|
+
* Run the branch as far as it goes without waiting on the clock.
|
|
29
|
+
*
|
|
30
|
+
* This answers with the branch either ended or waiting for simulated time
|
|
31
|
+
* to reach something. The branch says which by settling its own record.
|
|
32
|
+
*/
|
|
33
|
+
run(): Promise<void>;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* How a state that runs states of its own gets a walk over them.
|
|
37
|
+
*
|
|
38
|
+
* The interpreter hands this to the states it runs, so a `Parallel` state
|
|
39
|
+
* reaches the same walk the execution is running on without having to know
|
|
40
|
+
* how one is built.
|
|
41
|
+
*/
|
|
42
|
+
export type SimStatesChildWalks = (properties: SimStatesChildWalkProperties) => SimStatesChildWalk;
|
|
43
|
+
//# sourceMappingURL=sim-states-child-walk.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-child-walk.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/execution/sim-states-child-walk.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAErE,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;IAEzC;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,kBAAkB,CAAC;IAEpC;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,UAAU,CAAC;IAEnC;;;OAGG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC1C;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;;;OAKG;IACH,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CACtB;AAED;;;;;;GAMG;AACH,MAAM,MAAM,mBAAmB,GAAG,CAChC,UAAU,EAAE,4BAA4B,KACrC,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-child-walk.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/execution/sim-states-child-walk.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Whether a child run is a `Parallel` state's branch or a `Map` state's
|
|
3
|
+
* iteration.
|
|
4
|
+
*/
|
|
5
|
+
export type SimStatesChildKind = "branch" | "iteration";
|
|
6
|
+
/**
|
|
7
|
+
* Where a child run got to.
|
|
8
|
+
*
|
|
9
|
+
* A child a sibling's failure stopped is `ABANDONED` rather than failed: it
|
|
10
|
+
* was not the one that went wrong, and it never reached an end of its own.
|
|
11
|
+
*/
|
|
12
|
+
export type SimStatesChildStatus = "RUNNING" | "SUCCEEDED" | "FAILED" | "ABANDONED";
|
|
13
|
+
/**
|
|
14
|
+
* One branch of a `Parallel` state or one iteration of a `Map` state, as an
|
|
15
|
+
* execution ran it.
|
|
16
|
+
*
|
|
17
|
+
* Both run states of their own, so what they did is held apart from the states
|
|
18
|
+
* the execution around them visited. A test asserting that four records were
|
|
19
|
+
* processed counts these.
|
|
20
|
+
*/
|
|
21
|
+
export interface SimStatesChild {
|
|
22
|
+
readonly kind: SimStatesChildKind;
|
|
23
|
+
/**
|
|
24
|
+
* The `Parallel` or `Map` state the child belongs to.
|
|
25
|
+
*/
|
|
26
|
+
readonly stateName: string;
|
|
27
|
+
/**
|
|
28
|
+
* Where the child sits among its siblings, counting from zero.
|
|
29
|
+
*/
|
|
30
|
+
readonly index: number;
|
|
31
|
+
readonly status: SimStatesChildStatus;
|
|
32
|
+
/**
|
|
33
|
+
* The states the child entered, in the order it entered them.
|
|
34
|
+
*/
|
|
35
|
+
readonly visitedStates: readonly string[];
|
|
36
|
+
/**
|
|
37
|
+
* What the child failed with, where it failed.
|
|
38
|
+
*/
|
|
39
|
+
readonly error: string | undefined;
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=sim-states-child.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-child.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/execution/sim-states-child.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,WAAW,CAAC;AAExD;;;;;GAKG;AACH,MAAM,MAAM,oBAAoB,GAC5B,SAAS,GACT,WAAW,GACX,QAAQ,GACR,WAAW,CAAC;AAEhB;;;;;;;GAOG;AACH,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,IAAI,EAAE,kBAAkB,CAAC;IAElC;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAEvB,QAAQ,CAAC,MAAM,EAAE,oBAAoB,CAAC;IAEtC;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,SAAS,MAAM,EAAE,CAAC;IAE1C;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;CACpC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-child.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/execution/sim-states-child.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import type { JSONValue } from "../../../util/type-guard/json.js";
|
|
2
|
+
import type { SimStatesAttempt } from "./sim-states-attempt.js";
|
|
3
|
+
import type { SimStatesChild } from "./sim-states-child.js";
|
|
4
|
+
import type { SimStatesChildRun } from "./sim-states-child-run.js";
|
|
5
|
+
import type { SimStatesRunRecord } from "./sim-states-run-record.js";
|
|
2
6
|
export type SimStatesExecutionStatus = "RUNNING" | "SUCCEEDED" | "FAILED" | "TIMED_OUT" | "ABORTED";
|
|
3
7
|
interface SimStatesExecutionProperties {
|
|
4
8
|
readonly arn: string;
|
|
@@ -11,10 +15,11 @@ interface SimStatesExecutionProperties {
|
|
|
11
15
|
* One run of a state machine.
|
|
12
16
|
*
|
|
13
17
|
* An execution holds what it has done as well as where it got to, because the
|
|
14
|
-
* states it visited
|
|
15
|
-
* same record and answers it through
|
|
18
|
+
* states it visited and the attempts it made at them are what a test asserts
|
|
19
|
+
* on. Real Step Functions keeps the same record and answers it through
|
|
20
|
+
* `GetExecutionHistory`.
|
|
16
21
|
*/
|
|
17
|
-
export declare class SimStatesExecution {
|
|
22
|
+
export declare class SimStatesExecution implements SimStatesRunRecord {
|
|
18
23
|
#private;
|
|
19
24
|
readonly arn: string;
|
|
20
25
|
readonly name: string;
|
|
@@ -27,14 +32,38 @@ export declare class SimStatesExecution {
|
|
|
27
32
|
get error(): string | undefined;
|
|
28
33
|
get cause(): string | undefined;
|
|
29
34
|
get stopDate(): Date | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* Whether the execution is over, so nothing more of it should run.
|
|
37
|
+
*/
|
|
38
|
+
get stopped(): boolean;
|
|
30
39
|
/**
|
|
31
40
|
* The states this execution has entered, in the order it entered them.
|
|
32
41
|
*/
|
|
33
42
|
get visitedStates(): readonly string[];
|
|
43
|
+
/**
|
|
44
|
+
* Every run of a state this execution made, in the order it made them.
|
|
45
|
+
*
|
|
46
|
+
* A state entered once and retried twice is three attempts and one visit.
|
|
47
|
+
*/
|
|
48
|
+
get attempts(): readonly SimStatesAttempt[];
|
|
49
|
+
/**
|
|
50
|
+
* Every branch of every `Parallel` state this execution ran, in the order
|
|
51
|
+
* they were started.
|
|
52
|
+
*/
|
|
53
|
+
get children(): readonly SimStatesChild[];
|
|
34
54
|
/**
|
|
35
55
|
* Record that the execution has entered a state.
|
|
36
56
|
*/
|
|
37
57
|
enter(stateName: string): void;
|
|
58
|
+
/**
|
|
59
|
+
* Record that the execution ran a state, and what that run failed with.
|
|
60
|
+
*/
|
|
61
|
+
attempt(stateName: string, error: string | undefined): void;
|
|
62
|
+
/**
|
|
63
|
+
* Record a branch this execution ran, however deeply nested the state
|
|
64
|
+
* running it is.
|
|
65
|
+
*/
|
|
66
|
+
child(child: SimStatesChildRun): void;
|
|
38
67
|
/**
|
|
39
68
|
* End the execution with the value its last state produced.
|
|
40
69
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-states-execution.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/execution/sim-states-execution.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-states-execution.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/execution/sim-states-execution.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAErE,MAAM,MAAM,wBAAwB,GAChC,SAAS,GACT,WAAW,GACX,QAAQ,GACR,WAAW,GACX,SAAS,CAAC;AAEd,UAAU,4BAA4B;IACpC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,KAAK,EAAE,SAAS,CAAC;IAC1B,QAAQ,CAAC,SAAS,EAAE,IAAI,CAAC;CAC1B;AAED;;;;;;;GAOG;AACH,qBAAa,kBAAmB,YAAW,kBAAkB;;IAC3D,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,KAAK,EAAE,SAAS,CAAC;IAC1B,QAAQ,CAAC,SAAS,EAAE,IAAI,CAAC;IAWzB,YAAY,UAAU,EAAE,4BAA4B,EAMnD;IAED,IAAI,MAAM,IAAI,wBAAwB,CAErC;IAED,IAAI,MAAM,IAAI,SAAS,GAAG,SAAS,CAElC;IAED,IAAI,KAAK,IAAI,MAAM,GAAG,SAAS,CAE9B;IAED,IAAI,KAAK,IAAI,MAAM,GAAG,SAAS,CAE9B;IAED,IAAI,QAAQ,IAAI,IAAI,GAAG,SAAS,CAE/B;IAED;;OAEG;IACH,IAAI,OAAO,IAAI,OAAO,CAErB;IAED;;OAEG;IACH,IAAI,aAAa,IAAI,SAAS,MAAM,EAAE,CAErC;IAED;;;;OAIG;IACH,IAAI,QAAQ,IAAI,SAAS,gBAAgB,EAAE,CAE1C;IAED;;;OAGG;IACH,IAAI,QAAQ,IAAI,SAAS,cAAc,EAAE,CAExC;IAED;;OAEG;IACH,KAAK,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAE7B;IAED;;OAEG;IACH,OAAO,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,CAK1D;IAED;;;OAGG;IACH,KAAK,CAAC,KAAK,EAAE,iBAAiB,GAAG,IAAI,CAEpC;IAED;;OAEG;IACH,OAAO,CAAC,MAAM,EAAE,SAAS,EAAE,EAAE,EAAE,IAAI,GAAG,IAAI,CAIzC;IAED;;;;;;;OAOG;IACH,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS,EAAE,EAAE,EAAE,IAAI,GAAG,IAAI,CAK7D;CACF"}
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
* One run of a state machine.
|
|
3
3
|
*
|
|
4
4
|
* An execution holds what it has done as well as where it got to, because the
|
|
5
|
-
* states it visited
|
|
6
|
-
* same record and answers it through
|
|
5
|
+
* states it visited and the attempts it made at them are what a test asserts
|
|
6
|
+
* on. Real Step Functions keeps the same record and answers it through
|
|
7
|
+
* `GetExecutionHistory`.
|
|
7
8
|
*/
|
|
8
9
|
export class SimStatesExecution {
|
|
9
10
|
arn;
|
|
@@ -17,6 +18,8 @@ export class SimStatesExecution {
|
|
|
17
18
|
#cause;
|
|
18
19
|
#stopDate;
|
|
19
20
|
#visited = [];
|
|
21
|
+
#attempts = [];
|
|
22
|
+
#children = [];
|
|
20
23
|
constructor(properties) {
|
|
21
24
|
this.arn = properties.arn;
|
|
22
25
|
this.name = properties.name;
|
|
@@ -39,18 +42,55 @@ export class SimStatesExecution {
|
|
|
39
42
|
get stopDate() {
|
|
40
43
|
return this.#stopDate;
|
|
41
44
|
}
|
|
45
|
+
/**
|
|
46
|
+
* Whether the execution is over, so nothing more of it should run.
|
|
47
|
+
*/
|
|
48
|
+
get stopped() {
|
|
49
|
+
return this.#status !== "RUNNING";
|
|
50
|
+
}
|
|
42
51
|
/**
|
|
43
52
|
* The states this execution has entered, in the order it entered them.
|
|
44
53
|
*/
|
|
45
54
|
get visitedStates() {
|
|
46
55
|
return [...this.#visited];
|
|
47
56
|
}
|
|
57
|
+
/**
|
|
58
|
+
* Every run of a state this execution made, in the order it made them.
|
|
59
|
+
*
|
|
60
|
+
* A state entered once and retried twice is three attempts and one visit.
|
|
61
|
+
*/
|
|
62
|
+
get attempts() {
|
|
63
|
+
return [...this.#attempts];
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Every branch of every `Parallel` state this execution ran, in the order
|
|
67
|
+
* they were started.
|
|
68
|
+
*/
|
|
69
|
+
get children() {
|
|
70
|
+
return [...this.#children];
|
|
71
|
+
}
|
|
48
72
|
/**
|
|
49
73
|
* Record that the execution has entered a state.
|
|
50
74
|
*/
|
|
51
75
|
enter(stateName) {
|
|
52
76
|
this.#visited.push(stateName);
|
|
53
77
|
}
|
|
78
|
+
/**
|
|
79
|
+
* Record that the execution ran a state, and what that run failed with.
|
|
80
|
+
*/
|
|
81
|
+
attempt(stateName, error) {
|
|
82
|
+
this.#attempts.push({
|
|
83
|
+
stateName,
|
|
84
|
+
...(error !== undefined && { error }),
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Record a branch this execution ran, however deeply nested the state
|
|
89
|
+
* running it is.
|
|
90
|
+
*/
|
|
91
|
+
child(child) {
|
|
92
|
+
this.#children.push(child);
|
|
93
|
+
}
|
|
54
94
|
/**
|
|
55
95
|
* End the execution with the value its last state produced.
|
|
56
96
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-states-execution.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/execution/sim-states-execution.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sim-states-execution.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/execution/sim-states-execution.ts"],"names":[],"mappings":"AAqBA;;;;;;;GAOG;AACH,MAAM,OAAO,kBAAkB;IACpB,GAAG,CAAS;IACZ,IAAI,CAAS;IACb,eAAe,CAAS;IACxB,KAAK,CAAY;IACjB,SAAS,CAAO;IAEzB,OAAO,GAA6B,SAAS,CAAC;IAC9C,OAAO,CAAwB;IAC/B,MAAM,CAAqB;IAC3B,MAAM,CAAqB;IAC3B,SAAS,CAAmB;IACnB,QAAQ,GAAa,EAAE,CAAC;IACxB,SAAS,GAAuB,EAAE,CAAC;IACnC,SAAS,GAAqB,EAAE,CAAC;IAE1C,YAAY,UAAwC;QAClD,IAAI,CAAC,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC;QAC1B,IAAI,CAAC,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC;QAC5B,IAAI,CAAC,eAAe,GAAG,UAAU,CAAC,eAAe,CAAC;QAClD,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;QAC9B,IAAI,CAAC,SAAS,GAAG,UAAU,CAAC,SAAS,CAAC;IACxC,CAAC;IAED,IAAI,MAAM;QACR,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IAED,IAAI,MAAM;QACR,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IAED,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;IAED;;OAEG;IACH,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC;IACpC,CAAC;IAED;;OAEG;IACH,IAAI,aAAa;QACf,OAAO,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC5B,CAAC;IAED;;;;OAIG;IACH,IAAI,QAAQ;QACV,OAAO,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC;IAC7B,CAAC;IAED;;;OAGG;IACH,IAAI,QAAQ;QACV,OAAO,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC;IAC7B,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,SAAiB;QACrB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IAChC,CAAC;IAED;;OAEG;IACH,OAAO,CAAC,SAAiB,EAAE,KAAyB;QAClD,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;YAClB,SAAS;YACT,GAAG,CAAC,KAAK,KAAK,SAAS,IAAI,EAAE,KAAK,EAAE,CAAC;SACtC,CAAC,CAAC;IACL,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,KAAwB;QAC5B,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC;IAED;;OAEG;IACH,OAAO,CAAC,MAAiB,EAAE,EAAQ;QACjC,IAAI,CAAC,OAAO,GAAG,WAAW,CAAC;QAC3B,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QACtB,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC;IACtB,CAAC;IAED;;;;;;;OAOG;IACH,IAAI,CAAC,KAAa,EAAE,KAAyB,EAAE,EAAQ;QACrD,IAAI,CAAC,OAAO,GAAG,QAAQ,CAAC;QACxB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACpB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACpB,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC;IACtB,CAAC;CACF"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { JSONValue } from "../../../util/type-guard/json.js";
|
|
2
|
+
import { type SimStatesDataFlowFields } from "../data/sim-states-data-flow.js";
|
|
3
|
+
import type { SimStatesMoveOnOutcome } from "./sim-states-state-outcome.js";
|
|
4
|
+
/**
|
|
5
|
+
* The state a fan-out belongs to, as far as its answer is concerned.
|
|
6
|
+
*/
|
|
7
|
+
interface SimStatesFanOutState extends SimStatesDataFlowFields {
|
|
8
|
+
readonly Next?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* What a state that ran states of its own answers with.
|
|
12
|
+
*
|
|
13
|
+
* The result is an array of what each child produced, in the order the
|
|
14
|
+
* children were written rather than the order they finished. The data-flow
|
|
15
|
+
* fields then apply to that array the way they apply to any other result.
|
|
16
|
+
*/
|
|
17
|
+
export declare function simStatesFanOutOutcome(state: SimStatesFanOutState, input: JSONValue, outputs: readonly JSONValue[], context: JSONValue): SimStatesMoveOnOutcome;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=sim-states-fan-out-outcome.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-fan-out-outcome.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/execution/sim-states-fan-out-outcome.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EACL,KAAK,uBAAuB,EAE7B,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAE5E;;GAEG;AACH,UAAU,oBAAqB,SAAQ,uBAAuB;IAC5D,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,oBAAoB,EAC3B,KAAK,EAAE,SAAS,EAChB,OAAO,EAAE,SAAS,SAAS,EAAE,EAC7B,OAAO,EAAE,SAAS,GACjB,sBAAsB,CAMxB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { simStatesEffectiveOutput, } from "../data/sim-states-data-flow.js";
|
|
2
|
+
/**
|
|
3
|
+
* What a state that ran states of its own answers with.
|
|
4
|
+
*
|
|
5
|
+
* The result is an array of what each child produced, in the order the
|
|
6
|
+
* children were written rather than the order they finished. The data-flow
|
|
7
|
+
* fields then apply to that array the way they apply to any other result.
|
|
8
|
+
*/
|
|
9
|
+
export function simStatesFanOutOutcome(state, input, outputs, context) {
|
|
10
|
+
const output = simStatesEffectiveOutput(input, [...outputs], state, context);
|
|
11
|
+
return state.Next === undefined
|
|
12
|
+
? { kind: "succeed", output }
|
|
13
|
+
: { kind: "next", output, next: state.Next };
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=sim-states-fan-out-outcome.js.map
|