@kensio/yulin 1.20.0 → 1.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -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 +8 -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 +11 -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 +17 -1
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.js.map +1 -1
- package/dist/service/aws/factory/sim-aws-cross-account-collaborators.d.ts +10 -0
- package/dist/service/aws/factory/sim-aws-cross-account-collaborators.d.ts.map +1 -1
- package/dist/service/aws/factory/sim-aws-cross-account-collaborators.js +15 -0
- package/dist/service/aws/factory/sim-aws-cross-account-collaborators.js.map +1 -1
- package/dist/service/aws/factory/sim-aws-self-contained-service-builder.d.ts +9 -0
- package/dist/service/aws/factory/sim-aws-self-contained-service-builder.d.ts.map +1 -1
- package/dist/service/aws/factory/sim-aws-self-contained-service-builder.js +15 -0
- package/dist/service/aws/factory/sim-aws-self-contained-service-builder.js.map +1 -1
- package/dist/service/aws/factory/sim-aws-service-factory.d.ts +6 -0
- package/dist/service/aws/factory/sim-aws-service-factory.d.ts.map +1 -1
- package/dist/service/aws/factory/sim-aws-service-factory.js +8 -0
- package/dist/service/aws/factory/sim-aws-service-factory.js.map +1 -1
- package/dist/service/aws/sim-aws-account-region-scope.d.ts +6 -0
- package/dist/service/aws/sim-aws-account-region-scope.d.ts.map +1 -1
- package/dist/service/aws/sim-aws-account-region-scope.js +8 -0
- package/dist/service/aws/sim-aws-account-region-scope.js.map +1 -1
- package/dist/service/aws/sim-aws-account.d.ts +5 -0
- package/dist/service/aws/sim-aws-account.d.ts.map +1 -1
- package/dist/service/aws/sim-aws-account.js +6 -0
- package/dist/service/aws/sim-aws-account.js.map +1 -1
- package/dist/service/aws/sim-aws-region.d.ts +5 -0
- package/dist/service/aws/sim-aws-region.d.ts.map +1 -1
- package/dist/service/aws/sim-aws-region.js +6 -0
- package/dist/service/aws/sim-aws-region.js.map +1 -1
- package/dist/service/aws/sim-aws-service-accessors.d.ts +6 -0
- package/dist/service/aws/sim-aws-service-accessors.d.ts.map +1 -1
- package/dist/service/aws/sim-aws-service-accessors.js +8 -0
- package/dist/service/aws/sim-aws-service-accessors.js.map +1 -1
- package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-cfn-value-adapter.d.ts +6 -0
- package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-cfn-value-adapter.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-cfn-value-adapter.js +15 -0
- package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-cfn-value-adapter.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-delivery-stream-cfn.d.ts +23 -0
- package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-delivery-stream-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-delivery-stream-cfn.js +29 -0
- package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-delivery-stream-cfn.js.map +1 -0
- 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 -0
- package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.js.map +1 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.d.ts +27 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.js +47 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.d.ts +49 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.js +89 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.d.ts +23 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.js +28 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.d.ts +57 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.js +99 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.d.ts +21 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.js +37 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.d.ts +32 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.js +56 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.d.ts +20 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.js +28 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.d.ts +43 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.js +64 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.d.ts +10 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.js +10 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-state-machine-cfn.d.ts +27 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-state-machine-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-state-machine-cfn.js +37 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-state-machine-cfn.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.d.ts +31 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.js +42 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.d.ts +7 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.js +16 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.js.map +1 -0
- 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 +11 -0
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.js.map +1 -1
- package/dist/service/cloudfront/command/create-distribution/create-distribution.command.d.ts +25 -0
- package/dist/service/cloudfront/command/create-distribution/create-distribution.command.d.ts.map +1 -1
- package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.d.ts +0 -1
- package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.d.ts.map +1 -1
- package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.js +8 -36
- package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.js.map +1 -1
- package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-list.d.ts +19 -0
- package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-list.d.ts.map +1 -0
- package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-list.js +39 -0
- package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-list.js.map +1 -0
- package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-origin.d.ts +10 -0
- package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-origin.d.ts.map +1 -0
- package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-origin.js +17 -0
- package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-origin.js.map +1 -0
- 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 +8 -0
- package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.js.map +1 -1
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.d.ts +4 -0
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.d.ts.map +1 -1
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.js +7 -0
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.js.map +1 -1
- package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.d.ts +6 -0
- 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 +3 -0
- package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.js.map +1 -1
- package/dist/service/cloudfront/origin/sim-cf-origin-custom-headers.d.ts +15 -0
- package/dist/service/cloudfront/origin/sim-cf-origin-custom-headers.d.ts.map +1 -0
- package/dist/service/cloudfront/origin/sim-cf-origin-custom-headers.js +74 -0
- package/dist/service/cloudfront/origin/sim-cf-origin-custom-headers.js.map +1 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-creator.d.ts +33 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-creator.d.ts.map +1 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-creator.js +44 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-creator.js.map +1 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-name.d.ts +23 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-name.d.ts.map +1 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-name.js +28 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-name.js.map +1 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-properties.d.ts +48 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-properties.d.ts.map +1 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-properties.js +92 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-properties.js.map +1 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-property-names.d.ts +51 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-property-names.d.ts.map +1 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-property-names.js +114 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-property-names.js.map +1 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-destination-choice.d.ts +19 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-destination-choice.d.ts.map +1 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-destination-choice.js +44 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-destination-choice.js.map +1 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-s3-destination.d.ts +47 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-s3-destination.d.ts.map +1 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-s3-destination.js +105 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-s3-destination.js.map +1 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-source-choice.d.ts +19 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-source-choice.d.ts.map +1 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-source-choice.js +58 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-source-choice.js.map +1 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-tags.d.ts +11 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-tags.d.ts.map +1 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-tags.js +33 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-tags.js.map +1 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-archive.resources.d.ts +44 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-archive.resources.d.ts.map +1 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-archive.resources.js +144 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-archive.resources.js.map +1 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-delivery-stream-template.factory.d.ts +51 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-delivery-stream-template.factory.d.ts.map +1 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-delivery-stream-template.factory.js +65 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-delivery-stream-template.factory.js.map +1 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-resource-deleter.d.ts +19 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-resource-deleter.d.ts.map +1 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-resource-deleter.js +26 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-resource-deleter.js.map +1 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-resource-error.d.ts +44 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-resource-error.d.ts.map +1 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-resource-error.js +75 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-resource-error.js.map +1 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-resource-types.d.ts +14 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-resource-types.d.ts.map +1 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-resource-types.js +14 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-resource-types.js.map +1 -0
- package/dist/service/firehose/cfn/sim-firehose-cfn-resource-factory.d.ts +29 -0
- package/dist/service/firehose/cfn/sim-firehose-cfn-resource-factory.d.ts.map +1 -0
- package/dist/service/firehose/cfn/sim-firehose-cfn-resource-factory.js +38 -0
- package/dist/service/firehose/cfn/sim-firehose-cfn-resource-factory.js.map +1 -0
- package/dist/service/firehose/command/authorize/sim-firehose-authorizer.d.ts +39 -0
- package/dist/service/firehose/command/authorize/sim-firehose-authorizer.d.ts.map +1 -0
- package/dist/service/firehose/command/authorize/sim-firehose-authorizer.js +49 -0
- package/dist/service/firehose/command/authorize/sim-firehose-authorizer.js.map +1 -0
- package/dist/service/firehose/command/record/record.command.d.ts +55 -0
- package/dist/service/firehose/command/record/record.command.d.ts.map +1 -0
- package/dist/service/firehose/command/record/record.command.js +2 -0
- package/dist/service/firehose/command/record/record.command.js.map +1 -0
- package/dist/service/firehose/command/record/sim-firehose-put-commands.d.ts +43 -0
- package/dist/service/firehose/command/record/sim-firehose-put-commands.d.ts.map +1 -0
- package/dist/service/firehose/command/record/sim-firehose-put-commands.js +59 -0
- package/dist/service/firehose/command/record/sim-firehose-put-commands.js.map +1 -0
- package/dist/service/firehose/command/record/sim-firehose-record-data.d.ts +21 -0
- package/dist/service/firehose/command/record/sim-firehose-record-data.d.ts.map +1 -0
- package/dist/service/firehose/command/record/sim-firehose-record-data.js +54 -0
- package/dist/service/firehose/command/record/sim-firehose-record-data.js.map +1 -0
- package/dist/service/firehose/command/sim-firehose-command.types.d.ts +6 -0
- package/dist/service/firehose/command/sim-firehose-command.types.d.ts.map +1 -0
- package/dist/service/firehose/command/sim-firehose-command.types.js +2 -0
- package/dist/service/firehose/command/sim-firehose-command.types.js.map +1 -0
- package/dist/service/firehose/command/sim-firehose-commands.d.ts +37 -0
- package/dist/service/firehose/command/sim-firehose-commands.d.ts.map +1 -0
- package/dist/service/firehose/command/sim-firehose-commands.js +57 -0
- package/dist/service/firehose/command/sim-firehose-commands.js.map +1 -0
- package/dist/service/firehose/command/sim-firehose-delivery-stream-access.d.ts +47 -0
- package/dist/service/firehose/command/sim-firehose-delivery-stream-access.d.ts.map +1 -0
- package/dist/service/firehose/command/sim-firehose-delivery-stream-access.js +58 -0
- package/dist/service/firehose/command/sim-firehose-delivery-stream-access.js.map +1 -0
- package/dist/service/firehose/command/sim-firehose-request-options.d.ts +12 -0
- package/dist/service/firehose/command/sim-firehose-request-options.d.ts.map +1 -0
- package/dist/service/firehose/command/sim-firehose-request-options.js +2 -0
- package/dist/service/firehose/command/sim-firehose-request-options.js.map +1 -0
- package/dist/service/firehose/command/stream/sim-firehose-create-delivery-stream.d.ts +49 -0
- package/dist/service/firehose/command/stream/sim-firehose-create-delivery-stream.d.ts.map +1 -0
- package/dist/service/firehose/command/stream/sim-firehose-create-delivery-stream.js +69 -0
- package/dist/service/firehose/command/stream/sim-firehose-create-delivery-stream.js.map +1 -0
- package/dist/service/firehose/command/stream/sim-firehose-delivery-stream-page.d.ts +19 -0
- package/dist/service/firehose/command/stream/sim-firehose-delivery-stream-page.d.ts.map +1 -0
- package/dist/service/firehose/command/stream/sim-firehose-delivery-stream-page.js +24 -0
- package/dist/service/firehose/command/stream/sim-firehose-delivery-stream-page.js.map +1 -0
- package/dist/service/firehose/command/stream/sim-firehose-stream-commands.d.ts +50 -0
- package/dist/service/firehose/command/stream/sim-firehose-stream-commands.d.ts.map +1 -0
- package/dist/service/firehose/command/stream/sim-firehose-stream-commands.js +72 -0
- package/dist/service/firehose/command/stream/sim-firehose-stream-commands.js.map +1 -0
- package/dist/service/firehose/command/stream/sim-firehose-stream-descriptions.d.ts +7 -0
- package/dist/service/firehose/command/stream/sim-firehose-stream-descriptions.d.ts.map +1 -0
- package/dist/service/firehose/command/stream/sim-firehose-stream-descriptions.js +70 -0
- package/dist/service/firehose/command/stream/sim-firehose-stream-descriptions.js.map +1 -0
- package/dist/service/firehose/command/stream/stream.command.d.ts +137 -0
- package/dist/service/firehose/command/stream/stream.command.d.ts.map +1 -0
- package/dist/service/firehose/command/stream/stream.command.js +2 -0
- package/dist/service/firehose/command/stream/stream.command.js.map +1 -0
- package/dist/service/firehose/delivery/sim-firehose-buffer.d.ts +36 -0
- package/dist/service/firehose/delivery/sim-firehose-buffer.d.ts.map +1 -0
- package/dist/service/firehose/delivery/sim-firehose-buffer.js +55 -0
- package/dist/service/firehose/delivery/sim-firehose-buffer.js.map +1 -0
- package/dist/service/firehose/delivery/sim-firehose-delivery-failures.d.ts +34 -0
- package/dist/service/firehose/delivery/sim-firehose-delivery-failures.d.ts.map +1 -0
- package/dist/service/firehose/delivery/sim-firehose-delivery-failures.js +24 -0
- package/dist/service/firehose/delivery/sim-firehose-delivery-failures.js.map +1 -0
- package/dist/service/firehose/delivery/sim-firehose-delivery.d.ts +47 -0
- package/dist/service/firehose/delivery/sim-firehose-delivery.d.ts.map +1 -0
- package/dist/service/firehose/delivery/sim-firehose-delivery.js +76 -0
- package/dist/service/firehose/delivery/sim-firehose-delivery.js.map +1 -0
- package/dist/service/firehose/delivery/sim-firehose-object-key.d.ts +21 -0
- package/dist/service/firehose/delivery/sim-firehose-object-key.d.ts.map +1 -0
- package/dist/service/firehose/delivery/sim-firehose-object-key.js +27 -0
- package/dist/service/firehose/delivery/sim-firehose-object-key.js.map +1 -0
- package/dist/service/firehose/delivery/sim-firehose-object-writer.d.ts +50 -0
- package/dist/service/firehose/delivery/sim-firehose-object-writer.d.ts.map +1 -0
- package/dist/service/firehose/delivery/sim-firehose-object-writer.js +57 -0
- package/dist/service/firehose/delivery/sim-firehose-object-writer.js.map +1 -0
- package/dist/service/firehose/destination/sim-firehose-buffering-hints.d.ts +29 -0
- package/dist/service/firehose/destination/sim-firehose-buffering-hints.d.ts.map +1 -0
- package/dist/service/firehose/destination/sim-firehose-buffering-hints.js +45 -0
- package/dist/service/firehose/destination/sim-firehose-buffering-hints.js.map +1 -0
- package/dist/service/firehose/destination/sim-firehose-destination-choice.d.ts +35 -0
- package/dist/service/firehose/destination/sim-firehose-destination-choice.d.ts.map +1 -0
- package/dist/service/firehose/destination/sim-firehose-destination-choice.js +48 -0
- package/dist/service/firehose/destination/sim-firehose-destination-choice.js.map +1 -0
- package/dist/service/firehose/destination/sim-firehose-s3-destination.d.ts +32 -0
- package/dist/service/firehose/destination/sim-firehose-s3-destination.d.ts.map +1 -0
- package/dist/service/firehose/destination/sim-firehose-s3-destination.js +51 -0
- package/dist/service/firehose/destination/sim-firehose-s3-destination.js.map +1 -0
- package/dist/service/firehose/error/sim-firehose.error.d.ts +69 -0
- package/dist/service/firehose/error/sim-firehose.error.d.ts.map +1 -0
- package/dist/service/firehose/error/sim-firehose.error.js +79 -0
- package/dist/service/firehose/error/sim-firehose.error.js.map +1 -0
- package/dist/service/firehose/failure/sim-firehose-failure.d.ts +38 -0
- package/dist/service/firehose/failure/sim-firehose-failure.d.ts.map +1 -0
- package/dist/service/firehose/failure/sim-firehose-failure.js +40 -0
- package/dist/service/firehose/failure/sim-firehose-failure.js.map +1 -0
- package/dist/service/firehose/failure/sim-firehose-failures.d.ts +32 -0
- package/dist/service/firehose/failure/sim-firehose-failures.d.ts.map +1 -0
- package/dist/service/firehose/failure/sim-firehose-failures.js +47 -0
- package/dist/service/firehose/failure/sim-firehose-failures.js.map +1 -0
- package/dist/service/firehose/index.d.ts +17 -0
- package/dist/service/firehose/index.d.ts.map +1 -0
- package/dist/service/firehose/index.js +12 -0
- package/dist/service/firehose/index.js.map +1 -0
- package/dist/service/firehose/sdk/sim-firehose-sdk-command-router.d.ts +18 -0
- package/dist/service/firehose/sdk/sim-firehose-sdk-command-router.d.ts.map +1 -0
- package/dist/service/firehose/sdk/sim-firehose-sdk-command-router.js +48 -0
- package/dist/service/firehose/sdk/sim-firehose-sdk-command-router.js.map +1 -0
- package/dist/service/firehose/sim-firehose.d.ts +104 -0
- package/dist/service/firehose/sim-firehose.d.ts.map +1 -0
- package/dist/service/firehose/sim-firehose.js +130 -0
- package/dist/service/firehose/sim-firehose.js.map +1 -0
- package/dist/service/firehose/source/read/sim-firehose-source-poll.d.ts +39 -0
- package/dist/service/firehose/source/read/sim-firehose-source-poll.d.ts.map +1 -0
- package/dist/service/firehose/source/read/sim-firehose-source-poll.js +48 -0
- package/dist/service/firehose/source/read/sim-firehose-source-poll.js.map +1 -0
- package/dist/service/firehose/source/read/sim-firehose-source-reader.d.ts +62 -0
- package/dist/service/firehose/source/read/sim-firehose-source-reader.d.ts.map +1 -0
- package/dist/service/firehose/source/read/sim-firehose-source-reader.js +94 -0
- package/dist/service/firehose/source/read/sim-firehose-source-reader.js.map +1 -0
- package/dist/service/firehose/source/read/sim-firehose-source-reading.d.ts +39 -0
- package/dist/service/firehose/source/read/sim-firehose-source-reading.d.ts.map +1 -0
- package/dist/service/firehose/source/read/sim-firehose-source-reading.js +48 -0
- package/dist/service/firehose/source/read/sim-firehose-source-reading.js.map +1 -0
- package/dist/service/firehose/source/read/sim-firehose-source-shard-ids.d.ts +12 -0
- package/dist/service/firehose/source/read/sim-firehose-source-shard-ids.d.ts.map +1 -0
- package/dist/service/firehose/source/read/sim-firehose-source-shard-ids.js +56 -0
- package/dist/service/firehose/source/read/sim-firehose-source-shard-ids.js.map +1 -0
- package/dist/service/firehose/source/read/sim-firehose-source-shard.d.ts +36 -0
- package/dist/service/firehose/source/read/sim-firehose-source-shard.d.ts.map +1 -0
- package/dist/service/firehose/source/read/sim-firehose-source-shard.js +45 -0
- package/dist/service/firehose/source/read/sim-firehose-source-shard.js.map +1 -0
- package/dist/service/firehose/source/read/sim-firehose-source-shards.d.ts +42 -0
- package/dist/service/firehose/source/read/sim-firehose-source-shards.d.ts.map +1 -0
- package/dist/service/firehose/source/read/sim-firehose-source-shards.js +53 -0
- package/dist/service/firehose/source/read/sim-firehose-source-shards.js.map +1 -0
- package/dist/service/firehose/source/sim-firehose-kinesis-source-arn.d.ts +29 -0
- package/dist/service/firehose/source/sim-firehose-kinesis-source-arn.d.ts.map +1 -0
- package/dist/service/firehose/source/sim-firehose-kinesis-source-arn.js +57 -0
- package/dist/service/firehose/source/sim-firehose-kinesis-source-arn.js.map +1 -0
- package/dist/service/firehose/source/sim-firehose-record-source.d.ts +140 -0
- package/dist/service/firehose/source/sim-firehose-record-source.d.ts.map +1 -0
- package/dist/service/firehose/source/sim-firehose-record-source.js +53 -0
- package/dist/service/firehose/source/sim-firehose-record-source.js.map +1 -0
- package/dist/service/firehose/source/sim-firehose-source-choice.d.ts +26 -0
- package/dist/service/firehose/source/sim-firehose-source-choice.d.ts.map +1 -0
- package/dist/service/firehose/source/sim-firehose-source-choice.js +68 -0
- package/dist/service/firehose/source/sim-firehose-source-choice.js.map +1 -0
- package/dist/service/firehose/source/sim-firehose-source-failures.d.ts +38 -0
- package/dist/service/firehose/source/sim-firehose-source-failures.d.ts.map +1 -0
- package/dist/service/firehose/source/sim-firehose-source-failures.js +33 -0
- package/dist/service/firehose/source/sim-firehose-source-failures.js.map +1 -0
- package/dist/service/firehose/source/sim-firehose-source.d.ts +64 -0
- package/dist/service/firehose/source/sim-firehose-source.d.ts.map +1 -0
- package/dist/service/firehose/source/sim-firehose-source.js +58 -0
- package/dist/service/firehose/source/sim-firehose-source.js.map +1 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream-arn.d.ts +10 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream-arn.d.ts.map +1 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream-arn.js +12 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream-arn.js.map +1 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream-name.d.ts +9 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream-name.d.ts.map +1 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream-name.js +25 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream-name.js.map +1 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream-store.d.ts +37 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream-store.d.ts.map +1 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream-store.js +55 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream-store.js.map +1 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream.d.ts +50 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream.d.ts.map +1 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream.factory.d.ts +57 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream.factory.d.ts.map +1 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream.factory.js +61 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream.factory.js.map +1 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream.js +42 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream.js.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-group-test.d.ts +32 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-group-test.d.ts.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-group-test.js +42 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-group-test.js.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-operand.d.ts +29 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-operand.d.ts.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-operand.js +38 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-operand.js.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-parse.d.ts +15 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-parse.d.ts.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-parse.js +44 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-parse.js.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-rule-record.d.ts +10 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-rule-record.d.ts.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-rule-record.js +31 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-rule-record.js.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-rule.d.ts +15 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-rule.d.ts.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-rule.js +18 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-rule.js.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-test-parse.d.ts +7 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-test-parse.d.ts.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-test-parse.js +72 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-test-parse.js.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-test.d.ts +33 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-test.d.ts.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-test.js +34 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-test.js.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-comparison-families.d.ts +26 -0
- package/dist/service/stepfunctions/choice/sim-states-comparison-families.d.ts.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-comparison-families.js +65 -0
- package/dist/service/stepfunctions/choice/sim-states-comparison-families.js.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-comparison-parse.d.ts +15 -0
- package/dist/service/stepfunctions/choice/sim-states-comparison-parse.d.ts.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-comparison-parse.js +43 -0
- package/dist/service/stepfunctions/choice/sim-states-comparison-parse.js.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-comparison.d.ts +49 -0
- package/dist/service/stepfunctions/choice/sim-states-comparison.d.ts.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-comparison.js +51 -0
- package/dist/service/stepfunctions/choice/sim-states-comparison.js.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-comparisons.d.ts +6 -0
- package/dist/service/stepfunctions/choice/sim-states-comparisons.d.ts.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-comparisons.js +64 -0
- package/dist/service/stepfunctions/choice/sim-states-comparisons.js.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-glob.d.ts +14 -0
- package/dist/service/stepfunctions/choice/sim-states-glob.d.ts.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-glob.js +73 -0
- package/dist/service/stepfunctions/choice/sim-states-glob.js.map +1 -0
- package/dist/service/stepfunctions/command/execution/execution.command.d.ts +32 -0
- package/dist/service/stepfunctions/command/execution/execution.command.d.ts.map +1 -0
- package/dist/service/stepfunctions/command/execution/execution.command.js +2 -0
- package/dist/service/stepfunctions/command/execution/execution.command.js.map +1 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-describe.d.ts +11 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-describe.d.ts.map +1 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-describe.js +23 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-describe.js.map +1 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-name.d.ts +12 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-name.d.ts.map +1 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-name.js +23 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-name.js.map +1 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-repeat.d.ts +12 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-repeat.d.ts.map +1 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-repeat.js +21 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-repeat.js.map +1 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-start.d.ts +36 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-start.d.ts.map +1 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-start.js +64 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-start.js.map +1 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-view.d.ts +18 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-view.d.ts.map +1 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-view.js +41 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-view.js.map +1 -0
- package/dist/service/stepfunctions/command/machine/machine.command.d.ts +63 -0
- package/dist/service/stepfunctions/command/machine/machine.command.d.ts.map +1 -0
- package/dist/service/stepfunctions/command/machine/machine.command.js +2 -0
- package/dist/service/stepfunctions/command/machine/machine.command.js.map +1 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-create.d.ts +30 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-create.d.ts.map +1 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-create.js +64 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-create.js.map +1 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-input.d.ts +22 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-input.d.ts.map +1 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-input.js +38 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-input.js.map +1 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-lookup.d.ts +7 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-lookup.d.ts.map +1 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-lookup.js +15 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-lookup.js.map +1 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-reads.d.ts +18 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-reads.d.ts.map +1 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-reads.js +49 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-reads.js.map +1 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-writes.d.ts +26 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-writes.d.ts.map +1 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-writes.js +44 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-writes.js.map +1 -0
- package/dist/service/stepfunctions/command/sim-step-functions-command.types.d.ts +6 -0
- package/dist/service/stepfunctions/command/sim-step-functions-command.types.d.ts.map +1 -0
- package/dist/service/stepfunctions/command/sim-step-functions-command.types.js +2 -0
- package/dist/service/stepfunctions/command/sim-step-functions-command.types.js.map +1 -0
- package/dist/service/stepfunctions/command/sim-step-functions-request-options.d.ts +12 -0
- package/dist/service/stepfunctions/command/sim-step-functions-request-options.d.ts.map +1 -0
- package/dist/service/stepfunctions/command/sim-step-functions-request-options.js +2 -0
- package/dist/service/stepfunctions/command/sim-step-functions-request-options.js.map +1 -0
- package/dist/service/stepfunctions/data/sim-states-result-path.js +1 -1
- package/dist/service/stepfunctions/data/sim-states-result-path.js.map +1 -1
- package/dist/service/stepfunctions/data/sim-states-timestamp-fields.d.ts +10 -0
- package/dist/service/stepfunctions/data/sim-states-timestamp-fields.d.ts.map +1 -0
- package/dist/service/stepfunctions/data/sim-states-timestamp-fields.js +45 -0
- package/dist/service/stepfunctions/data/sim-states-timestamp-fields.js.map +1 -0
- package/dist/service/stepfunctions/data/sim-states-timestamp.d.ts +10 -0
- package/dist/service/stepfunctions/data/sim-states-timestamp.d.ts.map +1 -0
- package/dist/service/stepfunctions/data/sim-states-timestamp.js +26 -0
- package/dist/service/stepfunctions/data/sim-states-timestamp.js.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-definition-parse.d.ts +10 -0
- package/dist/service/stepfunctions/definition/sim-states-definition-parse.d.ts.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-definition-parse.js +61 -0
- package/dist/service/stepfunctions/definition/sim-states-definition-parse.js.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-definition.d.ts +15 -0
- package/dist/service/stepfunctions/definition/sim-states-definition.d.ts.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-definition.js +2 -0
- package/dist/service/stepfunctions/definition/sim-states-definition.js.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-state-fields.d.ts +17 -0
- package/dist/service/stepfunctions/definition/sim-states-state-fields.d.ts.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-state-fields.js +47 -0
- package/dist/service/stepfunctions/definition/sim-states-state-fields.js.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-state-parse.d.ts +7 -0
- package/dist/service/stepfunctions/definition/sim-states-state-parse.d.ts.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-state-parse.js +67 -0
- package/dist/service/stepfunctions/definition/sim-states-state-parse.js.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-state.d.ts +98 -0
- package/dist/service/stepfunctions/definition/sim-states-state.d.ts.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-state.js +34 -0
- package/dist/service/stepfunctions/definition/sim-states-state.js.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-transitions.d.ts +10 -0
- package/dist/service/stepfunctions/definition/sim-states-transitions.d.ts.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-transitions.js +79 -0
- package/dist/service/stepfunctions/definition/sim-states-transitions.js.map +1 -0
- package/dist/service/stepfunctions/error/sim-step-functions.error.d.ts +99 -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 +119 -0
- package/dist/service/stepfunctions/error/sim-step-functions.error.js.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-execution-store.d.ts +33 -0
- package/dist/service/stepfunctions/execution/sim-states-execution-store.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-execution-store.js +55 -0
- package/dist/service/stepfunctions/execution/sim-states-execution-store.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-execution.d.ts +53 -0
- package/dist/service/stepfunctions/execution/sim-states-execution.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-execution.js +77 -0
- package/dist/service/stepfunctions/execution/sim-states-execution.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-failure.d.ts +24 -0
- package/dist/service/stepfunctions/execution/sim-states-failure.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-failure.js +50 -0
- package/dist/service/stepfunctions/execution/sim-states-failure.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-interpreter.d.ts +42 -0
- package/dist/service/stepfunctions/execution/sim-states-interpreter.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-interpreter.js +124 -0
- package/dist/service/stepfunctions/execution/sim-states-interpreter.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-choice.d.ts +12 -0
- package/dist/service/stepfunctions/execution/sim-states-run-choice.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-choice.js +24 -0
- package/dist/service/stepfunctions/execution/sim-states-run-choice.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-state.d.ts +15 -0
- package/dist/service/stepfunctions/execution/sim-states-run-state.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-state.js +68 -0
- package/dist/service/stepfunctions/execution/sim-states-run-state.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-task.d.ts +14 -0
- package/dist/service/stepfunctions/execution/sim-states-run-task.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-task.js +23 -0
- package/dist/service/stepfunctions/execution/sim-states-run-task.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-wait.d.ts +11 -0
- package/dist/service/stepfunctions/execution/sim-states-run-wait.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-wait.js +21 -0
- package/dist/service/stepfunctions/execution/sim-states-run-wait.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-settlement.d.ts +27 -0
- package/dist/service/stepfunctions/execution/sim-states-settlement.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-settlement.js +33 -0
- package/dist/service/stepfunctions/execution/sim-states-settlement.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-state-outcome.d.ts +46 -0
- package/dist/service/stepfunctions/execution/sim-states-state-outcome.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-state-outcome.js +2 -0
- package/dist/service/stepfunctions/execution/sim-states-state-outcome.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-state-runner.d.ts +27 -0
- package/dist/service/stepfunctions/execution/sim-states-state-runner.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-state-runner.js +36 -0
- package/dist/service/stepfunctions/execution/sim-states-state-runner.js.map +1 -0
- package/dist/service/stepfunctions/index.d.ts +16 -0
- package/dist/service/stepfunctions/index.d.ts.map +1 -0
- package/dist/service/stepfunctions/index.js +9 -0
- package/dist/service/stepfunctions/index.js.map +1 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-arn.d.ts +30 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-arn.d.ts.map +1 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-arn.js +48 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-arn.js.map +1 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-store.d.ts +20 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-store.d.ts.map +1 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-store.js +32 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-store.js.map +1 -0
- package/dist/service/stepfunctions/machine/sim-state-machine.d.ts +54 -0
- package/dist/service/stepfunctions/machine/sim-state-machine.d.ts.map +1 -0
- package/dist/service/stepfunctions/machine/sim-state-machine.js +60 -0
- package/dist/service/stepfunctions/machine/sim-state-machine.js.map +1 -0
- package/dist/service/stepfunctions/machine/sim-states-name.d.ts +10 -0
- package/dist/service/stepfunctions/machine/sim-states-name.d.ts.map +1 -0
- package/dist/service/stepfunctions/machine/sim-states-name.js +42 -0
- package/dist/service/stepfunctions/machine/sim-states-name.js.map +1 -0
- package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.d.ts +19 -0
- package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.d.ts.map +1 -0
- package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.js +53 -0
- package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.js.map +1 -0
- package/dist/service/stepfunctions/sim-step-functions-inspection.d.ts +22 -0
- package/dist/service/stepfunctions/sim-step-functions-inspection.d.ts.map +1 -0
- package/dist/service/stepfunctions/sim-step-functions-inspection.js +29 -0
- package/dist/service/stepfunctions/sim-step-functions-inspection.js.map +1 -0
- package/dist/service/stepfunctions/sim-step-functions.d.ts +67 -0
- package/dist/service/stepfunctions/sim-step-functions.d.ts.map +1 -0
- package/dist/service/stepfunctions/sim-step-functions.js +124 -0
- package/dist/service/stepfunctions/sim-step-functions.js.map +1 -0
- package/dist/service/stepfunctions/task/sim-aws-states-task-targets.d.ts +33 -0
- package/dist/service/stepfunctions/task/sim-aws-states-task-targets.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/sim-aws-states-task-targets.js +49 -0
- package/dist/service/stepfunctions/task/sim-aws-states-task-targets.js.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-execution-role.d.ts +25 -0
- package/dist/service/stepfunctions/task/sim-states-execution-role.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-execution-role.js +57 -0
- package/dist/service/stepfunctions/task/sim-states-execution-role.js.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-function-arn-target.d.ts +31 -0
- package/dist/service/stepfunctions/task/sim-states-function-arn-target.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-function-arn-target.js +39 -0
- package/dist/service/stepfunctions/task/sim-states-function-arn-target.js.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-function-location.d.ts +20 -0
- package/dist/service/stepfunctions/task/sim-states-function-location.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-function-location.js +28 -0
- package/dist/service/stepfunctions/task/sim-states-function-location.js.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.d.ts +34 -0
- package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.js +65 -0
- package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.js.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-no-task-targets.d.ts +16 -0
- package/dist/service/stepfunctions/task/sim-states-no-task-targets.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-no-task-targets.js +19 -0
- package/dist/service/stepfunctions/task/sim-states-no-task-targets.js.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-task-fields.d.ts +14 -0
- package/dist/service/stepfunctions/task/sim-states-task-fields.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-task-fields.js +29 -0
- package/dist/service/stepfunctions/task/sim-states-task-fields.js.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-task-function.d.ts +57 -0
- package/dist/service/stepfunctions/task/sim-states-task-function.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-task-function.js +93 -0
- package/dist/service/stepfunctions/task/sim-states-task-function.js.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-task-invocation.d.ts +29 -0
- package/dist/service/stepfunctions/task/sim-states-task-invocation.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-task-invocation.js +2 -0
- package/dist/service/stepfunctions/task/sim-states-task-invocation.js.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-task-resource.d.ts +12 -0
- package/dist/service/stepfunctions/task/sim-states-task-resource.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-task-resource.js +64 -0
- package/dist/service/stepfunctions/task/sim-states-task-resource.js.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-task-target.d.ts +37 -0
- package/dist/service/stepfunctions/task/sim-states-task-target.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-task-target.js +12 -0
- package/dist/service/stepfunctions/task/sim-states-task-target.js.map +1 -0
- package/dist/service/stepfunctions/wait/sim-states-wait-due.d.ts +11 -0
- package/dist/service/stepfunctions/wait/sim-states-wait-due.d.ts.map +1 -0
- package/dist/service/stepfunctions/wait/sim-states-wait-due.js +67 -0
- package/dist/service/stepfunctions/wait/sim-states-wait-due.js.map +1 -0
- package/dist/service/stepfunctions/wait/sim-states-wait-fields.d.ts +18 -0
- package/dist/service/stepfunctions/wait/sim-states-wait-fields.d.ts.map +1 -0
- package/dist/service/stepfunctions/wait/sim-states-wait-fields.js +85 -0
- package/dist/service/stepfunctions/wait/sim-states-wait-fields.js.map +1 -0
- package/package.json +11 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { SimStateMachine } from "../../machine/sim-state-machine.js";
|
|
2
|
+
import type { SimStateMachineStore } from "../../machine/sim-state-machine-store.js";
|
|
3
|
+
/**
|
|
4
|
+
* Find the state machine a request's ARN names, or say why it could not be.
|
|
5
|
+
*/
|
|
6
|
+
export declare function requireSimStateMachine(stateMachines: SimStateMachineStore, arn: string | undefined, commandName: string): SimStateMachine;
|
|
7
|
+
//# sourceMappingURL=sim-state-machine-lookup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-state-machine-lookup.d.ts","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/machine/sim-state-machine-lookup.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAC1E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAErF;;GAEG;AACH,wBAAgB,sBAAsB,CACpC,aAAa,EAAE,oBAAoB,EACnC,GAAG,EAAE,MAAM,GAAG,SAAS,EACvB,WAAW,EAAE,MAAM,GAClB,eAAe,CAgBjB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { SimStatesInvalidRequest, SimStatesResourceNotFound, } from "../../error/sim-step-functions.error.js";
|
|
2
|
+
/**
|
|
3
|
+
* Find the state machine a request's ARN names, or say why it could not be.
|
|
4
|
+
*/
|
|
5
|
+
export function requireSimStateMachine(stateMachines, arn, commandName) {
|
|
6
|
+
if (arn === undefined) {
|
|
7
|
+
throw new SimStatesInvalidRequest(`${commandName} needs a stateMachineArn.`);
|
|
8
|
+
}
|
|
9
|
+
const stateMachine = stateMachines.find(arn);
|
|
10
|
+
if (stateMachine === undefined) {
|
|
11
|
+
throw new SimStatesResourceNotFound(`${arn} is not a simulated state machine in this Account and Region.`);
|
|
12
|
+
}
|
|
13
|
+
return stateMachine;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=sim-state-machine-lookup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-state-machine-lookup.js","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/machine/sim-state-machine-lookup.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,yBAAyB,GAC1B,MAAM,yCAAyC,CAAC;AAIjD;;GAEG;AACH,MAAM,UAAU,sBAAsB,CACpC,aAAmC,EACnC,GAAuB,EACvB,WAAmB;IAEnB,IAAI,GAAG,KAAK,SAAS,EAAE,CAAC;QACtB,MAAM,IAAI,uBAAuB,CAC/B,GAAG,WAAW,2BAA2B,CAC1C,CAAC;IACJ,CAAC;IAED,MAAM,YAAY,GAAG,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAE7C,IAAI,YAAY,KAAK,SAAS,EAAE,CAAC;QAC/B,MAAM,IAAI,yBAAyB,CACjC,GAAG,GAAG,+DAA+D,CACtE,CAAC;IACJ,CAAC;IAED,OAAO,YAAY,CAAC;AACtB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { SimStateMachineStore } from "../../machine/sim-state-machine-store.js";
|
|
2
|
+
import type { SimDescribeStateMachineCommand, SimDescribeStateMachineCommandOutput, SimListStateMachinesCommand, SimListStateMachinesCommandOutput } from "./machine.command.js";
|
|
3
|
+
/**
|
|
4
|
+
* The commands that read state machines back.
|
|
5
|
+
*/
|
|
6
|
+
export declare class SimStateMachineReads {
|
|
7
|
+
#private;
|
|
8
|
+
constructor(stateMachines: SimStateMachineStore);
|
|
9
|
+
/**
|
|
10
|
+
* Read one state machine back.
|
|
11
|
+
*/
|
|
12
|
+
describe(command: SimDescribeStateMachineCommand): SimDescribeStateMachineCommandOutput;
|
|
13
|
+
/**
|
|
14
|
+
* List the state machines this scope holds.
|
|
15
|
+
*/
|
|
16
|
+
list(command: SimListStateMachinesCommand): SimListStateMachinesCommandOutput;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=sim-state-machine-reads.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-state-machine-reads.d.ts","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/machine/sim-state-machine-reads.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,KAAK,EACV,8BAA8B,EAC9B,oCAAoC,EACpC,2BAA2B,EAC3B,iCAAiC,EAClC,MAAM,sBAAsB,CAAC;AAI9B;;GAEG;AACH,qBAAa,oBAAoB;;IAG/B,YAAY,aAAa,EAAE,oBAAoB,EAE9C;IAED;;OAEG;IACH,QAAQ,CACN,OAAO,EAAE,8BAA8B,GACtC,oCAAoC,CAgBtC;IAED;;OAEG;IACH,IAAI,CACF,OAAO,EAAE,2BAA2B,GACnC,iCAAiC,CA0BnC;CACF"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { SimStatesInvalidRequest } from "../../error/sim-step-functions.error.js";
|
|
2
|
+
import { requireSimStateMachine } from "./sim-state-machine-lookup.js";
|
|
3
|
+
/**
|
|
4
|
+
* The commands that read state machines back.
|
|
5
|
+
*/
|
|
6
|
+
export class SimStateMachineReads {
|
|
7
|
+
#stateMachines;
|
|
8
|
+
constructor(stateMachines) {
|
|
9
|
+
this.#stateMachines = stateMachines;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Read one state machine back.
|
|
13
|
+
*/
|
|
14
|
+
describe(command) {
|
|
15
|
+
const found = requireSimStateMachine(this.#stateMachines, command.input.stateMachineArn, "DescribeStateMachine");
|
|
16
|
+
return {
|
|
17
|
+
stateMachineArn: found.arn,
|
|
18
|
+
name: found.name,
|
|
19
|
+
status: "ACTIVE",
|
|
20
|
+
definition: found.definition,
|
|
21
|
+
roleArn: found.roleArn,
|
|
22
|
+
type: found.type,
|
|
23
|
+
creationDate: found.creationDate,
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* List the state machines this scope holds.
|
|
28
|
+
*/
|
|
29
|
+
list(command) {
|
|
30
|
+
const { maxResults } = command.input;
|
|
31
|
+
if (maxResults !== undefined &&
|
|
32
|
+
(!Number.isSafeInteger(maxResults) || maxResults < 0 || maxResults > 1000)) {
|
|
33
|
+
throw new SimStatesInvalidRequest(`maxResults is ${String(maxResults)}. It is a whole number from 0 to 1000.`);
|
|
34
|
+
}
|
|
35
|
+
const all = this.#stateMachines.all();
|
|
36
|
+
const wanted = maxResults === undefined || maxResults === 0
|
|
37
|
+
? all
|
|
38
|
+
: all.slice(0, maxResults);
|
|
39
|
+
return {
|
|
40
|
+
stateMachines: wanted.map((found) => ({
|
|
41
|
+
stateMachineArn: found.arn,
|
|
42
|
+
name: found.name,
|
|
43
|
+
type: found.type,
|
|
44
|
+
creationDate: found.creationDate,
|
|
45
|
+
})),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=sim-state-machine-reads.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-state-machine-reads.js","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/machine/sim-state-machine-reads.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAEvE;;GAEG;AACH,MAAM,OAAO,oBAAoB;IACtB,cAAc,CAAuB;IAE9C,YAAY,aAAmC;QAC7C,IAAI,CAAC,cAAc,GAAG,aAAa,CAAC;IACtC,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,OAAuC;QAEvC,MAAM,KAAK,GAAG,sBAAsB,CAClC,IAAI,CAAC,cAAc,EACnB,OAAO,CAAC,KAAK,CAAC,eAAe,EAC7B,sBAAsB,CACvB,CAAC;QAEF,OAAO;YACL,eAAe,EAAE,KAAK,CAAC,GAAG;YAC1B,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,KAAK,CAAC,UAAU;YAC5B,OAAO,EAAE,KAAK,CAAC,OAAO;YACtB,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,YAAY,EAAE,KAAK,CAAC,YAAY;SACjC,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,IAAI,CACF,OAAoC;QAEpC,MAAM,EAAE,UAAU,EAAE,GAAG,OAAO,CAAC,KAAK,CAAC;QAErC,IACE,UAAU,KAAK,SAAS;YACxB,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,UAAU,CAAC,IAAI,UAAU,GAAG,CAAC,IAAI,UAAU,GAAG,IAAI,CAAC,EAC1E,CAAC;YACD,MAAM,IAAI,uBAAuB,CAC/B,iBAAiB,MAAM,CAAC,UAAU,CAAC,wCAAwC,CAC5E,CAAC;QACJ,CAAC;QAED,MAAM,GAAG,GAAG,IAAI,CAAC,cAAc,CAAC,GAAG,EAAE,CAAC;QACtC,MAAM,MAAM,GACV,UAAU,KAAK,SAAS,IAAI,UAAU,KAAK,CAAC;YAC1C,CAAC,CAAC,GAAG;YACL,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC;QAE/B,OAAO;YACL,aAAa,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;gBACpC,eAAe,EAAE,KAAK,CAAC,GAAG;gBAC1B,IAAI,EAAE,KAAK,CAAC,IAAI;gBAChB,IAAI,EAAE,KAAK,CAAC,IAAI;gBAChB,YAAY,EAAE,KAAK,CAAC,YAAY;aACjC,CAAC,CAAC;SACJ,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { BackgroundScheduler } from "../../../../util/background/background.js";
|
|
2
|
+
import type { SimStatesExecutionStore } from "../../execution/sim-states-execution-store.js";
|
|
3
|
+
import type { SimStateMachineStore } from "../../machine/sim-state-machine-store.js";
|
|
4
|
+
import type { SimDeleteStateMachineCommand, SimDeleteStateMachineCommandOutput, SimUpdateStateMachineCommand, SimUpdateStateMachineCommandOutput } from "./machine.command.js";
|
|
5
|
+
interface SimStateMachineWritesProperties {
|
|
6
|
+
readonly stateMachines: SimStateMachineStore;
|
|
7
|
+
readonly executions: SimStatesExecutionStore;
|
|
8
|
+
readonly background: BackgroundScheduler;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* The commands that change and delete state machines.
|
|
12
|
+
*/
|
|
13
|
+
export declare class SimStateMachineWrites {
|
|
14
|
+
#private;
|
|
15
|
+
constructor(properties: SimStateMachineWritesProperties);
|
|
16
|
+
/**
|
|
17
|
+
* Change a state machine's definition or role.
|
|
18
|
+
*/
|
|
19
|
+
update(command: SimUpdateStateMachineCommand): SimUpdateStateMachineCommandOutput;
|
|
20
|
+
/**
|
|
21
|
+
* Delete a state machine and forget its executions.
|
|
22
|
+
*/
|
|
23
|
+
delete(command: SimDeleteStateMachineCommand): SimDeleteStateMachineCommandOutput;
|
|
24
|
+
}
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=sim-state-machine-writes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-state-machine-writes.d.ts","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/machine/sim-state-machine-writes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAGrF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AAC7F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,KAAK,EACV,4BAA4B,EAC5B,kCAAkC,EAClC,4BAA4B,EAC5B,kCAAkC,EACnC,MAAM,sBAAsB,CAAC;AAG9B,UAAU,+BAA+B;IACvC,QAAQ,CAAC,aAAa,EAAE,oBAAoB,CAAC;IAC7C,QAAQ,CAAC,UAAU,EAAE,uBAAuB,CAAC;IAC7C,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;CAC1C;AAED;;GAEG;AACH,qBAAa,qBAAqB;;IAKhC,YAAY,UAAU,EAAE,+BAA+B,EAItD;IAED;;OAEG;IACH,MAAM,CACJ,OAAO,EAAE,4BAA4B,GACpC,kCAAkC,CAyBpC;IAED;;OAEG;IACH,MAAM,CACJ,OAAO,EAAE,4BAA4B,GACpC,kCAAkC,CAWpC;CACF"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { parseSimStatesDefinition } from "../../definition/sim-states-definition-parse.js";
|
|
2
|
+
import { SimStatesInvalidRequest } from "../../error/sim-step-functions.error.js";
|
|
3
|
+
import { requireSimStateMachine } from "./sim-state-machine-lookup.js";
|
|
4
|
+
/**
|
|
5
|
+
* The commands that change and delete state machines.
|
|
6
|
+
*/
|
|
7
|
+
export class SimStateMachineWrites {
|
|
8
|
+
#stateMachines;
|
|
9
|
+
#executions;
|
|
10
|
+
#background;
|
|
11
|
+
constructor(properties) {
|
|
12
|
+
this.#stateMachines = properties.stateMachines;
|
|
13
|
+
this.#executions = properties.executions;
|
|
14
|
+
this.#background = properties.background;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Change a state machine's definition or role.
|
|
18
|
+
*/
|
|
19
|
+
update(command) {
|
|
20
|
+
const { stateMachineArn, definition, roleArn } = command.input;
|
|
21
|
+
if (definition === undefined && roleArn === undefined) {
|
|
22
|
+
throw new SimStatesInvalidRequest("UpdateStateMachine needs a definition or a roleArn to change.");
|
|
23
|
+
}
|
|
24
|
+
const found = requireSimStateMachine(this.#stateMachines, stateMachineArn, "UpdateStateMachine");
|
|
25
|
+
found.update({
|
|
26
|
+
roleArn,
|
|
27
|
+
definition,
|
|
28
|
+
parsed: definition === undefined
|
|
29
|
+
? undefined
|
|
30
|
+
: parseSimStatesDefinition(definition),
|
|
31
|
+
});
|
|
32
|
+
return { updateDate: this.#background.now() };
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Delete a state machine and forget its executions.
|
|
36
|
+
*/
|
|
37
|
+
delete(command) {
|
|
38
|
+
const found = requireSimStateMachine(this.#stateMachines, command.input.stateMachineArn, "DeleteStateMachine");
|
|
39
|
+
this.#stateMachines.remove(found.arn);
|
|
40
|
+
this.#executions.removeForStateMachine(found.arn);
|
|
41
|
+
return {};
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=sim-state-machine-writes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-state-machine-writes.js","sourceRoot":"","sources":["../../../../../src/service/stepfunctions/command/machine/sim-state-machine-writes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AASlF,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAQvE;;GAEG;AACH,MAAM,OAAO,qBAAqB;IACvB,cAAc,CAAuB;IACrC,WAAW,CAA0B;IACrC,WAAW,CAAsB;IAE1C,YAAY,UAA2C;QACrD,IAAI,CAAC,cAAc,GAAG,UAAU,CAAC,aAAa,CAAC;QAC/C,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC,UAAU,CAAC;QACzC,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC,UAAU,CAAC;IAC3C,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,OAAqC;QAErC,MAAM,EAAE,eAAe,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,KAAK,CAAC;QAE/D,IAAI,UAAU,KAAK,SAAS,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;YACtD,MAAM,IAAI,uBAAuB,CAC/B,+DAA+D,CAChE,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,sBAAsB,CAClC,IAAI,CAAC,cAAc,EACnB,eAAe,EACf,oBAAoB,CACrB,CAAC;QAEF,KAAK,CAAC,MAAM,CAAC;YACX,OAAO;YACP,UAAU;YACV,MAAM,EACJ,UAAU,KAAK,SAAS;gBACtB,CAAC,CAAC,SAAS;gBACX,CAAC,CAAC,wBAAwB,CAAC,UAAU,CAAC;SAC3C,CAAC,CAAC;QAEH,OAAO,EAAE,UAAU,EAAE,IAAI,CAAC,WAAW,CAAC,GAAG,EAAE,EAAE,CAAC;IAChD,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,OAAqC;QAErC,MAAM,KAAK,GAAG,sBAAsB,CAClC,IAAI,CAAC,cAAc,EACnB,OAAO,CAAC,KAAK,CAAC,eAAe,EAC7B,oBAAoB,CACrB,CAAC;QAEF,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACtC,IAAI,CAAC,WAAW,CAAC,qBAAqB,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAElD,OAAO,EAAE,CAAC;IACZ,CAAC;CACF"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The sim Step Functions Command types, gathered for the service facade.
|
|
3
|
+
*/
|
|
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
|
+
export type { SimDescribeExecutionCommand, SimDescribeExecutionCommandInput, SimDescribeExecutionCommandOutput, SimStartExecutionCommand, SimStartExecutionCommandInput, SimStartExecutionCommandOutput, } from "./execution/execution.command.js";
|
|
6
|
+
//# sourceMappingURL=sim-step-functions-command.types.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-step-functions-command.types.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/command/sim-step-functions-command.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { SimAwsCaller } from "../../aws/caller/sim-aws-caller.js";
|
|
2
|
+
/**
|
|
3
|
+
* What a Step Functions request carries besides its command input.
|
|
4
|
+
*/
|
|
5
|
+
export interface SimStepFunctionsRequestOptions {
|
|
6
|
+
/**
|
|
7
|
+
* Who is making the request. An omitted caller is the Account root, as it is
|
|
8
|
+
* everywhere else in the simulation.
|
|
9
|
+
*/
|
|
10
|
+
readonly caller?: SimAwsCaller;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=sim-step-functions-request-options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-step-functions-request-options.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/command/sim-step-functions-request-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAEvE;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C;;;OAGG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-step-functions-request-options.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/command/sim-step-functions-request-options.ts"],"names":[],"mappings":""}
|
|
@@ -58,7 +58,7 @@ function insertIntoArray(document, index, rest, result, resultPath) {
|
|
|
58
58
|
`${String(document.length)}, so the result has nowhere to go.`);
|
|
59
59
|
}
|
|
60
60
|
const copy = [...document];
|
|
61
|
-
copy[index] = insertAtSimStatesPath(copy[index]
|
|
61
|
+
copy[index] = insertAtSimStatesPath(copy[index], rest, result, resultPath);
|
|
62
62
|
return copy;
|
|
63
63
|
}
|
|
64
64
|
//# sourceMappingURL=sim-states-result-path.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-states-result-path.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/data/sim-states-result-path.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAC9D,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAGvF;;;;;;GAMG;AACH,MAAM,UAAU,qBAAqB,CACnC,QAAmB,EACnB,QAAyC,EACzC,MAAiB,EACjB,UAAkB;IAElB,MAAM,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,GAAG,QAAQ,CAAC;IAEpC,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;QAC1B,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,IAAI,OAAO,CAAC,IAAI,KAAK,OAAO,EAAE,CAAC;QAC7B,OAAO,eAAe,CAAC,QAAQ,EAAE,OAAO,CAAC,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;IAC5E,CAAC;IAED,OAAO,gBAAgB,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;AAC5E,CAAC;AAED;;;;;;;GAOG;AACH,SAAS,gBAAgB,CACvB,QAAmB,EACnB,IAAY,EACZ,IAAqC,EACrC,MAAiB,EACjB,UAAkB;IAElB,MAAM,MAAM,GAAG,QAAQ,IAAI,EAAE,CAAC;IAE9B,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QACtB,MAAM,IAAI,+BAA+B,CACvC,GAAG,UAAU,qBAAqB,IAAI,+BAA+B;YACnE,0CAA0C,CAC7C,CAAC;IACJ,CAAC;IAED,MAAM,IAAI,GAAe,EAAE,GAAG,MAAM,EAAE,CAAC;IACvC,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IAE/D,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,IAAI,EAAE;QAChC,YAAY,EAAE,IAAI;QAClB,UAAU,EAAE,IAAI;QAChB,KAAK,EAAE,qBAAqB,CAAC,QAAQ,IAAI,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,CAAC;QACxE,QAAQ,EAAE,IAAI;KACf,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;;;;;GAMG;AACH,SAAS,eAAe,CACtB,QAAmB,EACnB,KAAa,EACb,IAAqC,EACrC,MAAiB,EACjB,UAAkB;IAElB,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC7B,MAAM,IAAI,+BAA+B,CACvC,GAAG,UAAU,mBAAmB,MAAM,CAAC,KAAK,CAAC,wBAAwB;YACnE,gDAAgD,CACnD,CAAC;IACJ,CAAC;IAED,IAAI,KAAK,IAAI,QAAQ,CAAC,MAAM,EAAE,CAAC;QAC7B,MAAM,IAAI,+BAA+B,CACvC,GAAG,UAAU,mBAAmB,MAAM,CAAC,KAAK,CAAC,uBAAuB;YAClE,GAAG,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,oCAAoC,CACjE,CAAC;IACJ,CAAC;IAED,MAAM,IAAI,GAAG,CAAC,GAAG,QAAQ,CAAC,CAAC;IAE3B,IAAI,CAAC,KAAK,CAAC,GAAG,qBAAqB,CACjC,IAAI,CAAC,KAAK,
|
|
1
|
+
{"version":3,"file":"sim-states-result-path.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/data/sim-states-result-path.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAC9D,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAGvF;;;;;;GAMG;AACH,MAAM,UAAU,qBAAqB,CACnC,QAAmB,EACnB,QAAyC,EACzC,MAAiB,EACjB,UAAkB;IAElB,MAAM,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,GAAG,QAAQ,CAAC;IAEpC,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;QAC1B,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,IAAI,OAAO,CAAC,IAAI,KAAK,OAAO,EAAE,CAAC;QAC7B,OAAO,eAAe,CAAC,QAAQ,EAAE,OAAO,CAAC,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;IAC5E,CAAC;IAED,OAAO,gBAAgB,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;AAC5E,CAAC;AAED;;;;;;;GAOG;AACH,SAAS,gBAAgB,CACvB,QAAmB,EACnB,IAAY,EACZ,IAAqC,EACrC,MAAiB,EACjB,UAAkB;IAElB,MAAM,MAAM,GAAG,QAAQ,IAAI,EAAE,CAAC;IAE9B,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QACtB,MAAM,IAAI,+BAA+B,CACvC,GAAG,UAAU,qBAAqB,IAAI,+BAA+B;YACnE,0CAA0C,CAC7C,CAAC;IACJ,CAAC;IAED,MAAM,IAAI,GAAe,EAAE,GAAG,MAAM,EAAE,CAAC;IACvC,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IAE/D,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,IAAI,EAAE;QAChC,YAAY,EAAE,IAAI;QAClB,UAAU,EAAE,IAAI;QAChB,KAAK,EAAE,qBAAqB,CAAC,QAAQ,IAAI,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,CAAC;QACxE,QAAQ,EAAE,IAAI;KACf,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;;;;;GAMG;AACH,SAAS,eAAe,CACtB,QAAmB,EACnB,KAAa,EACb,IAAqC,EACrC,MAAiB,EACjB,UAAkB;IAElB,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC7B,MAAM,IAAI,+BAA+B,CACvC,GAAG,UAAU,mBAAmB,MAAM,CAAC,KAAK,CAAC,wBAAwB;YACnE,gDAAgD,CACnD,CAAC;IACJ,CAAC;IAED,IAAI,KAAK,IAAI,QAAQ,CAAC,MAAM,EAAE,CAAC;QAC7B,MAAM,IAAI,+BAA+B,CACvC,GAAG,UAAU,mBAAmB,MAAM,CAAC,KAAK,CAAC,uBAAuB;YAClE,GAAG,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,oCAAoC,CACjE,CAAC;IACJ,CAAC;IAED,MAAM,IAAI,GAAG,CAAC,GAAG,QAAQ,CAAC,CAAC;IAE3B,IAAI,CAAC,KAAK,CAAC,GAAG,qBAAqB,CACjC,IAAI,CAAC,KAAK,CAAc,EACxB,IAAI,EACJ,MAAM,EACN,UAAU,CACX,CAAC;IAEF,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Whether the fields a timestamp was written with name a real instant.
|
|
3
|
+
*
|
|
4
|
+
* A pattern can only say how many digits each field has. JavaScript's own
|
|
5
|
+
* parser rolls a day past the end of its month into the next one, so
|
|
6
|
+
* `2026-02-30T00:00:00Z` would otherwise be read as the second of March, and
|
|
7
|
+
* `2024-02-29T24:00:00Z` as midnight the next day.
|
|
8
|
+
*/
|
|
9
|
+
export declare function simStatesTimestampFieldsHold(fields: readonly (string | undefined)[]): boolean;
|
|
10
|
+
//# sourceMappingURL=sim-states-timestamp-fields.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-timestamp-fields.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/data/sim-states-timestamp-fields.ts"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AACH,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,SAAS,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,GACtC,OAAO,CAqBT"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
const monthLengths = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
|
2
|
+
const februaryInALeapYear = 29;
|
|
3
|
+
/**
|
|
4
|
+
* Whether the fields a timestamp was written with name a real instant.
|
|
5
|
+
*
|
|
6
|
+
* A pattern can only say how many digits each field has. JavaScript's own
|
|
7
|
+
* parser rolls a day past the end of its month into the next one, so
|
|
8
|
+
* `2026-02-30T00:00:00Z` would otherwise be read as the second of March, and
|
|
9
|
+
* `2024-02-29T24:00:00Z` as midnight the next day.
|
|
10
|
+
*/
|
|
11
|
+
export function simStatesTimestampFieldsHold(fields) {
|
|
12
|
+
const [year = 0, month = 0, day = 0, hour = 0, minute = 0, second = 0, offsetHour = 0, offsetMinute = 0,] = fields.map(readField);
|
|
13
|
+
return (isWithin(month, 1, 12) &&
|
|
14
|
+
isWithin(day, 1, daysInMonth(year, month)) &&
|
|
15
|
+
isWithin(hour, 0, 23) &&
|
|
16
|
+
isWithin(minute, 0, 59) &&
|
|
17
|
+
isWithin(second, 0, 59) &&
|
|
18
|
+
isWithin(offsetHour, 0, 23) &&
|
|
19
|
+
isWithin(offsetMinute, 0, 59));
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Read one field, taking one the timestamp left out as a zero.
|
|
23
|
+
*
|
|
24
|
+
* A timestamp written in UTC carries no offset, and no offset is no hours and
|
|
25
|
+
* no minutes away from it.
|
|
26
|
+
*/
|
|
27
|
+
function readField(written) {
|
|
28
|
+
return Number(written ?? 0);
|
|
29
|
+
}
|
|
30
|
+
function isWithin(value, least, most) {
|
|
31
|
+
return value >= least && value <= most;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* How many days a month has, counting the leap day where the year has one.
|
|
35
|
+
*/
|
|
36
|
+
function daysInMonth(year, month) {
|
|
37
|
+
if (month === 2 && isALeapYear(year)) {
|
|
38
|
+
return februaryInALeapYear;
|
|
39
|
+
}
|
|
40
|
+
return monthLengths.at(month - 1) ?? 0;
|
|
41
|
+
}
|
|
42
|
+
function isALeapYear(year) {
|
|
43
|
+
return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=sim-states-timestamp-fields.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-timestamp-fields.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/data/sim-states-timestamp-fields.ts"],"names":[],"mappings":"AAAA,MAAM,YAAY,GAAG,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;AAEtE,MAAM,mBAAmB,GAAG,EAAE,CAAC;AAE/B;;;;;;;GAOG;AACH,MAAM,UAAU,4BAA4B,CAC1C,MAAuC;IAEvC,MAAM,CACJ,IAAI,GAAG,CAAC,EACR,KAAK,GAAG,CAAC,EACT,GAAG,GAAG,CAAC,EACP,IAAI,GAAG,CAAC,EACR,MAAM,GAAG,CAAC,EACV,MAAM,GAAG,CAAC,EACV,UAAU,GAAG,CAAC,EACd,YAAY,GAAG,CAAC,EACjB,GAAG,MAAM,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAE1B,OAAO,CACL,QAAQ,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC;QACtB,QAAQ,CAAC,GAAG,EAAE,CAAC,EAAE,WAAW,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QAC1C,QAAQ,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC;QACrB,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACvB,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,CAAC,EAAE,EAAE,CAAC;QAC3B,QAAQ,CAAC,YAAY,EAAE,CAAC,EAAE,EAAE,CAAC,CAC9B,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,SAAS,SAAS,CAAC,OAA2B;IAC5C,OAAO,MAAM,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC;AAC9B,CAAC;AAED,SAAS,QAAQ,CAAC,KAAa,EAAE,KAAa,EAAE,IAAY;IAC1D,OAAO,KAAK,IAAI,KAAK,IAAI,KAAK,IAAI,IAAI,CAAC;AACzC,CAAC;AAED;;GAEG;AACH,SAAS,WAAW,CAAC,IAAY,EAAE,KAAa;IAC9C,IAAI,KAAK,KAAK,CAAC,IAAI,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;QACrC,OAAO,mBAAmB,CAAC;IAC7B,CAAC;IAED,OAAO,YAAY,CAAC,EAAE,CAAC,KAAK,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC;AACzC,CAAC;AAED,SAAS,WAAW,CAAC,IAAY;IAC/B,OAAO,IAAI,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,GAAG,KAAK,CAAC,IAAI,IAAI,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC;AAClE,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { JSONValue } from "../../../util/type-guard/json.js";
|
|
2
|
+
/**
|
|
3
|
+
* Read a JSON value as an RFC3339 timestamp, in milliseconds since the epoch.
|
|
4
|
+
*
|
|
5
|
+
* Answers undefined for anything that is not one, which is what lets a
|
|
6
|
+
* timestamp comparison and `IsTimestamp` tell a timestamp from a string that
|
|
7
|
+
* merely looks like a date.
|
|
8
|
+
*/
|
|
9
|
+
export declare function readSimStatesTimestamp(value: JSONValue | undefined): number | undefined;
|
|
10
|
+
//# sourceMappingURL=sim-states-timestamp.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-timestamp.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/data/sim-states-timestamp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAWlE;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,SAAS,GAAG,SAAS,GAC3B,MAAM,GAAG,SAAS,CAYpB"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { simStatesTimestampFieldsHold } from "./sim-states-timestamp-fields.js";
|
|
2
|
+
// RFC3339, which is the timestamp format Amazon States Language names. The
|
|
3
|
+
// looser formats Date.parse accepts are left out, so a plain "2026-07-26" is
|
|
4
|
+
// not a timestamp here and a comparison against one answers false rather than
|
|
5
|
+
// guessing at midnight in some zone.
|
|
6
|
+
const rfc3339 =
|
|
7
|
+
// oxlint-disable-next-line security/detect-unsafe-regex -- no nested quantifier.
|
|
8
|
+
/^(\d{4})-(\d{2})-(\d{2})[Tt](\d{2}):(\d{2}):(\d{2})(?:\.\d+)?(?:[Zz]|[+-](\d{2}):(\d{2}))$/;
|
|
9
|
+
/**
|
|
10
|
+
* Read a JSON value as an RFC3339 timestamp, in milliseconds since the epoch.
|
|
11
|
+
*
|
|
12
|
+
* Answers undefined for anything that is not one, which is what lets a
|
|
13
|
+
* timestamp comparison and `IsTimestamp` tell a timestamp from a string that
|
|
14
|
+
* merely looks like a date.
|
|
15
|
+
*/
|
|
16
|
+
export function readSimStatesTimestamp(value) {
|
|
17
|
+
if (typeof value !== "string") {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
const written = rfc3339.exec(value);
|
|
21
|
+
if (written === null || !simStatesTimestampFieldsHold(written.slice(1))) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
return Date.parse(value);
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=sim-states-timestamp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-timestamp.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/data/sim-states-timestamp.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,4BAA4B,EAAE,MAAM,kCAAkC,CAAC;AAEhF,2EAA2E;AAC3E,6EAA6E;AAC7E,8EAA8E;AAC9E,qCAAqC;AACrC,MAAM,OAAO;AACX,iFAAiF;AACjF,4FAA4F,CAAC;AAE/F;;;;;;GAMG;AACH,MAAM,UAAU,sBAAsB,CACpC,KAA4B;IAE5B,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC9B,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,MAAM,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAEpC,IAAI,OAAO,KAAK,IAAI,IAAI,CAAC,4BAA4B,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACxE,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;AAC3B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { SimStatesDefinition } from "./sim-states-definition.js";
|
|
2
|
+
/**
|
|
3
|
+
* Read a state machine definition from the JSON string it was written as.
|
|
4
|
+
*
|
|
5
|
+
* A definition using anything this simulator does not run is refused whole,
|
|
6
|
+
* naming the state and what it used. A state machine missing one state runs
|
|
7
|
+
* wrong, and running wrong gives a passing test that lies.
|
|
8
|
+
*/
|
|
9
|
+
export declare function parseSimStatesDefinition(definition: string): SimStatesDefinition;
|
|
10
|
+
//# sourceMappingURL=sim-states-definition-parse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-definition-parse.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/definition/sim-states-definition-parse.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAKtE;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,MAAM,GACjB,mBAAmB,CA0BrB"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { isRecord } from "../../../util/type-guard/record.js";
|
|
2
|
+
import { SimStatesInvalidDefinition } from "../error/sim-step-functions.error.js";
|
|
3
|
+
import { parseSimStatesState } from "./sim-states-state-parse.js";
|
|
4
|
+
import { checkSimStatesTransitions } from "./sim-states-transitions.js";
|
|
5
|
+
/**
|
|
6
|
+
* Read a state machine definition from the JSON string it was written as.
|
|
7
|
+
*
|
|
8
|
+
* A definition using anything this simulator does not run is refused whole,
|
|
9
|
+
* naming the state and what it used. A state machine missing one state runs
|
|
10
|
+
* wrong, and running wrong gives a passing test that lies.
|
|
11
|
+
*/
|
|
12
|
+
export function parseSimStatesDefinition(definition) {
|
|
13
|
+
const document = readDocument(definition);
|
|
14
|
+
const states = readStates(document);
|
|
15
|
+
const startAt = document["StartAt"];
|
|
16
|
+
if (typeof startAt !== "string") {
|
|
17
|
+
throw new SimStatesInvalidDefinition("A state machine definition needs a StartAt naming the state it begins at.");
|
|
18
|
+
}
|
|
19
|
+
if (!states.has(startAt)) {
|
|
20
|
+
throw new SimStatesInvalidDefinition(`StartAt names ${startAt}, which is not one of this state machine's states.`);
|
|
21
|
+
}
|
|
22
|
+
checkSimStatesTransitions(states);
|
|
23
|
+
const comment = document["Comment"];
|
|
24
|
+
return {
|
|
25
|
+
...(typeof comment === "string" && { Comment: comment }),
|
|
26
|
+
StartAt: startAt,
|
|
27
|
+
States: states,
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Read the definition string as the JSON object it has to be.
|
|
32
|
+
*/
|
|
33
|
+
function readDocument(definition) {
|
|
34
|
+
let document;
|
|
35
|
+
try {
|
|
36
|
+
document = JSON.parse(definition);
|
|
37
|
+
}
|
|
38
|
+
catch {
|
|
39
|
+
throw new SimStatesInvalidDefinition("The state machine definition is not JSON.");
|
|
40
|
+
}
|
|
41
|
+
if (!isRecord(document)) {
|
|
42
|
+
throw new SimStatesInvalidDefinition("A state machine definition is a JSON object.");
|
|
43
|
+
}
|
|
44
|
+
return document;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Read every state, refusing the ones this simulator has no implementation
|
|
48
|
+
* for.
|
|
49
|
+
*/
|
|
50
|
+
function readStates(document) {
|
|
51
|
+
const declared = document["States"];
|
|
52
|
+
if (!isRecord(declared) || Object.keys(declared).length === 0) {
|
|
53
|
+
throw new SimStatesInvalidDefinition("A state machine definition needs a States object holding at least one state.");
|
|
54
|
+
}
|
|
55
|
+
const states = new Map();
|
|
56
|
+
for (const [name, state] of Object.entries(declared)) {
|
|
57
|
+
states.set(name, parseSimStatesState(name, state));
|
|
58
|
+
}
|
|
59
|
+
return states;
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=sim-states-definition-parse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-definition-parse.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/definition/sim-states-definition-parse.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAC9D,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAGlF,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAExE;;;;;;GAMG;AACH,MAAM,UAAU,wBAAwB,CACtC,UAAkB;IAElB,MAAM,QAAQ,GAAG,YAAY,CAAC,UAAU,CAAC,CAAC;IAC1C,MAAM,MAAM,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAC;IACpC,MAAM,OAAO,GAAG,QAAQ,CAAC,SAAS,CAAC,CAAC;IAEpC,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE,CAAC;QAChC,MAAM,IAAI,0BAA0B,CAClC,2EAA2E,CAC5E,CAAC;IACJ,CAAC;IAED,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;QACzB,MAAM,IAAI,0BAA0B,CAClC,iBAAiB,OAAO,oDAAoD,CAC7E,CAAC;IACJ,CAAC;IAED,yBAAyB,CAAC,MAAM,CAAC,CAAC;IAElC,MAAM,OAAO,GAAG,QAAQ,CAAC,SAAS,CAAC,CAAC;IAEpC,OAAO;QACL,GAAG,CAAC,OAAO,OAAO,KAAK,QAAQ,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC;QACxD,OAAO,EAAE,OAAO;QAChB,MAAM,EAAE,MAAM;KACf,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAS,YAAY,CAAC,UAAkB;IACtC,IAAI,QAAmB,CAAC;IAExB,IAAI,CAAC;QACH,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,CAAc,CAAC;IACjD,CAAC;IAAC,MAAM,CAAC;QACP,MAAM,IAAI,0BAA0B,CAClC,2CAA2C,CAC5C,CAAC;IACJ,CAAC;IAED,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC;QACxB,MAAM,IAAI,0BAA0B,CAClC,8CAA8C,CAC/C,CAAC;IACJ,CAAC;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED;;;GAGG;AACH,SAAS,UAAU,CACjB,QAAmC;IAEnC,MAAM,QAAQ,GAAG,QAAQ,CAAC,QAAQ,CAAC,CAAC;IAEpC,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC9D,MAAM,IAAI,0BAA0B,CAClC,8EAA8E,CAC/E,CAAC;IACJ,CAAC;IAED,MAAM,MAAM,GAAG,IAAI,GAAG,EAA0B,CAAC;IAEjD,KAAK,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC;QACrD,MAAM,CAAC,GAAG,CAAC,IAAI,EAAE,mBAAmB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC;IACrD,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { SimStatesState } from "./sim-states-state.js";
|
|
2
|
+
/**
|
|
3
|
+
* One state machine's Amazon States Language definition, after it has been
|
|
4
|
+
* read and checked.
|
|
5
|
+
*
|
|
6
|
+
* A definition is checked once, when the state machine is created. An
|
|
7
|
+
* execution walks a definition it can rely on, which keeps the state types
|
|
8
|
+
* out of the interpreter's error handling.
|
|
9
|
+
*/
|
|
10
|
+
export interface SimStatesDefinition {
|
|
11
|
+
readonly Comment?: string;
|
|
12
|
+
readonly StartAt: string;
|
|
13
|
+
readonly States: ReadonlyMap<string, SimStatesState>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=sim-states-definition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-definition.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/definition/sim-states-definition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D;;;;;;;GAOG;AACH,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;CACtD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-definition.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/definition/sim-states-definition.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { JSONValue } from "../../../util/type-guard/json.js";
|
|
2
|
+
/**
|
|
3
|
+
* Refuse the fields a state's type does not have.
|
|
4
|
+
*
|
|
5
|
+
* A definition carrying one of these would behave differently here than it
|
|
6
|
+
* does on AWS, where the field is simply not part of the state.
|
|
7
|
+
*/
|
|
8
|
+
export declare function checkSimStatesRefusedFields(name: string, type: string, state: Record<string, JSONValue>): void;
|
|
9
|
+
/**
|
|
10
|
+
* Check the two fields that say what happens after a state.
|
|
11
|
+
*
|
|
12
|
+
* This runs on the state as it was written, before it is read as one of the
|
|
13
|
+
* state types. Once it has been, `End` is a boolean as far as the compiler is
|
|
14
|
+
* concerned, and a definition carrying `"true"` would be taken at its word.
|
|
15
|
+
*/
|
|
16
|
+
export declare function checkSimStatesTransitionFields(name: string, state: Record<string, JSONValue>): void;
|
|
17
|
+
//# sourceMappingURL=sim-states-state-fields.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-state-fields.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/definition/sim-states-state-fields.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAiBlE;;;;;GAKG;AACH,wBAAgB,2BAA2B,CACzC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAC/B,IAAI,CAUN;AAED;;;;;;GAMG;AACH,wBAAgB,8BAA8B,CAC5C,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAC/B,IAAI,CAiBN"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { SimStatesInvalidDefinition } from "../error/sim-step-functions.error.js";
|
|
2
|
+
// Real Step Functions gives a Fail state no input or output processing at all,
|
|
3
|
+
// and gives a Succeed state only the two paths.
|
|
4
|
+
const stateFieldsRefused = new Map([
|
|
5
|
+
[
|
|
6
|
+
"Fail",
|
|
7
|
+
["InputPath", "OutputPath", "Parameters", "ResultPath", "ResultSelector"],
|
|
8
|
+
],
|
|
9
|
+
["Succeed", ["Parameters", "ResultPath", "ResultSelector"]],
|
|
10
|
+
// A Choice state and a Wait state produce no result of their own, so they
|
|
11
|
+
// carry the two paths and nothing that reshapes a result.
|
|
12
|
+
["Choice", ["Parameters", "ResultPath", "ResultSelector"]],
|
|
13
|
+
["Wait", ["Parameters", "ResultPath", "ResultSelector"]],
|
|
14
|
+
]);
|
|
15
|
+
/**
|
|
16
|
+
* Refuse the fields a state's type does not have.
|
|
17
|
+
*
|
|
18
|
+
* A definition carrying one of these would behave differently here than it
|
|
19
|
+
* does on AWS, where the field is simply not part of the state.
|
|
20
|
+
*/
|
|
21
|
+
export function checkSimStatesRefusedFields(name, type, state) {
|
|
22
|
+
const refused = stateFieldsRefused.get(type) ?? [];
|
|
23
|
+
const present = refused.filter((field) => Object.hasOwn(state, field));
|
|
24
|
+
if (present.length > 0) {
|
|
25
|
+
throw new SimStatesInvalidDefinition(`The ${type} state ${name} carries ${present.join(", ")}, which a ` +
|
|
26
|
+
`${type} state does not have.`);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Check the two fields that say what happens after a state.
|
|
31
|
+
*
|
|
32
|
+
* This runs on the state as it was written, before it is read as one of the
|
|
33
|
+
* state types. Once it has been, `End` is a boolean as far as the compiler is
|
|
34
|
+
* concerned, and a definition carrying `"true"` would be taken at its word.
|
|
35
|
+
*/
|
|
36
|
+
export function checkSimStatesTransitionFields(name, state) {
|
|
37
|
+
const end = state["End"];
|
|
38
|
+
if (end !== undefined && typeof end !== "boolean") {
|
|
39
|
+
throw new SimStatesInvalidDefinition(`The state ${name} has an End that is not a boolean. Only true ends an ` +
|
|
40
|
+
"execution there.");
|
|
41
|
+
}
|
|
42
|
+
const next = state["Next"];
|
|
43
|
+
if (next !== undefined && typeof next !== "string") {
|
|
44
|
+
throw new SimStatesInvalidDefinition(`The state ${name} has a Next that is not a state name.`);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=sim-states-state-fields.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-state-fields.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/definition/sim-states-state-fields.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAElF,+EAA+E;AAC/E,gDAAgD;AAChD,MAAM,kBAAkB,GAAG,IAAI,GAAG,CAA4B;IAC5D;QACE,MAAM;QACN,CAAC,WAAW,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,gBAAgB,CAAC;KAC1E;IACD,CAAC,SAAS,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,gBAAgB,CAAC,CAAC;IAC3D,0EAA0E;IAC1E,0DAA0D;IAC1D,CAAC,QAAQ,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,gBAAgB,CAAC,CAAC;IAC1D,CAAC,MAAM,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,gBAAgB,CAAC,CAAC;CACzD,CAAC,CAAC;AAEH;;;;;GAKG;AACH,MAAM,UAAU,2BAA2B,CACzC,IAAY,EACZ,IAAY,EACZ,KAAgC;IAEhC,MAAM,OAAO,GAAG,kBAAkB,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACnD,MAAM,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC;IAEvE,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACvB,MAAM,IAAI,0BAA0B,CAClC,OAAO,IAAI,UAAU,IAAI,YAAY,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY;YACjE,GAAG,IAAI,uBAAuB,CACjC,CAAC;IACJ,CAAC;AACH,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,8BAA8B,CAC5C,IAAY,EACZ,KAAgC;IAEhC,MAAM,GAAG,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;IAEzB,IAAI,GAAG,KAAK,SAAS,IAAI,OAAO,GAAG,KAAK,SAAS,EAAE,CAAC;QAClD,MAAM,IAAI,0BAA0B,CAClC,aAAa,IAAI,uDAAuD;YACtE,kBAAkB,CACrB,CAAC;IACJ,CAAC;IAED,MAAM,IAAI,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;IAE3B,IAAI,IAAI,KAAK,SAAS,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;QACnD,MAAM,IAAI,0BAA0B,CAClC,aAAa,IAAI,uCAAuC,CACzD,CAAC;IACJ,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { JSONValue } from "../../../util/type-guard/json.js";
|
|
2
|
+
import { type SimStatesState } from "./sim-states-state.js";
|
|
3
|
+
/**
|
|
4
|
+
* Check one state's type, and the fields that type is allowed.
|
|
5
|
+
*/
|
|
6
|
+
export declare function parseSimStatesState(name: string, state: JSONValue): SimStatesState;
|
|
7
|
+
//# sourceMappingURL=sim-states-state-parse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-state-parse.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/definition/sim-states-state-parse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAiBlE,OAAO,EAEL,KAAK,cAAc,EAIpB,MAAM,uBAAuB,CAAC;AAE/B;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,SAAS,GACf,cAAc,CAyChB"}
|