@kensio/yulin 1.20.2 → 1.20.4
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/README.md +39 -39
- 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/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/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/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/controller/dependency/sim-cf-controller-dependency.d.ts +4 -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 +6 -4
- 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 +3 -11
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-applicator.d.ts.map +1 -1
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-applicator.js +6 -20
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-applicator.js.map +1 -1
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-distribution.d.ts +1 -1
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-distribution.d.ts.map +1 -1
- 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 +4 -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 +20 -8
- package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.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/edge/adapter/sim-lambda-edge-event-adapter.d.ts +2 -9
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-adapter.d.ts.map +1 -1
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-adapter.js +5 -13
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-adapter.js.map +1 -1
- 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-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 +9 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-request-adapter.d.ts.map +1 -1
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-request-adapter.js +20 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-request-adapter.js.map +1 -1
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-response-adapter.d.ts +4 -4
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-response-adapter.d.ts.map +1 -1
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-response-adapter.js +4 -4
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-response-adapter.js.map +1 -1
- package/dist/service/cloudfront/edge/sim-aws-cf-edge-functions.d.ts.map +1 -1
- package/dist/service/cloudfront/edge/sim-aws-cf-edge-functions.js +2 -4
- package/dist/service/cloudfront/edge/sim-aws-cf-edge-functions.js.map +1 -1
- package/dist/service/cloudfront/edge/sim-cf-edge-association-checks.d.ts +20 -6
- package/dist/service/cloudfront/edge/sim-cf-edge-association-checks.d.ts.map +1 -1
- package/dist/service/cloudfront/edge/sim-cf-edge-association-checks.js +43 -8
- package/dist/service/cloudfront/edge/sim-cf-edge-association-checks.js.map +1 -1
- package/dist/service/cloudfront/edge/sim-cf-edge-association-validator.d.ts.map +1 -1
- package/dist/service/cloudfront/edge/sim-cf-edge-association-validator.js +3 -2
- package/dist/service/cloudfront/edge/sim-cf-edge-association-validator.js.map +1 -1
- package/dist/service/cloudfront/edge/sim-cf-edge-association.d.ts +5 -2
- package/dist/service/cloudfront/edge/sim-cf-edge-association.d.ts.map +1 -1
- package/dist/service/cloudfront/edge/sim-cf-edge-associations-configure.d.ts +3 -3
- package/dist/service/cloudfront/edge/sim-cf-edge-associations-configure.d.ts.map +1 -1
- package/dist/service/cloudfront/edge/sim-cf-edge-associations-configure.js +26 -10
- package/dist/service/cloudfront/edge/sim-cf-edge-associations-configure.js.map +1 -1
- package/dist/service/cloudfront/edge/sim-cf-edge-function-arn.d.ts +10 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-function-arn.d.ts.map +1 -1
- package/dist/service/cloudfront/edge/sim-cf-edge-function-arn.js +29 -5
- package/dist/service/cloudfront/edge/sim-cf-edge-function-arn.js.map +1 -1
- 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/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-cf-s3-origin-object-loader.d.ts.map +1 -1
- package/dist/service/cloudfront/origin/s3/sim-cf-s3-origin-object-loader.js +7 -2
- package/dist/service/cloudfront/origin/s3/sim-cf-s3-origin-object-loader.js.map +1 -1
- 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/typings/lambda-at-edge.namespace.d.ts +71 -3
- package/dist/service/cloudfront/typings/lambda-at-edge.namespace.d.ts.map +1 -1
- package/dist/service/s3/command/get-object/get-object-loader.d.ts +2 -1
- package/dist/service/s3/command/get-object/get-object-loader.d.ts.map +1 -1
- package/dist/service/s3/command/get-object/get-object-loader.js +4 -2
- package/dist/service/s3/command/get-object/get-object-loader.js.map +1 -1
- package/dist/service/s3/command/get-object/get-object.command.d.ts +6 -1
- package/dist/service/s3/command/get-object/get-object.command.d.ts.map +1 -1
- package/dist/service/s3/command/head-object/head-object-loader.d.ts.map +1 -1
- package/dist/service/s3/command/head-object/head-object-loader.js +2 -1
- package/dist/service/s3/command/head-object/head-object-loader.js.map +1 -1
- package/dist/service/s3/command/head-object/head-object.command.d.ts +2 -1
- package/dist/service/s3/command/head-object/head-object.command.d.ts.map +1 -1
- package/dist/service/s3/object/s3-object.d.ts +14 -0
- package/dist/service/s3/object/s3-object.d.ts.map +1 -1
- package/dist/service/s3/object/s3-object.js +18 -0
- package/dist/service/s3/object/s3-object.js.map +1 -1
- package/dist/service/s3/object/s3-system-metadata-read.d.ts +56 -0
- package/dist/service/s3/object/s3-system-metadata-read.d.ts.map +1 -0
- package/dist/service/s3/object/s3-system-metadata-read.js +66 -0
- package/dist/service/s3/object/s3-system-metadata-read.js.map +1 -0
- package/dist/service/s3/object/s3-system-metadata.d.ts +17 -0
- package/dist/service/s3/object/s3-system-metadata.d.ts.map +1 -1
- package/dist/service/s3/object/s3-system-metadata.js +17 -0
- package/dist/service/s3/object/s3-system-metadata.js.map +1 -1
- package/dist/service/s3/object/s3-write-metadata.d.ts +9 -5
- package/dist/service/s3/object/s3-write-metadata.d.ts.map +1 -1
- package/dist/service/s3/object/s3-write-metadata.js +16 -7
- package/dist/service/s3/object/s3-write-metadata.js.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-head-output.d.ts.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-head-output.js +2 -1
- package/dist/service/s3/serve/api/sim-s3-api-head-output.js.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-object-output.d.ts.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-object-output.js +2 -1
- package/dist/service/s3/serve/api/sim-s3-api-object-output.js.map +1 -1
- package/dist/service/s3/serve/sim-s3-rest-object-reader.d.ts.map +1 -1
- package/dist/service/s3/serve/sim-s3-rest-object-reader.js +2 -1
- package/dist/service/s3/serve/sim-s3-rest-object-reader.js.map +1 -1
- package/dist/service/s3/serve/website/sim-s3-website-object-loader.d.ts.map +1 -1
- package/dist/service/s3/serve/website/sim-s3-website-object-loader.js +2 -1
- package/dist/service/s3/serve/website/sim-s3-website-object-loader.js.map +1 -1
- package/dist/service/s3/storage/filesystem/s3-filesystem-object-metadata.d.ts.map +1 -1
- package/dist/service/s3/storage/filesystem/s3-filesystem-object-metadata.js +3 -2
- package/dist/service/s3/storage/filesystem/s3-filesystem-object-metadata.js.map +1 -1
- 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/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
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
import type { SimCfnResource } from "
|
|
2
|
-
import type { SimCfnTemplateValueRecord } from "../../../template/value/sim-cfn-template-value.js";
|
|
1
|
+
import type { SimCfnResource } from "../../../cloudformation/resource/sim-cfn-resource.js";
|
|
2
|
+
import type { SimCfnTemplateValueRecord } from "../../../cloudformation/template/value/sim-cfn-template-value.js";
|
|
3
|
+
import type { SimStatesDefinitionStore } from "../../definition/store/sim-states-definition-store.js";
|
|
4
|
+
import type { SimStatesTagInput } from "../../machine/sim-state-machine-tag.js";
|
|
3
5
|
interface SimCfnStateMachinePropertiesProperties {
|
|
4
6
|
readonly resource: SimCfnResource;
|
|
5
7
|
readonly properties: SimCfnTemplateValueRecord;
|
|
8
|
+
/** Where a `DefinitionS3Location` is read from. */
|
|
9
|
+
readonly definitions: SimStatesDefinitionStore;
|
|
6
10
|
}
|
|
7
11
|
/**
|
|
8
12
|
* Reads AWS::StepFunctions::StateMachine CloudFormation properties into the
|
|
@@ -39,10 +43,14 @@ export declare class SimCfnStateMachineProperties {
|
|
|
39
43
|
* in.
|
|
40
44
|
*/
|
|
41
45
|
type(): string | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* The tags the template puts on the state machine.
|
|
48
|
+
*/
|
|
49
|
+
tags(): readonly SimStatesTagInput[];
|
|
42
50
|
/**
|
|
43
51
|
* The Amazon States Language the state machine runs.
|
|
44
52
|
*/
|
|
45
|
-
definition(): string
|
|
53
|
+
definition(): Promise<string>;
|
|
46
54
|
/**
|
|
47
55
|
* A property that has to be a string.
|
|
48
56
|
*/
|
package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-properties.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cfn-state-machine-properties.d.ts","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-properties.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sDAAsD,CAAC;AAC3F,OAAO,KAAK,EAEV,yBAAyB,EAC1B,MAAM,kEAAkE,CAAC;AAC1E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uDAAuD,CAAC;AACtG,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAchF,UAAU,sCAAsC;IAC9C,QAAQ,CAAC,QAAQ,EAAE,cAAc,CAAC;IAClC,QAAQ,CAAC,UAAU,EAAE,yBAAyB,CAAC;IAE/C,mDAAmD;IACnD,QAAQ,CAAC,WAAW,EAAE,wBAAwB,CAAC;CAChD;AAED;;;;;;;;;GASG;AACH,qBAAa,4BAA4B;;IAKvC,YAAY,UAAU,EAAE,sCAAsC,EAM7D;IAED;;;;;OAKG;IACH,IAAI,IAAI,MAAM,CAWb;IAED;;;;;OAKG;IACH,OAAO,IAAI,MAAM,CAUhB;IAED;;;;;;OAMG;IACH,IAAI,IAAI,MAAM,GAAG,SAAS,CAQzB;IAED;;OAEG;IACH,IAAI,IAAI,SAAS,iBAAiB,EAAE,CAKnC;IAED;;OAEG;IACG,UAAU,IAAI,OAAO,CAAC,MAAM,CAAC,CAMlC;IAED;;OAEG;IACH,OAAO,CAAC,MAAM;IAQd;;OAEG;IACH,OAAO,CAAC,iBAAiB;IAQzB,OAAO,CAAC,aAAa;CAOtB"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { SimCfnStateMachineDefinition } from "./sim-cfn-state-machine-definition.js";
|
|
2
2
|
import { SimCfnStateMachineName } from "./sim-cfn-state-machine-name.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { SimCfnStateMachineTags } from "./sim-cfn-state-machine-tags.js";
|
|
4
|
+
import { roleArnPropertyName, stateMachineNamePropertyName, stateMachineTypePropertyName, tagsPropertyName, unsimulatedPropertyReasons, } from "./sim-cfn-state-machine-property-names.js";
|
|
5
|
+
import { simCfnStepFunctionsResourceError } from "../sim-cfn-step-functions-resource-error.js";
|
|
6
|
+
import { stateMachineResourceType } from "../sim-cfn-step-functions-resource-types.js";
|
|
6
7
|
/**
|
|
7
8
|
* Reads AWS::StepFunctions::StateMachine CloudFormation properties into the
|
|
8
9
|
* shapes the Step Functions commands take.
|
|
@@ -16,9 +17,11 @@ import { stateMachineResourceType } from "./sim-cfn-step-functions-resource-type
|
|
|
16
17
|
export class SimCfnStateMachineProperties {
|
|
17
18
|
#resource;
|
|
18
19
|
#properties;
|
|
20
|
+
#definitions;
|
|
19
21
|
constructor(properties) {
|
|
20
22
|
this.#resource = properties.resource;
|
|
21
23
|
this.#properties = new Map(Object.entries(properties.properties));
|
|
24
|
+
this.#definitions = properties.definitions;
|
|
22
25
|
this.recordUnsimulated();
|
|
23
26
|
}
|
|
24
27
|
/**
|
|
@@ -64,13 +67,23 @@ export class SimCfnStateMachineProperties {
|
|
|
64
67
|
}
|
|
65
68
|
return this.string(stateMachineTypePropertyName, type);
|
|
66
69
|
}
|
|
70
|
+
/**
|
|
71
|
+
* The tags the template puts on the state machine.
|
|
72
|
+
*/
|
|
73
|
+
tags() {
|
|
74
|
+
return new SimCfnStateMachineTags({
|
|
75
|
+
logicalId: this.#resource.logicalId,
|
|
76
|
+
declared: this.#properties.get(tagsPropertyName),
|
|
77
|
+
}).value();
|
|
78
|
+
}
|
|
67
79
|
/**
|
|
68
80
|
* The Amazon States Language the state machine runs.
|
|
69
81
|
*/
|
|
70
|
-
definition() {
|
|
71
|
-
return new SimCfnStateMachineDefinition({
|
|
82
|
+
async definition() {
|
|
83
|
+
return await new SimCfnStateMachineDefinition({
|
|
72
84
|
logicalId: this.#resource.logicalId,
|
|
73
85
|
properties: this.#properties,
|
|
86
|
+
definitions: this.#definitions,
|
|
74
87
|
}).value();
|
|
75
88
|
}
|
|
76
89
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cfn-state-machine-properties.js","s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AC;QACvD,CAAC;QAED,OAAO,KAAK,CAAC;IACf,CAAC;IAED;;OAEG;IACK,iBAAiB;QACvB,KAAK,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,0BAA0B,EAAE,CAAC;YACxD,IAAI,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;gBAC/B,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;YAC9C,CAAC;QACH,CAAC;IACH,CAAC;IAEO,aAAa,CAAC,MAAc;QAClC,OAAO,gCAAgC,CACrC,wBAAwB,EACxB,IAAI,CAAC,SAAS,CAAC,SAAS,EACxB,MAAM,CACP,CAAC;IACJ,CAAC;CACF"}
|
package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-property-names.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cfn-state-machine-property-names.d.ts","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-property-names.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,4BAA4B,qBAAqB,CAAC;AAE/D,eAAO,MAAM,mBAAmB,YAAY,CAAC;AAE7C,eAAO,MAAM,4BAA4B,qBAAqB,CAAC;AAE/D,eAAO,MAAM,4BAA4B,qBAAqB,CAAC;AAE/D,eAAO,MAAM,sBAAsB,eAAe,CAAC;AAEnD,eAAO,MAAM,mCAAmC,4BAA4B,CAAC;AAE7E,eAAO,MAAM,gCAAgC,yBAAyB,CAAC;AAEvE,eAAO,MAAM,gBAAgB,SAAS,CAAC;AAEvC;;;;;;;GAOG;AACH,eAAO,MAAM,0BAA0B,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAWjE,CAAC"}
|
|
@@ -18,11 +18,6 @@ export const tagsPropertyName = "Tags";
|
|
|
18
18
|
* somewhere a test can find it.
|
|
19
19
|
*/
|
|
20
20
|
export const unsimulatedPropertyReasons = new Map([
|
|
21
|
-
[
|
|
22
|
-
tagsPropertyName,
|
|
23
|
-
"simulated Step Functions holds no tags on a state machine, and " +
|
|
24
|
-
"ListTagsForResource is unsimulated",
|
|
25
|
-
],
|
|
26
21
|
[
|
|
27
22
|
"LoggingConfiguration",
|
|
28
23
|
"an execution writes no log events, so there is nothing for a log level " +
|
package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-property-names.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cfn-state-machine-property-names.js","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-property-names.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,kBAAkB,CAAC;AAE/D,MAAM,CAAC,MAAM,mBAAmB,GAAG,SAAS,CAAC;AAE7C,MAAM,CAAC,MAAM,4BAA4B,GAAG,kBAAkB,CAAC;AAE/D,MAAM,CAAC,MAAM,4BAA4B,GAAG,kBAAkB,CAAC;AAE/D,MAAM,CAAC,MAAM,sBAAsB,GAAG,YAAY,CAAC;AAEnD,MAAM,CAAC,MAAM,mCAAmC,GAAG,yBAAyB,CAAC;AAE7E,MAAM,CAAC,MAAM,gCAAgC,GAAG,sBAAsB,CAAC;AAEvE,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAC;AAEvC;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAgC,IAAI,GAAG,CAAC;IAC7E;QACE,sBAAsB;QACtB,yEAAyE;YACvE,4BAA4B;KAC/B;IACD,CAAC,sBAAsB,EAAE,wBAAwB,CAAC;IAClD;QACE,yBAAyB;QACzB,sEAAsE;KACvE;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { SimCfnTemplateValue } from "../../../cloudformation/template/value/sim-cfn-template-value.js";
|
|
2
|
+
import type { SimStatesDefinitionStore } from "../../definition/store/sim-states-definition-store.js";
|
|
3
|
+
interface SimCfnStateMachineS3DefinitionProperties {
|
|
4
|
+
readonly logicalId: string;
|
|
5
|
+
readonly definitions: SimStatesDefinitionStore;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Reads the definition a `DefinitionS3Location` points at.
|
|
9
|
+
*
|
|
10
|
+
* CDK writes this form for `DefinitionBody.fromFile`, and for any definition
|
|
11
|
+
* past the template size limit. The file is staged in the cloud assembly and
|
|
12
|
+
* published to the bootstrap staging bucket, which sim CloudFormation does
|
|
13
|
+
* before it deploys a Resource, so the object is there by the time this reads
|
|
14
|
+
* it.
|
|
15
|
+
*
|
|
16
|
+
* `Version` is read past. Simulated S3 holds one body per key, and a template
|
|
17
|
+
* naming a version gets that body.
|
|
18
|
+
*/
|
|
19
|
+
export declare class SimCfnStateMachineS3Definition {
|
|
20
|
+
#private;
|
|
21
|
+
constructor(properties: SimCfnStateMachineS3DefinitionProperties);
|
|
22
|
+
/**
|
|
23
|
+
* The Amazon States Language the object holds.
|
|
24
|
+
*/
|
|
25
|
+
read(declared: SimCfnTemplateValue): Promise<string>;
|
|
26
|
+
/**
|
|
27
|
+
* The bucket and key the property names.
|
|
28
|
+
*/
|
|
29
|
+
private location;
|
|
30
|
+
/**
|
|
31
|
+
* One member of the location, which has to be a string that is there.
|
|
32
|
+
*/
|
|
33
|
+
private member;
|
|
34
|
+
private error;
|
|
35
|
+
}
|
|
36
|
+
export {};
|
|
37
|
+
//# sourceMappingURL=sim-cfn-state-machine-s3-definition.d.ts.map
|
package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-s3-definition.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cfn-state-machine-s3-definition.d.ts","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-s3-definition.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kEAAkE,CAAC;AAC5G,OAAO,KAAK,EAEV,wBAAwB,EACzB,MAAM,uDAAuD,CAAC;AAQ/D,UAAU,wCAAwC;IAChD,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,WAAW,EAAE,wBAAwB,CAAC;CAChD;AAED;;;;;;;;;;;GAWG;AACH,qBAAa,8BAA8B;;IAIzC,YAAY,UAAU,EAAE,wCAAwC,EAG/D;IAED;;OAEG;IACG,IAAI,CAAC,QAAQ,EAAE,mBAAmB,GAAG,OAAO,CAAC,MAAM,CAAC,CAezD;IAED;;OAEG;IACH,OAAO,CAAC,QAAQ;IAWhB;;OAEG;IACH,OAAO,CAAC,MAAM;IAWd,OAAO,CAAC,KAAK;CAOd"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { isRecord } from "../../../../util/type-guard/record.js";
|
|
2
|
+
import { simCfnStepFunctionsResourceError, simCfnStepFunctionsSkippedResourceError, } from "../sim-cfn-step-functions-resource-error.js";
|
|
3
|
+
import { definitionS3LocationPropertyName } from "./sim-cfn-state-machine-property-names.js";
|
|
4
|
+
import { stateMachineResourceType } from "../sim-cfn-step-functions-resource-types.js";
|
|
5
|
+
/**
|
|
6
|
+
* Reads the definition a `DefinitionS3Location` points at.
|
|
7
|
+
*
|
|
8
|
+
* CDK writes this form for `DefinitionBody.fromFile`, and for any definition
|
|
9
|
+
* past the template size limit. The file is staged in the cloud assembly and
|
|
10
|
+
* published to the bootstrap staging bucket, which sim CloudFormation does
|
|
11
|
+
* before it deploys a Resource, so the object is there by the time this reads
|
|
12
|
+
* it.
|
|
13
|
+
*
|
|
14
|
+
* `Version` is read past. Simulated S3 holds one body per key, and a template
|
|
15
|
+
* naming a version gets that body.
|
|
16
|
+
*/
|
|
17
|
+
export class SimCfnStateMachineS3Definition {
|
|
18
|
+
#logicalId;
|
|
19
|
+
#definitions;
|
|
20
|
+
constructor(properties) {
|
|
21
|
+
this.#logicalId = properties.logicalId;
|
|
22
|
+
this.#definitions = properties.definitions;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* The Amazon States Language the object holds.
|
|
26
|
+
*/
|
|
27
|
+
async read(declared) {
|
|
28
|
+
const location = this.location(declared);
|
|
29
|
+
const definition = await this.#definitions.read(location);
|
|
30
|
+
if (definition === undefined) {
|
|
31
|
+
throw simCfnStepFunctionsSkippedResourceError(stateMachineResourceType, this.#logicalId, `${definitionS3LocationPropertyName} points at ` +
|
|
32
|
+
`s3://${location.bucketName}/${location.objectKey}, and this ` +
|
|
33
|
+
"simulation holds no object there");
|
|
34
|
+
}
|
|
35
|
+
return definition;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* The bucket and key the property names.
|
|
39
|
+
*/
|
|
40
|
+
location(declared) {
|
|
41
|
+
if (!isRecord(declared)) {
|
|
42
|
+
throw this.error(`${definitionS3LocationPropertyName} must be an object`);
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
bucketName: this.member(declared["Bucket"], "Bucket"),
|
|
46
|
+
objectKey: this.member(declared["Key"], "Key"),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* One member of the location, which has to be a string that is there.
|
|
51
|
+
*/
|
|
52
|
+
member(value, name) {
|
|
53
|
+
if (typeof value !== "string" || value === "") {
|
|
54
|
+
throw this.error(`${definitionS3LocationPropertyName}.${name} must be a string naming ` +
|
|
55
|
+
"where the definition is");
|
|
56
|
+
}
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
error(reason) {
|
|
60
|
+
return simCfnStepFunctionsResourceError(stateMachineResourceType, this.#logicalId, reason);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=sim-cfn-state-machine-s3-definition.js.map
|
package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-s3-definition.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cfn-state-machine-s3-defin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AI,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC;YACrD,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC;SAC/C,CAAC;IACJ,CAAC;IAED;;OAEG;IACK,MAAM,CAAC,KAAsC,EAAE,IAAY;QACjE,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,EAAE,EAAE,CAAC;YAC9C,MAAM,IAAI,CAAC,KAAK,CACd,GAAG,gCAAgC,IAAI,IAAI,2BAA2B;gBACpE,yBAAyB,CAC5B,CAAC;QACJ,CAAC;QAED,OAAO,KAAK,CAAC;IACf,CAAC;IAEO,KAAK,CAAC,MAAc;QAC1B,OAAO,gCAAgC,CACrC,wBAAwB,EACxB,IAAI,CAAC,UAAU,EACf,MAAM,CACP,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SimCfnTemplateValue } from "../../../template/value/sim-cfn-template-value.js";
|
|
1
|
+
import type { SimCfnTemplateValue } from "../../../cloudformation/template/value/sim-cfn-template-value.js";
|
|
2
2
|
interface SimCfnStateMachineSubstitutionsProperties {
|
|
3
3
|
readonly logicalId: string;
|
|
4
4
|
readonly declared: SimCfnTemplateValue | undefined;
|
package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-substitutions.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cfn-state-machine-substitutions.d.ts","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-substitutions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kEAAkE,CAAC;AAK5G,UAAU,yCAAyC;IACjD,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,QAAQ,EAAE,mBAAmB,GAAG,SAAS,CAAC;CACpD;AAED;;;;;;GAMG;AACH,qBAAa,+BAA+B;;IAI1C,YAAY,UAAU,EAAE,yCAAyC,EAGhE;IAED;;OAEG;IACH,OAAO,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAQlC;IAED;;OAEG;IACH,OAAO,CAAC,OAAO;IAcf;;;OAGG;IACH,OAAO,CAAC,IAAI;IAWZ,OAAO,CAAC,KAAK;CAOd"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { isRecord } from "
|
|
2
|
-
import { simCfnStepFunctionsResourceError } from "
|
|
1
|
+
import { isRecord } from "../../../../util/type-guard/record.js";
|
|
2
|
+
import { simCfnStepFunctionsResourceError } from "../sim-cfn-step-functions-resource-error.js";
|
|
3
3
|
import { definitionSubstitutionsPropertyName } from "./sim-cfn-state-machine-property-names.js";
|
|
4
|
-
import { stateMachineResourceType } from "
|
|
4
|
+
import { stateMachineResourceType } from "../sim-cfn-step-functions-resource-types.js";
|
|
5
5
|
/**
|
|
6
6
|
* Applies `DefinitionSubstitutions` to a state machine definition.
|
|
7
7
|
*
|
package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-substitutions.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cfn-state-machine-substitutions.js","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-substitutions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AAEjE,OAAO,EAAE,gCAAgC,EAAE,MAAM,6CAA6C,CAAC;AAC/F,OAAO,EAAE,mCAAmC,EAAE,MAAM,2CAA2C,CAAC;AAChG,OAAO,EAAE,wBAAwB,EAAE,MAAM,6CAA6C,CAAC;AAOvF;;;;;;GAMG;AACH,MAAM,OAAO,+BAA+B;IACjC,UAAU,CAAS;IACnB,SAAS,CAAkC;IAEpD,YAAY,UAAqD;QAC/D,IAAI,CAAC,UAAU,GAAG,UAAU,C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{ SimCfnTemplateValue } from "../../../cloudformation/template/value/sim-cfn-template-value.js";
|
|
2
|
+
import type { SimStatesTagInput } from "../../machine/sim-state-machine-tag.js";
|
|
3
|
+
interface SimCfnStateMachineTagsProperties {
|
|
4
|
+
readonly logicalId: string;
|
|
5
|
+
readonly declared: SimCfnTemplateValue | undefined;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Reads the `Tags` a state machine Resource carries.
|
|
9
|
+
*
|
|
10
|
+
* CloudFormation writes a tag as `Key` and `Value`, where the Step Functions
|
|
11
|
+
* API writes it as `key` and `value`. The two names for one tag meet here, and
|
|
12
|
+
* what a key or a value may hold is decided by `CreateStateMachine`, so a tag
|
|
13
|
+
* a template wrote is held to what a tag from `TagResource` is.
|
|
14
|
+
*/
|
|
15
|
+
export declare class SimCfnStateMachineTags {
|
|
16
|
+
#private;
|
|
17
|
+
constructor(properties: SimCfnStateMachineTagsProperties);
|
|
18
|
+
/**
|
|
19
|
+
* The tags to create the state machine with.
|
|
20
|
+
*/
|
|
21
|
+
value(): readonly SimStatesTagInput[];
|
|
22
|
+
/**
|
|
23
|
+
* One entry of the list, which carries a key and a value.
|
|
24
|
+
*/
|
|
25
|
+
private tag;
|
|
26
|
+
/**
|
|
27
|
+
* One half of a tag, which has to be a string.
|
|
28
|
+
*/
|
|
29
|
+
private member;
|
|
30
|
+
private error;
|
|
31
|
+
}
|
|
32
|
+
export {};
|
|
33
|
+
//# sourceMappingURL=sim-cfn-state-machine-tags.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cfn-state-machine-tags.d.ts","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-tags.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kEAAkE,CAAC;AAC5G,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAKhF,UAAU,gCAAgC;IACxC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,QAAQ,EAAE,mBAAmB,GAAG,SAAS,CAAC;CACpD;AAED;;;;;;;GAOG;AACH,qBAAa,sBAAsB;;IAIjC,YAAY,UAAU,EAAE,gCAAgC,EAGvD;IAED;;OAEG;IACH,KAAK,IAAI,SAAS,iBAAiB,EAAE,CAUpC;IAED;;OAEG;IACH,OAAO,CAAC,GAAG;IAaX;;OAEG;IACH,OAAO,CAAC,MAAM;IAQd,OAAO,CAAC,KAAK;CAOd"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { isRecord } from "../../../../util/type-guard/record.js";
|
|
2
|
+
import { simCfnStepFunctionsResourceError } from "../sim-cfn-step-functions-resource-error.js";
|
|
3
|
+
import { tagsPropertyName } from "./sim-cfn-state-machine-property-names.js";
|
|
4
|
+
import { stateMachineResourceType } from "../sim-cfn-step-functions-resource-types.js";
|
|
5
|
+
/**
|
|
6
|
+
* Reads the `Tags` a state machine Resource carries.
|
|
7
|
+
*
|
|
8
|
+
* CloudFormation writes a tag as `Key` and `Value`, where the Step Functions
|
|
9
|
+
* API writes it as `key` and `value`. The two names for one tag meet here, and
|
|
10
|
+
* what a key or a value may hold is decided by `CreateStateMachine`, so a tag
|
|
11
|
+
* a template wrote is held to what a tag from `TagResource` is.
|
|
12
|
+
*/
|
|
13
|
+
export class SimCfnStateMachineTags {
|
|
14
|
+
#logicalId;
|
|
15
|
+
#declared;
|
|
16
|
+
constructor(properties) {
|
|
17
|
+
this.#logicalId = properties.logicalId;
|
|
18
|
+
this.#declared = properties.declared;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* The tags to create the state machine with.
|
|
22
|
+
*/
|
|
23
|
+
value() {
|
|
24
|
+
if (this.#declared === undefined) {
|
|
25
|
+
return [];
|
|
26
|
+
}
|
|
27
|
+
if (!Array.isArray(this.#declared)) {
|
|
28
|
+
throw this.error(`${tagsPropertyName} must be a list`);
|
|
29
|
+
}
|
|
30
|
+
return this.#declared.map((entry, index) => this.tag(entry, index));
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* One entry of the list, which carries a key and a value.
|
|
34
|
+
*/
|
|
35
|
+
tag(entry, index) {
|
|
36
|
+
const at = `${tagsPropertyName}[${index.toString()}]`;
|
|
37
|
+
if (!isRecord(entry)) {
|
|
38
|
+
throw this.error(`${at} must be an object`);
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
key: this.member(entry["Key"], `${at}.Key`),
|
|
42
|
+
value: this.member(entry["Value"], `${at}.Value`),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* One half of a tag, which has to be a string.
|
|
47
|
+
*/
|
|
48
|
+
member(value, at) {
|
|
49
|
+
if (typeof value !== "string") {
|
|
50
|
+
throw this.error(`${at} must be a string`);
|
|
51
|
+
}
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
error(reason) {
|
|
55
|
+
return simCfnStepFunctionsResourceError(stateMachineResourceType, this.#logicalId, reason);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=sim-cfn-state-machine-tags.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cfn-state-machine-tags.js","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-tags.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AAGjE,OAAO,EAAE,gCAAgC,EAAE,MAAM,6CAA6C,CAAC;AAC/F,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAC7E,OAAO,EAAE,wBAAwB,EAAE,MAAM,6CAA6C,CAAC;AAOvF;;;;;;;GAOG;AACH,MAAM,OAAO,sBAAsB;IACxB,UAAU,CAAS;IACnB,SAAS,CAAkC;IAEpD,YAAY,UAA4C;QACtD,IAAI,CAAC,UAAU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;IACf,CAAC;IAEO,KAAK,CAAC,MAAc;QAC1B,OAAO,gCAAgC,CACrC,wBAAwB,EACxB,IAAI,CAAC,UAAU,EACf,MAAM,CACP,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-states-execution-start.d.ts","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/execution/sim-states-execution-start.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-states-execution-start.d.ts","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/execution/sim-states-execution-start.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AAG7F,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AAG7F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAErF,OAAO,KAAK,EACV,wBAAwB,EACxB,8BAA8B,EAC/B,MAAM,wBAAwB,CAAC;AAKhC,UAAU,iCAAiC;IACzC,QAAQ,CAAC,aAAa,EAAE,oBAAoB,CAAC;IAC7C,QAAQ,CAAC,UAAU,EAAE,uBAAuB,CAAC;IAC7C,QAAQ,CAAC,kBAAkB,EAAE,wBAAwB,CAAC;IACtD,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;IACzC,QAAQ,CAAC,KAAK,EAAE,oBAAoB,CAAC;CACtC;AAED;;GAEG;AACH,qBAAa,uBAAuB;;IAOlC,YAAY,UAAU,EAAE,iCAAiC,EAMxD;IAED;;;;;;;;;;;;OAYG;IACG,MAAM,CACV,OAAO,EAAE,wBAAwB,GAChC,OAAO,CAAC,8BAA8B,CAAC,CAwDzC;CACF"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { simStatesContextObject } from "../../data/sim-states-context-object.js";
|
|
1
2
|
import { SimStatesExecution } from "../../execution/sim-states-execution.js";
|
|
2
|
-
import {
|
|
3
|
+
import { simStatesWalks } from "../../execution/sim-states-walks.js";
|
|
3
4
|
import { simStatesExecutionArn } from "../../machine/sim-state-machine-arn.js";
|
|
4
5
|
import { requireSimStateMachine } from "../machine/sim-state-machine-lookup.js";
|
|
5
6
|
import { chooseSimStatesExecutionName } from "./sim-states-execution-name.js";
|
|
@@ -51,12 +52,22 @@ export class SimStatesExecutionStart {
|
|
|
51
52
|
startDate,
|
|
52
53
|
});
|
|
53
54
|
this.#executions.add(execution);
|
|
54
|
-
await
|
|
55
|
-
definition: stateMachine.parsedDefinition,
|
|
56
|
-
execution,
|
|
55
|
+
await simStatesWalks({
|
|
57
56
|
background: this.#background,
|
|
58
57
|
tasks: this.#tasks,
|
|
59
58
|
roleArn: stateMachine.roleArn,
|
|
59
|
+
})({
|
|
60
|
+
definition: stateMachine.parsedDefinition,
|
|
61
|
+
record: execution,
|
|
62
|
+
contextObject: simStatesContextObject({
|
|
63
|
+
executionArn: execution.arn,
|
|
64
|
+
executionName: execution.name,
|
|
65
|
+
input: execution.input,
|
|
66
|
+
startDate,
|
|
67
|
+
stateMachineArn: stateMachine.arn,
|
|
68
|
+
stateMachineName: stateMachine.name,
|
|
69
|
+
roleArn: stateMachine.roleArn,
|
|
70
|
+
}),
|
|
60
71
|
}).run();
|
|
61
72
|
return { executionArn: execution.arn, startDate };
|
|
62
73
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-states-execution-start.js","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/execution/sim-states-execution-start.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"sim-states-execution-start.js","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/execution/sim-states-execution-start.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;AACjF,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAG/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAKhF,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAC9E,OAAO,EAAE,4BAA4B,EAAE,MAAM,kCAAkC,CAAC;AAChF,OAAO,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAU7E;;GAEG;AACH,MAAM,OAAO,uBAAuB;IACzB,cAAc,CAAuB;IACrC,WAAW,CAA0B;IACrC,mBAAmB,CAA2B;IAC9C,WAAW,CAAsB;IACjC,MAAM,CAAuB;IAEtC,YAAY,UAA6C;QACvD,IAAI,CAAC,cAAc,GAAG,UAAU,CAAC,aAAa,CAAC;QAC/C,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC,UAAU,CAAC;QACzC,IAAI,CAAC,mBAAmB,GAAG,UAAU,CAAC,kBAAkB,CAAC;QACzD,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC,UAAU,CAAC;QACzC,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,KAAK,CAAC;IACjC,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,KAAK,CAAC,MAAM,CACV,OAAiC;QAEjC,MAAM,EAAE,eAAe,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC,KAAK,CAAC;QACvD,MAAM,YAAY,GAAG,sBAAsB,CACzC,IAAI,CAAC,cAAc,EACnB,eAA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,YAAY,CAAC,OAAO;aAC9B,CAAC;SACH,CAAC,CAAC,GAAG,EAAE,CAAC;QAET,OAAO,EAAE,YAAY,EAAE,SAAS,CAAC,GAAG,EAAE,SAAS,EAAE,CAAC;IACpD,CAAC;CACF"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import type { SimStateMachineType } from "../../machine/sim-state-machine.js";
|
|
2
|
+
import type { SimStatesTagInput } from "../../machine/sim-state-machine-tag.js";
|
|
2
3
|
export interface SimCreateStateMachineCommandInput {
|
|
3
4
|
readonly name?: string;
|
|
4
5
|
readonly definition?: string;
|
|
5
6
|
readonly roleArn?: string;
|
|
6
7
|
readonly type?: string;
|
|
8
|
+
readonly tags?: readonly SimStatesTagInput[];
|
|
7
9
|
}
|
|
8
10
|
export interface SimCreateStateMachineCommand {
|
|
9
11
|
readonly input: SimCreateStateMachineCommandInput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"machine.command.d.ts","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/machine/machine.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"machine.command.d.ts","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/machine/machine.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAEhF,MAAM,WAAW,iCAAiC;IAChD,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,IAAI,CAAC,EAAE,SAAS,iBAAiB,EAAE,C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AG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAEvE,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,mBAAmB,CAAC;IACnC,QAAQ,CAAC,YAAY,EAAE,IAAI,CAAC;CAC7B;AAED,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,KAAK,EAAE,gCAAgC,CAAC;CAClD;AAED,MAAM,WAAW,iCAAiC;IAChD,QAAQ,CAAC,aAAa,EAAE,SAAS,uBAAuB,EAAE,CAAC;CAC5D"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { SimStatesDefinition } from "../../definition/sim-states-definition.js";
|
|
2
2
|
import type { SimStateMachineType } from "../../machine/sim-state-machine.js";
|
|
3
|
+
import { SimStateMachineTags } from "../../machine/sim-state-machine-tags.js";
|
|
3
4
|
import type * as commands from "./machine.command.js";
|
|
4
5
|
/**
|
|
5
6
|
* What a CreateStateMachine request has to carry, once it has been checked.
|
|
@@ -10,6 +11,7 @@ export interface SimStateMachineCreateInput {
|
|
|
10
11
|
readonly parsed: SimStatesDefinition;
|
|
11
12
|
readonly roleArn: string;
|
|
12
13
|
readonly type: SimStateMachineType;
|
|
14
|
+
readonly tags: SimStateMachineTags;
|
|
13
15
|
}
|
|
14
16
|
/**
|
|
15
17
|
* Check a CreateStateMachine request and read its definition.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-state-machine-input.d.ts","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/machine/sim-state-machine-input.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAErF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAE9E,OAAO,KAAK,KAAK,QAAQ,MAAM,sBAAsB,CAAC;AAEtD;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,MAAM,EAAE,mBAAmB,CAAC;IACrC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,IAAI,EAAE,mBAAmB,CAAC;CACpC;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAC5C,KAAK,EAAE,QAAQ,CAAC,iCAAiC,GAChD,0BAA0B,
|
|
1
|
+
{"version":3,"file":"sim-state-machine-input.d.ts","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/machine/sim-state-machine-input.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAErF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAE9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAC9E,OAAO,KAAK,KAAK,QAAQ,MAAM,sBAAsB,CAAC;AAEtD;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,MAAM,EAAE,mBAAmB,CAAC;IACrC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,IAAI,EAAE,mBAAmB,CAAC;IACnC,QAAQ,CAAC,IAAI,EAAE,mBAAmB,CAAC;CACpC;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAC5C,KAAK,EAAE,QAAQ,CAAC,iCAAiC,GAChD,0BAA0B,CAuB5B;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,MAAM,GAAG,SAAS,GACvB,mBAAmB,CAYrB"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { parseSimStatesDefinition } from "../../definition/sim-states-definition-parse.js";
|
|
2
2
|
import { SimStatesInvalidRequest } from "../../error/sim-step-functions.error.js";
|
|
3
3
|
import { checkSimStatesName } from "../../machine/sim-states-name.js";
|
|
4
|
+
import { SimStateMachineTags } from "../../machine/sim-state-machine-tags.js";
|
|
4
5
|
/**
|
|
5
6
|
* Check a CreateStateMachine request and read its definition.
|
|
6
7
|
*/
|
|
7
8
|
export function readSimStateMachineCreateInput(input) {
|
|
8
|
-
const { name, definition, roleArn, type } = input;
|
|
9
|
+
const { name, definition, roleArn, type, tags } = input;
|
|
9
10
|
if (name === undefined || name === "") {
|
|
10
11
|
throw new SimStatesInvalidRequest("CreateStateMachine needs a name.");
|
|
11
12
|
}
|
|
@@ -21,6 +22,7 @@ export function readSimStateMachineCreateInput(input) {
|
|
|
21
22
|
parsed: parseSimStatesDefinition(definition),
|
|
22
23
|
roleArn,
|
|
23
24
|
type: readSimStateMachineType(type),
|
|
25
|
+
tags: SimStateMachineTags.fromInput(tags),
|
|
24
26
|
};
|
|
25
27
|
}
|
|
26
28
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-state-machine-input.js","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/machine/sim-state-machine-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,iDAAiD,CAAC;AAE3F,OAAO,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AAElF,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-state-machine-input.js","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/machine/sim-state-machine-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,iDAAiD,CAAC;AAE3F,O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-3,4 +3,5 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export type { SimCreateStateMachineCommand, SimCreateStateMachineCommandInput, SimCreateStateMachineCommandOutput, SimDeleteStateMachineCommand, SimDeleteStateMachineCommandInput, SimDeleteStateMachineCommandOutput, SimDescribeStateMachineCommand, SimDescribeStateMachineCommandInput, SimDescribeStateMachineCommandOutput, SimListStateMachinesCommand, SimListStateMachinesCommandInput, SimListStateMachinesCommandOutput, SimStateMachineListItem, SimUpdateStateMachineCommand, SimUpdateStateMachineCommandInput, SimUpdateStateMachineCommandOutput, } from "./machine/machine.command.js";
|
|
5
5
|
export type { SimDescribeExecutionCommand, SimDescribeExecutionCommandInput, SimDescribeExecutionCommandOutput, SimStartExecutionCommand, SimStartExecutionCommandInput, SimStartExecutionCommandOutput, } from "./execution/execution.command.js";
|
|
6
|
+
export type { SimListTagsForResourceCommand, SimListTagsForResourceCommandInput, SimListTagsForResourceCommandOutput, SimTagResourceCommand, SimTagResourceCommandInput, SimTagResourceCommandOutput, SimUntagResourceCommand, SimUntagResourceCommandInput, SimUntagResourceCommandOutput, } from "./tag/tag.command.js";
|
|
6
7
|
//# sourceMappingURL=sim-step-functions-command.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-step-functions-command.types.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/command/sim-step-functions-command.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,YAAY,EACV,4BAA4B,EAC5B,iCAAiC,EACjC,kCAAkC,EAClC,4BAA4B,EAC5B,iCAAiC,EACjC,kCAAkC,EAClC,8BAA8B,EAC9B,mCAAmC,EACnC,oCAAoC,EACpC,2BAA2B,EAC3B,gCAAgC,EAChC,iCAAiC,EACjC,uBAAuB,EACvB,4BAA4B,EAC5B,iCAAiC,EACjC,kCAAkC,GACnC,MAAM,8BAA8B,CAAC;AACtC,YAAY,EACV,2BAA2B,EAC3B,gCAAgC,EAChC,iCAAiC,EACjC,wBAAwB,EACxB,6BAA6B,EAC7B,8BAA8B,GAC/B,MAAM,kCAAkC,CAAC"}
|
|
1
|
+
{"version":3,"file":"sim-step-functions-command.types.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/command/sim-step-functions-command.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,YAAY,EACV,4BAA4B,EAC5B,iCAAiC,EACjC,kCAAkC,EAClC,4BAA4B,EAC5B,iCAAiC,EACjC,kCAAkC,EAClC,8BAA8B,EAC9B,mCAAmC,EACnC,oCAAoC,EACpC,2BAA2B,EAC3B,gCAAgC,EAChC,iCAAiC,EACjC,uBAAuB,EACvB,4BAA4B,EAC5B,iCAAiC,EACjC,kCAAkC,GACnC,MAAM,8BAA8B,CAAC;AACtC,YAAY,EACV,2BAA2B,EAC3B,gCAAgC,EAChC,iCAAiC,EACjC,wBAAwB,EACxB,6BAA6B,EAC7B,8BAA8B,GAC/B,MAAM,kCAAkC,CAAC;AAC1C,YAAY,EACV,6BAA6B,EAC7B,kCAAkC,EAClC,mCAAmC,EACnC,qBAAqB,EACrB,0BAA0B,EAC1B,2BAA2B,EAC3B,uBAAuB,EACvB,4BAA4B,EAC5B,6BAA6B,GAC9B,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { SimStateMachineStore } from "../../machine/sim-state-machine-store.js";
|
|
2
|
+
import type { SimListTagsForResourceCommand, SimListTagsForResourceCommandOutput, SimTagResourceCommand, SimTagResourceCommandOutput, SimUntagResourceCommand, SimUntagResourceCommandOutput } from "./tag.command.js";
|
|
3
|
+
/**
|
|
4
|
+
* The commands that tag, untag and list the tags of a resource.
|
|
5
|
+
*
|
|
6
|
+
* All three name their resource by ARN and reach it the same way, so an ARN
|
|
7
|
+
* naming no state machine gives `ResourceNotFound` whichever of the three
|
|
8
|
+
* asked. A tag request is read before the resource is reached, so a request
|
|
9
|
+
* Step Functions would refuse is refused whether or not the state machine is
|
|
10
|
+
* there.
|
|
11
|
+
*/
|
|
12
|
+
export declare class SimStateMachineTagCommands {
|
|
13
|
+
#private;
|
|
14
|
+
constructor(stateMachines: SimStateMachineStore);
|
|
15
|
+
/**
|
|
16
|
+
* Add tags to a resource, replacing the value of any key already there.
|
|
17
|
+
*/
|
|
18
|
+
tagResource(command: SimTagResourceCommand): SimTagResourceCommandOutput;
|
|
19
|
+
/**
|
|
20
|
+
* Take tags off a resource.
|
|
21
|
+
*/
|
|
22
|
+
untagResource(command: SimUntagResourceCommand): SimUntagResourceCommandOutput;
|
|
23
|
+
/**
|
|
24
|
+
* List the tags a resource holds.
|
|
25
|
+
*/
|
|
26
|
+
listTagsForResource(command: SimListTagsForResourceCommand): SimListTagsForResourceCommandOutput;
|
|
27
|
+
/**
|
|
28
|
+
* The state machine an ARN names, or why it could not be reached.
|
|
29
|
+
*
|
|
30
|
+
* A `states` ARN naming an activity or an execution parses as neither, and
|
|
31
|
+
* is refused as an ARN this simulation tags nothing under. Only a state
|
|
32
|
+
* machine holds tags here.
|
|
33
|
+
*/
|
|
34
|
+
private reach;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=sim-state-machine-tag-commands.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-state-machine-tag-commands.d.ts","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/tag/sim-state-machine-tag-commands.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,KAAK,EACV,6BAA6B,EAC7B,mCAAmC,EACnC,qBAAqB,EACrB,2BAA2B,EAC3B,uBAAuB,EACvB,6BAA6B,EAC9B,MAAM,kBAAkB,CAAC;AAE1B;;;;;;;;GAQG;AACH,qBAAa,0BAA0B;;IAGrC,YAAY,aAAa,EAAE,oBAAoB,EAE9C;IAED;;OAEG;IACH,WAAW,CAAC,OAAO,EAAE,qBAAqB,GAAG,2BAA2B,CAevE;IAED;;OAEG;IACH,aAAa,CACX,OAAO,EAAE,uBAAuB,GAC/B,6BAA6B,CAa/B;IAED;;OAEG;IACH,mBAAmB,CACjB,OAAO,EAAE,6BAA6B,GACrC,mCAAmC,CAOrC;IAED;;;;;;OAMG;IACH,OAAO,CAAC,KAAK;CAyBd"}
|