@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,19 @@
|
|
|
1
|
+
import { type SimSdkCommandRoute, type SimSdkCommandRouter } from "../../../sdk/index.js";
|
|
2
|
+
import type { SimStepFunctions } from "../sim-step-functions.js";
|
|
3
|
+
/**
|
|
4
|
+
* Routes intercepted SDK Commands to one scoped simulated Step Functions.
|
|
5
|
+
*/
|
|
6
|
+
export declare class SimStepFunctionsSdkCommandRouter implements SimSdkCommandRouter {
|
|
7
|
+
private readonly routes;
|
|
8
|
+
constructor(simStepFunctions: SimStepFunctions);
|
|
9
|
+
/**
|
|
10
|
+
* The SDK Command names simulated Step Functions can handle.
|
|
11
|
+
*/
|
|
12
|
+
supportedCommandNames(): readonly string[];
|
|
13
|
+
/**
|
|
14
|
+
* Get the route for an SDK Command name, if simulated Step Functions
|
|
15
|
+
* supports it.
|
|
16
|
+
*/
|
|
17
|
+
route(commandName: string): SimSdkCommandRoute | undefined;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=sim-step-functions-sdk-command-router.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-step-functions-sdk-command-router.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EAEzB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAEjE;;GAEG;AACH,qBAAa,gCAAiC,YAAW,mBAAmB;IAC1E,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0C;IAEjE,YAAY,gBAAgB,EAAE,gBAAgB,EA2D7C;IAED;;OAEG;IACH,qBAAqB,IAAI,SAAS,MAAM,EAAE,CAEzC;IAED;;;OAGG;IACH,KAAK,CAAC,WAAW,EAAE,MAAM,GAAG,kBAAkB,GAAG,SAAS,CAEzD;CACF"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { simSdkCallerOptions, } from "../../../sdk/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Routes intercepted SDK Commands to one scoped simulated Step Functions.
|
|
4
|
+
*/
|
|
5
|
+
export class SimStepFunctionsSdkCommandRouter {
|
|
6
|
+
routes;
|
|
7
|
+
constructor(simStepFunctions) {
|
|
8
|
+
this.routes = new Map([
|
|
9
|
+
[
|
|
10
|
+
"CreateStateMachineCommand",
|
|
11
|
+
async (command, context) => await simStepFunctions.createStateMachine(command, simSdkCallerOptions(context)),
|
|
12
|
+
],
|
|
13
|
+
[
|
|
14
|
+
"DescribeStateMachineCommand",
|
|
15
|
+
async (command, context) => await simStepFunctions.describeStateMachine(command, simSdkCallerOptions(context)),
|
|
16
|
+
],
|
|
17
|
+
[
|
|
18
|
+
"UpdateStateMachineCommand",
|
|
19
|
+
async (command, context) => await simStepFunctions.updateStateMachine(command, simSdkCallerOptions(context)),
|
|
20
|
+
],
|
|
21
|
+
[
|
|
22
|
+
"DeleteStateMachineCommand",
|
|
23
|
+
async (command, context) => await simStepFunctions.deleteStateMachine(command, simSdkCallerOptions(context)),
|
|
24
|
+
],
|
|
25
|
+
[
|
|
26
|
+
"ListStateMachinesCommand",
|
|
27
|
+
async (command, context) => await simStepFunctions.listStateMachines(command, simSdkCallerOptions(context)),
|
|
28
|
+
],
|
|
29
|
+
[
|
|
30
|
+
"StartExecutionCommand",
|
|
31
|
+
async (command, context) => await simStepFunctions.startExecution(command, simSdkCallerOptions(context)),
|
|
32
|
+
],
|
|
33
|
+
[
|
|
34
|
+
"DescribeExecutionCommand",
|
|
35
|
+
async (command, context) => await simStepFunctions.describeExecution(command, simSdkCallerOptions(context)),
|
|
36
|
+
],
|
|
37
|
+
]);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* The SDK Command names simulated Step Functions can handle.
|
|
41
|
+
*/
|
|
42
|
+
supportedCommandNames() {
|
|
43
|
+
return this.routes.keys().toArray();
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Get the route for an SDK Command name, if simulated Step Functions
|
|
47
|
+
* supports it.
|
|
48
|
+
*/
|
|
49
|
+
route(commandName) {
|
|
50
|
+
return this.routes.get(commandName);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=sim-step-functions-sdk-command-router.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-step-functions-sdk-command-router.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,mBAAmB,GACpB,MAAM,uBAAuB,CAAC;AAI/B;;GAEG;AACH,MAAM,OAAO,gCAAgC;IAC1B,MAAM,CAA0C;IAEjE,YAAY,gBAAkC;QAC5C,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,CAA6B;YAChD;gBACE,2BAA2B;gBAC3B,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,gBAAgB,CAAC,kBAAkB,CACvC,OAAyD,EACzD,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;YACD;gBACE,6BAA6B;gBAC7B,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,gBAAgB,CAAC,oBAAoB,CACzC,OAA2D,EAC3D,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;YACD;gBACE,2BAA2B;gBAC3B,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,gBAAgB,CAAC,kBAAkB,CACvC,OAAyD,EACzD,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;YACD;gBACE,2BAA2B;gBAC3B,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,gBAAgB,CAAC,kBAAkB,CACvC,OAAyD,EACzD,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;YACD;gBACE,0BAA0B;gBAC1B,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,gBAAgB,CAAC,iBAAiB,CACtC,OAAwD,EACxD,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;YACD;gBACE,uBAAuB;gBACvB,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,gBAAgB,CAAC,cAAc,CACnC,OAAqD,EACrD,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;YACD;gBACE,0BAA0B;gBAC1B,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,gBAAgB,CAAC,iBAAiB,CACtC,OAAwD,EACxD,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;SACF,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,qBAAqB;QACnB,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE,CAAC;IACtC,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,WAAmB;QACvB,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;IACtC,CAAC;CACF"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { SimStatesExecutionStore } from "./execution/sim-states-execution-store.js";
|
|
2
|
+
/**
|
|
3
|
+
* What a test can read about the executions a simulated Step Functions has
|
|
4
|
+
* run.
|
|
5
|
+
*
|
|
6
|
+
* This is the simulator's own accessor rather than an AWS API.
|
|
7
|
+
* `GetExecutionHistory` answers the same question on real Step Functions, with
|
|
8
|
+
* an event stream that carries far more than a test usually asserts on.
|
|
9
|
+
*/
|
|
10
|
+
export declare class SimStepFunctionsInspection {
|
|
11
|
+
#private;
|
|
12
|
+
constructor(executions: SimStatesExecutionStore);
|
|
13
|
+
/**
|
|
14
|
+
* The states one execution entered, in the order it entered them.
|
|
15
|
+
*/
|
|
16
|
+
visitedStates(executionArn: string): readonly string[];
|
|
17
|
+
/**
|
|
18
|
+
* Every execution of one state machine, most recently started first.
|
|
19
|
+
*/
|
|
20
|
+
executionsOf(stateMachineArn: string): readonly string[];
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=sim-step-functions-inspection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-step-functions-inspection.d.ts","sourceRoot":"","sources":["../../../src/service/stepfunctions/sim-step-functions-inspection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAEzF;;;;;;;GAOG;AACH,qBAAa,0BAA0B;;IAGrC,YAAY,UAAU,EAAE,uBAAuB,EAE9C;IAED;;OAEG;IACH,aAAa,CAAC,YAAY,EAAE,MAAM,GAAG,SAAS,MAAM,EAAE,CAErD;IAED;;OAEG;IACH,YAAY,CAAC,eAAe,EAAE,MAAM,GAAG,SAAS,MAAM,EAAE,CAIvD;CACF"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What a test can read about the executions a simulated Step Functions has
|
|
3
|
+
* run.
|
|
4
|
+
*
|
|
5
|
+
* This is the simulator's own accessor rather than an AWS API.
|
|
6
|
+
* `GetExecutionHistory` answers the same question on real Step Functions, with
|
|
7
|
+
* an event stream that carries far more than a test usually asserts on.
|
|
8
|
+
*/
|
|
9
|
+
export class SimStepFunctionsInspection {
|
|
10
|
+
#executions;
|
|
11
|
+
constructor(executions) {
|
|
12
|
+
this.#executions = executions;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* The states one execution entered, in the order it entered them.
|
|
16
|
+
*/
|
|
17
|
+
visitedStates(executionArn) {
|
|
18
|
+
return this.#executions.find(executionArn)?.visitedStates ?? [];
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Every execution of one state machine, most recently started first.
|
|
22
|
+
*/
|
|
23
|
+
executionsOf(stateMachineArn) {
|
|
24
|
+
return this.#executions
|
|
25
|
+
.forStateMachine(stateMachineArn)
|
|
26
|
+
.map((execution) => execution.arn);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=sim-step-functions-inspection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-step-functions-inspection.js","sourceRoot":"","sources":["../../../src/service/stepfunctions/sim-step-functions-inspection.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,MAAM,OAAO,0BAA0B;IAC5B,WAAW,CAA0B;IAE9C,YAAY,UAAmC;QAC7C,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;IAChC,CAAC;IAED;;OAEG;IACH,aAAa,CAAC,YAAoB;QAChC,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,aAAa,IAAI,EAAE,CAAC;IAClE,CAAC;IAED;;OAEG;IACH,YAAY,CAAC,eAAuB;QAClC,OAAO,IAAI,CAAC,WAAW;aACpB,eAAe,CAAC,eAAe,CAAC;aAChC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;IACvC,CAAC;CACF"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import type { SimSdkCommandRouter } from "../../sdk/router/sim-sdk-command-router.type.js";
|
|
2
|
+
import { type BackgroundScheduler } from "../../util/background/background.js";
|
|
3
|
+
import type { SimAwsAccountRegionScope } from "../aws/sim-aws-account-region-scope.js";
|
|
4
|
+
import type * as simStatesCommands from "./command/sim-step-functions-command.types.js";
|
|
5
|
+
import type { SimStepFunctionsRequestOptions } from "./command/sim-step-functions-request-options.js";
|
|
6
|
+
import type { SimStateMachine } from "./machine/sim-state-machine.js";
|
|
7
|
+
import type { SimStatesTaskTargets } from "./task/sim-states-task-invocation.js";
|
|
8
|
+
import { SimStepFunctionsInspection } from "./sim-step-functions-inspection.js";
|
|
9
|
+
interface SimStepFunctionsProperties {
|
|
10
|
+
readonly accountRegionScope?: SimAwsAccountRegionScope;
|
|
11
|
+
readonly background?: BackgroundScheduler;
|
|
12
|
+
/**
|
|
13
|
+
* Where a `Task` state does its work. A simulated Step Functions built on
|
|
14
|
+
* its own has nowhere to invoke, and says so at the first task.
|
|
15
|
+
*/
|
|
16
|
+
readonly taskTargets?: SimStatesTaskTargets;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Simulated Step Functions. Handles SDK commands. Emulates AWS behaviour and
|
|
20
|
+
* state.
|
|
21
|
+
*
|
|
22
|
+
* A state machine's definition is checked when it is created, so an execution
|
|
23
|
+
* walks a definition it can rely on. The state types this runs are `Pass`,
|
|
24
|
+
* `Task`, `Choice`, `Wait`, `Succeed` and `Fail`, and a definition using any
|
|
25
|
+
* other is refused by name.
|
|
26
|
+
*
|
|
27
|
+
* An execution runs on the simulation's background scheduler rather than in
|
|
28
|
+
* the `StartExecution` call. An execution with nothing to wait for settles
|
|
29
|
+
* before the caller sees it. A failing execution records the failure and never
|
|
30
|
+
* raises out of the scheduler, following the way simulated EventBridge records
|
|
31
|
+
* a delivery it could not make.
|
|
32
|
+
*/
|
|
33
|
+
export declare class SimStepFunctions {
|
|
34
|
+
#private;
|
|
35
|
+
constructor(properties?: SimStepFunctionsProperties);
|
|
36
|
+
/**
|
|
37
|
+
* Find a state machine by name.
|
|
38
|
+
*
|
|
39
|
+
* This is the simulator's own accessor, for tests seeding or inspecting
|
|
40
|
+
* state machines without going through a Command.
|
|
41
|
+
*/
|
|
42
|
+
findStateMachine(name: string): SimStateMachine | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* What a test can read about the executions this service has run.
|
|
45
|
+
*/
|
|
46
|
+
inspection(): SimStepFunctionsInspection;
|
|
47
|
+
/** Handle a CreateStateMachine Command from the SDK. */
|
|
48
|
+
createStateMachine(command: simStatesCommands.SimCreateStateMachineCommand, _options?: SimStepFunctionsRequestOptions): Promise<simStatesCommands.SimCreateStateMachineCommandOutput>;
|
|
49
|
+
/** Handle a DescribeStateMachine Command from the SDK. */
|
|
50
|
+
describeStateMachine(command: simStatesCommands.SimDescribeStateMachineCommand, _options?: SimStepFunctionsRequestOptions): Promise<simStatesCommands.SimDescribeStateMachineCommandOutput>;
|
|
51
|
+
/** Handle an UpdateStateMachine Command from the SDK. */
|
|
52
|
+
updateStateMachine(command: simStatesCommands.SimUpdateStateMachineCommand, _options?: SimStepFunctionsRequestOptions): Promise<simStatesCommands.SimUpdateStateMachineCommandOutput>;
|
|
53
|
+
/** Handle a DeleteStateMachine Command from the SDK. */
|
|
54
|
+
deleteStateMachine(command: simStatesCommands.SimDeleteStateMachineCommand, _options?: SimStepFunctionsRequestOptions): Promise<simStatesCommands.SimDeleteStateMachineCommandOutput>;
|
|
55
|
+
/** Handle a ListStateMachines Command from the SDK. */
|
|
56
|
+
listStateMachines(command: simStatesCommands.SimListStateMachinesCommand, _options?: SimStepFunctionsRequestOptions): Promise<simStatesCommands.SimListStateMachinesCommandOutput>;
|
|
57
|
+
/** Handle a StartExecution Command from the SDK. */
|
|
58
|
+
startExecution(command: simStatesCommands.SimStartExecutionCommand, _options?: SimStepFunctionsRequestOptions): Promise<simStatesCommands.SimStartExecutionCommandOutput>;
|
|
59
|
+
/** Handle a DescribeExecution Command from the SDK. */
|
|
60
|
+
describeExecution(command: simStatesCommands.SimDescribeExecutionCommand, _options?: SimStepFunctionsRequestOptions): Promise<simStatesCommands.SimDescribeExecutionCommandOutput>;
|
|
61
|
+
/**
|
|
62
|
+
* Get this service's SDK Command router for SDK client interception.
|
|
63
|
+
*/
|
|
64
|
+
sdkCommandRouter(): SimSdkCommandRouter;
|
|
65
|
+
}
|
|
66
|
+
export {};
|
|
67
|
+
//# sourceMappingURL=sim-step-functions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-step-functions.d.ts","sourceRoot":"","sources":["../../../src/service/stepfunctions/sim-step-functions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAEvF,OAAO,KAAK,KAAK,iBAAiB,MAAM,+CAA+C,CAAC;AAMxF,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,iDAAiD,CAAC;AAEtG,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAItE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAEhF,UAAU,0BAA0B;IAClC,QAAQ,CAAC,kBAAkB,CAAC,EAAE,wBAAwB,CAAC;IACvD,QAAQ,CAAC,UAAU,CAAC,EAAE,mBAAmB,CAAC;IAE1C;;;OAGG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,oBAAoB,CAAC;CAC7C;AAED;;;;;;;;;;;;;;GAcG;AACH,qBAAa,gBAAgB;;IAY3B,YAAY,UAAU,GAAE,0BAA+B,EA2BtD;IAED;;;;;OAKG;IACH,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,eAAe,GAAG,SAAS,CAE1D;IAED;;OAEG;IACH,UAAU,IAAI,0BAA0B,CAEvC;IAED,wDAAwD;IAClD,kBAAkB,CACtB,OAAO,EAAE,iBAAiB,CAAC,4BAA4B,EACvD,QAAQ,CAAC,EAAE,8BAA8B,GACxC,OAAO,CAAC,iBAAiB,CAAC,kCAAkC,CAAC,CAG/D;IAED,0DAA0D;IACpD,oBAAoB,CACxB,OAAO,EAAE,iBAAiB,CAAC,8BAA8B,EACzD,QAAQ,CAAC,EAAE,8BAA8B,GACxC,OAAO,CAAC,iBAAiB,CAAC,oCAAoC,CAAC,CAGjE;IAED,yDAAyD;IACnD,kBAAkB,CACtB,OAAO,EAAE,iBAAiB,CAAC,4BAA4B,EACvD,QAAQ,CAAC,EAAE,8BAA8B,GACxC,OAAO,CAAC,iBAAiB,CAAC,kCAAkC,CAAC,CAG/D;IAED,wDAAwD;IAClD,kBAAkB,CACtB,OAAO,EAAE,iBAAiB,CAAC,4BAA4B,EACvD,QAAQ,CAAC,EAAE,8BAA8B,GACxC,OAAO,CAAC,iBAAiB,CAAC,kCAAkC,CAAC,CAG/D;IAED,uDAAuD;IACjD,iBAAiB,CACrB,OAAO,EAAE,iBAAiB,CAAC,2BAA2B,EACtD,QAAQ,CAAC,EAAE,8BAA8B,GACxC,OAAO,CAAC,iBAAiB,CAAC,iCAAiC,CAAC,CAG9D;IAED,oDAAoD;IAC9C,cAAc,CAClB,OAAO,EAAE,iBAAiB,CAAC,wBAAwB,EACnD,QAAQ,CAAC,EAAE,8BAA8B,GACxC,OAAO,CAAC,iBAAiB,CAAC,8BAA8B,CAAC,CAW3D;IAED,uDAAuD;IACjD,iBAAiB,CACrB,OAAO,EAAE,iBAAiB,CAAC,2BAA2B,EACtD,QAAQ,CAAC,EAAE,8BAA8B,GACxC,OAAO,CAAC,iBAAiB,CAAC,iCAAiC,CAAC,CAG9D;IAED;;OAEG;IACH,gBAAgB,IAAI,mBAAmB,CAEtC;CACF"}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { BackgroundTasks, } from "../../util/background/background.js";
|
|
2
|
+
import { simAwsAccountRegionScopeFactory } from "../aws/sim-aws-account-region-scope.factory.js";
|
|
3
|
+
import { SimStatesExecutionDescribe } from "./command/execution/sim-states-execution-describe.js";
|
|
4
|
+
import { SimStatesExecutionStart } from "./command/execution/sim-states-execution-start.js";
|
|
5
|
+
import { SimStateMachineCreate } from "./command/machine/sim-state-machine-create.js";
|
|
6
|
+
import { SimStateMachineReads } from "./command/machine/sim-state-machine-reads.js";
|
|
7
|
+
import { SimStateMachineWrites } from "./command/machine/sim-state-machine-writes.js";
|
|
8
|
+
import { SimStatesExecutionStore } from "./execution/sim-states-execution-store.js";
|
|
9
|
+
import { SimStateMachineStore } from "./machine/sim-state-machine-store.js";
|
|
10
|
+
import { SimStepFunctionsSdkCommandRouter } from "./sdk/sim-step-functions-sdk-command-router.js";
|
|
11
|
+
import { SimStatesNoTaskTargets } from "./task/sim-states-no-task-targets.js";
|
|
12
|
+
import { SimStepFunctionsInspection } from "./sim-step-functions-inspection.js";
|
|
13
|
+
/**
|
|
14
|
+
* Simulated Step Functions. Handles SDK commands. Emulates AWS behaviour and
|
|
15
|
+
* state.
|
|
16
|
+
*
|
|
17
|
+
* A state machine's definition is checked when it is created, so an execution
|
|
18
|
+
* walks a definition it can rely on. The state types this runs are `Pass`,
|
|
19
|
+
* `Task`, `Choice`, `Wait`, `Succeed` and `Fail`, and a definition using any
|
|
20
|
+
* other is refused by name.
|
|
21
|
+
*
|
|
22
|
+
* An execution runs on the simulation's background scheduler rather than in
|
|
23
|
+
* the `StartExecution` call. An execution with nothing to wait for settles
|
|
24
|
+
* before the caller sees it. A failing execution records the failure and never
|
|
25
|
+
* raises out of the scheduler, following the way simulated EventBridge records
|
|
26
|
+
* a delivery it could not make.
|
|
27
|
+
*/
|
|
28
|
+
export class SimStepFunctions {
|
|
29
|
+
#stateMachines = new SimStateMachineStore();
|
|
30
|
+
#executions = new SimStatesExecutionStore();
|
|
31
|
+
#machineReads;
|
|
32
|
+
#machineWrites;
|
|
33
|
+
#machineCreate;
|
|
34
|
+
#executionStart;
|
|
35
|
+
#executionDescribe;
|
|
36
|
+
#background;
|
|
37
|
+
#sdkRouter = new SimStepFunctionsSdkCommandRouter(this);
|
|
38
|
+
#inspection = new SimStepFunctionsInspection(this.#executions);
|
|
39
|
+
constructor(properties = {}) {
|
|
40
|
+
const { accountRegionScope = simAwsAccountRegionScopeFactory.make(), background = new BackgroundTasks(), taskTargets = new SimStatesNoTaskTargets(), } = properties;
|
|
41
|
+
this.#background = background;
|
|
42
|
+
this.#machineReads = new SimStateMachineReads(this.#stateMachines);
|
|
43
|
+
this.#machineWrites = new SimStateMachineWrites({
|
|
44
|
+
stateMachines: this.#stateMachines,
|
|
45
|
+
executions: this.#executions,
|
|
46
|
+
background,
|
|
47
|
+
});
|
|
48
|
+
this.#machineCreate = new SimStateMachineCreate({
|
|
49
|
+
stateMachines: this.#stateMachines,
|
|
50
|
+
accountRegionScope,
|
|
51
|
+
background,
|
|
52
|
+
});
|
|
53
|
+
this.#executionStart = new SimStatesExecutionStart({
|
|
54
|
+
stateMachines: this.#stateMachines,
|
|
55
|
+
executions: this.#executions,
|
|
56
|
+
accountRegionScope,
|
|
57
|
+
background,
|
|
58
|
+
tasks: taskTargets,
|
|
59
|
+
});
|
|
60
|
+
this.#executionDescribe = new SimStatesExecutionDescribe(this.#executions);
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Find a state machine by name.
|
|
64
|
+
*
|
|
65
|
+
* This is the simulator's own accessor, for tests seeding or inspecting
|
|
66
|
+
* state machines without going through a Command.
|
|
67
|
+
*/
|
|
68
|
+
findStateMachine(name) {
|
|
69
|
+
return this.#stateMachines.findByName(name);
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* What a test can read about the executions this service has run.
|
|
73
|
+
*/
|
|
74
|
+
inspection() {
|
|
75
|
+
return this.#inspection;
|
|
76
|
+
}
|
|
77
|
+
/** Handle a CreateStateMachine Command from the SDK. */
|
|
78
|
+
async createStateMachine(command, _options) {
|
|
79
|
+
await this.#background.sequence();
|
|
80
|
+
return this.#machineCreate.handle(command);
|
|
81
|
+
}
|
|
82
|
+
/** Handle a DescribeStateMachine Command from the SDK. */
|
|
83
|
+
async describeStateMachine(command, _options) {
|
|
84
|
+
await this.#background.sequence();
|
|
85
|
+
return this.#machineReads.describe(command);
|
|
86
|
+
}
|
|
87
|
+
/** Handle an UpdateStateMachine Command from the SDK. */
|
|
88
|
+
async updateStateMachine(command, _options) {
|
|
89
|
+
await this.#background.sequence();
|
|
90
|
+
return this.#machineWrites.update(command);
|
|
91
|
+
}
|
|
92
|
+
/** Handle a DeleteStateMachine Command from the SDK. */
|
|
93
|
+
async deleteStateMachine(command, _options) {
|
|
94
|
+
await this.#background.sequence();
|
|
95
|
+
return this.#machineWrites.delete(command);
|
|
96
|
+
}
|
|
97
|
+
/** Handle a ListStateMachines Command from the SDK. */
|
|
98
|
+
async listStateMachines(command, _options) {
|
|
99
|
+
await this.#background.sequence();
|
|
100
|
+
return this.#machineReads.list(command);
|
|
101
|
+
}
|
|
102
|
+
/** Handle a StartExecution Command from the SDK. */
|
|
103
|
+
async startExecution(command, _options) {
|
|
104
|
+
await this.#background.sequence();
|
|
105
|
+
const started = this.#executionStart.handle(command);
|
|
106
|
+
// The walk was scheduled rather than run. Yielding here lets an execution
|
|
107
|
+
// with nothing to wait for finish before the caller reads it back, which
|
|
108
|
+
// is what a test asserting straight after StartExecution expects.
|
|
109
|
+
await this.#background.sequence();
|
|
110
|
+
return started;
|
|
111
|
+
}
|
|
112
|
+
/** Handle a DescribeExecution Command from the SDK. */
|
|
113
|
+
async describeExecution(command, _options) {
|
|
114
|
+
await this.#background.sequence();
|
|
115
|
+
return this.#executionDescribe.handle(command);
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Get this service's SDK Command router for SDK client interception.
|
|
119
|
+
*/
|
|
120
|
+
sdkCommandRouter() {
|
|
121
|
+
return this.#sdkRouter;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
//# sourceMappingURL=sim-step-functions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-step-functions.js","sourceRoot":"","sources":["../../../src/service/stepfunctions/sim-step-functions.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,eAAe,GAChB,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EAAE,+BAA+B,EAAE,MAAM,gDAAgD,CAAC;AAEjG,OAAO,EAAE,0BAA0B,EAAE,MAAM,sDAAsD,CAAC;AAClG,OAAO,EAAE,uBAAuB,EAAE,MAAM,mDAAmD,CAAC;AAC5F,OAAO,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AACtF,OAAO,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AACpF,OAAO,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AAEtF,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAEpF,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,EAAE,gCAAgC,EAAE,MAAM,gDAAgD,CAAC;AAClG,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAE9E,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAahF;;;;;;;;;;;;;;GAcG;AACH,MAAM,OAAO,gBAAgB;IAClB,cAAc,GAAG,IAAI,oBAAoB,EAAE,CAAC;IAC5C,WAAW,GAAG,IAAI,uBAAuB,EAAE,CAAC;IAC5C,aAAa,CAAuB;IACpC,cAAc,CAAwB;IACtC,cAAc,CAAwB;IACtC,eAAe,CAA0B;IACzC,kBAAkB,CAA6B;IAC/C,WAAW,CAAsB;IACjC,UAAU,GAAG,IAAI,gCAAgC,CAAC,IAAI,CAAC,CAAC;IACxD,WAAW,GAAG,IAAI,0BAA0B,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IAExE,YAAY,UAAU,GAA+B,EAAE;QACrD,MAAM,EACJ,kBAAkB,GAAG,+BAA+B,CAAC,IAAI,EAAE,EAC3D,UAAU,GAAG,IAAI,eAAe,EAAE,EAClC,WAAW,GAAG,IAAI,sBAAsB,EAAE,GAC3C,GAAG,UAAU,CAAC;QAEf,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;QAC9B,IAAI,CAAC,aAAa,GAAG,IAAI,oBAAoB,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACnE,IAAI,CAAC,cAAc,GAAG,IAAI,qBAAqB,CAAC;YAC9C,aAAa,EAAE,IAAI,CAAC,cAAc;YAClC,UAAU,EAAE,IAAI,CAAC,WAAW;YAC5B,UAAU;SACX,CAAC,CAAC;QACH,IAAI,CAAC,cAAc,GAAG,IAAI,qBAAqB,CAAC;YAC9C,aAAa,EAAE,IAAI,CAAC,cAAc;YAClC,kBAAkB;YAClB,UAAU;SACX,CAAC,CAAC;QACH,IAAI,CAAC,eAAe,GAAG,IAAI,uBAAuB,CAAC;YACjD,aAAa,EAAE,IAAI,CAAC,cAAc;YAClC,UAAU,EAAE,IAAI,CAAC,WAAW;YAC5B,kBAAkB;YAClB,UAAU;YACV,KAAK,EAAE,WAAW;SACnB,CAAC,CAAC;QACH,IAAI,CAAC,kBAAkB,GAAG,IAAI,0BAA0B,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IAC7E,CAAC;IAED;;;;;OAKG;IACH,gBAAgB,CAAC,IAAY;QAC3B,OAAO,IAAI,CAAC,cAAc,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;IAC9C,CAAC;IAED;;OAEG;IACH,UAAU;QACR,OAAO,IAAI,CAAC,WAAW,CAAC;IAC1B,CAAC;IAED,wDAAwD;IACxD,KAAK,CAAC,kBAAkB,CACtB,OAAuD,EACvD,QAAyC;QAEzC,MAAM,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAClC,OAAO,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC7C,CAAC;IAED,0DAA0D;IAC1D,KAAK,CAAC,oBAAoB,CACxB,OAAyD,EACzD,QAAyC;QAEzC,MAAM,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAClC,OAAO,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;IAC9C,CAAC;IAED,yDAAyD;IACzD,KAAK,CAAC,kBAAkB,CACtB,OAAuD,EACvD,QAAyC;QAEzC,MAAM,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAClC,OAAO,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC7C,CAAC;IAED,wDAAwD;IACxD,KAAK,CAAC,kBAAkB,CACtB,OAAuD,EACvD,QAAyC;QAEzC,MAAM,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAClC,OAAO,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC7C,CAAC;IAED,uDAAuD;IACvD,KAAK,CAAC,iBAAiB,CACrB,OAAsD,EACtD,QAAyC;QAEzC,MAAM,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAClC,OAAO,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC1C,CAAC;IAED,oDAAoD;IACpD,KAAK,CAAC,cAAc,CAClB,OAAmD,EACnD,QAAyC;QAEzC,MAAM,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAElC,MAAM,OAAO,GAAG,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAErD,0EAA0E;QAC1E,yEAAyE;QACzE,kEAAkE;QAClE,MAAM,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAED,uDAAuD;IACvD,KAAK,CAAC,iBAAiB,CACrB,OAAsD,EACtD,QAAyC;QAEzC,MAAM,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAClC,OAAO,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACjD,CAAC;IAED;;OAEG;IACH,gBAAgB;QACd,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;CACF"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { SimAwsAccountRegionScope } from "../../aws/sim-aws-account-region-scope.js";
|
|
2
|
+
import type { SimAws } from "../../aws/sim-aws.js";
|
|
3
|
+
import type { JSONValue } from "../../../util/type-guard/json.js";
|
|
4
|
+
import type { SimStatesTaskInvocation, SimStatesTaskTargets } from "./sim-states-task-invocation.js";
|
|
5
|
+
interface SimAwsStatesTaskTargetsProperties {
|
|
6
|
+
readonly simAws: SimAws;
|
|
7
|
+
readonly accountRegionScope: SimAwsAccountRegionScope;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Everywhere the state machines of one simulated AWS instance can invoke.
|
|
11
|
+
*
|
|
12
|
+
* The function is looked up when a task runs, never when this is built:
|
|
13
|
+
* reaching another service while this one is being constructed is a cycle with
|
|
14
|
+
* no bottom to it.
|
|
15
|
+
*
|
|
16
|
+
* A function in another Account or Region is allowed, since a real execution
|
|
17
|
+
* invokes across both, and it is the function's own Account that decides
|
|
18
|
+
* whether the execution role may.
|
|
19
|
+
*/
|
|
20
|
+
export declare class SimAwsStatesTaskTargets implements SimStatesTaskTargets {
|
|
21
|
+
#private;
|
|
22
|
+
constructor(properties: SimAwsStatesTaskTargetsProperties);
|
|
23
|
+
/**
|
|
24
|
+
* Assume the state machine's execution role, then invoke the function as
|
|
25
|
+
* that role.
|
|
26
|
+
*
|
|
27
|
+
* The role is assumed in its own Account, and the function is reached in the
|
|
28
|
+
* function's, which are not necessarily the same one.
|
|
29
|
+
*/
|
|
30
|
+
invoke(invocation: SimStatesTaskInvocation): Promise<JSONValue>;
|
|
31
|
+
}
|
|
32
|
+
export {};
|
|
33
|
+
//# sourceMappingURL=sim-aws-states-task-targets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-aws-states-task-targets.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/task/sim-aws-states-task-targets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAOlE,OAAO,KAAK,EACV,uBAAuB,EACvB,oBAAoB,EACrB,MAAM,iCAAiC,CAAC;AAEzC,UAAU,iCAAiC;IACzC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,kBAAkB,EAAE,wBAAwB,CAAC;CACvD;AAED;;;;;;;;;;GAUG;AACH,qBAAa,uBAAwB,YAAW,oBAAoB;;IAIlE,YAAY,UAAU,EAAE,iCAAiC,EAGxD;IAED;;;;;;OAMG;IACG,MAAM,CAAC,UAAU,EAAE,uBAAuB,GAAG,OAAO,CAAC,SAAS,CAAC,CA2BpE;CACF"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { assumeSimStatesExecutionRole, simStatesExecutionRoleTarget, } from "./sim-states-execution-role.js";
|
|
2
|
+
import { simStatesFunctionLocation } from "./sim-states-function-location.js";
|
|
3
|
+
import { SimStatesTaskFunction } from "./sim-states-task-function.js";
|
|
4
|
+
/**
|
|
5
|
+
* Everywhere the state machines of one simulated AWS instance can invoke.
|
|
6
|
+
*
|
|
7
|
+
* The function is looked up when a task runs, never when this is built:
|
|
8
|
+
* reaching another service while this one is being constructed is a cycle with
|
|
9
|
+
* no bottom to it.
|
|
10
|
+
*
|
|
11
|
+
* A function in another Account or Region is allowed, since a real execution
|
|
12
|
+
* invokes across both, and it is the function's own Account that decides
|
|
13
|
+
* whether the execution role may.
|
|
14
|
+
*/
|
|
15
|
+
export class SimAwsStatesTaskTargets {
|
|
16
|
+
#simAws;
|
|
17
|
+
#accountRegionScope;
|
|
18
|
+
constructor(properties) {
|
|
19
|
+
this.#simAws = properties.simAws;
|
|
20
|
+
this.#accountRegionScope = properties.accountRegionScope;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Assume the state machine's execution role, then invoke the function as
|
|
24
|
+
* that role.
|
|
25
|
+
*
|
|
26
|
+
* The role is assumed in its own Account, and the function is reached in the
|
|
27
|
+
* function's, which are not necessarily the same one.
|
|
28
|
+
*/
|
|
29
|
+
async invoke(invocation) {
|
|
30
|
+
const { stateName, target } = invocation;
|
|
31
|
+
const call = target.call(invocation.payload, stateName);
|
|
32
|
+
const where = simStatesFunctionLocation(call.functionNameOrArn, this.#accountRegionScope, stateName);
|
|
33
|
+
const role = simStatesExecutionRoleTarget(invocation.roleArn, stateName);
|
|
34
|
+
const iam = this.#simAws
|
|
35
|
+
.accountRegionScope(role.accountId, where.regionName)
|
|
36
|
+
.iam();
|
|
37
|
+
const caller = await assumeSimStatesExecutionRole(role, iam);
|
|
38
|
+
const scope = this.#simAws.accountRegionScope(where.accountId, where.regionName);
|
|
39
|
+
return await new SimStatesTaskFunction({ scope }).invoke({
|
|
40
|
+
stateName,
|
|
41
|
+
target,
|
|
42
|
+
reference: where.reference,
|
|
43
|
+
named: call.functionNameOrArn,
|
|
44
|
+
payload: call.payload,
|
|
45
|
+
caller,
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=sim-aws-states-task-targets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-aws-states-task-targets.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/task/sim-aws-states-task-targets.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,4BAA4B,EAC5B,4BAA4B,GAC7B,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAWtE;;;;;;;;;;GAUG;AACH,MAAM,OAAO,uBAAuB;IACzB,OAAO,CAAS;IAChB,mBAAmB,CAA2B;IAEvD,YAAY,UAA6C;QACvD,IAAI,CAAC,OAAO,GAAG,UAAU,CAAC,MAAM,CAAC;QACjC,IAAI,CAAC,mBAAmB,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAC3D,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,MAAM,CAAC,UAAmC;QAC9C,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,UAAU,CAAC;QACzC,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QACxD,MAAM,KAAK,GAAG,yBAAyB,CACrC,IAAI,CAAC,iBAAiB,EACtB,IAAI,CAAC,mBAAmB,EACxB,SAAS,CACV,CAAC;QACF,MAAM,IAAI,GAAG,4BAA4B,CAAC,UAAU,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QACzE,MAAM,GAAG,GAAG,IAAI,CAAC,OAAO;aACrB,kBAAkB,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC,UAAU,CAAC;aACpD,GAAG,EAAE,CAAC;QAET,MAAM,MAAM,GAAG,MAAM,4BAA4B,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;QAC7D,MAAM,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,kBAAkB,CAC3C,KAAK,CAAC,SAAS,EACf,KAAK,CAAC,UAAU,CACjB,CAAC;QAEF,OAAO,MAAM,IAAI,qBAAqB,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;YACvD,SAAS;YACT,MAAM;YACN,SAAS,EAAE,KAAK,CAAC,SAAS;YAC1B,KAAK,EAAE,IAAI,CAAC,iBAAiB;YAC7B,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,MAAM;SACP,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { SimAwsCaller } from "../../aws/caller/sim-aws-caller.js";
|
|
2
|
+
import type { SimIam } from "../../iam/sim-iam.js";
|
|
3
|
+
import { type SimServiceRoleTarget } from "../../sts/service-role/sim-service-role.js";
|
|
4
|
+
/**
|
|
5
|
+
* The service principal a state machine's execution role trusts.
|
|
6
|
+
*/
|
|
7
|
+
export declare const simStatesServicePrincipal = "states.amazonaws.com";
|
|
8
|
+
/**
|
|
9
|
+
* Read the Account and name out of a state machine's `RoleArn`.
|
|
10
|
+
*
|
|
11
|
+
* `CreateStateMachine` takes the role ARN as it is written, so a value that is
|
|
12
|
+
* not a role ARN at all is found here, at the first task that needs it.
|
|
13
|
+
*/
|
|
14
|
+
export declare function simStatesExecutionRoleTarget(roleArn: string, stateName: string): SimServiceRoleTarget;
|
|
15
|
+
/**
|
|
16
|
+
* Assume a state machine's execution role, and answer with the caller it
|
|
17
|
+
* makes.
|
|
18
|
+
*
|
|
19
|
+
* A task reaches a function as a session of this role, and the role's own
|
|
20
|
+
* policies decide what it may do. That is the difference from an EventBridge
|
|
21
|
+
* rule, which reaches a function as a service principal and is admitted by the
|
|
22
|
+
* function's resource policy.
|
|
23
|
+
*/
|
|
24
|
+
export declare function assumeSimStatesExecutionRole(target: SimServiceRoleTarget, iam: SimIam): Promise<SimAwsCaller>;
|
|
25
|
+
//# sourceMappingURL=sim-states-execution-role.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-execution-role.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/task/sim-states-execution-role.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAGL,KAAK,oBAAoB,EAE1B,MAAM,4CAA4C,CAAC;AAGpD;;GAEG;AACH,eAAO,MAAM,yBAAyB,yBAAyB,CAAC;AAUhE;;;;;GAKG;AACH,wBAAgB,4BAA4B,CAC1C,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,MAAM,GAChB,oBAAoB,CAStB;AAmBD;;;;;;;;GAQG;AACH,wBAAsB,4BAA4B,CAChD,MAAM,EAAE,oBAAoB,EAC5B,GAAG,EAAE,MAAM,GACV,OAAO,CAAC,YAAY,CAAC,CAQvB"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { assumeSimServiceRole, simServiceRoleTarget, } from "../../sts/service-role/sim-service-role.js";
|
|
2
|
+
import { SimStatesTaskFailure } from "../error/sim-step-functions.error.js";
|
|
3
|
+
/**
|
|
4
|
+
* The service principal a state machine's execution role trusts.
|
|
5
|
+
*/
|
|
6
|
+
export const simStatesServicePrincipal = "states.amazonaws.com";
|
|
7
|
+
/**
|
|
8
|
+
* The session name this gives the role an execution assumes.
|
|
9
|
+
*
|
|
10
|
+
* Nothing in the simulation reads it apart from the principal ARN a policy
|
|
11
|
+
* condition could match on.
|
|
12
|
+
*/
|
|
13
|
+
const sessionName = "StatesExecution";
|
|
14
|
+
/**
|
|
15
|
+
* Read the Account and name out of a state machine's `RoleArn`.
|
|
16
|
+
*
|
|
17
|
+
* `CreateStateMachine` takes the role ARN as it is written, so a value that is
|
|
18
|
+
* not a role ARN at all is found here, at the first task that needs it.
|
|
19
|
+
*/
|
|
20
|
+
export function simStatesExecutionRoleTarget(roleArn, stateName) {
|
|
21
|
+
try {
|
|
22
|
+
return simServiceRoleTarget(roleArn);
|
|
23
|
+
}
|
|
24
|
+
catch {
|
|
25
|
+
throw new SimStatesTaskFailure(`The state machine's RoleArn is ${roleArn}, which is not an IAM role ` +
|
|
26
|
+
`ARN, so the Task state ${stateName} had no role to assume.`);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* What a state machine says when it could not assume its execution role.
|
|
31
|
+
*/
|
|
32
|
+
const refusals = {
|
|
33
|
+
missingRole: (target) => new SimStatesTaskFailure(`${target.roleArn} is not a simulated IAM role, so the execution ` +
|
|
34
|
+
"could not assume it to do its task."),
|
|
35
|
+
untrustedRole: (target, servicePrincipal) => new SimStatesTaskFailure(`The trust policy of ${target.roleArn} does not allow ` +
|
|
36
|
+
`${servicePrincipal} to assume it, so the execution could not do ` +
|
|
37
|
+
"its task. Add it to the role's AssumeRolePolicyDocument."),
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Assume a state machine's execution role, and answer with the caller it
|
|
41
|
+
* makes.
|
|
42
|
+
*
|
|
43
|
+
* A task reaches a function as a session of this role, and the role's own
|
|
44
|
+
* policies decide what it may do. That is the difference from an EventBridge
|
|
45
|
+
* rule, which reaches a function as a service principal and is admitted by the
|
|
46
|
+
* function's resource policy.
|
|
47
|
+
*/
|
|
48
|
+
export async function assumeSimStatesExecutionRole(target, iam) {
|
|
49
|
+
return await assumeSimServiceRole({
|
|
50
|
+
target,
|
|
51
|
+
servicePrincipal: simStatesServicePrincipal,
|
|
52
|
+
sessionName,
|
|
53
|
+
iam,
|
|
54
|
+
refusals,
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=sim-states-execution-role.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-execution-role.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/task/sim-states-execution-role.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,oBAAoB,EAGpB,oBAAoB,GACrB,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAE5E;;GAEG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,sBAAsB,CAAC;AAEhE;;;;;GAKG;AACH,MAAM,WAAW,GAAG,iBAAiB,CAAC;AAEtC;;;;;GAKG;AACH,MAAM,UAAU,4BAA4B,CAC1C,OAAe,EACf,SAAiB;IAEjB,IAAI,CAAC;QACH,OAAO,oBAAoB,CAAC,OAAO,CAAC,CAAC;IACvC,CAAC;IAAC,MAAM,CAAC;QACP,MAAM,IAAI,oBAAoB,CAC5B,kCAAkC,OAAO,6BAA6B;YACpE,0BAA0B,SAAS,yBAAyB,CAC/D,CAAC;IACJ,CAAC;AACH,CAAC;AAED;;GAEG;AACH,MAAM,QAAQ,GAA2B;IACvC,WAAW,EAAE,CAAC,MAAM,EAAE,EAAE,CACtB,IAAI,oBAAoB,CACtB,GAAG,MAAM,CAAC,OAAO,iDAAiD;QAChE,qCAAqC,CACxC;IACH,aAAa,EAAE,CAAC,MAAM,EAAE,gBAAgB,EAAE,EAAE,CAC1C,IAAI,oBAAoB,CACtB,uBAAuB,MAAM,CAAC,OAAO,kBAAkB;QACrD,GAAG,gBAAgB,+CAA+C;QAClE,0DAA0D,CAC7D;CACJ,CAAC;AAEF;;;;;;;;GAQG;AACH,MAAM,CAAC,KAAK,UAAU,4BAA4B,CAChD,MAA4B,EAC5B,GAAW;IAEX,OAAO,MAAM,oBAAoB,CAAC;QAChC,MAAM;QACN,gBAAgB,EAAE,yBAAyB;QAC3C,WAAW;QACX,GAAG;QACH,QAAQ;KACT,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { JSONValue } from "../../../util/type-guard/json.js";
|
|
2
|
+
import { type SimStatesTaskCall, SimStatesTaskTarget } from "./sim-states-task-target.js";
|
|
3
|
+
interface SimStatesFunctionArnTargetProperties {
|
|
4
|
+
readonly functionArn: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* A `Task` state whose `Resource` is a function ARN.
|
|
8
|
+
*
|
|
9
|
+
* The state is talking to the function rather than to the Lambda API, so what
|
|
10
|
+
* it sends is its own input and what it gets back is what the handler
|
|
11
|
+
* answered. CDK's `LambdaInvoke` emits this form for `payloadResponseOnly`.
|
|
12
|
+
*/
|
|
13
|
+
export declare class SimStatesFunctionArnTarget extends SimStatesTaskTarget {
|
|
14
|
+
#private;
|
|
15
|
+
constructor(properties: SimStatesFunctionArnTargetProperties);
|
|
16
|
+
/**
|
|
17
|
+
* Send the state's own input to the function the `Resource` named.
|
|
18
|
+
*/
|
|
19
|
+
call(payload: JSONValue): SimStatesTaskCall;
|
|
20
|
+
/**
|
|
21
|
+
* Answer with what the handler answered, with nothing around it.
|
|
22
|
+
*/
|
|
23
|
+
answer(result: JSONValue): JSONValue;
|
|
24
|
+
/**
|
|
25
|
+
* A handler raising fails the task under the handler's own error type, which
|
|
26
|
+
* is the name a `Retry` or a `Catch` on this form matches.
|
|
27
|
+
*/
|
|
28
|
+
handlerFailure(error: unknown, stateName: string): Error;
|
|
29
|
+
}
|
|
30
|
+
export {};
|
|
31
|
+
//# sourceMappingURL=sim-states-function-arn-target.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-function-arn-target.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/task/sim-states-function-arn-target.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAElE,OAAO,EACL,KAAK,iBAAiB,EACtB,mBAAmB,EACpB,MAAM,6BAA6B,CAAC;AAErC,UAAU,oCAAoC;IAC5C,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B;AAED;;;;;;GAMG;AACH,qBAAa,0BAA2B,SAAQ,mBAAmB;;IAGjE,YAAY,UAAU,EAAE,oCAAoC,EAG3D;IAED;;OAEG;IACM,IAAI,CAAC,OAAO,EAAE,SAAS,GAAG,iBAAiB,CAEnD;IAED;;OAEG;IACM,MAAM,CAAC,MAAM,EAAE,SAAS,GAAG,SAAS,CAE5C;IAED;;;OAGG;IACM,cAAc,CAAC,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,GAAG,KAAK,CAQhE;CACF"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { functionErrorDocument } from "../../lambda/command/invoke/invoke-payload.js";
|
|
2
|
+
import { SimStatesTaskHandlerFailure } from "../error/sim-step-functions.error.js";
|
|
3
|
+
import { SimStatesTaskTarget, } from "./sim-states-task-target.js";
|
|
4
|
+
/**
|
|
5
|
+
* A `Task` state whose `Resource` is a function ARN.
|
|
6
|
+
*
|
|
7
|
+
* The state is talking to the function rather than to the Lambda API, so what
|
|
8
|
+
* it sends is its own input and what it gets back is what the handler
|
|
9
|
+
* answered. CDK's `LambdaInvoke` emits this form for `payloadResponseOnly`.
|
|
10
|
+
*/
|
|
11
|
+
export class SimStatesFunctionArnTarget extends SimStatesTaskTarget {
|
|
12
|
+
#functionArn;
|
|
13
|
+
constructor(properties) {
|
|
14
|
+
super();
|
|
15
|
+
this.#functionArn = properties.functionArn;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Send the state's own input to the function the `Resource` named.
|
|
19
|
+
*/
|
|
20
|
+
call(payload) {
|
|
21
|
+
return { functionNameOrArn: this.#functionArn, payload };
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Answer with what the handler answered, with nothing around it.
|
|
25
|
+
*/
|
|
26
|
+
answer(result) {
|
|
27
|
+
return result;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* A handler raising fails the task under the handler's own error type, which
|
|
31
|
+
* is the name a `Retry` or a `Catch` on this form matches.
|
|
32
|
+
*/
|
|
33
|
+
handlerFailure(error, stateName) {
|
|
34
|
+
const document = functionErrorDocument(error);
|
|
35
|
+
return new SimStatesTaskHandlerFailure(`The function the Task state ${stateName} invoked raised ` +
|
|
36
|
+
`${document.errorType}: ${document.errorMessage}`, document.errorType);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=sim-states-function-arn-target.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-function-arn-target.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/task/sim-states-function-arn-target.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AAEtF,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACnF,OAAO,EAEL,mBAAmB,GACpB,MAAM,6BAA6B,CAAC;AAMrC;;;;;;GAMG;AACH,MAAM,OAAO,0BAA2B,SAAQ,mBAAmB;IACxD,YAAY,CAAS;IAE9B,YAAY,UAAgD;QAC1D,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,YAAY,GAAG,UAAU,CAAC,WAAW,CAAC;IAC7C,CAAC;IAED;;OAEG;IACM,IAAI,CAAC,OAAkB;QAC9B,OAAO,EAAE,iBAAiB,EAAE,IAAI,CAAC,YAAY,EAAE,OAAO,EAAE,CAAC;IAC3D,CAAC;IAED;;OAEG;IACM,MAAM,CAAC,MAAiB;QAC/B,OAAO,MAAM,CAAC;IAChB,CAAC;IAED;;;OAGG;IACM,cAAc,CAAC,KAAc,EAAE,SAAiB;QACvD,MAAM,QAAQ,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;QAE9C,OAAO,IAAI,2BAA2B,CACpC,+BAA+B,SAAS,kBAAkB;YACxD,GAAG,QAAQ,CAAC,SAAS,KAAK,QAAQ,CAAC,YAAY,EAAE,EACnD,QAAQ,CAAC,SAAS,CACnB,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { SimAwsAccountId } from "../../aws/sim-aws-account.js";
|
|
2
|
+
import type { SimAwsAccountRegionScope } from "../../aws/sim-aws-account-region-scope.js";
|
|
3
|
+
import type { AwsRegionName } from "../../aws/sim-aws-region.js";
|
|
4
|
+
import { type SimLambdaFunctionReference } from "../../lambda/function/sim-lambda-function-reference.js";
|
|
5
|
+
/**
|
|
6
|
+
* Where a function a `Task` state named is, and what it is called there.
|
|
7
|
+
*/
|
|
8
|
+
export interface SimStatesFunctionLocation {
|
|
9
|
+
readonly accountId: SimAwsAccountId;
|
|
10
|
+
readonly regionName: AwsRegionName;
|
|
11
|
+
readonly reference: SimLambdaFunctionReference;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Work out where the function a task named lives.
|
|
15
|
+
*
|
|
16
|
+
* An ARN carries its own Account and Region. A bare name, which the Lambda API
|
|
17
|
+
* takes as well, is a function of the state machine's own Account and Region.
|
|
18
|
+
*/
|
|
19
|
+
export declare function simStatesFunctionLocation(functionNameOrArn: string, scope: SimAwsAccountRegionScope, stateName: string): SimStatesFunctionLocation;
|
|
20
|
+
//# sourceMappingURL=sim-states-function-location.d.ts.map
|