@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,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What became of the work a simulated Firehose scope could not do.
|
|
3
|
+
*
|
|
4
|
+
* A refusal is recorded quietly and anything else is warned about. Taking a
|
|
5
|
+
* permission off a Role is what a test checking the refusal does, and that test
|
|
6
|
+
* should not have to read a warning about the thing it asked for. Anything else
|
|
7
|
+
* is a broken simulation, and a test that never reads this list should still
|
|
8
|
+
* hear about it. Compare SimS3NotificationFailures, which draws the same line
|
|
9
|
+
* for the same reason.
|
|
10
|
+
*
|
|
11
|
+
* Warnings go to the console because that is where a test runner surfaces them
|
|
12
|
+
* next to the failing expectation they explain. The simulator has no logger of
|
|
13
|
+
* its own to route them through.
|
|
14
|
+
*/
|
|
15
|
+
export class SimFirehoseFailures {
|
|
16
|
+
failures = [];
|
|
17
|
+
warned = new Set();
|
|
18
|
+
/**
|
|
19
|
+
* Every failure of this kind in this scope, oldest first.
|
|
20
|
+
*/
|
|
21
|
+
get all() {
|
|
22
|
+
return this.failures;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Record something that did not happen.
|
|
26
|
+
*/
|
|
27
|
+
record(failure) {
|
|
28
|
+
this.failures.push(failure);
|
|
29
|
+
if (failure.wasRefused) {
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
this.warn(failure);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Warn about a failure once per delivery stream and cause.
|
|
36
|
+
*/
|
|
37
|
+
warn(failure) {
|
|
38
|
+
const key = `${failure.deliveryStreamName}:${failure.reason}`;
|
|
39
|
+
if (this.warned.has(key)) {
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
this.warned.add(key);
|
|
43
|
+
// oxlint-disable-next-line no-console
|
|
44
|
+
console.warn(failure.warning);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=sim-firehose-failures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-failures.js","sourceRoot":"","sources":["../../../../src/service/firehose/failure/sim-firehose-failures.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;GAaG;AACH,MAAM,OAAO,mBAAmB;IACb,QAAQ,GAAe,EAAE,CAAC;IAC1B,MAAM,GAAG,IAAI,GAAG,EAAU,CAAC;IAE5C;;OAEG;IACH,IAAI,GAAG;QACL,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAAiB;QACtB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAE5B,IAAI,OAAO,CAAC,UAAU,EAAE,CAAC;YACvB,OAAO;QACT,CAAC;QAED,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACrB,CAAC;IAED;;OAEG;IACK,IAAI,CAAC,OAAiB;QAC5B,MAAM,GAAG,GAAG,GAAG,OAAO,CAAC,kBAAkB,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;QAE9D,IAAI,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC;YACzB,OAAO;QACT,CAAC;QAED,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QAErB,sCAAsC;QACtC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IAChC,CAAC;CACF"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export { SimFirehose } from "./sim-firehose.js";
|
|
2
|
+
export type { SimFirehoseRequestOptions } from "./command/sim-firehose-request-options.js";
|
|
3
|
+
export type * from "./command/sim-firehose-command.types.js";
|
|
4
|
+
export { SimFirehoseDeliveryStream } from "./stream/sim-firehose-delivery-stream.js";
|
|
5
|
+
export type { SimFirehoseDeliveryStreamStatus } from "./stream/sim-firehose-delivery-stream.js";
|
|
6
|
+
export { SimFirehoseDirectPutSource, SimFirehoseKinesisSource, } from "./source/sim-firehose-source.js";
|
|
7
|
+
export type { SimFirehoseDeliveryStreamType, SimFirehoseSource, } from "./source/sim-firehose-source.js";
|
|
8
|
+
export { SimFirehoseKinesisSourceArn } from "./source/sim-firehose-kinesis-source-arn.js";
|
|
9
|
+
export type { SimFirehoseRecordSource } from "./source/sim-firehose-record-source.js";
|
|
10
|
+
export { simFirehoseDeliveryStreamArn } from "./stream/sim-firehose-delivery-stream-arn.js";
|
|
11
|
+
export { SimFirehoseBufferingHints } from "./destination/sim-firehose-buffering-hints.js";
|
|
12
|
+
export { SimFirehoseS3Destination } from "./destination/sim-firehose-s3-destination.js";
|
|
13
|
+
export { SimFirehoseDeliveryFailure } from "./delivery/sim-firehose-delivery-failures.js";
|
|
14
|
+
export { SimFirehoseSourceFailure } from "./source/sim-firehose-source-failures.js";
|
|
15
|
+
export { SimFirehoseFailure } from "./failure/sim-firehose-failure.js";
|
|
16
|
+
export { SimFirehoseError, SimFirehoseInvalidArgumentException, SimFirehoseResourceInUseException, SimFirehoseResourceNotFoundException, SimFirehoseUnsimulatedDestination, SimFirehoseUnsimulatedSource, } from "./error/sim-firehose.error.js";
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/service/firehose/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,YAAY,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AAC3F,mBAAmB,yCAAyC,CAAC;AAC7D,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AACrF,YAAY,EAAE,+BAA+B,EAAE,MAAM,0CAA0C,CAAC;AAChG,OAAO,EACL,0BAA0B,EAC1B,wBAAwB,GACzB,MAAM,iCAAiC,CAAC;AACzC,YAAY,EACV,6BAA6B,EAC7B,iBAAiB,GAClB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,2BAA2B,EAAE,MAAM,6CAA6C,CAAC;AAC1F,YAAY,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,4BAA4B,EAAE,MAAM,8CAA8C,CAAC;AAC5F,OAAO,EAAE,yBAAyB,EAAE,MAAM,+CAA+C,CAAC;AAC1F,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,EAAE,0BAA0B,EAAE,MAAM,8CAA8C,CAAC;AAC1F,OAAO,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAC;AACpF,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,EACL,gBAAgB,EAChB,mCAAmC,EACnC,iCAAiC,EACjC,oCAAoC,EACpC,iCAAiC,EACjC,4BAA4B,GAC7B,MAAM,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { SimFirehose } from "./sim-firehose.js";
|
|
2
|
+
export { SimFirehoseDeliveryStream } from "./stream/sim-firehose-delivery-stream.js";
|
|
3
|
+
export { SimFirehoseDirectPutSource, SimFirehoseKinesisSource, } from "./source/sim-firehose-source.js";
|
|
4
|
+
export { SimFirehoseKinesisSourceArn } from "./source/sim-firehose-kinesis-source-arn.js";
|
|
5
|
+
export { simFirehoseDeliveryStreamArn } from "./stream/sim-firehose-delivery-stream-arn.js";
|
|
6
|
+
export { SimFirehoseBufferingHints } from "./destination/sim-firehose-buffering-hints.js";
|
|
7
|
+
export { SimFirehoseS3Destination } from "./destination/sim-firehose-s3-destination.js";
|
|
8
|
+
export { SimFirehoseDeliveryFailure } from "./delivery/sim-firehose-delivery-failures.js";
|
|
9
|
+
export { SimFirehoseSourceFailure } from "./source/sim-firehose-source-failures.js";
|
|
10
|
+
export { SimFirehoseFailure } from "./failure/sim-firehose-failure.js";
|
|
11
|
+
export { SimFirehoseError, SimFirehoseInvalidArgumentException, SimFirehoseResourceInUseException, SimFirehoseResourceNotFoundException, SimFirehoseUnsimulatedDestination, SimFirehoseUnsimulatedSource, } from "./error/sim-firehose.error.js";
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/service/firehose/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGhD,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AAErF,OAAO,EACL,0BAA0B,EAC1B,wBAAwB,GACzB,MAAM,iCAAiC,CAAC;AAKzC,OAAO,EAAE,2BAA2B,EAAE,MAAM,6CAA6C,CAAC;AAE1F,OAAO,EAAE,4BAA4B,EAAE,MAAM,8CAA8C,CAAC;AAC5F,OAAO,EAAE,yBAAyB,EAAE,MAAM,+CAA+C,CAAC;AAC1F,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,EAAE,0BAA0B,EAAE,MAAM,8CAA8C,CAAC;AAC1F,OAAO,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAC;AACpF,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,EACL,gBAAgB,EAChB,mCAAmC,EACnC,iCAAiC,EACjC,oCAAoC,EACpC,iCAAiC,EACjC,4BAA4B,GAC7B,MAAM,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type SimSdkCommandRoute, type SimSdkCommandRouter } from "../../../sdk/index.js";
|
|
2
|
+
import type { SimFirehose } from "../sim-firehose.js";
|
|
3
|
+
/**
|
|
4
|
+
* Routes intercepted SDK Commands to one scoped simulated Firehose.
|
|
5
|
+
*/
|
|
6
|
+
export declare class SimFirehoseSdkCommandRouter implements SimSdkCommandRouter {
|
|
7
|
+
private readonly routes;
|
|
8
|
+
constructor(simFirehose: SimFirehose);
|
|
9
|
+
/**
|
|
10
|
+
* The SDK Command names simulated Firehose can handle.
|
|
11
|
+
*/
|
|
12
|
+
supportedCommandNames(): readonly string[];
|
|
13
|
+
/**
|
|
14
|
+
* Get the route for an SDK Command name, if simulated Firehose supports it.
|
|
15
|
+
*/
|
|
16
|
+
route(commandName: string): SimSdkCommandRoute | undefined;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=sim-firehose-sdk-command-router.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-sdk-command-router.d.ts","sourceRoot":"","sources":["../../../../src/service/firehose/sdk/sim-firehose-sdk-command-router.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACzB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD;;GAEG;AACH,qBAAa,2BAA4B,YAAW,mBAAmB;IACrE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0C;IAEjE,YAAY,WAAW,EAAE,WAAW,EAmDnC;IAED;;OAEG;IACH,qBAAqB,IAAI,SAAS,MAAM,EAAE,CAEzC;IAED;;OAEG;IACH,KAAK,CAAC,WAAW,EAAE,MAAM,GAAG,kBAAkB,GAAG,SAAS,CAEzD;CACF"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { simSdkCallerOptions, } from "../../../sdk/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Routes intercepted SDK Commands to one scoped simulated Firehose.
|
|
4
|
+
*/
|
|
5
|
+
export class SimFirehoseSdkCommandRouter {
|
|
6
|
+
routes;
|
|
7
|
+
constructor(simFirehose) {
|
|
8
|
+
this.routes = new Map([
|
|
9
|
+
[
|
|
10
|
+
"CreateDeliveryStreamCommand",
|
|
11
|
+
async (command, context) => await simFirehose.createDeliveryStream(command, simSdkCallerOptions(context)),
|
|
12
|
+
],
|
|
13
|
+
[
|
|
14
|
+
"DeleteDeliveryStreamCommand",
|
|
15
|
+
async (command, context) => await simFirehose.deleteDeliveryStream(command, simSdkCallerOptions(context)),
|
|
16
|
+
],
|
|
17
|
+
[
|
|
18
|
+
"ListDeliveryStreamsCommand",
|
|
19
|
+
async (command, context) => await simFirehose.listDeliveryStreams(command, simSdkCallerOptions(context)),
|
|
20
|
+
],
|
|
21
|
+
[
|
|
22
|
+
"DescribeDeliveryStreamCommand",
|
|
23
|
+
async (command, context) => await simFirehose.describeDeliveryStream(command, simSdkCallerOptions(context)),
|
|
24
|
+
],
|
|
25
|
+
[
|
|
26
|
+
"PutRecordCommand",
|
|
27
|
+
async (command, context) => await simFirehose.putRecord(command, simSdkCallerOptions(context)),
|
|
28
|
+
],
|
|
29
|
+
[
|
|
30
|
+
"PutRecordBatchCommand",
|
|
31
|
+
async (command, context) => await simFirehose.putRecordBatch(command, simSdkCallerOptions(context)),
|
|
32
|
+
],
|
|
33
|
+
]);
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* The SDK Command names simulated Firehose can handle.
|
|
37
|
+
*/
|
|
38
|
+
supportedCommandNames() {
|
|
39
|
+
return this.routes.keys().toArray();
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Get the route for an SDK Command name, if simulated Firehose supports it.
|
|
43
|
+
*/
|
|
44
|
+
route(commandName) {
|
|
45
|
+
return this.routes.get(commandName);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=sim-firehose-sdk-command-router.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-sdk-command-router.js","sourceRoot":"","sources":["../../../../src/service/firehose/sdk/sim-firehose-sdk-command-router.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,GAGpB,MAAM,uBAAuB,CAAC;AAI/B;;GAEG;AACH,MAAM,OAAO,2BAA2B;IACrB,MAAM,CAA0C;IAEjE,YAAY,WAAwB;QAClC,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,CAA6B;YAChD;gBACE,6BAA6B;gBAC7B,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,WAAW,CAAC,oBAAoB,CACpC,OAA6D,EAC7D,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;YACD;gBACE,6BAA6B;gBAC7B,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,WAAW,CAAC,oBAAoB,CACpC,OAA6D,EAC7D,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;YACD;gBACE,4BAA4B;gBAC5B,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,WAAW,CAAC,mBAAmB,CACnC,OAA4D,EAC5D,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;YACD;gBACE,+BAA+B;gBAC/B,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,WAAW,CAAC,sBAAsB,CACtC,OAA+D,EAC/D,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;YACD;gBACE,kBAAkB;gBAClB,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,WAAW,CAAC,SAAS,CACzB,OAAkD,EAClD,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;YACD;gBACE,uBAAuB;gBACvB,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,WAAW,CAAC,cAAc,CAC9B,OAAuD,EACvD,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;SACF,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,qBAAqB;QACnB,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE,CAAC;IACtC,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,WAAmB;QACvB,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;IACtC,CAAC;CACF"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { type BackgroundScheduler } from "../../util/background/background.js";
|
|
2
|
+
import type { SimSdkCommandRouter } from "../../sdk/router/sim-sdk-command-router.type.js";
|
|
3
|
+
import type { SimAwsAccountRegionScope } from "../aws/sim-aws-account-region-scope.js";
|
|
4
|
+
import { type SimIamInterServiceAuthZ } from "../iam/authorize/sim-iam-inter-service-auth-z.js";
|
|
5
|
+
import type * as simFirehoseCommands from "./command/sim-firehose-command.types.js";
|
|
6
|
+
import type { SimFirehoseRequestOptions } from "./command/sim-firehose-request-options.js";
|
|
7
|
+
import { SimFirehoseCfnResourceFactory } from "./cfn/sim-firehose-cfn-resource-factory.js";
|
|
8
|
+
import type { SimFirehoseDeliveryFailure } from "./delivery/sim-firehose-delivery-failures.js";
|
|
9
|
+
import type { SimFirehoseObjectDestination } from "./delivery/sim-firehose-object-writer.js";
|
|
10
|
+
import { type SimFirehoseRecordSource } from "./source/sim-firehose-record-source.js";
|
|
11
|
+
import type { SimFirehoseSourceFailure } from "./source/sim-firehose-source-failures.js";
|
|
12
|
+
import type { SimFirehoseDeliveryStream } from "./stream/sim-firehose-delivery-stream.js";
|
|
13
|
+
interface SimFirehoseProperties {
|
|
14
|
+
readonly accountRegionScope?: SimAwsAccountRegionScope;
|
|
15
|
+
readonly iam?: SimIamInterServiceAuthZ;
|
|
16
|
+
readonly background?: BackgroundScheduler;
|
|
17
|
+
readonly s3: SimFirehoseObjectDestination;
|
|
18
|
+
/**
|
|
19
|
+
* The simulated Kinesis a delivery stream reads a source stream from.
|
|
20
|
+
*
|
|
21
|
+
* A SimFirehose built without one delivers whatever is put on it, and refuses
|
|
22
|
+
* to read for a delivery stream created with a Kinesis source.
|
|
23
|
+
*/
|
|
24
|
+
readonly kinesis?: SimFirehoseRecordSource;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Simulated Kinesis Data Firehose. Handles SDK commands. Emulates AWS behaviour
|
|
28
|
+
* and state.
|
|
29
|
+
*
|
|
30
|
+
* Delivery streams are scoped to an Account and Region, as they are on real
|
|
31
|
+
* AWS. A delivery stream name is unique within one of those scopes, and its ARN
|
|
32
|
+
* names the Region.
|
|
33
|
+
*
|
|
34
|
+
* A delivery stream is a destination and a buffer. Records arrive through
|
|
35
|
+
* PutRecord and PutRecordBatch, wait in the buffer until it passes its size or
|
|
36
|
+
* its interval, and leave as one S3 Object written as the delivery stream's
|
|
37
|
+
* `RoleARN`. Advancing simulated time past the interval is what makes a test's
|
|
38
|
+
* records land in the Bucket.
|
|
39
|
+
*
|
|
40
|
+
* A delivery stream can read its records off a simulated Kinesis stream
|
|
41
|
+
* instead, as the source `RoleARN`. It starts at the end of the stream, so
|
|
42
|
+
* records put before it was created stay behind it, and it takes no puts of its
|
|
43
|
+
* own.
|
|
44
|
+
*
|
|
45
|
+
* S3 is the only destination simulated. The rest are refused by name at
|
|
46
|
+
* CreateDeliveryStream.
|
|
47
|
+
*/
|
|
48
|
+
export declare class SimFirehose {
|
|
49
|
+
private readonly deliveryStreams;
|
|
50
|
+
private readonly failures;
|
|
51
|
+
private readonly sourceFailures;
|
|
52
|
+
private readonly commands;
|
|
53
|
+
private readonly background;
|
|
54
|
+
private readonly sdkRouter;
|
|
55
|
+
private readonly cfnFactory;
|
|
56
|
+
constructor(properties: SimFirehoseProperties);
|
|
57
|
+
/**
|
|
58
|
+
* Find a delivery stream by name.
|
|
59
|
+
*
|
|
60
|
+
* This is the simulator's own accessor, for tests seeding or inspecting
|
|
61
|
+
* delivery stream state without going through a Command and its
|
|
62
|
+
* authorization.
|
|
63
|
+
*/
|
|
64
|
+
findDeliveryStream(name: string): SimFirehoseDeliveryStream | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* Get the buffers this Firehose could not write, which is the only place a
|
|
67
|
+
* delivery role missing `s3:PutObject` shows up.
|
|
68
|
+
*
|
|
69
|
+
* Real Firehose has answered the `PutRecord` long before it writes the buffer
|
|
70
|
+
* that record joined, so the caller who put it hears nothing either way.
|
|
71
|
+
*/
|
|
72
|
+
getDeliveryFailures(): readonly SimFirehoseDeliveryFailure[];
|
|
73
|
+
/**
|
|
74
|
+
* Get the source streams this Firehose stopped reading, which is where a
|
|
75
|
+
* source Role that cannot read its Kinesis stream shows up.
|
|
76
|
+
*
|
|
77
|
+
* A delivery stream reads with no caller in front of it, so a read it was
|
|
78
|
+
* refused reaches a test here rather than through the request that put the
|
|
79
|
+
* record.
|
|
80
|
+
*/
|
|
81
|
+
getSourceFailures(): readonly SimFirehoseSourceFailure[];
|
|
82
|
+
/** Handle a CreateDeliveryStream Command from the SDK. */
|
|
83
|
+
createDeliveryStream(command: simFirehoseCommands.SimCreateDeliveryStreamCommand, options?: SimFirehoseRequestOptions): Promise<simFirehoseCommands.SimCreateDeliveryStreamCommandOutput>;
|
|
84
|
+
/** Handle a DeleteDeliveryStream Command from the SDK. */
|
|
85
|
+
deleteDeliveryStream(command: simFirehoseCommands.SimDeleteDeliveryStreamCommand, options?: SimFirehoseRequestOptions): Promise<simFirehoseCommands.SimDeleteDeliveryStreamCommandOutput>;
|
|
86
|
+
/** Handle a ListDeliveryStreams Command from the SDK. */
|
|
87
|
+
listDeliveryStreams(command: simFirehoseCommands.SimListDeliveryStreamsCommand, options?: SimFirehoseRequestOptions): Promise<simFirehoseCommands.SimListDeliveryStreamsCommandOutput>;
|
|
88
|
+
/** Handle a DescribeDeliveryStream Command from the SDK. */
|
|
89
|
+
describeDeliveryStream(command: simFirehoseCommands.SimDescribeDeliveryStreamCommand, options?: SimFirehoseRequestOptions): Promise<simFirehoseCommands.SimDescribeDeliveryStreamCommandOutput>;
|
|
90
|
+
/** Handle a PutRecord Command from the SDK. */
|
|
91
|
+
putRecord(command: simFirehoseCommands.SimPutRecordCommand, options?: SimFirehoseRequestOptions): Promise<simFirehoseCommands.SimPutRecordCommandOutput>;
|
|
92
|
+
/** Handle a PutRecordBatch Command from the SDK. */
|
|
93
|
+
putRecordBatch(command: simFirehoseCommands.SimPutRecordBatchCommand, options?: SimFirehoseRequestOptions): Promise<simFirehoseCommands.SimPutRecordBatchCommandOutput>;
|
|
94
|
+
/**
|
|
95
|
+
* Get this service's SDK Command router for SDK client interception.
|
|
96
|
+
*/
|
|
97
|
+
sdkCommandRouter(): SimSdkCommandRouter;
|
|
98
|
+
/**
|
|
99
|
+
* Get this service's CloudFormation Resource factory.
|
|
100
|
+
*/
|
|
101
|
+
cfnResourceFactory(): SimFirehoseCfnResourceFactory;
|
|
102
|
+
}
|
|
103
|
+
export {};
|
|
104
|
+
//# sourceMappingURL=sim-firehose.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose.d.ts","sourceRoot":"","sources":["../../../src/service/firehose/sim-firehose.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { BackgroundTasks, } from "../../util/background/background.js";
|
|
2
|
+
import { simAwsAccountRegionScopeFactory } from "../aws/sim-aws-account-region-scope.factory.js";
|
|
3
|
+
import { SimIamAllowAllAuth, } from "../iam/authorize/sim-iam-inter-service-auth-z.js";
|
|
4
|
+
import { SimFirehoseCommands } from "./command/sim-firehose-commands.js";
|
|
5
|
+
import { SimFirehoseCfnResourceFactory } from "./cfn/sim-firehose-cfn-resource-factory.js";
|
|
6
|
+
import { SimFirehoseFailures } from "./failure/sim-firehose-failures.js";
|
|
7
|
+
import { SimFirehoseNoRecordSource, } from "./source/sim-firehose-record-source.js";
|
|
8
|
+
import { SimFirehoseSdkCommandRouter } from "./sdk/sim-firehose-sdk-command-router.js";
|
|
9
|
+
import { SimFirehoseDeliveryStreamStore } from "./stream/sim-firehose-delivery-stream-store.js";
|
|
10
|
+
/**
|
|
11
|
+
* Simulated Kinesis Data Firehose. Handles SDK commands. Emulates AWS behaviour
|
|
12
|
+
* and state.
|
|
13
|
+
*
|
|
14
|
+
* Delivery streams are scoped to an Account and Region, as they are on real
|
|
15
|
+
* AWS. A delivery stream name is unique within one of those scopes, and its ARN
|
|
16
|
+
* names the Region.
|
|
17
|
+
*
|
|
18
|
+
* A delivery stream is a destination and a buffer. Records arrive through
|
|
19
|
+
* PutRecord and PutRecordBatch, wait in the buffer until it passes its size or
|
|
20
|
+
* its interval, and leave as one S3 Object written as the delivery stream's
|
|
21
|
+
* `RoleARN`. Advancing simulated time past the interval is what makes a test's
|
|
22
|
+
* records land in the Bucket.
|
|
23
|
+
*
|
|
24
|
+
* A delivery stream can read its records off a simulated Kinesis stream
|
|
25
|
+
* instead, as the source `RoleARN`. It starts at the end of the stream, so
|
|
26
|
+
* records put before it was created stay behind it, and it takes no puts of its
|
|
27
|
+
* own.
|
|
28
|
+
*
|
|
29
|
+
* S3 is the only destination simulated. The rest are refused by name at
|
|
30
|
+
* CreateDeliveryStream.
|
|
31
|
+
*/
|
|
32
|
+
export class SimFirehose {
|
|
33
|
+
deliveryStreams = new SimFirehoseDeliveryStreamStore();
|
|
34
|
+
failures = new SimFirehoseFailures();
|
|
35
|
+
sourceFailures = new SimFirehoseFailures();
|
|
36
|
+
commands;
|
|
37
|
+
background;
|
|
38
|
+
sdkRouter = new SimFirehoseSdkCommandRouter(this);
|
|
39
|
+
cfnFactory = new SimFirehoseCfnResourceFactory({
|
|
40
|
+
firehose: this,
|
|
41
|
+
});
|
|
42
|
+
constructor(properties) {
|
|
43
|
+
const { accountRegionScope = simAwsAccountRegionScopeFactory.make(), iam = new SimIamAllowAllAuth(), background = new BackgroundTasks(), kinesis = new SimFirehoseNoRecordSource(), } = properties;
|
|
44
|
+
this.background = background;
|
|
45
|
+
this.commands = new SimFirehoseCommands({
|
|
46
|
+
deliveryStreams: this.deliveryStreams,
|
|
47
|
+
failures: this.failures,
|
|
48
|
+
sourceFailures: this.sourceFailures,
|
|
49
|
+
s3: properties.s3,
|
|
50
|
+
kinesis,
|
|
51
|
+
iam,
|
|
52
|
+
background,
|
|
53
|
+
accountRegionScope,
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Find a delivery stream by name.
|
|
58
|
+
*
|
|
59
|
+
* This is the simulator's own accessor, for tests seeding or inspecting
|
|
60
|
+
* delivery stream state without going through a Command and its
|
|
61
|
+
* authorization.
|
|
62
|
+
*/
|
|
63
|
+
findDeliveryStream(name) {
|
|
64
|
+
return this.deliveryStreams.find(name);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Get the buffers this Firehose could not write, which is the only place a
|
|
68
|
+
* delivery role missing `s3:PutObject` shows up.
|
|
69
|
+
*
|
|
70
|
+
* Real Firehose has answered the `PutRecord` long before it writes the buffer
|
|
71
|
+
* that record joined, so the caller who put it hears nothing either way.
|
|
72
|
+
*/
|
|
73
|
+
getDeliveryFailures() {
|
|
74
|
+
return this.failures.all;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Get the source streams this Firehose stopped reading, which is where a
|
|
78
|
+
* source Role that cannot read its Kinesis stream shows up.
|
|
79
|
+
*
|
|
80
|
+
* A delivery stream reads with no caller in front of it, so a read it was
|
|
81
|
+
* refused reaches a test here rather than through the request that put the
|
|
82
|
+
* record.
|
|
83
|
+
*/
|
|
84
|
+
getSourceFailures() {
|
|
85
|
+
return this.sourceFailures.all;
|
|
86
|
+
}
|
|
87
|
+
/** Handle a CreateDeliveryStream Command from the SDK. */
|
|
88
|
+
async createDeliveryStream(command, options) {
|
|
89
|
+
await this.background.sequence();
|
|
90
|
+
return this.commands.creation.handle(command, options);
|
|
91
|
+
}
|
|
92
|
+
/** Handle a DeleteDeliveryStream Command from the SDK. */
|
|
93
|
+
async deleteDeliveryStream(command, options) {
|
|
94
|
+
await this.background.sequence();
|
|
95
|
+
return this.commands.deliveryStreams.deleteDeliveryStream(command, options);
|
|
96
|
+
}
|
|
97
|
+
/** Handle a ListDeliveryStreams Command from the SDK. */
|
|
98
|
+
async listDeliveryStreams(command, options) {
|
|
99
|
+
await this.background.sequence();
|
|
100
|
+
return this.commands.deliveryStreams.listDeliveryStreams(command, options);
|
|
101
|
+
}
|
|
102
|
+
/** Handle a DescribeDeliveryStream Command from the SDK. */
|
|
103
|
+
async describeDeliveryStream(command, options) {
|
|
104
|
+
await this.background.sequence();
|
|
105
|
+
return this.commands.deliveryStreams.describeDeliveryStream(command, options);
|
|
106
|
+
}
|
|
107
|
+
/** Handle a PutRecord Command from the SDK. */
|
|
108
|
+
async putRecord(command, options) {
|
|
109
|
+
await this.background.sequence();
|
|
110
|
+
return this.commands.puts.putRecord(command, options);
|
|
111
|
+
}
|
|
112
|
+
/** Handle a PutRecordBatch Command from the SDK. */
|
|
113
|
+
async putRecordBatch(command, options) {
|
|
114
|
+
await this.background.sequence();
|
|
115
|
+
return this.commands.puts.putRecordBatch(command, options);
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Get this service's SDK Command router for SDK client interception.
|
|
119
|
+
*/
|
|
120
|
+
sdkCommandRouter() {
|
|
121
|
+
return this.sdkRouter;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Get this service's CloudFormation Resource factory.
|
|
125
|
+
*/
|
|
126
|
+
cfnResourceFactory() {
|
|
127
|
+
return this.cfnFactory;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
//# sourceMappingURL=sim-firehose.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose.js","sourceRoot":"","sources":["../../../src/service/firehose/sim-firehose.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { BackgroundScheduler, BackgroundTask } from "../../../../util/background/background.js";
|
|
2
|
+
interface SimFirehoseSourcePollProperties {
|
|
3
|
+
readonly background: BackgroundScheduler;
|
|
4
|
+
readonly read: BackgroundTask;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* When one delivery stream reads its source stream next.
|
|
8
|
+
*
|
|
9
|
+
* The read is scheduled on the clock, for the instant the simulation currently
|
|
10
|
+
* reads. Advancing time is then what moves records from the stream into the
|
|
11
|
+
* buffer, and the same advance can carry that buffer past its interval. A read
|
|
12
|
+
* scheduled off the clock would happen after the advance instead, leaving a
|
|
13
|
+
* test to advance twice for one record.
|
|
14
|
+
*
|
|
15
|
+
* A read already waiting to happen is left alone. A stream taking a record a
|
|
16
|
+
* second would otherwise queue a read for each of them, and the first would
|
|
17
|
+
* have read them all.
|
|
18
|
+
*/
|
|
19
|
+
export declare class SimFirehoseSourcePoll {
|
|
20
|
+
private readonly background;
|
|
21
|
+
private readonly task;
|
|
22
|
+
private scheduled;
|
|
23
|
+
private stopped;
|
|
24
|
+
constructor(properties: SimFirehoseSourcePollProperties);
|
|
25
|
+
/**
|
|
26
|
+
* Read once simulated time next moves.
|
|
27
|
+
*/
|
|
28
|
+
soon(): void;
|
|
29
|
+
/**
|
|
30
|
+
* Give up whatever read was waiting on the clock, and take no more.
|
|
31
|
+
*
|
|
32
|
+
* Both halves matter. A read already queued would otherwise wait for a
|
|
33
|
+
* delivery stream that has gone, and a delivery stream that stopped part way
|
|
34
|
+
* through a read goes on to ask for another.
|
|
35
|
+
*/
|
|
36
|
+
stop(): void;
|
|
37
|
+
}
|
|
38
|
+
export {};
|
|
39
|
+
//# sourceMappingURL=sim-firehose-source-poll.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-source-poll.d.ts","sourceRoot":"","sources":["../../../../../src/service/firehose/source/read/sim-firehose-source-poll.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,cAAc,EACf,MAAM,2CAA2C,CAAC;AAEnD,UAAU,+BAA+B;IACvC,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;IACzC,QAAQ,CAAC,IAAI,EAAE,cAAc,CAAC;CAC/B;AAED;;;;;;;;;;;;GAYG;AACH,qBAAa,qBAAqB;IAChC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAsB;IACjD,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAiB;IAEtC,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,OAAO,CAAS;IAExB,YAAY,UAAU,EAAE,+BAA+B,EAOtD;IAED;;OAEG;IACH,IAAI,IAAI,IAAI,CAOX;IAED;;;;;;OAMG;IACH,IAAI,IAAI,IAAI,CAGX;CACF"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* When one delivery stream reads its source stream next.
|
|
3
|
+
*
|
|
4
|
+
* The read is scheduled on the clock, for the instant the simulation currently
|
|
5
|
+
* reads. Advancing time is then what moves records from the stream into the
|
|
6
|
+
* buffer, and the same advance can carry that buffer past its interval. A read
|
|
7
|
+
* scheduled off the clock would happen after the advance instead, leaving a
|
|
8
|
+
* test to advance twice for one record.
|
|
9
|
+
*
|
|
10
|
+
* A read already waiting to happen is left alone. A stream taking a record a
|
|
11
|
+
* second would otherwise queue a read for each of them, and the first would
|
|
12
|
+
* have read them all.
|
|
13
|
+
*/
|
|
14
|
+
export class SimFirehoseSourcePoll {
|
|
15
|
+
background;
|
|
16
|
+
task;
|
|
17
|
+
scheduled = false;
|
|
18
|
+
stopped = false;
|
|
19
|
+
constructor(properties) {
|
|
20
|
+
this.background = properties.background;
|
|
21
|
+
this.task = async () => {
|
|
22
|
+
this.scheduled = false;
|
|
23
|
+
await properties.read();
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Read once simulated time next moves.
|
|
28
|
+
*/
|
|
29
|
+
soon() {
|
|
30
|
+
if (this.stopped || this.scheduled) {
|
|
31
|
+
return;
|
|
32
|
+
}
|
|
33
|
+
this.scheduled = true;
|
|
34
|
+
this.background.scheduleAt(this.background.now(), this.task);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Give up whatever read was waiting on the clock, and take no more.
|
|
38
|
+
*
|
|
39
|
+
* Both halves matter. A read already queued would otherwise wait for a
|
|
40
|
+
* delivery stream that has gone, and a delivery stream that stopped part way
|
|
41
|
+
* through a read goes on to ask for another.
|
|
42
|
+
*/
|
|
43
|
+
stop() {
|
|
44
|
+
this.stopped = true;
|
|
45
|
+
this.background.cancelScheduled(this.task);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=sim-firehose-source-poll.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-source-poll.js","sourceRoot":"","sources":["../../../../../src/service/firehose/source/read/sim-firehose-source-poll.ts"],"names":[],"mappings":"AAUA;;;;;;;;;;;;GAYG;AACH,MAAM,OAAO,qBAAqB;IACf,UAAU,CAAsB;IAChC,IAAI,CAAiB;IAE9B,SAAS,GAAG,KAAK,CAAC;IAClB,OAAO,GAAG,KAAK,CAAC;IAExB,YAAY,UAA2C;QACrD,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;QACxC,IAAI,CAAC,IAAI,GAAG,KAAK,IAAmB,EAAE;YACpC,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;YAEvB,MAAM,UAAU,CAAC,IAAI,EAAE,CAAC;QAC1B,CAAC,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,IAAI;QACF,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;YACnC,OAAO;QACT,CAAC;QAED,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;QACtB,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IAC/D,CAAC;IAED;;;;;;OAMG;IACH,IAAI;QACF,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC7C,CAAC;CACF"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import type { BackgroundScheduler } from "../../../../util/background/background.js";
|
|
2
|
+
import type { SimFirehoseDelivery } from "../../delivery/sim-firehose-delivery.js";
|
|
3
|
+
import type { SimFirehoseFailures } from "../../failure/sim-firehose-failures.js";
|
|
4
|
+
import type { SimFirehoseDeliveryStream } from "../../stream/sim-firehose-delivery-stream.js";
|
|
5
|
+
import type { SimFirehoseRecordSource, SimFirehoseSourceWatcher } from "../sim-firehose-record-source.js";
|
|
6
|
+
import { SimFirehoseSourceFailure } from "../sim-firehose-source-failures.js";
|
|
7
|
+
import type { SimFirehoseKinesisSource } from "../sim-firehose-source.js";
|
|
8
|
+
interface SimFirehoseSourceReaderProperties {
|
|
9
|
+
readonly deliveryStream: SimFirehoseDeliveryStream;
|
|
10
|
+
readonly source: SimFirehoseKinesisSource;
|
|
11
|
+
readonly records: SimFirehoseRecordSource;
|
|
12
|
+
readonly delivery: SimFirehoseDelivery;
|
|
13
|
+
readonly failures: SimFirehoseFailures<SimFirehoseSourceFailure>;
|
|
14
|
+
readonly background: BackgroundScheduler;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* One delivery stream reading every shard of its source stream.
|
|
18
|
+
*
|
|
19
|
+
* The read happens on the clock. A record put onto the stream schedules a read
|
|
20
|
+
* for the instant the simulation currently reads, so advancing time is what
|
|
21
|
+
* moves records from the stream into the delivery stream's buffer, and the same
|
|
22
|
+
* advance can then carry the buffer past its interval. Real Firehose reads
|
|
23
|
+
* continuously, and nothing in this simulation runs continuously.
|
|
24
|
+
*
|
|
25
|
+
* Every call to the stream is made as the source Role. A Role that cannot read
|
|
26
|
+
* stops the delivery, and the failure is kept for a test to read: real Firehose
|
|
27
|
+
* has no caller in front of it here to raise at.
|
|
28
|
+
*/
|
|
29
|
+
export declare class SimFirehoseSourceReader implements SimFirehoseSourceWatcher {
|
|
30
|
+
private readonly properties;
|
|
31
|
+
private readonly activity;
|
|
32
|
+
private readonly poll;
|
|
33
|
+
private shards;
|
|
34
|
+
constructor(properties: SimFirehoseSourceReaderProperties);
|
|
35
|
+
/**
|
|
36
|
+
* Open every shard of the source stream at its end, and watch for records.
|
|
37
|
+
*
|
|
38
|
+
* The shards are found before CreateDeliveryStream answers, rather than at
|
|
39
|
+
* the first read. Both calls are made as the source Role, and a record put
|
|
40
|
+
* the moment the delivery stream exists has to land behind a place that was
|
|
41
|
+
* already taken.
|
|
42
|
+
*/
|
|
43
|
+
start(): Promise<void>;
|
|
44
|
+
/**
|
|
45
|
+
* Read the stream once simulated time next moves.
|
|
46
|
+
*/
|
|
47
|
+
recordsAvailable(): void;
|
|
48
|
+
/**
|
|
49
|
+
* Stop reading, and give up whatever read was waiting on the clock.
|
|
50
|
+
*/
|
|
51
|
+
stop(): void;
|
|
52
|
+
/**
|
|
53
|
+
* Read the stream, and take what came back onto the buffer.
|
|
54
|
+
*/
|
|
55
|
+
private take;
|
|
56
|
+
/**
|
|
57
|
+
* Give up on the source stream, and say why.
|
|
58
|
+
*/
|
|
59
|
+
private failed;
|
|
60
|
+
}
|
|
61
|
+
export {};
|
|
62
|
+
//# sourceMappingURL=sim-firehose-source-reader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-source-reader.d.ts","sourceRoot":"","sources":["../../../../../src/service/firehose/source/read/sim-firehose-source-reader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,8CAA8C,CAAC;AAC9F,OAAO,KAAK,EACV,uBAAuB,EAEvB,wBAAwB,EACzB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAI1E,UAAU,iCAAiC;IACzC,QAAQ,CAAC,cAAc,EAAE,yBAAyB,CAAC;IACnD,QAAQ,CAAC,MAAM,EAAE,wBAAwB,CAAC;IAC1C,QAAQ,CAAC,OAAO,EAAE,uBAAuB,CAAC;IAC1C,QAAQ,CAAC,QAAQ,EAAE,mBAAmB,CAAC;IACvC,QAAQ,CAAC,QAAQ,EAAE,mBAAmB,CAAC,wBAAwB,CAAC,CAAC;IACjE,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;CAC1C;AAED;;;;;;;;;;;;GAYG;AACH,qBAAa,uBAAwB,YAAW,wBAAwB;IACtE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAoC;IAC/D,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA4B;IACrD,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAwB;IAE7C,OAAO,CAAC,MAAM,CAAmC;IAEjD,YAAY,UAAU,EAAE,iCAAiC,EASxD;IAED;;;;;;;OAOG;IACG,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAiB3B;IAED;;OAEG;IACH,gBAAgB,IAAI,IAAI,CAEvB;IAED;;OAEG;IACH,IAAI,IAAI,IAAI,CAGX;IAED;;OAEG;YACW,IAAI;IAoBlB;;OAEG;IACH,OAAO,CAAC,MAAM;CAQf"}
|