@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,43 @@
|
|
|
1
|
+
import type { JSONValue } from "../../../util/type-guard/json.js";
|
|
2
|
+
import type { SimStatesFailOutcome } from "../execution/sim-states-state-outcome.js";
|
|
3
|
+
import type { SimStatesAttemptState } from "./sim-states-attempt-state.js";
|
|
4
|
+
/**
|
|
5
|
+
* The two fields that say how long a `Task` state waits for its work.
|
|
6
|
+
*/
|
|
7
|
+
export declare const simStatesTaskTimeoutFields: readonly ["TimeoutSeconds", "HeartbeatSeconds"];
|
|
8
|
+
/**
|
|
9
|
+
* How long a `Task` state waits before it gives up.
|
|
10
|
+
*/
|
|
11
|
+
export interface SimStatesTaskTimeouts {
|
|
12
|
+
readonly TimeoutSeconds?: number;
|
|
13
|
+
readonly HeartbeatSeconds?: number;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* When a `Task` state stops waiting, and which field said so.
|
|
17
|
+
*/
|
|
18
|
+
export interface SimStatesTaskDeadline {
|
|
19
|
+
readonly at: Date;
|
|
20
|
+
readonly field: string;
|
|
21
|
+
readonly seconds: number;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* The instant a `Task` state entered now gives up at.
|
|
25
|
+
*
|
|
26
|
+
* A state carrying both fields gives up at whichever comes first, and one
|
|
27
|
+
* carrying neither waits as long as its work takes. The deadline covers the
|
|
28
|
+
* state rather than one attempt at it, so the retries a task takes run against
|
|
29
|
+
* the same one.
|
|
30
|
+
*/
|
|
31
|
+
export declare function simStatesTaskDeadline(timeouts: SimStatesTaskTimeouts, now: Date): SimStatesTaskDeadline | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* The failure a task that has run past its deadline ends with.
|
|
34
|
+
*
|
|
35
|
+
* Answers with nothing while the clock is still inside it, which is every
|
|
36
|
+
* attempt at a state carrying neither timeout field.
|
|
37
|
+
*/
|
|
38
|
+
export declare function simStatesTimedOut(stateName: string, attempt: SimStatesAttemptState, now: Date): SimStatesFailOutcome | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* Check what a `Task` state's two timeout fields hold.
|
|
41
|
+
*/
|
|
42
|
+
export declare function checkSimStatesTaskTimeouts(stateName: string, state: Record<string, JSONValue>): void;
|
|
43
|
+
//# sourceMappingURL=sim-states-task-deadline.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-task-deadline.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/retry/sim-states-task-deadline.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAElE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAErF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAK3E;;GAEG;AACH,eAAO,MAAM,0BAA0B,YACrC,gBAAgB,EAChB,kBAAkB,CACV,CAAC;AAEX;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;CACpC;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,EAAE,EAAE,IAAI,CAAC;IAClB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACnC,QAAQ,EAAE,qBAAqB,EAC/B,GAAG,EAAE,IAAI,GACR,qBAAqB,GAAG,SAAS,CAkBnC;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAC/B,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,qBAAqB,EAC9B,GAAG,EAAE,IAAI,GACR,oBAAoB,GAAG,SAAS,CAclC;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CACxC,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAC/B,IAAI,CAuBN"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { SimStatesInvalidDefinition } from "../error/sim-step-functions.error.js";
|
|
2
|
+
import { simStatesMaximumWaitSeconds } from "../wait/sim-states-wait-fields.js";
|
|
3
|
+
import { simStatesTimeoutError } from "./sim-states-error-name.js";
|
|
4
|
+
const millisecondsInASecond = 1000;
|
|
5
|
+
/**
|
|
6
|
+
* The two fields that say how long a `Task` state waits for its work.
|
|
7
|
+
*/
|
|
8
|
+
export const simStatesTaskTimeoutFields = [
|
|
9
|
+
"TimeoutSeconds",
|
|
10
|
+
"HeartbeatSeconds",
|
|
11
|
+
];
|
|
12
|
+
/**
|
|
13
|
+
* The instant a `Task` state entered now gives up at.
|
|
14
|
+
*
|
|
15
|
+
* A state carrying both fields gives up at whichever comes first, and one
|
|
16
|
+
* carrying neither waits as long as its work takes. The deadline covers the
|
|
17
|
+
* state rather than one attempt at it, so the retries a task takes run against
|
|
18
|
+
* the same one.
|
|
19
|
+
*/
|
|
20
|
+
export function simStatesTaskDeadline(timeouts, now) {
|
|
21
|
+
const soonest = [
|
|
22
|
+
...(timeouts.TimeoutSeconds === undefined
|
|
23
|
+
? []
|
|
24
|
+
: [{ field: "TimeoutSeconds", seconds: timeouts.TimeoutSeconds }]),
|
|
25
|
+
...(timeouts.HeartbeatSeconds === undefined
|
|
26
|
+
? []
|
|
27
|
+
: [{ field: "HeartbeatSeconds", seconds: timeouts.HeartbeatSeconds }]),
|
|
28
|
+
].toSorted((one, other) => one.seconds - other.seconds)[0];
|
|
29
|
+
if (soonest === undefined) {
|
|
30
|
+
return undefined;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
...soonest,
|
|
34
|
+
at: new Date(now.getTime() + soonest.seconds * millisecondsInASecond),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* The failure a task that has run past its deadline ends with.
|
|
39
|
+
*
|
|
40
|
+
* Answers with nothing while the clock is still inside it, which is every
|
|
41
|
+
* attempt at a state carrying neither timeout field.
|
|
42
|
+
*/
|
|
43
|
+
export function simStatesTimedOut(stateName, attempt, now) {
|
|
44
|
+
const { deadline } = attempt;
|
|
45
|
+
if (deadline === undefined || now.getTime() < deadline.at.getTime()) {
|
|
46
|
+
return undefined;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
kind: "fail",
|
|
50
|
+
error: simStatesTimeoutError,
|
|
51
|
+
cause: `The Task state ${stateName} ran past the ` +
|
|
52
|
+
`${String(deadline.seconds)} seconds its ${deadline.field} allows.`,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check what a `Task` state's two timeout fields hold.
|
|
57
|
+
*/
|
|
58
|
+
export function checkSimStatesTaskTimeouts(stateName, state) {
|
|
59
|
+
for (const field of simStatesTaskTimeoutFields) {
|
|
60
|
+
// The field is one of the two named above.
|
|
61
|
+
// oxlint-disable-next-line security/detect-object-injection
|
|
62
|
+
const written = state[field];
|
|
63
|
+
if (written === undefined) {
|
|
64
|
+
continue;
|
|
65
|
+
}
|
|
66
|
+
if (typeof written !== "number" ||
|
|
67
|
+
!Number.isSafeInteger(written) ||
|
|
68
|
+
written < 1 ||
|
|
69
|
+
written > simStatesMaximumWaitSeconds) {
|
|
70
|
+
throw new SimStatesInvalidDefinition(`The Task state ${stateName} has a ${field} of ` +
|
|
71
|
+
`${JSON.stringify(written)}. It is a whole number of seconds from ` +
|
|
72
|
+
`1 to ${String(simStatesMaximumWaitSeconds)}.`);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
//# sourceMappingURL=sim-states-task-deadline.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-task-deadline.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/retry/sim-states-task-deadline.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAElF,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAEhF,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE,MAAM,qBAAqB,GAAG,IAAI,CAAC;AAEnC;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,gBAAgB;IAChB,kBAAkB;CACV,CAAC;AAmBX;;;;;;;GAOG;AACH,MAAM,UAAU,qBAAqB,CACnC,QAA+B,EAC/B,GAAS;IAET,MAAM,OAAO,GAAG;QACd,GAAG,CAAC,QAAQ,CAAC,cAAc,KAAK,SAAS;YACvC,CAAC,CAAC,EAAE;YACJ,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,gBAAgB,EAAE,OAAO,EAAE,QAAQ,CAAC,cAAc,EAAE,CAAC,CAAC;QACpE,GAAG,CAAC,QAAQ,CAAC,gBAAgB,KAAK,SAAS;YACzC,CAAC,CAAC,EAAE;YACJ,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,kBAAkB,EAAE,OAAO,EAAE,QAAQ,CAAC,gBAAgB,EAAE,CAAC,CAAC;KACzE,CAAC,QAAQ,CAAC,CAAC,GAAG,EAAE,KAAK,EAAE,EAAE,CAAC,GAAG,CAAC,OAAO,GAAG,KAAK,CAAC,O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KAAK,MAAM;gBAC9C,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,yCAAyC;gBACnE,QAAQ,MAAM,CAAC,2BAA2B,CAAC,GAAG,CACjD,CAAC;QACJ,CAAC;IACH,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { SimStatesErrorHandling } from "./sim-states-error-handling.js";
|
|
2
|
+
import type { SimStatesTaskTimeouts } from "./sim-states-task-deadline.js";
|
|
3
|
+
/**
|
|
4
|
+
* What a `Task` state says about failing and about running long.
|
|
5
|
+
*
|
|
6
|
+
* The four fields sit together because they are read together: a task that
|
|
7
|
+
* fails is retried, then caught, and a task still going at its deadline fails
|
|
8
|
+
* whatever it was doing.
|
|
9
|
+
*/
|
|
10
|
+
export type SimStatesTaskHandling = SimStatesErrorHandling & SimStatesTaskTimeouts;
|
|
11
|
+
//# sourceMappingURL=sim-states-task-handling.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-task-handling.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/retry/sim-states-task-handling.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAE3E;;;;;;GAMG;AACH,MAAM,MAAM,qBAAqB,GAAG,sBAAsB,GACxD,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-task-handling.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/retry/sim-states-task-handling.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-step-functions-sdk-command-router.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EAEzB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAEjE;;GAEG;AACH,qBAAa,gCAAiC,YAAW,mBAAmB;IAC1E,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0C;IAEjE,YAAY,gBAAgB,EAAE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"sim-step-functions-sdk-command-router.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EAEzB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAEjE;;GAEG;AACH,qBAAa,gCAAiC,YAAW,mBAAmB;IAC1E,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0C;IAEjE,YAAY,gBAAgB,EAAE,gBAAgB,EAmF7C;IAED;;OAEG;IACH,qBAAqB,IAAI,SAAS,MAAM,EAAE,CAEzC;IAED;;;OAGG;IACH,KAAK,CAAC,WAAW,EAAE,MAAM,GAAG,kBAAkB,GAAG,SAAS,CAEzD;CACF"}
|
|
@@ -26,6 +26,18 @@ export class SimStepFunctionsSdkCommandRouter {
|
|
|
26
26
|
"ListStateMachinesCommand",
|
|
27
27
|
async (command, context) => await simStepFunctions.listStateMachines(command, simSdkCallerOptions(context)),
|
|
28
28
|
],
|
|
29
|
+
[
|
|
30
|
+
"TagResourceCommand",
|
|
31
|
+
async (command, context) => await simStepFunctions.tagResource(command, simSdkCallerOptions(context)),
|
|
32
|
+
],
|
|
33
|
+
[
|
|
34
|
+
"UntagResourceCommand",
|
|
35
|
+
async (command, context) => await simStepFunctions.untagResource(command, simSdkCallerOptions(context)),
|
|
36
|
+
],
|
|
37
|
+
[
|
|
38
|
+
"ListTagsForResourceCommand",
|
|
39
|
+
async (command, context) => await simStepFunctions.listTagsForResource(command, simSdkCallerOptions(context)),
|
|
40
|
+
],
|
|
29
41
|
[
|
|
30
42
|
"StartExecutionCommand",
|
|
31
43
|
async (command, context) => await simStepFunctions.startExecution(command, simSdkCallerOptions(context)),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-step-functions-sdk-command-router.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,mBAAmB,GACpB,MAAM,uBAAuB,CAAC;AAI/B;;GAEG;AACH,MAAM,OAAO,gCAAgC;IAC1B,MAAM,CAA0C;IAEjE,YAAY,gBAAkC;QAC5C,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,CAA6B;YAChD;gBACE,2BAA2B;gBAC3B,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,gBAAgB,CAAC,kBAAkB,CACvC,OAAyD,EACzD,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;YACD;gBACE,6BAA6B;gBAC7B,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,gBAAgB,CAAC,oBAAoB,CACzC,OAA2D,EAC3D,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;YACD;gBACE,2BAA2B;gBAC3B,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,gBAAgB,CAAC,kBAAkB,CACvC,OAAyD,EACzD,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;YACD;gBACE,2BAA2B;gBAC3B,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,gBAAgB,CAAC,kBAAkB,CACvC,OAAyD,EACzD,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;YACD;gBACE,0BAA0B;gBAC1B,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,gBAAgB,CAAC,iBAAiB,CACtC,OAAwD,EACxD,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;YACD;gBACE,uBAAuB;gBACvB,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,gBAAgB,CAAC,cAAc,CACnC,OAAqD,EACrD,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;YACD;gBACE,0BAA0B;gBAC1B,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,gBAAgB,CAAC,iBAAiB,CACtC,OAAwD,EACxD,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;SACF,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,qBAAqB;QACnB,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE,CAAC;IACtC,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,WAAmB;QACvB,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;IACtC,CAAC;CACF"}
|
|
1
|
+
{"version":3,"file":"sim-step-functions-sdk-command-router.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,mBAAmB,GACpB,MAAM,uBAAuB,CAAC;AAI/B;;GAEG;AACH,MAAM,OAAO,gCAAgC;IAC1B,MAAM,CAA0C;IAEjE,YAAY,gBAAkC;QAC5C,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,CAA6B;YAChD;gBACE,2BAA2B;gBAC3B,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,gBAAgB,CAAC,kBAAkB,CACvC,OAAyD,EACzD,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;YACD;gBACE,6BAA6B;gBAC7B,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,gBAA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ACD;gBACE,0BAA0B;gBAC1B,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,gBAAgB,CAAC,iBAAiB,CACtC,OAAwD,EACxD,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;SACF,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,qBAAqB;QACnB,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE,CAAC;IACtC,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,WAAmB;QACvB,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;IACtC,CAAC;CACF"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { SimStatesAttempt } from "./execution/sim-states-attempt.js";
|
|
2
|
+
import type { SimStatesChild } from "./execution/sim-states-child.js";
|
|
1
3
|
import type { SimStatesExecutionStore } from "./execution/sim-states-execution-store.js";
|
|
2
4
|
/**
|
|
3
5
|
* What a test can read about the executions a simulated Step Functions has
|
|
@@ -14,6 +16,32 @@ export declare class SimStepFunctionsInspection {
|
|
|
14
16
|
* The states one execution entered, in the order it entered them.
|
|
15
17
|
*/
|
|
16
18
|
visitedStates(executionArn: string): readonly string[];
|
|
19
|
+
/**
|
|
20
|
+
* Every run of a state one execution made, in the order it made them.
|
|
21
|
+
*
|
|
22
|
+
* A state a `Retry` ran again appears once per attempt, so this says how many
|
|
23
|
+
* times a task ran where `visitedStates` says only that the execution reached
|
|
24
|
+
* it. Each attempt carries the error name it failed with, where it failed.
|
|
25
|
+
*/
|
|
26
|
+
attempts(executionArn: string): readonly SimStatesAttempt[];
|
|
27
|
+
/**
|
|
28
|
+
* Every branch of every `Parallel` state one execution ran.
|
|
29
|
+
*
|
|
30
|
+
* A branch runs states of its own, so what it did is reported here rather
|
|
31
|
+
* than among the states the execution around it visited. The branches are in
|
|
32
|
+
* the order they were started, and each says where among its siblings it
|
|
33
|
+
* was.
|
|
34
|
+
*/
|
|
35
|
+
branches(executionArn: string): readonly SimStatesChild[];
|
|
36
|
+
/**
|
|
37
|
+
* Every iteration of every `Map` state one execution ran.
|
|
38
|
+
*
|
|
39
|
+
* An iteration runs states of its own, the way a `Parallel` state's branch
|
|
40
|
+
* does, and is reported here rather than among the states the execution
|
|
41
|
+
* around it visited. Each says which item it was for by its index, counting
|
|
42
|
+
* from zero.
|
|
43
|
+
*/
|
|
44
|
+
iterations(executionArn: string): readonly SimStatesChild[];
|
|
17
45
|
/**
|
|
18
46
|
* Every execution of one state machine, most recently started first.
|
|
19
47
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-step-functions-inspection.d.ts","sourceRoot":"","sources":["../../../src/service/stepfunctions/sim-step-functions-inspection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAEzF;;;;;;;GAOG;AACH,qBAAa,0BAA0B;;IAGrC,YAAY,UAAU,EAAE,uBAAuB,EAE9C;IAED;;OAEG;IACH,aAAa,CAAC,YAAY,EAAE,MAAM,GAAG,SAAS,MAAM,EAAE,CAErD;IAED;;OAEG;IACH,YAAY,CAAC,eAAe,EAAE,MAAM,GAAG,SAAS,MAAM,EAAE,CAIvD;
|
|
1
|
+
{"version":3,"file":"sim-step-functions-inspection.d.ts","sourceRoot":"","sources":["../../../src/service/stepfunctions/sim-step-functions-inspection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAEzF;;;;;;;GAOG;AACH,qBAAa,0BAA0B;;IAGrC,YAAY,UAAU,EAAE,uBAAuB,EAE9C;IAED;;OAEG;IACH,aAAa,CAAC,YAAY,EAAE,MAAM,GAAG,SAAS,MAAM,EAAE,CAErD;IAED;;;;;;OAMG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,GAAG,SAAS,gBAAgB,EAAE,CAE1D;IAED;;;;;;;OAOG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,GAAG,SAAS,cAAc,EAAE,CAExD;IAED;;;;;;;OAOG;IACH,UAAU,CAAC,YAAY,EAAE,MAAM,GAAG,SAAS,cAAc,EAAE,CAE1D;IAED;;OAEG;IACH,YAAY,CAAC,eAAe,EAAE,MAAM,GAAG,SAAS,MAAM,EAAE,CAIvD;CAaF"}
|
|
@@ -17,6 +17,38 @@ export class SimStepFunctionsInspection {
|
|
|
17
17
|
visitedStates(executionArn) {
|
|
18
18
|
return this.#executions.find(executionArn)?.visitedStates ?? [];
|
|
19
19
|
}
|
|
20
|
+
/**
|
|
21
|
+
* Every run of a state one execution made, in the order it made them.
|
|
22
|
+
*
|
|
23
|
+
* A state a `Retry` ran again appears once per attempt, so this says how many
|
|
24
|
+
* times a task ran where `visitedStates` says only that the execution reached
|
|
25
|
+
* it. Each attempt carries the error name it failed with, where it failed.
|
|
26
|
+
*/
|
|
27
|
+
attempts(executionArn) {
|
|
28
|
+
return this.#executions.find(executionArn)?.attempts ?? [];
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Every branch of every `Parallel` state one execution ran.
|
|
32
|
+
*
|
|
33
|
+
* A branch runs states of its own, so what it did is reported here rather
|
|
34
|
+
* than among the states the execution around it visited. The branches are in
|
|
35
|
+
* the order they were started, and each says where among its siblings it
|
|
36
|
+
* was.
|
|
37
|
+
*/
|
|
38
|
+
branches(executionArn) {
|
|
39
|
+
return this.#childrenOf(executionArn, "branch");
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Every iteration of every `Map` state one execution ran.
|
|
43
|
+
*
|
|
44
|
+
* An iteration runs states of its own, the way a `Parallel` state's branch
|
|
45
|
+
* does, and is reported here rather than among the states the execution
|
|
46
|
+
* around it visited. Each says which item it was for by its index, counting
|
|
47
|
+
* from zero.
|
|
48
|
+
*/
|
|
49
|
+
iterations(executionArn) {
|
|
50
|
+
return this.#childrenOf(executionArn, "iteration");
|
|
51
|
+
}
|
|
20
52
|
/**
|
|
21
53
|
* Every execution of one state machine, most recently started first.
|
|
22
54
|
*/
|
|
@@ -25,5 +57,11 @@ export class SimStepFunctionsInspection {
|
|
|
25
57
|
.forStateMachine(stateMachineArn)
|
|
26
58
|
.map((execution) => execution.arn);
|
|
27
59
|
}
|
|
60
|
+
/**
|
|
61
|
+
* The child runs of one kind that one execution made.
|
|
62
|
+
*/
|
|
63
|
+
#childrenOf(executionArn, kind) {
|
|
64
|
+
return (this.#executions.find(executionArn)?.children ?? []).filter((child) => child.kind === kind);
|
|
65
|
+
}
|
|
28
66
|
}
|
|
29
67
|
//# sourceMappingURL=sim-step-functions-inspection.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-step-functions-inspection.js","sourceRoot":"","sources":["../../../src/service/stepfunctions/sim-step-functions-inspection.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sim-step-functions-inspection.js","sourceRoot":"","sources":["../../../src/service/stepfunctions/sim-step-functions-inspection.ts"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AACH,MAAM,OAAO,0BAA0B;IAC5B,WAAW,CAA0B;IAE9C,YAAY,UAAmC;QAC7C,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;IAChC,CAAC;IAED;;OAEG;IACH,aAAa,CAAC,YAAoB;QAChC,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,aAAa,IAAI,EAAE,CAAC;IAClE,CAAC;IAED;;;;;;OAMG;IACH,QAAQ,CAAC,YAAoB;QAC3B,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,QAAQ,IAAI,EAAE,CAAC;IAC7D,CAAC;IAED;;;;;;;OAOG;IACH,QAAQ,CAAC,YAAoB;QAC3B,OAAO,IAAI,CAAC,WAAW,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IAClD,CAAC;IAED;;;;;;;OAOG;IACH,UAAU,CAAC,YAAoB;QAC7B,OAAO,IAAI,CAAC,WAAW,CAAC,YAAY,EAAE,WAAW,CAAC,CAAC;IACrD,CAAC;IAED;;OAEG;IACH,YAAY,CAAC,eAAuB;QAClC,OAAO,IAAI,CAAC,WAAW;aACpB,eAAe,CAAC,eAAe,CAAC;aAChC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;IACvC,CAAC;IAED;;OAEG;IACH,WAAW,CACT,YAAoB,EACpB,IAA4B;QAE5B,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,QAAQ,IAAI,EAAE,CAAC,CAAC,MAAM,CACjE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,KAAK,IAAI,CAC/B,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -3,7 +3,9 @@ import { type BackgroundScheduler } from "../../util/background/background.js";
|
|
|
3
3
|
import type { SimAwsAccountRegionScope } from "../aws/sim-aws-account-region-scope.js";
|
|
4
4
|
import type * as simStatesCommands from "./command/sim-step-functions-command.types.js";
|
|
5
5
|
import type { SimStepFunctionsRequestOptions } from "./command/sim-step-functions-request-options.js";
|
|
6
|
+
import { type SimStatesDefinitionStore } from "./definition/store/sim-states-definition-store.js";
|
|
6
7
|
import type { SimStateMachine } from "./machine/sim-state-machine.js";
|
|
8
|
+
import { SimStepFunctionsCfnResourceFactory } from "./cfn/sim-step-functions-cfn-resource-factory.js";
|
|
7
9
|
import type { SimStatesTaskTargets } from "./task/sim-states-task-invocation.js";
|
|
8
10
|
import { SimStepFunctionsInspection } from "./sim-step-functions-inspection.js";
|
|
9
11
|
interface SimStepFunctionsProperties {
|
|
@@ -14,6 +16,11 @@ interface SimStepFunctionsProperties {
|
|
|
14
16
|
* its own has nowhere to invoke, and says so at the first task.
|
|
15
17
|
*/
|
|
16
18
|
readonly taskTargets?: SimStatesTaskTargets;
|
|
19
|
+
/**
|
|
20
|
+
* Where a `DefinitionS3Location` on a CloudFormation Resource is read from.
|
|
21
|
+
* A simulated Step Functions built on its own has no bucket to read.
|
|
22
|
+
*/
|
|
23
|
+
readonly definitions?: SimStatesDefinitionStore;
|
|
17
24
|
}
|
|
18
25
|
/**
|
|
19
26
|
* Simulated Step Functions. Handles SDK commands. Emulates AWS behaviour and
|
|
@@ -54,6 +61,12 @@ export declare class SimStepFunctions {
|
|
|
54
61
|
deleteStateMachine(command: simStatesCommands.SimDeleteStateMachineCommand, _options?: SimStepFunctionsRequestOptions): Promise<simStatesCommands.SimDeleteStateMachineCommandOutput>;
|
|
55
62
|
/** Handle a ListStateMachines Command from the SDK. */
|
|
56
63
|
listStateMachines(command: simStatesCommands.SimListStateMachinesCommand, _options?: SimStepFunctionsRequestOptions): Promise<simStatesCommands.SimListStateMachinesCommandOutput>;
|
|
64
|
+
/** Handle a TagResource Command from the SDK. */
|
|
65
|
+
tagResource(command: simStatesCommands.SimTagResourceCommand, _options?: SimStepFunctionsRequestOptions): Promise<simStatesCommands.SimTagResourceCommandOutput>;
|
|
66
|
+
/** Handle an UntagResource Command from the SDK. */
|
|
67
|
+
untagResource(command: simStatesCommands.SimUntagResourceCommand, _options?: SimStepFunctionsRequestOptions): Promise<simStatesCommands.SimUntagResourceCommandOutput>;
|
|
68
|
+
/** Handle a ListTagsForResource Command from the SDK. */
|
|
69
|
+
listTagsForResource(command: simStatesCommands.SimListTagsForResourceCommand, _options?: SimStepFunctionsRequestOptions): Promise<simStatesCommands.SimListTagsForResourceCommandOutput>;
|
|
57
70
|
/** Handle a StartExecution Command from the SDK. */
|
|
58
71
|
startExecution(command: simStatesCommands.SimStartExecutionCommand, _options?: SimStepFunctionsRequestOptions): Promise<simStatesCommands.SimStartExecutionCommandOutput>;
|
|
59
72
|
/** Handle a DescribeExecution Command from the SDK. */
|
|
@@ -62,6 +75,10 @@ export declare class SimStepFunctions {
|
|
|
62
75
|
* Get this service's SDK Command router for SDK client interception.
|
|
63
76
|
*/
|
|
64
77
|
sdkCommandRouter(): SimSdkCommandRouter;
|
|
78
|
+
/**
|
|
79
|
+
* Get this service's CloudFormation Resource factory.
|
|
80
|
+
*/
|
|
81
|
+
cfnResourceFactory(): SimStepFunctionsCfnResourceFactory;
|
|
65
82
|
}
|
|
66
83
|
export {};
|
|
67
84
|
//# sourceMappingURL=sim-step-functions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-step-functions.d.ts","sourceRoot":"","sources":["../../../src/service/stepfunctions/sim-step-functions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAEvF,OAAO,KAAK,KAAK,iBAAiB,MAAM,+CAA+C,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-step-functions.d.ts","sourceRoot":"","sources":["../../../src/service/stepfunctions/sim-step-functions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAEvF,OAAO,KAAK,KAAK,iBAAiB,MAAM,+CAA+C,CAAC;AAOxF,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,iDAAiD,CAAC;AACtG,OAAO,EACL,KAAK,wBAAwB,EAE9B,MAAM,mDAAmD,CAAC;AAE3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEtE,OAAO,EAAE,kCA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,kCAAkC,CAAC,CAG/D;IAED,uDAAuD;IACjD,iBAAiB,CACrB,OAAO,EAAE,iBAAiB,CAAC,2BAA2B,EACtD,QAAQ,CAAC,EAAE,8BAA8B,GACxC,OAAO,CAAC,iBAAiB,CAAC,iCAAiC,CAAC,CAG9D;IAED,iDAAiD;IAC3C,WAAW,CACf,OAAO,EAAE,iBAAiB,CAAC,qBAAqB,EAChD,QAAQ,CAAC,EAAE,8BAA8B,GACxC,OAAO,CAAC,iBAAiB,CAAC,2BAA2B,CAAC,CAGxD;IAED,oDAAoD;IAC9C,aAAa,CACjB,OAAO,EAAE,iBAAiB,CAAC,uBAAuB,EAClD,QAAQ,CAAC,EAAE,8BAA8B,GACxC,OAAO,CAAC,iBAAiB,CAAC,6BAA6B,CAAC,CAG1D;IAED,yDAAyD;IACnD,mBAAmB,CACvB,OAAO,EAAE,iBAAiB,CAAC,6BAA6B,EACxD,QAAQ,CAAC,EAAE,8BAA8B,GACxC,OAAO,CAAC,iBAAiB,CAAC,mCAAmC,CAAC,CAGhE;IAED,oDAAoD;IAC9C,cAAc,CAClB,OAAO,EAAE,iBAAiB,CAAC,wBAAwB,EACnD,QAAQ,CAAC,EAAE,8BAA8B,GACxC,OAAO,CAAC,iBAAiB,CAAC,8BAA8B,CAAC,CAW3D;IAED,uDAAuD;IACjD,iBAAiB,CACrB,OAAO,EAAE,iBAAiB,CAAC,2BAA2B,EACtD,QAAQ,CAAC,EAAE,8BAA8B,GACxC,OAAO,CAAC,iBAAiB,CAAC,iCAAiC,CAAC,CAG9D;IAED;;OAEG;IACH,gBAAgB,IAAI,mBAAmB,CAEtC;IAED;;OAEG;IACH,kBAAkB,IAAI,kCAAkC,CAEvD;CACF"}
|
|
@@ -5,8 +5,11 @@ import { SimStatesExecutionStart } from "./command/execution/sim-states-executio
|
|
|
5
5
|
import { SimStateMachineCreate } from "./command/machine/sim-state-machine-create.js";
|
|
6
6
|
import { SimStateMachineReads } from "./command/machine/sim-state-machine-reads.js";
|
|
7
7
|
import { SimStateMachineWrites } from "./command/machine/sim-state-machine-writes.js";
|
|
8
|
+
import { SimStateMachineTagCommands } from "./command/tag/sim-state-machine-tag-commands.js";
|
|
9
|
+
import { SimStatesNoDefinitionStore, } from "./definition/store/sim-states-definition-store.js";
|
|
8
10
|
import { SimStatesExecutionStore } from "./execution/sim-states-execution-store.js";
|
|
9
11
|
import { SimStateMachineStore } from "./machine/sim-state-machine-store.js";
|
|
12
|
+
import { SimStepFunctionsCfnResourceFactory } from "./cfn/sim-step-functions-cfn-resource-factory.js";
|
|
10
13
|
import { SimStepFunctionsSdkCommandRouter } from "./sdk/sim-step-functions-sdk-command-router.js";
|
|
11
14
|
import { SimStatesNoTaskTargets } from "./task/sim-states-no-task-targets.js";
|
|
12
15
|
import { SimStepFunctionsInspection } from "./sim-step-functions-inspection.js";
|
|
@@ -33,12 +36,18 @@ export class SimStepFunctions {
|
|
|
33
36
|
#machineCreate;
|
|
34
37
|
#executionStart;
|
|
35
38
|
#executionDescribe;
|
|
39
|
+
#tagCommands = new SimStateMachineTagCommands(this.#stateMachines);
|
|
36
40
|
#background;
|
|
37
41
|
#sdkRouter = new SimStepFunctionsSdkCommandRouter(this);
|
|
42
|
+
#cfnFactory;
|
|
38
43
|
#inspection = new SimStepFunctionsInspection(this.#executions);
|
|
39
44
|
constructor(properties = {}) {
|
|
40
|
-
const { accountRegionScope = simAwsAccountRegionScopeFactory.make(), background = new BackgroundTasks(), taskTargets = new SimStatesNoTaskTargets(), } = properties;
|
|
45
|
+
const { accountRegionScope = simAwsAccountRegionScopeFactory.make(), background = new BackgroundTasks(), taskTargets = new SimStatesNoTaskTargets(), definitions = new SimStatesNoDefinitionStore(), } = properties;
|
|
41
46
|
this.#background = background;
|
|
47
|
+
this.#cfnFactory = new SimStepFunctionsCfnResourceFactory({
|
|
48
|
+
stepFunctions: this,
|
|
49
|
+
definitions,
|
|
50
|
+
});
|
|
42
51
|
this.#machineReads = new SimStateMachineReads(this.#stateMachines);
|
|
43
52
|
this.#machineWrites = new SimStateMachineWrites({
|
|
44
53
|
stateMachines: this.#stateMachines,
|
|
@@ -99,6 +108,21 @@ export class SimStepFunctions {
|
|
|
99
108
|
await this.#background.sequence();
|
|
100
109
|
return this.#machineReads.list(command);
|
|
101
110
|
}
|
|
111
|
+
/** Handle a TagResource Command from the SDK. */
|
|
112
|
+
async tagResource(command, _options) {
|
|
113
|
+
await this.#background.sequence();
|
|
114
|
+
return this.#tagCommands.tagResource(command);
|
|
115
|
+
}
|
|
116
|
+
/** Handle an UntagResource Command from the SDK. */
|
|
117
|
+
async untagResource(command, _options) {
|
|
118
|
+
await this.#background.sequence();
|
|
119
|
+
return this.#tagCommands.untagResource(command);
|
|
120
|
+
}
|
|
121
|
+
/** Handle a ListTagsForResource Command from the SDK. */
|
|
122
|
+
async listTagsForResource(command, _options) {
|
|
123
|
+
await this.#background.sequence();
|
|
124
|
+
return this.#tagCommands.listTagsForResource(command);
|
|
125
|
+
}
|
|
102
126
|
/** Handle a StartExecution Command from the SDK. */
|
|
103
127
|
async startExecution(command, _options) {
|
|
104
128
|
await this.#background.sequence();
|
|
@@ -120,5 +144,11 @@ export class SimStepFunctions {
|
|
|
120
144
|
sdkCommandRouter() {
|
|
121
145
|
return this.#sdkRouter;
|
|
122
146
|
}
|
|
147
|
+
/**
|
|
148
|
+
* Get this service's CloudFormation Resource factory.
|
|
149
|
+
*/
|
|
150
|
+
cfnResourceFactory() {
|
|
151
|
+
return this.#cfnFactory;
|
|
152
|
+
}
|
|
123
153
|
}
|
|
124
154
|
//# sourceMappingURL=sim-step-functions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-step-functions.js","sourceRoot":"","sources":["../../../src/service/stepfunctions/sim-step-functions.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,eAAe,GAChB,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EAAE,+BAA+B,EAAE,MAAM,gDAAgD,CAAC;AAEjG,OAAO,EAAE,0BAA0B,E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,kBAAkB,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACjD,CAAC;IAED;;OAEG;IACH,gBAAgB;QACd,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED;;OAEG;IACH,kBAAkB;QAChB,OAAO,IAAI,CAAC,WAAW,CAAC;IAC1B,CAAC;CACF"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { SimStatesServiceShape } from "./sim-states-service-shape.js";
|
|
2
|
+
/**
|
|
3
|
+
* One of the integrations Step Functions optimises, and the call it makes.
|
|
4
|
+
*/
|
|
5
|
+
export interface SimStatesOptimizedIntegration {
|
|
6
|
+
/**
|
|
7
|
+
* The AWS SDK service the integration calls. A `Resource` can name it by
|
|
8
|
+
* another.
|
|
9
|
+
*/
|
|
10
|
+
readonly serviceId: string;
|
|
11
|
+
/**
|
|
12
|
+
* The operation as the API writes it.
|
|
13
|
+
*/
|
|
14
|
+
readonly operation: string;
|
|
15
|
+
/**
|
|
16
|
+
* What the integration does to the request and the result, where its shape
|
|
17
|
+
* is not the API's own.
|
|
18
|
+
*/
|
|
19
|
+
readonly shape?: SimStatesServiceShape;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* The integrations Step Functions optimises, by what a `Resource` writes after
|
|
23
|
+
* `arn:aws:states:::`.
|
|
24
|
+
*
|
|
25
|
+
* An optimized integration is the same call an `aws-sdk` integration makes,
|
|
26
|
+
* with a shape of its own around it. The three that carry a message let it be
|
|
27
|
+
* written as JSON rather than as a string, and `states:startExecution` writes
|
|
28
|
+
* the request in the capitals Amazon States Language uses rather than the ones
|
|
29
|
+
* the Step Functions API does.
|
|
30
|
+
*
|
|
31
|
+
* `lambda:invoke` is not here. A `Task` state invoking a function talks to the
|
|
32
|
+
* function rather than to a simulated service, and reads a handler raising as
|
|
33
|
+
* a task failure of its own.
|
|
34
|
+
*/
|
|
35
|
+
export declare const simStatesOptimizedIntegrations: ReadonlyMap<string, SimStatesOptimizedIntegration>;
|
|
36
|
+
//# sourceMappingURL=sim-states-optimized-integrations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-optimized-integrations.d.ts","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/task/service/sim-states-optimized-integrations.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAE3E;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C;;;OAGG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAE3B;;;OAGG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,qBAAqB,CAAC;CACxC;AAED;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,8BAA8B,EAAE,WAAW,CACtD,MAAM,EACN,6BAA6B,CAsC7B,CAAC"}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { isRecord } from "../../../../util/type-guard/record.js";
|
|
2
|
+
/**
|
|
3
|
+
* The integrations Step Functions optimises, by what a `Resource` writes after
|
|
4
|
+
* `arn:aws:states:::`.
|
|
5
|
+
*
|
|
6
|
+
* An optimized integration is the same call an `aws-sdk` integration makes,
|
|
7
|
+
* with a shape of its own around it. The three that carry a message let it be
|
|
8
|
+
* written as JSON rather than as a string, and `states:startExecution` writes
|
|
9
|
+
* the request in the capitals Amazon States Language uses rather than the ones
|
|
10
|
+
* the Step Functions API does.
|
|
11
|
+
*
|
|
12
|
+
* `lambda:invoke` is not here. A `Task` state invoking a function talks to the
|
|
13
|
+
* function rather than to a simulated service, and reads a handler raising as
|
|
14
|
+
* a task failure of its own.
|
|
15
|
+
*/
|
|
16
|
+
export const simStatesOptimizedIntegrations = new Map([
|
|
17
|
+
["dynamodb:putItem", { serviceId: "DynamoDB", operation: "putItem" }],
|
|
18
|
+
["dynamodb:getItem", { serviceId: "DynamoDB", operation: "getItem" }],
|
|
19
|
+
["dynamodb:updateItem", { serviceId: "DynamoDB", operation: "updateItem" }],
|
|
20
|
+
["dynamodb:deleteItem", { serviceId: "DynamoDB", operation: "deleteItem" }],
|
|
21
|
+
[
|
|
22
|
+
"sns:publish",
|
|
23
|
+
{
|
|
24
|
+
serviceId: "SNS",
|
|
25
|
+
operation: "publish",
|
|
26
|
+
shape: { request: (parameters) => serialised(parameters, "Message") },
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
[
|
|
30
|
+
"sqs:sendMessage",
|
|
31
|
+
{
|
|
32
|
+
serviceId: "SQS",
|
|
33
|
+
operation: "sendMessage",
|
|
34
|
+
shape: { request: (parameters) => serialised(parameters, "MessageBody") },
|
|
35
|
+
},
|
|
36
|
+
],
|
|
37
|
+
[
|
|
38
|
+
"events:putEvents",
|
|
39
|
+
{
|
|
40
|
+
serviceId: "EventBridge",
|
|
41
|
+
operation: "putEvents",
|
|
42
|
+
shape: { request: putEventsRequest },
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
[
|
|
46
|
+
"states:startExecution",
|
|
47
|
+
{
|
|
48
|
+
serviceId: "SFN",
|
|
49
|
+
operation: "startExecution",
|
|
50
|
+
shape: { request: startExecutionRequest, answer: startExecutionAnswer },
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
]);
|
|
54
|
+
/**
|
|
55
|
+
* Write a field that carries a message as the string the API takes.
|
|
56
|
+
*
|
|
57
|
+
* An optimized integration lets the message be built as JSON, the way
|
|
58
|
+
* `Parameters` build anything else, and sends it as the string a real call
|
|
59
|
+
* carries.
|
|
60
|
+
*/
|
|
61
|
+
function serialised(parameters, field) {
|
|
62
|
+
// The field is one of this file's own, rather than anything a definition
|
|
63
|
+
// wrote.
|
|
64
|
+
// oxlint-disable-next-line security/detect-object-injection
|
|
65
|
+
const value = parameters[field];
|
|
66
|
+
if (value === undefined || typeof value === "string") {
|
|
67
|
+
return parameters;
|
|
68
|
+
}
|
|
69
|
+
return { ...parameters, [field]: JSON.stringify(value) };
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Serialise the `Detail` of every entry. That is where a `PutEvents` carries
|
|
73
|
+
* its message.
|
|
74
|
+
*/
|
|
75
|
+
function putEventsRequest(parameters) {
|
|
76
|
+
const entries = parameters["Entries"];
|
|
77
|
+
if (!Array.isArray(entries)) {
|
|
78
|
+
return parameters;
|
|
79
|
+
}
|
|
80
|
+
return {
|
|
81
|
+
...parameters,
|
|
82
|
+
Entries: entries.map((entry) => isRecord(entry) ? serialised(entry, "Detail") : entry),
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Write a `StartExecution` the way the Step Functions API takes it.
|
|
87
|
+
*
|
|
88
|
+
* The integration names the fields with a capital and the API does not, and
|
|
89
|
+
* the input can be written as JSON rather than as the string a real call
|
|
90
|
+
* carries.
|
|
91
|
+
*/
|
|
92
|
+
function startExecutionRequest(parameters) {
|
|
93
|
+
const input = parameters["Input"];
|
|
94
|
+
return {
|
|
95
|
+
stateMachineArn: parameters["StateMachineArn"] ?? null,
|
|
96
|
+
...(parameters["Name"] !== undefined && { name: parameters["Name"] }),
|
|
97
|
+
...(input !== undefined && {
|
|
98
|
+
input: typeof input === "string" ? input : JSON.stringify(input),
|
|
99
|
+
}),
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Answer the way the integration does. The result is the execution that
|
|
104
|
+
* started, and when it started.
|
|
105
|
+
*/
|
|
106
|
+
function startExecutionAnswer(result) {
|
|
107
|
+
if (!isRecord(result)) {
|
|
108
|
+
return result;
|
|
109
|
+
}
|
|
110
|
+
return {
|
|
111
|
+
ExecutionArn: result["executionArn"] ?? null,
|
|
112
|
+
StartDate: result["startDate"] ?? null,
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
//# sourceMappingURL=sim-states-optimized-integrations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-optimized-integrations.js","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/task/service/sim-states-optimized-integrations.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AAyBjE;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAGvC,IAAI,GAAG,CAAwC;IACjD,CAAC,kBAAkB,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC;IACrE,CAAC,kBAAkB,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC;IACrE,CAAC,qBAAqB,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC;IAC3E,CAAC,qBAAqB,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC;IAC3E;QACE,aAAa;QACb;YACE,SAAS,EAAE,KAAK;YAChB,SAAS,EAAE,SAAS;YACpB,KAAK,EAAE,EAAE,OAAO,EAAE,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,SAAS,CAAC,EAAE;SACtE;KACF;IACD;QACE,iBAAiB;QACjB;YACE,SAAS,EAAE,KAAK;YAChB,SAAS,EAAE,aAAa;YACxB,KAAK,EAAE,EAAE,OAAO,EAAE,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,aAAa,CAAC,EAAE;SAC1E;KACF;IACD;QACE,kBAAkB;QAClB;YACE,SAAS,EAAE,aAAa;YACxB,SAAS,EAAE,WAAW;YACtB,KAAK,EAAE,EAAE,OAAO,EAAE,gBAAgB,EAAE;SACrC;KACF;IACD;QACE,uBAAuB;QACvB;YACE,SAAS,EAAE,KAAK;YAChB,SAAS,EAAE,gBAAgB;YAC3B,KAAK,EAAE,EAAE,OAAO,EAAE,qBAAqB,EAAE,MAAM,EAAE,oBAAoB,EAA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CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC;SACjE,CAAC;KACH,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,SAAS,oBAAoB,CAAC,MAAiB;IAC7C,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QACtB,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO;QACL,YAAY,EAAE,MAAM,CAAC,cAAc,CAAC,IAAI,IAAI;QAC5C,SAAS,EAAE,MAAM,CAAC,WAAW,CAAC,IAAI,IAAI;KACvC,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { SimSdkCommandRoute } from "../../../../sdk/router/sim-sdk-command-router.type.js";
|
|
2
|
+
import type { JSONValue } from "../../../../util/type-guard/json.js";
|
|
3
|
+
import type { SimStatesTaskRequest } from "../sim-states-task-target.js";
|
|
4
|
+
import type { SimStatesServiceCall } from "./sim-states-service-shape.js";
|
|
5
|
+
/**
|
|
6
|
+
* Find one operation on a simulated service, in the state machine's own
|
|
7
|
+
* Account and Region.
|
|
8
|
+
*
|
|
9
|
+
* The service comes into existence here, on the first task that calls it, so a
|
|
10
|
+
* state machine that is never run reaches nothing. An operation the simulated
|
|
11
|
+
* service has no implementation for is refused here rather than when the state
|
|
12
|
+
* machine was created, because the operations a service runs belong to the
|
|
13
|
+
* service and there was none to ask then.
|
|
14
|
+
*/
|
|
15
|
+
export declare function simStatesServiceRoute(task: SimStatesTaskRequest, call: SimStatesServiceCall): SimSdkCommandRoute;
|
|
16
|
+
/**
|
|
17
|
+
* Read what the service answered as the JSON the execution carries on with.
|
|
18
|
+
*
|
|
19
|
+
* The SDK's own response metadata is dropped, because a task's result is the
|
|
20
|
+
* API's answer rather than the client's. The rest crosses the same JSON
|
|
21
|
+
* serialisation a real response does, so a date the service stamped reaches
|
|
22
|
+
* the next state as the string it would there.
|
|
23
|
+
*/
|
|
24
|
+
export declare function simStatesServiceResult(answered: unknown): JSONValue;
|
|
25
|
+
//# sourceMappingURL=sim-states-service-call.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-service-call.d.ts","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/task/service/sim-states-service-call.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uDAAuD,CAAC;AAChG,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAC;AAGrE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAE1E;;;;;;;;;GASG;AACH,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,oBAAoB,EAC1B,IAAI,EAAE,oBAAoB,GACzB,kBAAkB,CAmBpB;AAED;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,OAAO,GAAG,SAAS,CASnE"}
|