@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,55 @@
|
|
|
1
|
+
import { SimFirehoseResourceNotFoundException } from "../error/sim-firehose.error.js";
|
|
2
|
+
/**
|
|
3
|
+
* The delivery streams of one simulated Firehose scope.
|
|
4
|
+
*
|
|
5
|
+
* They are keyed by name, which is the whole of their identity. The name is the
|
|
6
|
+
* resource part of the ARN, and it is unique within one Account and Region.
|
|
7
|
+
*
|
|
8
|
+
* A deleted delivery stream's name is freed straight away, as real Firehose
|
|
9
|
+
* frees one.
|
|
10
|
+
*/
|
|
11
|
+
export class SimFirehoseDeliveryStreamStore {
|
|
12
|
+
deliveryStreams = new Map();
|
|
13
|
+
/**
|
|
14
|
+
* Every delivery stream in this scope, in name order.
|
|
15
|
+
*
|
|
16
|
+
* ListDeliveryStreams pages by name and reports them sorted, so the order a
|
|
17
|
+
* page is cut out of has to be the order the paging parameter walks.
|
|
18
|
+
*/
|
|
19
|
+
get all() {
|
|
20
|
+
return this.deliveryStreams
|
|
21
|
+
.values()
|
|
22
|
+
.toArray()
|
|
23
|
+
.toSorted((left, right) => left.name.localeCompare(right.name));
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Store a newly created delivery stream.
|
|
27
|
+
*/
|
|
28
|
+
add(deliveryStream) {
|
|
29
|
+
this.deliveryStreams.set(deliveryStream.name, deliveryStream);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Find a delivery stream by name.
|
|
33
|
+
*/
|
|
34
|
+
find(name) {
|
|
35
|
+
return this.deliveryStreams.get(name);
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Resolve a delivery stream by name, or refuse.
|
|
39
|
+
*/
|
|
40
|
+
require(name) {
|
|
41
|
+
const found = this.find(name);
|
|
42
|
+
if (found === undefined) {
|
|
43
|
+
throw new SimFirehoseResourceNotFoundException(`Firehose cannot find the delivery stream ${name} under this account ` +
|
|
44
|
+
`and region`);
|
|
45
|
+
}
|
|
46
|
+
return found;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Forget a deleted delivery stream.
|
|
50
|
+
*/
|
|
51
|
+
remove(deliveryStream) {
|
|
52
|
+
this.deliveryStreams.delete(deliveryStream.name);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=sim-firehose-delivery-stream-store.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-delivery-stream-store.js","sourceRoot":"","sources":["../../../../src/service/firehose/stream/sim-firehose-delivery-stream-store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oCAAoC,EAAE,MAAM,gCAAgC,CAAC;AAGtF;;;;;;;;GAQG;AACH,MAAM,OAAO,8BAA8B;IACxB,eAAe,GAAG,IAAI,GAAG,EAGvC,CAAC;IAEJ;;;;;OAKG;IACH,IAAI,GAAG;QACL,OAAO,IAAI,CAAC,eAAe;aACxB,MAAM,EAAE;aACR,OAAO,EAAE;aACT,QAAQ,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;IACpE,CAAC;IAED;;OAEG;IACH,GAAG,CAAC,cAAyC;QAC3C,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC;IAChE,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,IAAY;QACf,OAAO,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IACxC,CAAC;IAED;;OAEG;IACH,OAAO,CAAC,IAAY;QAClB,MAAM,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAE9B,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,MAAM,IAAI,oCAAoC,CAC5C,4CAA4C,IAAI,sBAAsB;gBACpE,YAAY,CACf,CAAC;QACJ,CAAC;QAED,OAAO,KAAK,CAAC;IACf,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,cAAyC;QAC9C,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;IACnD,CAAC;CACF"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { SimFirehoseBuffer } from "../delivery/sim-firehose-buffer.js";
|
|
2
|
+
import type { SimFirehoseS3Destination } from "../destination/sim-firehose-s3-destination.js";
|
|
3
|
+
import type { SimFirehoseDeliveryStreamType, SimFirehoseSource } from "../source/sim-firehose-source.js";
|
|
4
|
+
/**
|
|
5
|
+
* The states a delivery stream reports.
|
|
6
|
+
*
|
|
7
|
+
* A simulated delivery stream is ACTIVE from the moment CreateDeliveryStream
|
|
8
|
+
* answers. Real Firehose spends a minute or so in CREATING, and a test that had
|
|
9
|
+
* to wait it out would be waiting on nothing.
|
|
10
|
+
*/
|
|
11
|
+
export type SimFirehoseDeliveryStreamStatus = "ACTIVE";
|
|
12
|
+
interface SimFirehoseDeliveryStreamProperties {
|
|
13
|
+
readonly name: string;
|
|
14
|
+
readonly arn: string;
|
|
15
|
+
readonly destination: SimFirehoseS3Destination;
|
|
16
|
+
readonly source: SimFirehoseSource;
|
|
17
|
+
readonly createdAt: Date;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* One delivery stream, and what it has taken but not yet delivered.
|
|
21
|
+
*
|
|
22
|
+
* A delivery stream is a source, a destination and a buffer. Records arrive
|
|
23
|
+
* from where the source says they do, wait in the buffer until it passes one of
|
|
24
|
+
* its two bounds, and leave as one S3 Object.
|
|
25
|
+
*
|
|
26
|
+
* The version is the `1` in a delivered Object's key. Real Firehose moves it on
|
|
27
|
+
* with every configuration change, and nothing here changes a delivery stream's
|
|
28
|
+
* configuration, so it stays at 1 for the life of the delivery stream.
|
|
29
|
+
*/
|
|
30
|
+
export declare class SimFirehoseDeliveryStream {
|
|
31
|
+
readonly name: string;
|
|
32
|
+
readonly arn: string;
|
|
33
|
+
readonly destination: SimFirehoseS3Destination;
|
|
34
|
+
readonly source: SimFirehoseSource;
|
|
35
|
+
readonly createdAt: Date;
|
|
36
|
+
readonly buffer: SimFirehoseBuffer;
|
|
37
|
+
readonly versionId = "1";
|
|
38
|
+
readonly status: SimFirehoseDeliveryStreamStatus;
|
|
39
|
+
constructor(properties: SimFirehoseDeliveryStreamProperties);
|
|
40
|
+
/**
|
|
41
|
+
* Where this delivery stream gets its records, as it reports it.
|
|
42
|
+
*/
|
|
43
|
+
get deliveryStreamType(): SimFirehoseDeliveryStreamType;
|
|
44
|
+
/**
|
|
45
|
+
* Whether the buffer has reached the size that delivers it.
|
|
46
|
+
*/
|
|
47
|
+
get isBufferFull(): boolean;
|
|
48
|
+
}
|
|
49
|
+
export {};
|
|
50
|
+
//# sourceMappingURL=sim-firehose-delivery-stream.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-delivery-stream.d.ts","sourceRoot":"","sources":["../../../../src/service/firehose/stream/sim-firehose-delivery-stream.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,+CAA+C,CAAC;AAC9F,OAAO,KAAK,EACV,6BAA6B,EAC7B,iBAAiB,EAClB,MAAM,kCAAkC,CAAC;AAE1C;;;;;;GAMG;AACH,MAAM,MAAM,+BAA+B,GAAG,QAAQ,CAAC;AAEvD,UAAU,mCAAmC;IAC3C,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,WAAW,EAAE,wBAAwB,CAAC;IAC/C,QAAQ,CAAC,MAAM,EAAE,iBAAiB,CAAC;IACnC,QAAQ,CAAC,SAAS,EAAE,IAAI,CAAC;CAC1B;AAED;;;;;;;;;;GAUG;AACH,qBAAa,yBAAyB;IACpC,SAAgB,IAAI,EAAE,MAAM,CAAC;IAC7B,SAAgB,GAAG,EAAE,MAAM,CAAC;IAC5B,SAAgB,WAAW,EAAE,wBAAwB,CAAC;IACtD,SAAgB,MAAM,EAAE,iBAAiB,CAAC;IAC1C,SAAgB,SAAS,EAAE,IAAI,CAAC;IAChC,SAAgB,MAAM,oBAA2B;IACjD,SAAgB,SAAS,OAAO;IAChC,SAAgB,MAAM,EAAE,+BAA+B,CAAY;IAEnE,YAAY,UAAU,EAAE,mCAAmC,EAM1D;IAED;;OAEG;IACH,IAAI,kBAAkB,IAAI,6BAA6B,CAEtD;IAED;;OAEG;IACH,IAAI,YAAY,IAAI,OAAO,CAI1B;CACF"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { AsyncMappedFactory } from "@kensio/part-factory";
|
|
2
|
+
import type { SimAws } from "../../aws/sim-aws.js";
|
|
3
|
+
import type { SimFirehoseDeliveryStream } from "./sim-firehose-delivery-stream.js";
|
|
4
|
+
/**
|
|
5
|
+
* What a test asks for when it wants a delivery stream to put records onto.
|
|
6
|
+
*
|
|
7
|
+
* The Bucket has to be there already, since a delivery stream is one entity and
|
|
8
|
+
* its destination is another. `test/firehose/firehose-delivery-fixture.ts`
|
|
9
|
+
* makes both together for the tests that want the whole path.
|
|
10
|
+
*/
|
|
11
|
+
export interface SimFirehoseDeliveryStreamInput {
|
|
12
|
+
readonly deliveryStreamName: string;
|
|
13
|
+
readonly bucketName: string;
|
|
14
|
+
readonly prefix: string;
|
|
15
|
+
readonly intervalInSeconds: number;
|
|
16
|
+
readonly sizeInMegabytes: number;
|
|
17
|
+
/**
|
|
18
|
+
* The Role the delivery writes as.
|
|
19
|
+
*
|
|
20
|
+
* A delivery stream made without one writes as the Account root, which IAM
|
|
21
|
+
* allows everything. A test about the delivery Role passes one from
|
|
22
|
+
* `simIamRoleWithPolicyFactory`.
|
|
23
|
+
*/
|
|
24
|
+
readonly roleArn: string | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* The Kinesis stream the delivery stream reads, for the tests that want one.
|
|
27
|
+
*
|
|
28
|
+
* A delivery stream made without it is `DirectPut`, which is what most tests
|
|
29
|
+
* want. Naming a stream makes it `KinesisStreamAsSource`, and the stream has
|
|
30
|
+
* to be there already: it is one entity and the delivery stream is another.
|
|
31
|
+
*/
|
|
32
|
+
readonly sourceStreamArn: string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* The Role the source stream is read as, which the Account root stands in
|
|
35
|
+
* for when a test is not about the source Role.
|
|
36
|
+
*/
|
|
37
|
+
readonly sourceRoleArn: string | undefined;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Creates a delivery stream through CreateDeliveryStream.
|
|
41
|
+
*
|
|
42
|
+
* The delivery stream went through the ordinary command, so it is the delivery
|
|
43
|
+
* stream an application would have rather than one built around the commands,
|
|
44
|
+
* and it is ACTIVE by the time this answers.
|
|
45
|
+
*
|
|
46
|
+
* ```typescript
|
|
47
|
+
* const deliveryStream = await simFirehoseDeliveryStreamFactory.make(
|
|
48
|
+
* { bucketName: "order-archive", intervalInSeconds: 60 },
|
|
49
|
+
* simAws,
|
|
50
|
+
* );
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* A delivery stream reading a Kinesis stream is the same call naming the
|
|
54
|
+
* stream, which has to be there already.
|
|
55
|
+
*/
|
|
56
|
+
export declare const simFirehoseDeliveryStreamFactory: AsyncMappedFactory<SimFirehoseDeliveryStreamInput, SimFirehoseDeliveryStream, SimAws>;
|
|
57
|
+
//# sourceMappingURL=sim-firehose-delivery-stream.factory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-delivery-stream.factory.d.ts","sourceRoot":"","sources":["../../../../src/service/firehose/stream/sim-firehose-delivery-stream.factory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAEnF;;;;;;GAMG;AACH,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC;IACpC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IAEjC;;;;;;OAMG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;IAErC;;;;;;OAMG;IACH,QAAQ,CAAC,eAAe,EAAE,MAAM,GAAG,SAAS,CAAC;IAE7C;;;OAGG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5C;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,gCAAgC,uFAuD5C,CAAC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { AsyncMappedFactory } from "@kensio/part-factory";
|
|
2
|
+
import { assertDefined } from "../../../util/type-guard/defined.js";
|
|
3
|
+
/**
|
|
4
|
+
* Creates a delivery stream through CreateDeliveryStream.
|
|
5
|
+
*
|
|
6
|
+
* The delivery stream went through the ordinary command, so it is the delivery
|
|
7
|
+
* stream an application would have rather than one built around the commands,
|
|
8
|
+
* and it is ACTIVE by the time this answers.
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* const deliveryStream = await simFirehoseDeliveryStreamFactory.make(
|
|
12
|
+
* { bucketName: "order-archive", intervalInSeconds: 60 },
|
|
13
|
+
* simAws,
|
|
14
|
+
* );
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* A delivery stream reading a Kinesis stream is the same call naming the
|
|
18
|
+
* stream, which has to be there already.
|
|
19
|
+
*/
|
|
20
|
+
export const simFirehoseDeliveryStreamFactory = new AsyncMappedFactory(() => ({
|
|
21
|
+
deliveryStreamName: "order-events",
|
|
22
|
+
bucketName: "order-archive",
|
|
23
|
+
prefix: "",
|
|
24
|
+
intervalInSeconds: 60,
|
|
25
|
+
sizeInMegabytes: 5,
|
|
26
|
+
roleArn: undefined,
|
|
27
|
+
sourceStreamArn: undefined,
|
|
28
|
+
sourceRoleArn: undefined,
|
|
29
|
+
}), async (input, simAws) => {
|
|
30
|
+
const firehose = simAws.firehose();
|
|
31
|
+
const accountRoot = `arn:aws:iam::${simAws.defaultAccountId}:root`;
|
|
32
|
+
await firehose.createDeliveryStream({
|
|
33
|
+
input: {
|
|
34
|
+
DeliveryStreamName: input.deliveryStreamName,
|
|
35
|
+
...(input.sourceStreamArn !== undefined && {
|
|
36
|
+
DeliveryStreamType: "KinesisStreamAsSource",
|
|
37
|
+
KinesisStreamSourceConfiguration: {
|
|
38
|
+
KinesisStreamARN: input.sourceStreamArn,
|
|
39
|
+
RoleARN: input.sourceRoleArn ?? accountRoot,
|
|
40
|
+
},
|
|
41
|
+
}),
|
|
42
|
+
ExtendedS3DestinationConfiguration: {
|
|
43
|
+
BucketARN: `arn:aws:s3:::${input.bucketName}`,
|
|
44
|
+
RoleARN: input.roleArn ?? accountRoot,
|
|
45
|
+
Prefix: input.prefix,
|
|
46
|
+
BufferingHints: {
|
|
47
|
+
IntervalInSeconds: input.intervalInSeconds,
|
|
48
|
+
SizeInMBs: input.sizeInMegabytes,
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
});
|
|
53
|
+
// A name CreateDeliveryStream accepted is a delivery stream the store
|
|
54
|
+
// holds, so this is only missing if something is wrong with the simulator
|
|
55
|
+
// itself.
|
|
56
|
+
const deliveryStream = firehose.findDeliveryStream(input.deliveryStreamName);
|
|
57
|
+
assertDefined(deliveryStream, `Simulated Firehose created the delivery stream ` +
|
|
58
|
+
`${input.deliveryStreamName} and then did not hold it`);
|
|
59
|
+
return deliveryStream;
|
|
60
|
+
});
|
|
61
|
+
//# sourceMappingURL=sim-firehose-delivery-stream.factory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-delivery-stream.factory.js","sourceRoot":"","sources":["../../../../src/service/firehose/stream/sim-firehose-delivery-stream.factory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AA2CpE;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,IAAI,kBAAkB,CAKpE,GAAG,EAAE,CAAC,CAAC;IACL,kBAAkB,EAAE,cAAc;IAClC,UAAU,EAAE,eAAe;IAC3B,MAAM,EAAE,EAAE;IACV,iBAAiB,EAAE,EAAE;IACrB,eAAe,EAAE,CAAC;IAClB,OAAO,EAAE,SAAS;IAClB,eAAe,EAAE,SAAS;IAC1B,aAAa,EAAE,SAAS;CACzB,CAAC,EACF,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE;IACtB,MAAM,QAAQ,GAAG,MAAM,CAAC,QAAQ,EAAE,CAAC;IACnC,MAAM,WAAW,GAAG,gBAAgB,MAAM,CAAC,gBAAgB,OAAO,CAAC;IAEnE,MAAM,QAAQ,CAAC,oBAAoB,CAAC;QAClC,KAAK,EAAE;YACL,kBAAkB,EAAE,KAAK,CAAC,kBAAkB;YAC5C,GAAG,CAAC,KAAK,CAAC,eAAe,KAAK,SAAS,IAAI;gBACzC,kBAAkB,EAAE,uBAAuB;gBAC3C,gCAAgC,EAAE;oBAChC,gBAAgB,EAAE,KAAK,CAAC,eAAe;oBACvC,OAAO,EAAE,KAAK,CAAC,aAAa,IAAI,WAAW;iBAC5C;aACF,CAAC;YACF,kCAAkC,EAAE;gBAClC,SAAS,EAAE,gBAAgB,KAAK,CAAC,UAAU,EAAE;gBAC7C,OAAO,EAAE,KAAK,CAAC,OAAO,IAAI,WAAW;gBACrC,MAAM,EAAE,KAAK,CAAC,MAAM;gBACpB,cAAc,EAAE;oBACd,iBAAiB,EAAE,KAAK,CAAC,iBAAiB;oBAC1C,SAAS,EAAE,KAAK,CAAC,eAAe;iBACjC;aACF;SACF;KACF,CAAC,CAAC;IAEH,sEAAsE;IACtE,0EAA0E;IAC1E,UAAU;IACV,MAAM,cAAc,GAAG,QAAQ,CAAC,kBAAkB,CAChD,KAAK,CAAC,kBAAkB,CACzB,CAAC;IACF,aAAa,CACX,cAAc,EACd,iDAAiD;QAC/C,GAAG,KAAK,CAAC,kBAAkB,2BAA2B,CACzD,CAAC;IAEF,OAAO,cAAc,CAAC;AACxB,CAAC,CACF,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { SimFirehoseBuffer } from "../delivery/sim-firehose-buffer.js";
|
|
2
|
+
/**
|
|
3
|
+
* One delivery stream, and what it has taken but not yet delivered.
|
|
4
|
+
*
|
|
5
|
+
* A delivery stream is a source, a destination and a buffer. Records arrive
|
|
6
|
+
* from where the source says they do, wait in the buffer until it passes one of
|
|
7
|
+
* its two bounds, and leave as one S3 Object.
|
|
8
|
+
*
|
|
9
|
+
* The version is the `1` in a delivered Object's key. Real Firehose moves it on
|
|
10
|
+
* with every configuration change, and nothing here changes a delivery stream's
|
|
11
|
+
* configuration, so it stays at 1 for the life of the delivery stream.
|
|
12
|
+
*/
|
|
13
|
+
export class SimFirehoseDeliveryStream {
|
|
14
|
+
name;
|
|
15
|
+
arn;
|
|
16
|
+
destination;
|
|
17
|
+
source;
|
|
18
|
+
createdAt;
|
|
19
|
+
buffer = new SimFirehoseBuffer();
|
|
20
|
+
versionId = "1";
|
|
21
|
+
status = "ACTIVE";
|
|
22
|
+
constructor(properties) {
|
|
23
|
+
this.name = properties.name;
|
|
24
|
+
this.arn = properties.arn;
|
|
25
|
+
this.destination = properties.destination;
|
|
26
|
+
this.source = properties.source;
|
|
27
|
+
this.createdAt = properties.createdAt;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Where this delivery stream gets its records, as it reports it.
|
|
31
|
+
*/
|
|
32
|
+
get deliveryStreamType() {
|
|
33
|
+
return this.source.deliveryStreamType;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Whether the buffer has reached the size that delivers it.
|
|
37
|
+
*/
|
|
38
|
+
get isBufferFull() {
|
|
39
|
+
return (this.buffer.byteLength >= this.destination.bufferingHints.sizeInBytes);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=sim-firehose-delivery-stream.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-delivery-stream.js","sourceRoot":"","sources":["../../../../src/service/firehose/stream/sim-firehose-delivery-stream.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAwBvE;;;;;;;;;;GAUG;AACH,MAAM,OAAO,yBAAyB;IACpB,IAAI,CAAS;IACb,GAAG,CAAS;IACZ,WAAW,CAA2B;IACtC,MAAM,CAAoB;IAC1B,SAAS,CAAO;IAChB,MAAM,GAAG,IAAI,iBAAiB,EAAE,CAAC;IACjC,SAAS,GAAG,GAAG,CAAC;IAChB,MAAM,GAAoC,QAAQ,CAAC;IAEnE,YAAY,UAA+C;QACzD,IAAI,CAAC,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC;QAC5B,IAAI,CAAC,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC;QAC1B,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC,WAAW,CAAC;QAC1C,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;QAChC,IAAI,CAAC,SAAS,GAAG,UAAU,CAAC,SAAS,CAAC;IACxC,CAAC;IAED;;OAEG;IACH,IAAI,kBAAkB;QACpB,OAAO,IAAI,CAAC,MAAM,CAAC,kBAAkB,CAAC;IACxC,CAAC;IAED;;OAEG;IACH,IAAI,YAAY;QACd,OAAO,CACL,IAAI,CAAC,MAAM,CAAC,UAAU,IAAI,IAAI,CAAC,WAAW,CAAC,cAAc,CAAC,WAAW,CACtE,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { JSONValue } from "../../../util/type-guard/json.js";
|
|
2
|
+
import type { SimStatesChoiceTest } from "./sim-states-choice-test.js";
|
|
3
|
+
/**
|
|
4
|
+
* An `And`, which holds where every test it carries does.
|
|
5
|
+
*/
|
|
6
|
+
export declare class SimStatesAllTest implements SimStatesChoiceTest {
|
|
7
|
+
#private;
|
|
8
|
+
constructor(tests: readonly SimStatesChoiceTest[]);
|
|
9
|
+
/**
|
|
10
|
+
* The tests are made in the order they were written, and stop at the first
|
|
11
|
+
* one that does not hold. That is what lets an `IsPresent` guard a
|
|
12
|
+
* comparison of the same field further along the same `And`.
|
|
13
|
+
*/
|
|
14
|
+
holds(input: JSONValue): boolean;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* An `Or`, which holds where any test it carries does.
|
|
18
|
+
*/
|
|
19
|
+
export declare class SimStatesAnyTest implements SimStatesChoiceTest {
|
|
20
|
+
#private;
|
|
21
|
+
constructor(tests: readonly SimStatesChoiceTest[]);
|
|
22
|
+
holds(input: JSONValue): boolean;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* A `Not`, which holds where the test it carries does not.
|
|
26
|
+
*/
|
|
27
|
+
export declare class SimStatesNotTest implements SimStatesChoiceTest {
|
|
28
|
+
#private;
|
|
29
|
+
constructor(test: SimStatesChoiceTest);
|
|
30
|
+
holds(input: JSONValue): boolean;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=sim-states-choice-group-test.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-choice-group-test.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/choice/sim-states-choice-group-test.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAEvE;;GAEG;AACH,qBAAa,gBAAiB,YAAW,mBAAmB;;IAG1D,YAAY,KAAK,EAAE,SAAS,mBAAmB,EAAE,EAEhD;IAED;;;;OAIG;IACH,KAAK,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO,CAE/B;CACF;AAED;;GAEG;AACH,qBAAa,gBAAiB,YAAW,mBAAmB;;IAG1D,YAAY,KAAK,EAAE,SAAS,mBAAmB,EAAE,EAEhD;IAED,KAAK,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO,CAE/B;CACF;AAED;;GAEG;AACH,qBAAa,gBAAiB,YAAW,mBAAmB;;IAG1D,YAAY,IAAI,EAAE,mBAAmB,EAEpC;IAED,KAAK,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO,CAE/B;CACF"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* An `And`, which holds where every test it carries does.
|
|
3
|
+
*/
|
|
4
|
+
export class SimStatesAllTest {
|
|
5
|
+
#tests;
|
|
6
|
+
constructor(tests) {
|
|
7
|
+
this.#tests = tests;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* The tests are made in the order they were written, and stop at the first
|
|
11
|
+
* one that does not hold. That is what lets an `IsPresent` guard a
|
|
12
|
+
* comparison of the same field further along the same `And`.
|
|
13
|
+
*/
|
|
14
|
+
holds(input) {
|
|
15
|
+
return this.#tests.every((test) => test.holds(input));
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* An `Or`, which holds where any test it carries does.
|
|
20
|
+
*/
|
|
21
|
+
export class SimStatesAnyTest {
|
|
22
|
+
#tests;
|
|
23
|
+
constructor(tests) {
|
|
24
|
+
this.#tests = tests;
|
|
25
|
+
}
|
|
26
|
+
holds(input) {
|
|
27
|
+
return this.#tests.some((test) => test.holds(input));
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* A `Not`, which holds where the test it carries does not.
|
|
32
|
+
*/
|
|
33
|
+
export class SimStatesNotTest {
|
|
34
|
+
#test;
|
|
35
|
+
constructor(test) {
|
|
36
|
+
this.#test = test;
|
|
37
|
+
}
|
|
38
|
+
holds(input) {
|
|
39
|
+
return !this.#test.holds(input);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=sim-states-choice-group-test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-choice-group-test.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/choice/sim-states-choice-group-test.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,MAAM,OAAO,gBAAgB;IAClB,MAAM,CAAiC;IAEhD,YAAY,KAAqC;QAC/C,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;IACtB,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,KAAgB;QACpB,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;IACxD,CAAC;CACF;AAED;;GAEG;AACH,MAAM,OAAO,gBAAgB;IAClB,MAAM,CAAiC;IAEhD,YAAY,KAAqC;QAC/C,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;IACtB,CAAC;IAED,KAAK,CAAC,KAAgB;QACpB,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;IACvD,CAAC;CACF;AAED;;GAEG;AACH,MAAM,OAAO,gBAAgB;IAClB,KAAK,CAAsB;IAEpC,YAAY,IAAyB;QACnC,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;IACpB,CAAC;IAED,KAAK,CAAC,KAAgB;QACpB,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAClC,CAAC;CACF"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { JSONValue } from "../../../util/type-guard/json.js";
|
|
2
|
+
import type { SimStatesPathSegment } from "../data/sim-states-path-segment.js";
|
|
3
|
+
/**
|
|
4
|
+
* The value one side of a comparison is made against.
|
|
5
|
+
*/
|
|
6
|
+
export interface SimStatesChoiceOperand {
|
|
7
|
+
valueIn(input: JSONValue): JSONValue;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* An operand the definition wrote out, as in `NumericEquals: 3`.
|
|
11
|
+
*/
|
|
12
|
+
export declare class SimStatesLiteralOperand implements SimStatesChoiceOperand {
|
|
13
|
+
#private;
|
|
14
|
+
constructor(value: JSONValue);
|
|
15
|
+
valueIn(): JSONValue;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* An operand read from the state's input, as in `NumericEqualsPath: "$.want"`.
|
|
19
|
+
*
|
|
20
|
+
* A path selecting nothing fails the execution. The comparison has no value to
|
|
21
|
+
* make, and answering false would read as a rule that was tested and did not
|
|
22
|
+
* match.
|
|
23
|
+
*/
|
|
24
|
+
export declare class SimStatesPathOperand implements SimStatesChoiceOperand {
|
|
25
|
+
#private;
|
|
26
|
+
constructor(path: string, segments: readonly SimStatesPathSegment[]);
|
|
27
|
+
valueIn(input: JSONValue): JSONValue;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=sim-states-choice-operand.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-choice-operand.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/choice/sim-states-choice-operand.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAElE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAG/E;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,OAAO,CAAC,KAAK,EAAE,SAAS,GAAG,SAAS,CAAC;CACtC;AAED;;GAEG;AACH,qBAAa,uBAAwB,YAAW,sBAAsB;;IAGpE,YAAY,KAAK,EAAE,SAAS,EAE3B;IAED,OAAO,IAAI,SAAS,CAEnB;CACF;AAED;;;;;;GAMG;AACH,qBAAa,oBAAqB,YAAW,sBAAsB;;IAIjE,YAAY,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,oBAAoB,EAAE,EAGlE;IAED,OAAO,CAAC,KAAK,EAAE,SAAS,GAAG,SAAS,CAWnC;CACF"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { selectSimStatesPath } from "../data/sim-states-path-segment.js";
|
|
2
|
+
import { SimStatesRuntimeFailure } from "../error/sim-step-functions.error.js";
|
|
3
|
+
/**
|
|
4
|
+
* An operand the definition wrote out, as in `NumericEquals: 3`.
|
|
5
|
+
*/
|
|
6
|
+
export class SimStatesLiteralOperand {
|
|
7
|
+
#value;
|
|
8
|
+
constructor(value) {
|
|
9
|
+
this.#value = value;
|
|
10
|
+
}
|
|
11
|
+
valueIn() {
|
|
12
|
+
return this.#value;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* An operand read from the state's input, as in `NumericEqualsPath: "$.want"`.
|
|
17
|
+
*
|
|
18
|
+
* A path selecting nothing fails the execution. The comparison has no value to
|
|
19
|
+
* make, and answering false would read as a rule that was tested and did not
|
|
20
|
+
* match.
|
|
21
|
+
*/
|
|
22
|
+
export class SimStatesPathOperand {
|
|
23
|
+
#path;
|
|
24
|
+
#segments;
|
|
25
|
+
constructor(path, segments) {
|
|
26
|
+
this.#path = path;
|
|
27
|
+
this.#segments = segments;
|
|
28
|
+
}
|
|
29
|
+
valueIn(input) {
|
|
30
|
+
const value = selectSimStatesPath(input, this.#segments);
|
|
31
|
+
if (value === undefined) {
|
|
32
|
+
throw new SimStatesRuntimeFailure(`A Choice rule reads its operand from ${this.#path}, which selects ` +
|
|
33
|
+
"nothing in the state's input.");
|
|
34
|
+
}
|
|
35
|
+
return value;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=sim-states-choice-operand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-choice-operand.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/choice/sim-states-choice-operand.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAEzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAS/E;;GAEG;AACH,MAAM,OAAO,uBAAuB;IACzB,MAAM,CAAY;IAE3B,YAAY,KAAgB;QAC1B,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;IACtB,CAAC;IAED,OAAO;QACL,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;CACF;AAED;;;;;;GAMG;AACH,MAAM,OAAO,oBAAoB;IACtB,KAAK,CAAS;IACd,SAAS,CAAkC;IAEpD,YAAY,IAAY,EAAE,QAAyC;QACjE,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QAClB,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC;IAC5B,CAAC;IAED,OAAO,CAAC,KAAgB;QACtB,MAAM,KAAK,GAAG,mBAAmB,CAAC,KAAK,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC;QAEzD,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,MAAM,IAAI,uBAAuB,CAC/B,wCAAwC,IAAI,CAAC,KAAK,kBAAkB;gBAClE,+BAA+B,CAClC,CAAC;QACJ,CAAC;QAED,OAAO,KAAK,CAAC;IACf,CAAC;CACF"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { JSONValue } from "../../../util/type-guard/json.js";
|
|
2
|
+
import { SimStatesChoiceRule } from "./sim-states-choice-rule.js";
|
|
3
|
+
/**
|
|
4
|
+
* Read a `Choice` state's rules, refusing anything this cannot test.
|
|
5
|
+
*
|
|
6
|
+
* The rules are read when the state machine is created, so a `Choice` state
|
|
7
|
+
* that runs is one whose comparators, paths and operand types are already
|
|
8
|
+
* known to be good.
|
|
9
|
+
*/
|
|
10
|
+
export declare function parseSimStatesChoices(stateName: string, state: Record<string, JSONValue>): readonly SimStatesChoiceRule[];
|
|
11
|
+
/**
|
|
12
|
+
* Check a `Choice` state's `Default`, the state it goes to when no rule holds.
|
|
13
|
+
*/
|
|
14
|
+
export declare function checkSimStatesChoiceDefault(stateName: string, state: Record<string, JSONValue>): void;
|
|
15
|
+
//# sourceMappingURL=sim-states-choice-parse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-choice-parse.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/choice/sim-states-choice-parse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAElE,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAIlE;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CACnC,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAC/B,SAAS,mBAAmB,EAAE,CAWhC;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CACzC,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAC/B,IAAI,CAYN"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { SimStatesInvalidDefinition } from "../error/sim-step-functions.error.js";
|
|
2
|
+
import { SimStatesChoiceRule } from "./sim-states-choice-rule.js";
|
|
3
|
+
import { asSimStatesRuleRecord } from "./sim-states-choice-rule-record.js";
|
|
4
|
+
import { parseSimStatesChoiceTest } from "./sim-states-choice-test-parse.js";
|
|
5
|
+
/**
|
|
6
|
+
* Read a `Choice` state's rules, refusing anything this cannot test.
|
|
7
|
+
*
|
|
8
|
+
* The rules are read when the state machine is created, so a `Choice` state
|
|
9
|
+
* that runs is one whose comparators, paths and operand types are already
|
|
10
|
+
* known to be good.
|
|
11
|
+
*/
|
|
12
|
+
export function parseSimStatesChoices(stateName, state) {
|
|
13
|
+
const declared = state["Choices"];
|
|
14
|
+
if (!Array.isArray(declared) || declared.length === 0) {
|
|
15
|
+
throw new SimStatesInvalidDefinition(`The Choice state ${stateName} carries no Choices. A Choice state ` +
|
|
16
|
+
"needs at least one rule saying where the execution goes.");
|
|
17
|
+
}
|
|
18
|
+
return declared.map((rule) => parseRule(stateName, rule));
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Check a `Choice` state's `Default`, the state it goes to when no rule holds.
|
|
22
|
+
*/
|
|
23
|
+
export function checkSimStatesChoiceDefault(stateName, state) {
|
|
24
|
+
const fallback = state["Default"];
|
|
25
|
+
if (fallback === undefined) {
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
if (typeof fallback !== "string") {
|
|
29
|
+
throw new SimStatesInvalidDefinition(`The Choice state ${stateName} has a Default that is not a state name.`);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Read one top-level rule, which names where a match goes next.
|
|
34
|
+
*/
|
|
35
|
+
function parseRule(stateName, rule) {
|
|
36
|
+
const record = asSimStatesRuleRecord(stateName, rule);
|
|
37
|
+
const next = record["Next"];
|
|
38
|
+
if (typeof next !== "string") {
|
|
39
|
+
throw new SimStatesInvalidDefinition(`A rule in the Choice state ${stateName} has no Next naming the state ` +
|
|
40
|
+
"a match goes to.");
|
|
41
|
+
}
|
|
42
|
+
return new SimStatesChoiceRule(parseSimStatesChoiceTest(stateName, record), next);
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=sim-states-choice-parse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-choice-parse.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/choice/sim-states-choice-parse.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAClF,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAE7E;;;;;;GAMG;AACH,MAAM,UAAU,qBAAqB,CACnC,SAAiB,EACjB,KAAgC;IAEhC,MAAM,QAAQ,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC;IAElC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACtD,MAAM,IAAI,0BAA0B,CAClC,oBAAoB,SAAS,sCAAsC;YACjE,0DAA0D,CAC7D,CAAC;IACJ,CAAC;IAED,OAAO,QAAQ,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC;AAC5D,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,2BAA2B,CACzC,SAAiB,EACjB,KAAgC;IAEhC,MAAM,QAAQ,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC;IAElC,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;QAC3B,OAAO;IACT,CAAC;IAED,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE,CAAC;QACjC,MAAM,IAAI,0BAA0B,CAClC,oBAAoB,SAAS,0CAA0C,CACxE,CAAC;IACJ,CAAC;AACH,CAAC;AAED;;GAEG;AACH,SAAS,SAAS,CAAC,SAAiB,EAAE,IAAe;IACnD,MAAM,MAAM,GAAG,qBAAqB,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;IACtD,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC;IAE5B,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;QAC7B,MAAM,IAAI,0BAA0B,CAClC,8BAA8B,SAAS,gCAAgC;YACrE,kBAAkB,CACrB,CAAC;IACJ,CAAC;IAED,OAAO,IAAI,mBAAmB,CAC5B,wBAAwB,CAAC,SAAS,EAAE,MAAM,CAAC,EAC3C,IAAI,CACL,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { JSONValue } from "../../../util/type-guard/json.js";
|
|
2
|
+
/**
|
|
3
|
+
* Find the field naming what a rule tests.
|
|
4
|
+
*/
|
|
5
|
+
export declare function readSimStatesRuleOperator(stateName: string, record: Record<string, JSONValue>): string;
|
|
6
|
+
/**
|
|
7
|
+
* Read one rule as the object it has to be.
|
|
8
|
+
*/
|
|
9
|
+
export declare function asSimStatesRuleRecord(stateName: string, rule: JSONValue | undefined): Record<string, JSONValue>;
|
|
10
|
+
//# sourceMappingURL=sim-states-choice-rule-record.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-choice-rule-record.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/choice/sim-states-choice-rule-record.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAOlE;;GAEG;AACH,wBAAgB,yBAAyB,CACvC,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAChC,MAAM,CAsBR;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CACnC,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,SAAS,GAAG,SAAS,GAC1B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAQ3B"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { isRecord } from "../../../util/type-guard/record.js";
|
|
2
|
+
import { SimStatesInvalidDefinition } from "../error/sim-step-functions.error.js";
|
|
3
|
+
// What a rule carries besides the test it makes.
|
|
4
|
+
const ruleFields = new Set(["Variable", "Next", "Comment"]);
|
|
5
|
+
/**
|
|
6
|
+
* Find the field naming what a rule tests.
|
|
7
|
+
*/
|
|
8
|
+
export function readSimStatesRuleOperator(stateName, record) {
|
|
9
|
+
const operators = Object.keys(record).filter((field) => !ruleFields.has(field));
|
|
10
|
+
const [operator] = operators;
|
|
11
|
+
if (operator === undefined) {
|
|
12
|
+
throw new SimStatesInvalidDefinition(`A rule in the Choice state ${stateName} tests nothing. A rule carries ` +
|
|
13
|
+
"one comparator, or an And, an Or or a Not.");
|
|
14
|
+
}
|
|
15
|
+
if (operators.length > 1) {
|
|
16
|
+
throw new SimStatesInvalidDefinition(`A rule in the Choice state ${stateName} carries ` +
|
|
17
|
+
`${operators.join(", ")}. A rule carries one comparator, or an And, ` +
|
|
18
|
+
"an Or or a Not.");
|
|
19
|
+
}
|
|
20
|
+
return operator;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Read one rule as the object it has to be.
|
|
24
|
+
*/
|
|
25
|
+
export function asSimStatesRuleRecord(stateName, rule) {
|
|
26
|
+
if (!isRecord(rule)) {
|
|
27
|
+
throw new SimStatesInvalidDefinition(`A rule in the Choice state ${stateName} is not an object.`);
|
|
28
|
+
}
|
|
29
|
+
return rule;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=sim-states-choice-rule-record.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-choice-rule-record.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/choice/sim-states-choice-rule-record.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAC9D,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAElF,iDAAiD;AACjD,MAAM,UAAU,GAAG,IAAI,GAAG,CAAC,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC;AAE5D;;GAEG;AACH,MAAM,UAAU,yBAAyB,CACvC,SAAiB,EACjB,MAAiC;IAEjC,MAAM,SAAS,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,CAC1C,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,KAAK,CAAC,CAClC,CAAC;IACF,MAAM,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC;IAE7B,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;QAC3B,MAAM,IAAI,0BAA0B,CAClC,8BAA8B,SAAS,iCAAiC;YACtE,4CAA4C,CAC/C,CAAC;IACJ,CAAC;IAED,IAAI,SAAS,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACzB,MAAM,IAAI,0BAA0B,CAClC,8BAA8B,SAAS,WAAW;YAChD,GAAG,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,8CAA8C;YACrE,iBAAiB,CACpB,CAAC;IACJ,CAAC;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,qBAAqB,CACnC,SAAiB,EACjB,IAA2B;IAE3B,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;QACpB,MAAM,IAAI,0BAA0B,CAClC,8BAA8B,SAAS,oBAAoB,CAC5D,CAAC;IACJ,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { JSONValue } from "../../../util/type-guard/json.js";
|
|
2
|
+
import type { SimStatesChoiceTest } from "./sim-states-choice-test.js";
|
|
3
|
+
/**
|
|
4
|
+
* One rule in a `Choice` state's `Choices`, and the state a match moves to.
|
|
5
|
+
*/
|
|
6
|
+
export declare class SimStatesChoiceRule {
|
|
7
|
+
#private;
|
|
8
|
+
readonly next: string;
|
|
9
|
+
constructor(test: SimStatesChoiceTest, next: string);
|
|
10
|
+
/**
|
|
11
|
+
* Whether this rule's test holds for the state's effective input.
|
|
12
|
+
*/
|
|
13
|
+
matches(input: JSONValue): boolean;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=sim-states-choice-rule.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-choice-rule.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/choice/sim-states-choice-rule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAEvE;;GAEG;AACH,qBAAa,mBAAmB;;IAC9B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAItB,YAAY,IAAI,EAAE,mBAAmB,EAAE,IAAI,EAAE,MAAM,EAGlD;IAED;;OAEG;IACH,OAAO,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO,CAEjC;CACF"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One rule in a `Choice` state's `Choices`, and the state a match moves to.
|
|
3
|
+
*/
|
|
4
|
+
export class SimStatesChoiceRule {
|
|
5
|
+
next;
|
|
6
|
+
#test;
|
|
7
|
+
constructor(test, next) {
|
|
8
|
+
this.#test = test;
|
|
9
|
+
this.next = next;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Whether this rule's test holds for the state's effective input.
|
|
13
|
+
*/
|
|
14
|
+
matches(input) {
|
|
15
|
+
return this.#test.holds(input);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=sim-states-choice-rule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-choice-rule.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/choice/sim-states-choice-rule.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,MAAM,OAAO,mBAAmB;IACrB,IAAI,CAAS;IAEb,KAAK,CAAsB;IAEpC,YAAY,IAAyB,EAAE,IAAY;QACjD,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QAClB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IAED;;OAEG;IACH,OAAO,CAAC,KAAgB;QACtB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjC,CAAC;CACF"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { JSONValue } from "../../../util/type-guard/json.js";
|
|
2
|
+
import type { SimStatesChoiceTest } from "./sim-states-choice-test.js";
|
|
3
|
+
/**
|
|
4
|
+
* Read the one test a rule makes.
|
|
5
|
+
*/
|
|
6
|
+
export declare function parseSimStatesChoiceTest(stateName: string, record: Record<string, JSONValue>): SimStatesChoiceTest;
|
|
7
|
+
//# sourceMappingURL=sim-states-choice-test-parse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-choice-test-parse.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/choice/sim-states-choice-test-parse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAWlE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AA8BvE;;GAEG;AACH,wBAAgB,wBAAwB,CACtC,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAChC,mBAAmB,CA2BrB"}
|