@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,140 @@
|
|
|
1
|
+
import type { SimAwsCaller } from "../../aws/caller/sim-aws-caller.js";
|
|
2
|
+
/**
|
|
3
|
+
* What a Firehose read of a stream carries besides its command input.
|
|
4
|
+
*
|
|
5
|
+
* Every read is made as the source `RoleARN`, so simulated IAM decides it the
|
|
6
|
+
* way real IAM decides a real Firehose read.
|
|
7
|
+
*/
|
|
8
|
+
export interface SimFirehoseSourceCallerOptions {
|
|
9
|
+
readonly caller: SimAwsCaller;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* One shard of a stream, as DescribeStream reports it.
|
|
13
|
+
*/
|
|
14
|
+
export interface SimFirehoseSourceShardDescription {
|
|
15
|
+
readonly ShardId?: string | undefined;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* A stream, as DescribeStream reports it.
|
|
19
|
+
*/
|
|
20
|
+
export interface SimFirehoseSourceStreamDescription {
|
|
21
|
+
readonly Shards?: readonly SimFirehoseSourceShardDescription[] | undefined;
|
|
22
|
+
readonly HasMoreShards?: boolean | undefined;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* One record as a stream hands it to a delivery stream.
|
|
26
|
+
*
|
|
27
|
+
* The bytes are the whole of it. A Kinesis-sourced delivery stream writes the
|
|
28
|
+
* record's data into the Object and nothing else about the record, which is
|
|
29
|
+
* why the sequence number and the partition key are absent here.
|
|
30
|
+
*/
|
|
31
|
+
export interface SimFirehoseSourceRecord {
|
|
32
|
+
readonly Data: Uint8Array;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Something outside Firehose waiting for records on a stream.
|
|
36
|
+
*/
|
|
37
|
+
export interface SimFirehoseSourceWatcher {
|
|
38
|
+
/**
|
|
39
|
+
* A record has been put, and can be read now.
|
|
40
|
+
*/
|
|
41
|
+
recordsAvailable(): void;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* The part of simulated Kinesis that says when a record has been put.
|
|
45
|
+
*/
|
|
46
|
+
export interface SimFirehoseSourceActivity {
|
|
47
|
+
watch(streamArn: string, watcher: SimFirehoseSourceWatcher): void;
|
|
48
|
+
unwatch(streamArn: string, watcher: SimFirehoseSourceWatcher): void;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* The narrow slice of simulated Kinesis a delivery stream reads through.
|
|
52
|
+
*
|
|
53
|
+
* These are the SDK operations a real Firehose performs, in the order it
|
|
54
|
+
* performs them: find the shards, ask for a place at the end of one, then read
|
|
55
|
+
* from there. Going through the commands rather than through a reader of
|
|
56
|
+
* Yulin's own is what makes each call authorize as the source Role.
|
|
57
|
+
*
|
|
58
|
+
* `SimKinesis` structurally implements this interface.
|
|
59
|
+
*/
|
|
60
|
+
export interface SimFirehoseRecordSource {
|
|
61
|
+
describeStream(command: {
|
|
62
|
+
input: {
|
|
63
|
+
StreamARN: string;
|
|
64
|
+
Limit?: number;
|
|
65
|
+
ExclusiveStartShardId?: string;
|
|
66
|
+
};
|
|
67
|
+
}, options?: SimFirehoseSourceCallerOptions): Promise<{
|
|
68
|
+
StreamDescription: SimFirehoseSourceStreamDescription;
|
|
69
|
+
}>;
|
|
70
|
+
getShardIterator(command: {
|
|
71
|
+
input: {
|
|
72
|
+
StreamARN: string;
|
|
73
|
+
ShardId: string;
|
|
74
|
+
ShardIteratorType: string;
|
|
75
|
+
};
|
|
76
|
+
}, options?: SimFirehoseSourceCallerOptions): Promise<{
|
|
77
|
+
ShardIterator: string;
|
|
78
|
+
}>;
|
|
79
|
+
getRecords(command: {
|
|
80
|
+
input: {
|
|
81
|
+
ShardIterator: string;
|
|
82
|
+
Limit: number;
|
|
83
|
+
};
|
|
84
|
+
}, options?: SimFirehoseSourceCallerOptions): Promise<{
|
|
85
|
+
Records: readonly SimFirehoseSourceRecord[];
|
|
86
|
+
NextShardIterator: string;
|
|
87
|
+
}>;
|
|
88
|
+
streamActivity(): SimFirehoseSourceActivity;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* The record source used when no simulated Kinesis is wired up, such as for a
|
|
92
|
+
* standalone SimFirehose constructed outside SimAws.
|
|
93
|
+
*
|
|
94
|
+
* Every read refuses, so a delivery stream created against a Kinesis stream
|
|
95
|
+
* says why it takes nothing rather than quietly taking nothing.
|
|
96
|
+
*/
|
|
97
|
+
export declare class SimFirehoseNoRecordSource implements SimFirehoseRecordSource, SimFirehoseSourceActivity {
|
|
98
|
+
/**
|
|
99
|
+
* Refuse to look at a stream, explaining how to reach one.
|
|
100
|
+
*/
|
|
101
|
+
describeStream(command: {
|
|
102
|
+
input: {
|
|
103
|
+
StreamARN: string;
|
|
104
|
+
};
|
|
105
|
+
}): Promise<{
|
|
106
|
+
StreamDescription: SimFirehoseSourceStreamDescription;
|
|
107
|
+
}>;
|
|
108
|
+
/**
|
|
109
|
+
* Refuse to take a place on a shard, explaining how to reach a stream.
|
|
110
|
+
*/
|
|
111
|
+
getShardIterator(command: {
|
|
112
|
+
input: {
|
|
113
|
+
StreamARN: string;
|
|
114
|
+
};
|
|
115
|
+
}): Promise<{
|
|
116
|
+
ShardIterator: string;
|
|
117
|
+
}>;
|
|
118
|
+
/**
|
|
119
|
+
* Refuse to read: there was never a place to read from.
|
|
120
|
+
*/
|
|
121
|
+
getRecords(): Promise<{
|
|
122
|
+
Records: readonly SimFirehoseSourceRecord[];
|
|
123
|
+
NextShardIterator: string;
|
|
124
|
+
}>;
|
|
125
|
+
/**
|
|
126
|
+
* Answer with the activity of a simulation holding no streams, which is
|
|
127
|
+
* this: nothing here ever has records to read.
|
|
128
|
+
*/
|
|
129
|
+
streamActivity(): SimFirehoseSourceActivity;
|
|
130
|
+
/**
|
|
131
|
+
* Watch nothing: there is no stream to watch.
|
|
132
|
+
*/
|
|
133
|
+
watch(): void;
|
|
134
|
+
/**
|
|
135
|
+
* Stop watching nothing.
|
|
136
|
+
*/
|
|
137
|
+
unwatch(): void;
|
|
138
|
+
private noStreams;
|
|
139
|
+
}
|
|
140
|
+
//# sourceMappingURL=sim-firehose-record-source.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-record-source.d.ts","sourceRoot":"","sources":["../../../../src/service/firehose/source/sim-firehose-record-source.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAGvE;;;;;GAKG;AACH,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAChD,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACvC;AAED;;GAEG;AACH,MAAM,WAAW,kCAAkC;IACjD,QAAQ,CAAC,MAAM,CAAC,EAAE,SAAS,iCAAiC,EAAE,GAAG,SAAS,CAAC;IAC3E,QAAQ,CAAC,aAAa,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC9C;AAED;;;;;;GAMG;AACH,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,gBAAgB,IAAI,IAAI,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,KAAK,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,wBAAwB,GAAG,IAAI,CAAC;IAClE,OAAO,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,wBAAwB,GAAG,IAAI,CAAC;CACrE;AAED;;;;;;;;;GASG;AACH,MAAM,WAAW,uBAAuB;IACtC,cAAc,CACZ,OAAO,EAAE;QACP,KAAK,EAAE;YACL,SAAS,EAAE,MAAM,CAAC;YAClB,KAAK,CAAC,EAAE,MAAM,CAAC;YACf,qBAAqB,CAAC,EAAE,MAAM,CAAC;SAChC,CAAC;KACH,EACD,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC;QAAE,iBAAiB,EAAE,kCAAkC,CAAA;KAAE,CAAC,CAAC;IAEtE,gBAAgB,CACd,OAAO,EAAE;QACP,KAAK,EAAE;YAAE,SAAS,EAAE,MAAM,CAAC;YAAC,OAAO,EAAE,MAAM,CAAC;YAAC,iBAAiB,EAAE,MAAM,CAAA;SAAE,CAAC;KAC1E,EACD,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC;QAAE,aAAa,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAEtC,UAAU,CACR,OAAO,EAAE;QAAE,KAAK,EAAE;YAAE,aAAa,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,EAC5D,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC;QACT,OAAO,EAAE,SAAS,uBAAuB,EAAE,CAAC;QAC5C,iBAAiB,EAAE,MAAM,CAAC;KAC3B,CAAC,CAAC;IAEH,cAAc,IAAI,yBAAyB,CAAC;CAC7C;AAED;;;;;;GAMG;AACH,qBAAa,yBACX,YAAW,uBAAuB,EAAE,yBAAyB;IAE7D;;OAEG;IACH,cAAc,CAAC,OAAO,EAAE;QACtB,KAAK,EAAE;YAAE,SAAS,EAAE,MAAM,CAAA;SAAE,CAAC;KAC9B,GAAG,OAAO,CAAC;QAAE,iBAAiB,EAAE,kCAAkC,CAAA;KAAE,CAAC,CAErE;IAED;;OAEG;IACH,gBAAgB,CAAC,OAAO,EAAE;QACxB,KAAK,EAAE;YAAE,SAAS,EAAE,MAAM,CAAA;SAAE,CAAC;KAC9B,GAAG,OAAO,CAAC;QAAE,aAAa,EAAE,MAAM,CAAA;KAAE,CAAC,CAErC;IAED;;OAEG;IACH,UAAU,IAAI,OAAO,CAAC;QACpB,OAAO,EAAE,SAAS,uBAAuB,EAAE,CAAC;QAC5C,iBAAiB,EAAE,MAAM,CAAC;KAC3B,CAAC,CAED;IAED;;;OAGG;IACH,cAAc,IAAI,yBAAyB,CAE1C;IAED;;OAEG;IACH,KAAK,IAAI,IAAI,CAEZ;IAED;;OAEG;IACH,OAAO,IAAI,IAAI,CAEd;IAED,OAAO,CAAC,SAAS;CAOlB"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { SimFirehoseError } from "../error/sim-firehose.error.js";
|
|
2
|
+
/**
|
|
3
|
+
* The record source used when no simulated Kinesis is wired up, such as for a
|
|
4
|
+
* standalone SimFirehose constructed outside SimAws.
|
|
5
|
+
*
|
|
6
|
+
* Every read refuses, so a delivery stream created against a Kinesis stream
|
|
7
|
+
* says why it takes nothing rather than quietly taking nothing.
|
|
8
|
+
*/
|
|
9
|
+
export class SimFirehoseNoRecordSource {
|
|
10
|
+
/**
|
|
11
|
+
* Refuse to look at a stream, explaining how to reach one.
|
|
12
|
+
*/
|
|
13
|
+
describeStream(command) {
|
|
14
|
+
return Promise.reject(this.noStreams(command.input.StreamARN));
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Refuse to take a place on a shard, explaining how to reach a stream.
|
|
18
|
+
*/
|
|
19
|
+
getShardIterator(command) {
|
|
20
|
+
return Promise.reject(this.noStreams(command.input.StreamARN));
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Refuse to read: there was never a place to read from.
|
|
24
|
+
*/
|
|
25
|
+
getRecords() {
|
|
26
|
+
return Promise.reject(this.noStreams("a stream"));
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Answer with the activity of a simulation holding no streams, which is
|
|
30
|
+
* this: nothing here ever has records to read.
|
|
31
|
+
*/
|
|
32
|
+
streamActivity() {
|
|
33
|
+
return this;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Watch nothing: there is no stream to watch.
|
|
37
|
+
*/
|
|
38
|
+
watch() {
|
|
39
|
+
//
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Stop watching nothing.
|
|
43
|
+
*/
|
|
44
|
+
unwatch() {
|
|
45
|
+
//
|
|
46
|
+
}
|
|
47
|
+
noStreams(streamArn) {
|
|
48
|
+
return new SimFirehoseError(`Cannot read ${streamArn}: this SimFirehose has no simulated Kinesis ` +
|
|
49
|
+
"to read. Create the delivery stream through SimAws, or construct " +
|
|
50
|
+
"SimFirehose with a kinesis to read from.");
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=sim-firehose-record-source.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-record-source.js","sourceRoot":"","sources":["../../../../src/service/firehose/source/sim-firehose-record-source.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAgGlE;;;;;;GAMG;AACH,MAAM,OAAO,yBAAyB;IAGpC;;OAEG;IACH,cAAc,CAAC,OAEd;QACC,OAAO,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC;IACjE,CAAC;IAED;;OAEG;IACH,gBAAgB,CAAC,OAEhB;QACC,OAAO,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC;IACjE,CAAC;IAED;;OAEG;IACH,UAAU;QAIR,OAAO,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC;IACpD,CAAC;IAED;;;OAGG;IACH,cAAc;QACZ,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;OAEG;IACH,KAAK;QACH,EAAE;IACJ,CAAC;IAED;;OAEG;IACH,OAAO;QACL,EAAE;IACJ,CAAC;IAEO,SAAS,CAAC,SAAiB;QACjC,OAAO,IAAI,gBAAgB,CACzB,eAAe,SAAS,8CAA8C;YACpE,mEAAmE;YACnE,0CAA0C,CAC7C,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { SimAwsAccountRegionScope } from "../../aws/sim-aws-account-region-scope.js";
|
|
2
|
+
import { type SimFirehoseSource } from "./sim-firehose-source.js";
|
|
3
|
+
/**
|
|
4
|
+
* The Kinesis stream a CreateDeliveryStream request reads from.
|
|
5
|
+
*/
|
|
6
|
+
export interface SimFirehoseKinesisSourceInput {
|
|
7
|
+
readonly KinesisStreamARN?: string | undefined;
|
|
8
|
+
readonly RoleARN?: string | undefined;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* The source fields a CreateDeliveryStream request can carry.
|
|
12
|
+
*/
|
|
13
|
+
export interface SimFirehoseSourceInput {
|
|
14
|
+
readonly DeliveryStreamType?: string | undefined;
|
|
15
|
+
readonly KinesisStreamSourceConfiguration?: SimFirehoseKinesisSourceInput | undefined;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The source a request declared, or a refusal saying why there is none.
|
|
19
|
+
*
|
|
20
|
+
* An omitted `DeliveryStreamType` is `DirectPut`, as it is on real Firehose. A
|
|
21
|
+
* type outside the two simulated is refused by name rather than taken as
|
|
22
|
+
* `DirectPut`, since a delivery stream reading an MSK cluster or a database
|
|
23
|
+
* would take nothing and deliver nothing.
|
|
24
|
+
*/
|
|
25
|
+
export declare function simFirehoseSourceOf(input: SimFirehoseSourceInput, scope: SimAwsAccountRegionScope, startedAt: Date): SimFirehoseSource;
|
|
26
|
+
//# sourceMappingURL=sim-firehose-source-choice.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-source-choice.d.ts","sourceRoot":"","sources":["../../../../src/service/firehose/source/sim-firehose-source-choice.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAM1F,OAAO,EAGL,KAAK,iBAAiB,EACvB,MAAM,0BAA0B,CAAC;AAElC;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/C,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACvC;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjD,QAAQ,CAAC,gCAAgC,CAAC,EACtC,6BAA6B,GAC7B,SAAS,CAAC;CACf;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,sBAAsB,EAC7B,KAAK,EAAE,wBAAwB,EAC/B,SAAS,EAAE,IAAI,GACd,iBAAiB,CAuBnB"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { SimFirehoseInvalidArgumentException, SimFirehoseUnsimulatedSource, } from "../error/sim-firehose.error.js";
|
|
2
|
+
import { SimFirehoseKinesisSourceArn } from "./sim-firehose-kinesis-source-arn.js";
|
|
3
|
+
import { SimFirehoseDirectPutSource, SimFirehoseKinesisSource, } from "./sim-firehose-source.js";
|
|
4
|
+
/**
|
|
5
|
+
* The source a request declared, or a refusal saying why there is none.
|
|
6
|
+
*
|
|
7
|
+
* An omitted `DeliveryStreamType` is `DirectPut`, as it is on real Firehose. A
|
|
8
|
+
* type outside the two simulated is refused by name rather than taken as
|
|
9
|
+
* `DirectPut`, since a delivery stream reading an MSK cluster or a database
|
|
10
|
+
* would take nothing and deliver nothing.
|
|
11
|
+
*/
|
|
12
|
+
export function simFirehoseSourceOf(input, scope, startedAt) {
|
|
13
|
+
const type = input.DeliveryStreamType ?? "DirectPut";
|
|
14
|
+
if (type === "KinesisStreamAsSource") {
|
|
15
|
+
return kinesisSource(requiredSourceConfiguration(input), scope, startedAt);
|
|
16
|
+
}
|
|
17
|
+
if (type !== "DirectPut") {
|
|
18
|
+
throw new SimFirehoseUnsimulatedSource(`Simulated Kinesis Data Firehose takes records through PutRecord and ` +
|
|
19
|
+
`PutRecordBatch, or reads them off a simulated Kinesis stream, and ` +
|
|
20
|
+
`this delivery stream declares a DeliveryStreamType of ${type}.`);
|
|
21
|
+
}
|
|
22
|
+
if (input.KinesisStreamSourceConfiguration !== undefined) {
|
|
23
|
+
throw new SimFirehoseInvalidArgumentException("A KinesisStreamSourceConfiguration goes with a DeliveryStreamType of " +
|
|
24
|
+
"KinesisStreamAsSource, and this delivery stream is DirectPut");
|
|
25
|
+
}
|
|
26
|
+
return new SimFirehoseDirectPutSource();
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* The configuration a Kinesis-sourced delivery stream has to carry.
|
|
30
|
+
*/
|
|
31
|
+
function requiredSourceConfiguration(input) {
|
|
32
|
+
const configuration = input.KinesisStreamSourceConfiguration;
|
|
33
|
+
if (configuration === undefined) {
|
|
34
|
+
throw new SimFirehoseInvalidArgumentException("A delivery stream of type KinesisStreamAsSource has to declare the " +
|
|
35
|
+
"stream it reads in a KinesisStreamSourceConfiguration");
|
|
36
|
+
}
|
|
37
|
+
return configuration;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* The Kinesis stream a delivery stream reads, and the Role it reads as.
|
|
41
|
+
*
|
|
42
|
+
* A stream in another Account or Region is refused. This simulated Firehose
|
|
43
|
+
* reads the simulated Kinesis of its own scope, and treating a foreign ARN as
|
|
44
|
+
* local would let a test pass while the real delivery stream read nothing.
|
|
45
|
+
*/
|
|
46
|
+
function kinesisSource(configuration, scope, startedAt) {
|
|
47
|
+
const streamArn = SimFirehoseKinesisSourceArn.of(configuration.KinesisStreamARN);
|
|
48
|
+
if (!streamArn.isIn(scope)) {
|
|
49
|
+
throw new SimFirehoseUnsimulatedSource(`Simulated Kinesis Data Firehose reads a source stream in its own ` +
|
|
50
|
+
`account and region, which is ${scope.accountId} in ` +
|
|
51
|
+
`${scope.regionName}, and ${streamArn.value} names another.`);
|
|
52
|
+
}
|
|
53
|
+
return new SimFirehoseKinesisSource({
|
|
54
|
+
streamArn,
|
|
55
|
+
roleArn: requiredRoleArn(configuration.RoleARN),
|
|
56
|
+
startedAt,
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* The Role a Kinesis-sourced delivery stream reads as.
|
|
61
|
+
*/
|
|
62
|
+
function requiredRoleArn(value) {
|
|
63
|
+
if (value === undefined || value === "") {
|
|
64
|
+
throw new SimFirehoseInvalidArgumentException("The KinesisStreamSourceConfiguration is missing RoleARN");
|
|
65
|
+
}
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=sim-firehose-source-choice.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-source-choice.js","sourceRoot":"","sources":["../../../../src/service/firehose/source/sim-firehose-source-choice.ts"],"names":[],"mappings":"AACA,OAAO,EACL,mCAAmC,EACnC,4BAA4B,GAC7B,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACnF,OAAO,EACL,0BAA0B,EAC1B,wBAAwB,GAEzB,MAAM,0BAA0B,CAAC;AAoBlC;;;;;;;GAOG;AACH,MAAM,UAAU,mBAAmB,CACjC,KAA6B,EAC7B,KAA+B,EAC/B,SAAe;IAEf,MAAM,IAAI,GAAG,KAAK,CAAC,kBAAkB,IAAI,WAAW,CAAC;IAErD,IAAI,IAAI,KAAK,uBAAuB,EAAE,CAAC;QACrC,OAAO,aAAa,CAAC,2BAA2B,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC;IAC7E,CAAC;IAED,IAAI,IAAI,KAAK,WAAW,EAAE,CAAC;QACzB,MAAM,IAAI,4BAA4B,CACpC,sEAAsE;YACpE,oEAAoE;YACpE,yDAAyD,IAAI,GAAG,CACnE,CAAC;IACJ,CAAC;IAED,IAAI,KAAK,CAAC,gCAAgC,KAAK,SAAS,EAAE,CAAC;QACzD,MAAM,IAAI,mCAAmC,CAC3C,uEAAuE;YACrE,8DAA8D,CACjE,CAAC;IACJ,CAAC;IAED,OAAO,IAAI,0BAA0B,EAAE,CAAC;AAC1C,CAAC;AAED;;GAEG;AACH,SAAS,2BAA2B,CAClC,KAA6B;IAE7B,MAAM,aAAa,GAAG,KAAK,CAAC,gCAAgC,CAAC;IAE7D,IAAI,aAAa,KAAK,SAAS,EAAE,CAAC;QAChC,MAAM,IAAI,mCAAmC,CAC3C,qEAAqE;YACnE,uDAAuD,CAC1D,CAAC;IACJ,CAAC;IAED,OAAO,aAAa,CAAC;AACvB,CAAC;AAED;;;;;;GAMG;AACH,SAAS,aAAa,CACpB,aAA4C,EAC5C,KAA+B,EAC/B,SAAe;IAEf,MAAM,SAAS,GAAG,2BAA2B,CAAC,EAAE,CAC9C,aAAa,CAAC,gBAAgB,CAC/B,CAAC;IAEF,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;QAC3B,MAAM,IAAI,4BAA4B,CACpC,mEAAmE;YACjE,gCAAgC,KAAK,CAAC,SAAS,MAAM;YACrD,GAAG,KAAK,CAAC,UAAU,SAAS,SAAS,CAAC,KAAK,iBAAiB,CAC/D,CAAC;IACJ,CAAC;IAED,OAAO,IAAI,wBAAwB,CAAC;QAClC,SAAS;QACT,OAAO,EAAE,eAAe,CAAC,aAAa,CAAC,OAAO,CAAC;QAC/C,SAAS;KACV,CAAC,CAAC;AACL,CAAC;AAED;;GAEG;AACH,SAAS,eAAe,CAAC,KAAyB;IAChD,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,EAAE,EAAE,CAAC;QACxC,MAAM,IAAI,mCAAmC,CAC3C,yDAAyD,CAC1D,CAAC;IACJ,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { SimFirehoseFailure } from "../failure/sim-firehose-failure.js";
|
|
2
|
+
import type { SimFirehoseFailures } from "../failure/sim-firehose-failures.js";
|
|
3
|
+
import type { SimFirehoseKinesisSource } from "./sim-firehose-source.js";
|
|
4
|
+
interface SimFirehoseSourceFailureProperties {
|
|
5
|
+
readonly deliveryStreamName: string;
|
|
6
|
+
readonly streamArn: string;
|
|
7
|
+
readonly roleArn: string;
|
|
8
|
+
readonly error: unknown;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* A source stream a delivery stream stopped reading.
|
|
12
|
+
*
|
|
13
|
+
* There is one of these per delivery stream at most. A read that fails stops
|
|
14
|
+
* the delivery: the Role is refused every time it asks, and going round again
|
|
15
|
+
* would record the same refusal for as long as the simulation ran.
|
|
16
|
+
*/
|
|
17
|
+
export declare class SimFirehoseSourceFailure extends SimFirehoseFailure {
|
|
18
|
+
readonly streamArn: string;
|
|
19
|
+
constructor(properties: SimFirehoseSourceFailureProperties);
|
|
20
|
+
/**
|
|
21
|
+
* The failure of one delivery stream's read of the source it holds.
|
|
22
|
+
*/
|
|
23
|
+
static of(deliveryStreamName: string, source: SimFirehoseKinesisSource, error: unknown): SimFirehoseSourceFailure;
|
|
24
|
+
/**
|
|
25
|
+
* How a stream that could not be read reads on the console.
|
|
26
|
+
*/
|
|
27
|
+
get warning(): string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* The source streams a simulated Firehose scope stopped reading.
|
|
31
|
+
*
|
|
32
|
+
* Real Firehose has no caller in front of it while it reads, and what stops the
|
|
33
|
+
* read reaches an operator through CloudWatch, which is not simulated. Every
|
|
34
|
+
* failure is kept here for a test to read.
|
|
35
|
+
*/
|
|
36
|
+
export type SimFirehoseSourceFailures = SimFirehoseFailures<SimFirehoseSourceFailure>;
|
|
37
|
+
export {};
|
|
38
|
+
//# sourceMappingURL=sim-firehose-source-failures.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-source-failures.d.ts","sourceRoot":"","sources":["../../../../src/service/firehose/source/sim-firehose-source-failures.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACxE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAEzE,UAAU,kCAAkC;IAC1C,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC;IACpC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;CACzB;AAED;;;;;;GAMG;AACH,qBAAa,wBAAyB,SAAQ,kBAAkB;IAC9D,SAAgB,SAAS,EAAE,MAAM,CAAC;IAElC,YAAY,UAAU,EAAE,kCAAkC,EAGzD;IAED;;OAEG;IACH,MAAM,CAAC,EAAE,CACP,kBAAkB,EAAE,MAAM,EAC1B,MAAM,EAAE,wBAAwB,EAChC,KAAK,EAAE,OAAO,GACb,wBAAwB,CAO1B;IAED;;OAEG;IACH,IAAa,OAAO,IAAI,MAAM,CAE7B;CACF;AAED;;;;;;GAMG;AACH,MAAM,MAAM,yBAAyB,GACnC,mBAAmB,CAAC,wBAAwB,CAAC,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { SimFirehoseFailure } from "../failure/sim-firehose-failure.js";
|
|
2
|
+
/**
|
|
3
|
+
* A source stream a delivery stream stopped reading.
|
|
4
|
+
*
|
|
5
|
+
* There is one of these per delivery stream at most. A read that fails stops
|
|
6
|
+
* the delivery: the Role is refused every time it asks, and going round again
|
|
7
|
+
* would record the same refusal for as long as the simulation ran.
|
|
8
|
+
*/
|
|
9
|
+
export class SimFirehoseSourceFailure extends SimFirehoseFailure {
|
|
10
|
+
streamArn;
|
|
11
|
+
constructor(properties) {
|
|
12
|
+
super(properties);
|
|
13
|
+
this.streamArn = properties.streamArn;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* The failure of one delivery stream's read of the source it holds.
|
|
17
|
+
*/
|
|
18
|
+
static of(deliveryStreamName, source, error) {
|
|
19
|
+
return new this({
|
|
20
|
+
deliveryStreamName,
|
|
21
|
+
streamArn: source.streamArn.value,
|
|
22
|
+
roleArn: source.roleArn,
|
|
23
|
+
error,
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* How a stream that could not be read reads on the console.
|
|
28
|
+
*/
|
|
29
|
+
get warning() {
|
|
30
|
+
return `Simulated Kinesis Data Firehose delivery stream ${this.deliveryStreamName} stopped reading ${this.streamArn}: ${this.reason}`;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=sim-firehose-source-failures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-source-failures.js","sourceRoot":"","sources":["../../../../src/service/firehose/source/sim-firehose-source-failures.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAWxE;;;;;;GAMG;AACH,MAAM,OAAO,wBAAyB,SAAQ,kBAAkB;IAC9C,SAAS,CAAS;IAElC,YAAY,UAA8C;QACxD,KAAK,CAAC,UAAU,CAAC,CAAC;QAClB,IAAI,CAAC,SAAS,GAAG,UAAU,CAAC,SAAS,CAAC;IACxC,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAE,CACP,kBAA0B,EAC1B,MAAgC,EAChC,KAAc;QAEd,OAAO,IAAI,IAAI,CAAC;YACd,kBAAkB;YAClB,SAAS,EAAE,MAAM,CAAC,SAAS,CAAC,KAAK;YACjC,OAAO,EAAE,MAAM,CAAC,OAAO;YACvB,KAAK;SACN,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,IAAa,OAAO;QAClB,OAAO,mDAAmD,IAAI,CAAC,kBAAkB,oBAAoB,IAAI,CAAC,SAAS,KAAK,IAAI,CAAC,MAAM,EAAE,CAAC;IACxI,CAAC;CACF"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import type { SimAwsCaller } from "../../aws/caller/sim-aws-caller.js";
|
|
2
|
+
import type { SimFirehoseKinesisSourceArn } from "./sim-firehose-kinesis-source-arn.js";
|
|
3
|
+
/**
|
|
4
|
+
* How a delivery stream gets its records.
|
|
5
|
+
*
|
|
6
|
+
* `DirectPut` takes them from PutRecord and PutRecordBatch.
|
|
7
|
+
* `KinesisStreamAsSource` reads them off a Kinesis stream, and a delivery
|
|
8
|
+
* stream reading one takes no puts at all.
|
|
9
|
+
*/
|
|
10
|
+
export type SimFirehoseDeliveryStreamType = "DirectPut" | "KinesisStreamAsSource";
|
|
11
|
+
/**
|
|
12
|
+
* A delivery stream that takes the records a producer puts on it.
|
|
13
|
+
*/
|
|
14
|
+
export declare class SimFirehoseDirectPutSource {
|
|
15
|
+
readonly kind: "direct-put";
|
|
16
|
+
readonly deliveryStreamType: "DirectPut";
|
|
17
|
+
/**
|
|
18
|
+
* Take a put, which is where this delivery stream's records come from.
|
|
19
|
+
*/
|
|
20
|
+
requirePut(): void;
|
|
21
|
+
}
|
|
22
|
+
interface SimFirehoseKinesisSourceProperties {
|
|
23
|
+
readonly streamArn: SimFirehoseKinesisSourceArn;
|
|
24
|
+
readonly roleArn: string;
|
|
25
|
+
readonly startedAt: Date;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* A delivery stream that reads the records off a Kinesis stream.
|
|
29
|
+
*
|
|
30
|
+
* The Role is the one the reading is done as, so simulated IAM decides whether
|
|
31
|
+
* this delivery stream may read its source exactly as it decides whether the
|
|
32
|
+
* delivery Role may write the Bucket.
|
|
33
|
+
*
|
|
34
|
+
* Reading starts at the end of the stream, which is where real Firehose starts
|
|
35
|
+
* when the delivery stream is created. The instant it started is what
|
|
36
|
+
* DescribeDeliveryStream reports as `DeliveryStartTimestamp`, and records put
|
|
37
|
+
* before it stay behind the delivery stream.
|
|
38
|
+
*/
|
|
39
|
+
export declare class SimFirehoseKinesisSource {
|
|
40
|
+
readonly kind: "kinesis-stream";
|
|
41
|
+
readonly deliveryStreamType: "KinesisStreamAsSource";
|
|
42
|
+
readonly streamArn: SimFirehoseKinesisSourceArn;
|
|
43
|
+
readonly roleArn: string;
|
|
44
|
+
readonly startedAt: Date;
|
|
45
|
+
constructor(properties: SimFirehoseKinesisSourceProperties);
|
|
46
|
+
/**
|
|
47
|
+
* The Role every read of this stream is made as.
|
|
48
|
+
*/
|
|
49
|
+
get caller(): SimAwsCaller;
|
|
50
|
+
/**
|
|
51
|
+
* Refuse a put, as real Firehose refuses one on a delivery stream with a
|
|
52
|
+
* Kinesis source.
|
|
53
|
+
*
|
|
54
|
+
* The records it delivers are the ones on its stream, and a producer putting
|
|
55
|
+
* one here would be putting it somewhere the delivery stream never reads.
|
|
56
|
+
*/
|
|
57
|
+
requirePut(operation: string, deliveryStreamName: string): void;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Where one delivery stream's records come from.
|
|
61
|
+
*/
|
|
62
|
+
export type SimFirehoseSource = SimFirehoseDirectPutSource | SimFirehoseKinesisSource;
|
|
63
|
+
export {};
|
|
64
|
+
//# sourceMappingURL=sim-firehose-source.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-source.d.ts","sourceRoot":"","sources":["../../../../src/service/firehose/source/sim-firehose-source.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAEvE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AAExF;;;;;;GAMG;AACH,MAAM,MAAM,6BAA6B,GACrC,WAAW,GACX,uBAAuB,CAAC;AAE5B;;GAEG;AACH,qBAAa,0BAA0B;IACrC,SAAgB,IAAI,EAAG,YAAY,CAAU;IAC7C,SAAgB,kBAAkB,EAAG,WAAW,CAAU;IAE1D;;OAEG;IACH,UAAU,IAAI,IAAI,CAEjB;CACF;AAED,UAAU,kCAAkC;IAC1C,QAAQ,CAAC,SAAS,EAAE,2BAA2B,CAAC;IAChD,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,SAAS,EAAE,IAAI,CAAC;CAC1B;AAED;;;;;;;;;;;GAWG;AACH,qBAAa,wBAAwB;IACnC,SAAgB,IAAI,EAAG,gBAAgB,CAAU;IACjD,SAAgB,kBAAkB,EAAG,uBAAuB,CAAU;IACtE,SAAgB,SAAS,EAAE,2BAA2B,CAAC;IACvD,SAAgB,OAAO,EAAE,MAAM,CAAC;IAChC,SAAgB,SAAS,EAAE,IAAI,CAAC;IAEhC,YAAY,UAAU,EAAE,kCAAkC,EAIzD;IAED;;OAEG;IACH,IAAI,MAAM,IAAI,YAAY,CAEzB;IAED;;;;;;OAMG;IACH,UAAU,CAAC,SAAS,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAO9D;CACF;AAED;;GAEG;AACH,MAAM,MAAM,iBAAiB,GACzB,0BAA0B,GAC1B,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { SimFirehoseInvalidArgumentException } from "../error/sim-firehose.error.js";
|
|
2
|
+
/**
|
|
3
|
+
* A delivery stream that takes the records a producer puts on it.
|
|
4
|
+
*/
|
|
5
|
+
export class SimFirehoseDirectPutSource {
|
|
6
|
+
kind = "direct-put";
|
|
7
|
+
deliveryStreamType = "DirectPut";
|
|
8
|
+
/**
|
|
9
|
+
* Take a put, which is where this delivery stream's records come from.
|
|
10
|
+
*/
|
|
11
|
+
requirePut() {
|
|
12
|
+
//
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* A delivery stream that reads the records off a Kinesis stream.
|
|
17
|
+
*
|
|
18
|
+
* The Role is the one the reading is done as, so simulated IAM decides whether
|
|
19
|
+
* this delivery stream may read its source exactly as it decides whether the
|
|
20
|
+
* delivery Role may write the Bucket.
|
|
21
|
+
*
|
|
22
|
+
* Reading starts at the end of the stream, which is where real Firehose starts
|
|
23
|
+
* when the delivery stream is created. The instant it started is what
|
|
24
|
+
* DescribeDeliveryStream reports as `DeliveryStartTimestamp`, and records put
|
|
25
|
+
* before it stay behind the delivery stream.
|
|
26
|
+
*/
|
|
27
|
+
export class SimFirehoseKinesisSource {
|
|
28
|
+
kind = "kinesis-stream";
|
|
29
|
+
deliveryStreamType = "KinesisStreamAsSource";
|
|
30
|
+
streamArn;
|
|
31
|
+
roleArn;
|
|
32
|
+
startedAt;
|
|
33
|
+
constructor(properties) {
|
|
34
|
+
this.streamArn = properties.streamArn;
|
|
35
|
+
this.roleArn = properties.roleArn;
|
|
36
|
+
this.startedAt = properties.startedAt;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* The Role every read of this stream is made as.
|
|
40
|
+
*/
|
|
41
|
+
get caller() {
|
|
42
|
+
return { kind: "arn", arn: this.roleArn };
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Refuse a put, as real Firehose refuses one on a delivery stream with a
|
|
46
|
+
* Kinesis source.
|
|
47
|
+
*
|
|
48
|
+
* The records it delivers are the ones on its stream, and a producer putting
|
|
49
|
+
* one here would be putting it somewhere the delivery stream never reads.
|
|
50
|
+
*/
|
|
51
|
+
requirePut(operation, deliveryStreamName) {
|
|
52
|
+
throw new SimFirehoseInvalidArgumentException(`${operation} is not supported for the delivery stream ` +
|
|
53
|
+
`${deliveryStreamName}, which reads its records from ` +
|
|
54
|
+
`${this.streamArn.value}. Put the record onto that Kinesis stream ` +
|
|
55
|
+
`instead.`);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=sim-firehose-source.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-source.js","sourceRoot":"","sources":["../../../../src/service/firehose/source/sim-firehose-source.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mCAAmC,EAAE,MAAM,gCAAgC,CAAC;AAcrF;;GAEG;AACH,MAAM,OAAO,0BAA0B;IACrB,IAAI,GAAG,YAAqB,CAAC;IAC7B,kBAAkB,GAAG,WAAoB,CAAC;IAE1D;;OAEG;IACH,UAAU;QACR,EAAE;IACJ,CAAC;CACF;AAQD;;;;;;;;;;;GAWG;AACH,MAAM,OAAO,wBAAwB;IACnB,IAAI,GAAG,gBAAyB,CAAC;IACjC,kBAAkB,GAAG,uBAAgC,CAAC;IACtD,SAAS,CAA8B;IACvC,OAAO,CAAS;IAChB,SAAS,CAAO;IAEhC,YAAY,UAA8C;QACxD,IAAI,CAAC,SAAS,GAAG,UAAU,CAAC,SAAS,CAAC;QACtC,IAAI,CAAC,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC;QAClC,IAAI,CAAC,SAAS,GAAG,UAAU,CAAC,SAAS,CAAC;IACxC,CAAC;IAED;;OAEG;IACH,IAAI,MAAM;QACR,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC;IAC5C,CAAC;IAED;;;;;;OAMG;IACH,UAAU,CAAC,SAAiB,EAAE,kBAA0B;QACtD,MAAM,IAAI,mCAAmC,CAC3C,GAAG,SAAS,4CAA4C;YACtD,GAAG,kBAAkB,iCAAiC;YACtD,GAAG,IAAI,CAAC,SAAS,CAAC,KAAK,4CAA4C;YACnE,UAAU,CACb,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { SimAwsAccountRegionScope } from "../../aws/sim-aws-account-region-scope.js";
|
|
2
|
+
/**
|
|
3
|
+
* The ARN of a delivery stream of a given name in an Account and Region.
|
|
4
|
+
*
|
|
5
|
+
* Every Firehose operation names its delivery stream by name, so nothing here
|
|
6
|
+
* reads an ARN back. This builds the resource an action authorizes against, and
|
|
7
|
+
* the ARN CreateDeliveryStream answers with.
|
|
8
|
+
*/
|
|
9
|
+
export declare function simFirehoseDeliveryStreamArn(accountRegionScope: SimAwsAccountRegionScope, name: string): string;
|
|
10
|
+
//# sourceMappingURL=sim-firehose-delivery-stream-arn.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-delivery-stream-arn.d.ts","sourceRoot":"","sources":["../../../../src/service/firehose/stream/sim-firehose-delivery-stream-arn.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAE1F;;;;;;GAMG;AACH,wBAAgB,4BAA4B,CAC1C,kBAAkB,EAAE,wBAAwB,EAC5C,IAAI,EAAE,MAAM,GACX,MAAM,CAIR"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The ARN of a delivery stream of a given name in an Account and Region.
|
|
3
|
+
*
|
|
4
|
+
* Every Firehose operation names its delivery stream by name, so nothing here
|
|
5
|
+
* reads an ARN back. This builds the resource an action authorizes against, and
|
|
6
|
+
* the ARN CreateDeliveryStream answers with.
|
|
7
|
+
*/
|
|
8
|
+
export function simFirehoseDeliveryStreamArn(accountRegionScope, name) {
|
|
9
|
+
const { regionName, accountId } = accountRegionScope;
|
|
10
|
+
return `arn:aws:firehose:${regionName}:${accountId}:deliverystream/${name}`;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=sim-firehose-delivery-stream-arn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-delivery-stream-arn.js","sourceRoot":"","sources":["../../../../src/service/firehose/stream/sim-firehose-delivery-stream-arn.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,MAAM,UAAU,4BAA4B,CAC1C,kBAA4C,EAC5C,IAAY;IAEZ,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,GAAG,kBAAkB,CAAC;IAErD,OAAO,oBAAoB,UAAU,IAAI,SAAS,mBAAmB,IAAI,EAAE,CAAC;AAC9E,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Check a delivery stream name the way real Firehose does, or refuse it.
|
|
3
|
+
*
|
|
4
|
+
* The name is the whole of a delivery stream's identity in one Account and
|
|
5
|
+
* Region, and it is the resource part of the ARN. Firehose accepts letters,
|
|
6
|
+
* digits, underscores, hyphens and dots, up to 64 characters.
|
|
7
|
+
*/
|
|
8
|
+
export declare function requireSimFirehoseDeliveryStreamName(name: string | undefined): string;
|
|
9
|
+
//# sourceMappingURL=sim-firehose-delivery-stream-name.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-delivery-stream-name.d.ts","sourceRoot":"","sources":["../../../../src/service/firehose/stream/sim-firehose-delivery-stream-name.ts"],"names":[],"mappings":"AAMA;;;;;;GAMG;AACH,wBAAgB,oCAAoC,CAClD,IAAI,EAAE,MAAM,GAAG,SAAS,GACvB,MAAM,CAsBR"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { SimFirehoseInvalidArgumentException } from "../error/sim-firehose.error.js";
|
|
2
|
+
const maxNameLength = 64;
|
|
3
|
+
const namePattern = /^[\w.-]+$/;
|
|
4
|
+
/**
|
|
5
|
+
* Check a delivery stream name the way real Firehose does, or refuse it.
|
|
6
|
+
*
|
|
7
|
+
* The name is the whole of a delivery stream's identity in one Account and
|
|
8
|
+
* Region, and it is the resource part of the ARN. Firehose accepts letters,
|
|
9
|
+
* digits, underscores, hyphens and dots, up to 64 characters.
|
|
10
|
+
*/
|
|
11
|
+
export function requireSimFirehoseDeliveryStreamName(name) {
|
|
12
|
+
if (name === undefined || name === "") {
|
|
13
|
+
throw new SimFirehoseInvalidArgumentException("DeliveryStreamName is required");
|
|
14
|
+
}
|
|
15
|
+
if (name.length > maxNameLength) {
|
|
16
|
+
throw new SimFirehoseInvalidArgumentException(`DeliveryStreamName ${name} is longer than the ${maxNameLength} ` +
|
|
17
|
+
`characters Firehose allows`);
|
|
18
|
+
}
|
|
19
|
+
if (!namePattern.test(name)) {
|
|
20
|
+
throw new SimFirehoseInvalidArgumentException(`DeliveryStreamName ${name} may hold only letters, digits, underscores, ` +
|
|
21
|
+
`hyphens and dots`);
|
|
22
|
+
}
|
|
23
|
+
return name;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=sim-firehose-delivery-stream-name.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-delivery-stream-name.js","sourceRoot":"","sources":["../../../../src/service/firehose/stream/sim-firehose-delivery-stream-name.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mCAAmC,EAAE,MAAM,gCAAgC,CAAC;AAErF,MAAM,aAAa,GAAG,EAAE,CAAC;AAEzB,MAAM,WAAW,GAAG,WAAW,CAAC;AAEhC;;;;;;GAMG;AACH,MAAM,UAAU,oCAAoC,CAClD,IAAwB;IAExB,IAAI,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,EAAE,EAAE,CAAC;QACtC,MAAM,IAAI,mCAAmC,CAC3C,gCAAgC,CACjC,CAAC;IACJ,CAAC;IAED,IAAI,IAAI,CAAC,MAAM,GAAG,aAAa,EAAE,CAAC;QAChC,MAAM,IAAI,mCAAmC,CAC3C,sBAAsB,IAAI,uBAAuB,aAAa,GAAG;YAC/D,4BAA4B,CAC/B,CAAC;IACJ,CAAC;IAED,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;QAC5B,MAAM,IAAI,mCAAmC,CAC3C,sBAAsB,IAAI,+CAA+C;YACvE,kBAAkB,CACrB,CAAC;IACJ,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { SimFirehoseDeliveryStream } from "./sim-firehose-delivery-stream.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 declare class SimFirehoseDeliveryStreamStore {
|
|
12
|
+
private readonly deliveryStreams;
|
|
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(): readonly SimFirehoseDeliveryStream[];
|
|
20
|
+
/**
|
|
21
|
+
* Store a newly created delivery stream.
|
|
22
|
+
*/
|
|
23
|
+
add(deliveryStream: SimFirehoseDeliveryStream): void;
|
|
24
|
+
/**
|
|
25
|
+
* Find a delivery stream by name.
|
|
26
|
+
*/
|
|
27
|
+
find(name: string): SimFirehoseDeliveryStream | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* Resolve a delivery stream by name, or refuse.
|
|
30
|
+
*/
|
|
31
|
+
require(name: string): SimFirehoseDeliveryStream;
|
|
32
|
+
/**
|
|
33
|
+
* Forget a deleted delivery stream.
|
|
34
|
+
*/
|
|
35
|
+
remove(deliveryStream: SimFirehoseDeliveryStream): void;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=sim-firehose-delivery-stream-store.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-delivery-stream-store.d.ts","sourceRoot":"","sources":["../../../../src/service/firehose/stream/sim-firehose-delivery-stream-store.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAEnF;;;;;;;;GAQG;AACH,qBAAa,8BAA8B;IACzC,OAAO,CAAC,QAAQ,CAAC,eAAe,CAG5B;IAEJ;;;;;OAKG;IACH,IAAI,GAAG,IAAI,SAAS,yBAAyB,EAAE,CAK9C;IAED;;OAEG;IACH,GAAG,CAAC,cAAc,EAAE,yBAAyB,GAAG,IAAI,CAEnD;IAED;;OAEG;IACH,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,yBAAyB,GAAG,SAAS,CAExD;IAED;;OAEG;IACH,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,yBAAyB,CAW/C;IAED;;OAEG;IACH,MAAM,CAAC,cAAc,EAAE,yBAAyB,GAAG,IAAI,CAEtD;CACF"}
|