@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,57 @@
|
|
|
1
|
+
import { SimFirehoseDeliveryFailure, } from "./sim-firehose-delivery-failures.js";
|
|
2
|
+
import { simFirehoseObjectKey } from "./sim-firehose-object-key.js";
|
|
3
|
+
/**
|
|
4
|
+
* Writes one delivery stream's buffer into its destination Bucket.
|
|
5
|
+
*
|
|
6
|
+
* The write goes through the simulated S3 PutObject as the delivery stream's
|
|
7
|
+
* `RoleARN`, so simulated IAM applies to it exactly as `s3:PutObject`
|
|
8
|
+
* authorization applies on real AWS. A role that cannot write to the Bucket
|
|
9
|
+
* fails the delivery here.
|
|
10
|
+
*
|
|
11
|
+
* A failed delivery is recorded and swallowed. Real Firehose has already
|
|
12
|
+
* answered the `PutRecord` that put the record in this buffer, and there is no
|
|
13
|
+
* caller left to raise at.
|
|
14
|
+
*/
|
|
15
|
+
export class SimFirehoseObjectWriter {
|
|
16
|
+
s3;
|
|
17
|
+
failures;
|
|
18
|
+
constructor(properties) {
|
|
19
|
+
this.s3 = properties.s3;
|
|
20
|
+
this.failures = properties.failures;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Write whatever a delivery stream is holding, under a key stamped with the
|
|
24
|
+
* instant it was delivered.
|
|
25
|
+
*
|
|
26
|
+
* An empty buffer is nothing to write. Real Firehose delivers no Object for
|
|
27
|
+
* an interval in which no record arrived.
|
|
28
|
+
*/
|
|
29
|
+
async write(deliveryStream, deliveredAt) {
|
|
30
|
+
if (deliveryStream.buffer.isEmpty) {
|
|
31
|
+
return;
|
|
32
|
+
}
|
|
33
|
+
const { destination, name } = deliveryStream;
|
|
34
|
+
const recordCount = deliveryStream.buffer.recordCount;
|
|
35
|
+
const body = deliveryStream.buffer.take();
|
|
36
|
+
const key = simFirehoseObjectKey({
|
|
37
|
+
prefix: destination.prefix,
|
|
38
|
+
deliveryStreamName: name,
|
|
39
|
+
versionId: deliveryStream.versionId,
|
|
40
|
+
deliveredAt,
|
|
41
|
+
});
|
|
42
|
+
try {
|
|
43
|
+
await this.s3.putObject({ input: { Bucket: destination.bucketName, Key: key, Body: body } }, { caller: { kind: "arn", arn: destination.roleArn } });
|
|
44
|
+
}
|
|
45
|
+
catch (error) {
|
|
46
|
+
this.failures.record(new SimFirehoseDeliveryFailure({
|
|
47
|
+
deliveryStreamName: name,
|
|
48
|
+
bucketName: destination.bucketName,
|
|
49
|
+
objectKey: key,
|
|
50
|
+
recordCount,
|
|
51
|
+
roleArn: destination.roleArn,
|
|
52
|
+
error,
|
|
53
|
+
}));
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=sim-firehose-object-writer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-object-writer.js","sourceRoot":"","sources":["../../../../src/service/firehose/delivery/sim-firehose-object-writer.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,0BAA0B,GAE3B,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAmBpE;;;;;;;;;;;GAWG;AACH,MAAM,OAAO,uBAAuB;IACjB,EAAE,CAA+B;IACjC,QAAQ,CAA8B;IAEvD,YAAY,UAA6C;QACvD,IAAI,CAAC,EAAE,GAAG,UAAU,CAAC,EAAE,CAAC;QACxB,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC;IACtC,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,KAAK,CACT,cAAyC,EACzC,WAAiB;QAEjB,IAAI,cAAc,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC;YAClC,OAAO;QACT,CAAC;QAED,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,GAAG,cAAc,CAAC;QAC7C,MAAM,WAAW,GAAG,cAAc,CAAC,MAAM,CAAC,WAAW,CAAC;QACtD,MAAM,IAAI,GAAG,cAAc,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;QAC1C,MAAM,GAAG,GAAG,oBAAoB,CAAC;YAC/B,MAAM,EAAE,WAAW,CAAC,MAAM;YAC1B,kBAAkB,EAAE,IAAI;YACxB,SAAS,EAAE,cAAc,CAAC,SAAS;YACnC,WAAW;SACZ,CAAC,CAAC;QAEH,IAAI,CAAC;YACH,MAAM,IAAI,CAAC,EAAE,CAAC,SAAS,CACrB,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,WAAW,CAAC,UAAU,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,EACnE,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,WAAW,CAAC,OAAO,EAAE,EAAE,CACtD,CAAC;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAI,CAAC,QAAQ,CAAC,MAAM,CAClB,IAAI,0BAA0B,CAAC;gBAC7B,kBAAkB,EAAE,IAAI;gBACxB,UAAU,EAAE,WAAW,CAAC,UAAU;gBAClC,SAAS,EAAE,GAAG;gBACd,WAAW;gBACX,OAAO,EAAE,WAAW,CAAC,OAAO;gBAC5B,KAAK;aACN,CAAC,CACH,CAAC;QACJ,CAAC;IACH,CAAC;CACF"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How a request declares when a buffer should be delivered.
|
|
3
|
+
*/
|
|
4
|
+
export interface SimFirehoseBufferingHintsInput {
|
|
5
|
+
readonly SizeInMBs?: number | undefined;
|
|
6
|
+
readonly IntervalInSeconds?: number | undefined;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* When a delivery stream's buffer is delivered, in the two bounds Firehose
|
|
10
|
+
* applies to every buffer.
|
|
11
|
+
*
|
|
12
|
+
* Whichever bound is reached first is what delivers the buffer. The size is
|
|
13
|
+
* held in bytes and the interval in milliseconds, since those are the units the
|
|
14
|
+
* buffer and the scheduler work in.
|
|
15
|
+
*/
|
|
16
|
+
export declare class SimFirehoseBufferingHints {
|
|
17
|
+
readonly sizeInMegabytes: number;
|
|
18
|
+
readonly intervalInSeconds: number;
|
|
19
|
+
constructor(input?: SimFirehoseBufferingHintsInput);
|
|
20
|
+
/**
|
|
21
|
+
* The buffer size that delivers, in bytes.
|
|
22
|
+
*/
|
|
23
|
+
get sizeInBytes(): number;
|
|
24
|
+
/**
|
|
25
|
+
* How long a buffer waits before it delivers, in milliseconds.
|
|
26
|
+
*/
|
|
27
|
+
get intervalInMilliseconds(): number;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=sim-firehose-buffering-hints.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-buffering-hints.d.ts","sourceRoot":"","sources":["../../../../src/service/firehose/destination/sim-firehose-buffering-hints.ts"],"names":[],"mappings":"AAkBA;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACjD;AAED;;;;;;;GAOG;AACH,qBAAa,yBAAyB;IACpC,SAAgB,eAAe,EAAE,MAAM,CAAC;IACxC,SAAgB,iBAAiB,EAAE,MAAM,CAAC;IAE1C,YAAY,KAAK,GAAE,8BAAmC,EAarD;IAED;;OAEG;IACH,IAAI,WAAW,IAAI,MAAM,CAExB;IAED;;OAEG;IACH,IAAI,sBAAsB,IAAI,MAAM,CAEnC;CACF"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { SimFirehoseInvalidArgumentException } from "../error/sim-firehose.error.js";
|
|
2
|
+
const bytesPerMegabyte = 1024 * 1024;
|
|
3
|
+
const millisecondsPerSecond = 1000;
|
|
4
|
+
const defaultSizeInMegabytes = 5;
|
|
5
|
+
const minimumSizeInMegabytes = 1;
|
|
6
|
+
const maximumSizeInMegabytes = 128;
|
|
7
|
+
const defaultIntervalInSeconds = 300;
|
|
8
|
+
const minimumIntervalInSeconds = 0;
|
|
9
|
+
const maximumIntervalInSeconds = 900;
|
|
10
|
+
/**
|
|
11
|
+
* When a delivery stream's buffer is delivered, in the two bounds Firehose
|
|
12
|
+
* applies to every buffer.
|
|
13
|
+
*
|
|
14
|
+
* Whichever bound is reached first is what delivers the buffer. The size is
|
|
15
|
+
* held in bytes and the interval in milliseconds, since those are the units the
|
|
16
|
+
* buffer and the scheduler work in.
|
|
17
|
+
*/
|
|
18
|
+
export class SimFirehoseBufferingHints {
|
|
19
|
+
sizeInMegabytes;
|
|
20
|
+
intervalInSeconds;
|
|
21
|
+
constructor(input = {}) {
|
|
22
|
+
this.sizeInMegabytes = requireInRange("SizeInMBs", input.SizeInMBs ?? defaultSizeInMegabytes, minimumSizeInMegabytes, maximumSizeInMegabytes);
|
|
23
|
+
this.intervalInSeconds = requireInRange("IntervalInSeconds", input.IntervalInSeconds ?? defaultIntervalInSeconds, minimumIntervalInSeconds, maximumIntervalInSeconds);
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* The buffer size that delivers, in bytes.
|
|
27
|
+
*/
|
|
28
|
+
get sizeInBytes() {
|
|
29
|
+
return this.sizeInMegabytes * bytesPerMegabyte;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* How long a buffer waits before it delivers, in milliseconds.
|
|
33
|
+
*/
|
|
34
|
+
get intervalInMilliseconds() {
|
|
35
|
+
return this.intervalInSeconds * millisecondsPerSecond;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
function requireInRange(field, value, minimum, maximum) {
|
|
39
|
+
if (!Number.isSafeInteger(value) || value < minimum || value > maximum) {
|
|
40
|
+
throw new SimFirehoseInvalidArgumentException(`BufferingHints ${field} must be a whole number between ${String(minimum)} ` +
|
|
41
|
+
`and ${String(maximum)}, and is ${String(value)}`);
|
|
42
|
+
}
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=sim-firehose-buffering-hints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-buffering-hints.js","sourceRoot":"","sources":["../../../../src/service/firehose/destination/sim-firehose-buffering-hints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mCAAmC,EAAE,MAAM,gCAAgC,CAAC;AAErF,MAAM,gBAAgB,GAAG,IAAI,GAAG,IAAI,CAAC;AAErC,MAAM,qBAAqB,GAAG,IAAI,CAAC;AAEnC,MAAM,sBAAsB,GAAG,CAAC,CAAC;AAEjC,MAAM,sBAAsB,GAAG,CAAC,CAAC;AAEjC,MAAM,sBAAsB,GAAG,GAAG,CAAC;AAEnC,MAAM,wBAAwB,GAAG,GAAG,CAAC;AAErC,MAAM,wBAAwB,GAAG,CAAC,CAAC;AAEnC,MAAM,wBAAwB,GAAG,GAAG,CAAC;AAUrC;;;;;;;GAOG;AACH,MAAM,OAAO,yBAAyB;IACpB,eAAe,CAAS;IACxB,iBAAiB,CAAS;IAE1C,YAAY,KAAK,GAAmC,EAAE;QACpD,IAAI,CAAC,eAAe,GAAG,cAAc,CACnC,WAAW,EACX,KAAK,CAAC,SAAS,IAAI,sBAAsB,EACzC,sBAAsB,EACtB,sBAAsB,CACvB,CAAC;QACF,IAAI,CAAC,iBAAiB,GAAG,cAAc,CACrC,mBAAmB,EACnB,KAAK,CAAC,iBAAiB,IAAI,wBAAwB,EACnD,wBAAwB,EACxB,wBAAwB,CACzB,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,eAAe,GAAG,gBAAgB,CAAC;IACjD,CAAC;IAED;;OAEG;IACH,IAAI,sBAAsB;QACxB,OAAO,IAAI,CAAC,iBAAiB,GAAG,qBAAqB,CAAC;IACxD,CAAC;CACF;AAED,SAAS,cAAc,CACrB,KAAa,EACb,KAAa,EACb,OAAe,EACf,OAAe;IAEf,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,KAAK,CAAC,IAAI,KAAK,GAAG,OAAO,IAAI,KAAK,GAAG,OAAO,EAAE,CAAC;QACvE,MAAM,IAAI,mCAAmC,CAC3C,kBAAkB,KAAK,mCAAmC,MAAM,CAAC,OAAO,CAAC,GAAG;YAC1E,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,MAAM,CAAC,KAAK,CAAC,EAAE,CACpD,CAAC;IACJ,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { SimFirehoseS3Destination, type SimFirehoseS3DestinationInput } from "./sim-firehose-s3-destination.js";
|
|
2
|
+
/**
|
|
3
|
+
* The destination configurations a CreateDeliveryStream request can carry.
|
|
4
|
+
*
|
|
5
|
+
* Only the two S3 ones are read. The rest are here so a request naming one
|
|
6
|
+
* type checks, and they are found at run time by the suffix every destination
|
|
7
|
+
* field shares. A destination AWS adds later is refused by name without this
|
|
8
|
+
* file having heard of it.
|
|
9
|
+
*/
|
|
10
|
+
export interface SimFirehoseDestinationInput {
|
|
11
|
+
readonly ExtendedS3DestinationConfiguration?: SimFirehoseS3DestinationInput | undefined;
|
|
12
|
+
readonly S3DestinationConfiguration?: SimFirehoseS3DestinationInput | undefined;
|
|
13
|
+
readonly RedshiftDestinationConfiguration?: unknown;
|
|
14
|
+
readonly ElasticsearchDestinationConfiguration?: unknown;
|
|
15
|
+
readonly AmazonopensearchserviceDestinationConfiguration?: unknown;
|
|
16
|
+
readonly AmazonOpenSearchServerlessDestinationConfiguration?: unknown;
|
|
17
|
+
readonly SplunkDestinationConfiguration?: unknown;
|
|
18
|
+
readonly HttpEndpointDestinationConfiguration?: unknown;
|
|
19
|
+
readonly IcebergDestinationConfiguration?: unknown;
|
|
20
|
+
readonly SnowflakeDestinationConfiguration?: unknown;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* The S3 destination a request declared, or a refusal saying why there is none.
|
|
24
|
+
*
|
|
25
|
+
* A request carrying both S3 configurations is refused. Firehose takes one
|
|
26
|
+
* destination, and the two are one destination declared twice. A CDK
|
|
27
|
+
* `DeliveryStream` with an `S3Bucket` destination synthesizes the extended
|
|
28
|
+
* form.
|
|
29
|
+
*
|
|
30
|
+
* A destination outside the simulation is refused rather than ignored. A
|
|
31
|
+
* delivery stream created against one would take records and drop them, and a
|
|
32
|
+
* test asserting on an empty Bucket would blame the code under test.
|
|
33
|
+
*/
|
|
34
|
+
export declare function simFirehoseDestinationOf(input: SimFirehoseDestinationInput): SimFirehoseS3Destination;
|
|
35
|
+
//# sourceMappingURL=sim-firehose-destination-choice.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-destination-choice.d.ts","sourceRoot":"","sources":["../../../../src/service/firehose/destination/sim-firehose-destination-choice.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,wBAAwB,EACxB,KAAK,6BAA6B,EACnC,MAAM,kCAAkC,CAAC;AAe1C;;;;;;;GAOG;AACH,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,kCAAkC,CAAC,EACxC,6BAA6B,GAC7B,SAAS,CAAC;IACd,QAAQ,CAAC,0BAA0B,CAAC,EAChC,6BAA6B,GAC7B,SAAS,CAAC;IACd,QAAQ,CAAC,gCAAgC,CAAC,EAAE,OAAO,CAAC;IACpD,QAAQ,CAAC,qCAAqC,CAAC,EAAE,OAAO,CAAC;IACzD,QAAQ,CAAC,+CAA+C,CAAC,EAAE,OAAO,CAAC;IACnE,QAAQ,CAAC,kDAAkD,CAAC,EAAE,OAAO,CAAC;IACtE,QAAQ,CAAC,8BAA8B,CAAC,EAAE,OAAO,CAAC;IAClD,QAAQ,CAAC,oCAAoC,CAAC,EAAE,OAAO,CAAC;IACxD,QAAQ,CAAC,+BAA+B,CAAC,EAAE,OAAO,CAAC;IACnD,QAAQ,CAAC,iCAAiC,CAAC,EAAE,OAAO,CAAC;CACtD;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,2BAA2B,GACjC,wBAAwB,CAkC1B"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { SimFirehoseInvalidArgumentException, SimFirehoseUnsimulatedDestination, } from "../error/sim-firehose.error.js";
|
|
2
|
+
import { SimFirehoseS3Destination, } from "./sim-firehose-s3-destination.js";
|
|
3
|
+
/**
|
|
4
|
+
* The suffix every Firehose destination configuration field ends in.
|
|
5
|
+
*/
|
|
6
|
+
const destinationSuffix = "DestinationConfiguration";
|
|
7
|
+
/**
|
|
8
|
+
* The two destination fields this simulation delivers to.
|
|
9
|
+
*/
|
|
10
|
+
const simulatedDestinations = new Set([
|
|
11
|
+
"ExtendedS3DestinationConfiguration",
|
|
12
|
+
"S3DestinationConfiguration",
|
|
13
|
+
]);
|
|
14
|
+
/**
|
|
15
|
+
* The S3 destination a request declared, or a refusal saying why there is none.
|
|
16
|
+
*
|
|
17
|
+
* A request carrying both S3 configurations is refused. Firehose takes one
|
|
18
|
+
* destination, and the two are one destination declared twice. A CDK
|
|
19
|
+
* `DeliveryStream` with an `S3Bucket` destination synthesizes the extended
|
|
20
|
+
* form.
|
|
21
|
+
*
|
|
22
|
+
* A destination outside the simulation is refused rather than ignored. A
|
|
23
|
+
* delivery stream created against one would take records and drop them, and a
|
|
24
|
+
* test asserting on an empty Bucket would blame the code under test.
|
|
25
|
+
*/
|
|
26
|
+
export function simFirehoseDestinationOf(input) {
|
|
27
|
+
const unsimulated = Object.entries(input).find(([field, value]) => value !== undefined &&
|
|
28
|
+
field.endsWith(destinationSuffix) &&
|
|
29
|
+
!simulatedDestinations.has(field));
|
|
30
|
+
if (unsimulated !== undefined) {
|
|
31
|
+
throw new SimFirehoseUnsimulatedDestination(unsimulated[0]);
|
|
32
|
+
}
|
|
33
|
+
const extended = input.ExtendedS3DestinationConfiguration;
|
|
34
|
+
const plain = input.S3DestinationConfiguration;
|
|
35
|
+
if (extended !== undefined && plain !== undefined) {
|
|
36
|
+
throw new SimFirehoseInvalidArgumentException("The delivery stream declares both ExtendedS3DestinationConfiguration " +
|
|
37
|
+
"and S3DestinationConfiguration. Firehose takes one destination. " +
|
|
38
|
+
"Declare the extended one, which carries every field the plain one " +
|
|
39
|
+
"does.");
|
|
40
|
+
}
|
|
41
|
+
const s3 = extended ?? plain;
|
|
42
|
+
if (s3 === undefined) {
|
|
43
|
+
throw new SimFirehoseInvalidArgumentException("The delivery stream declares no destination. Declare an " +
|
|
44
|
+
"ExtendedS3DestinationConfiguration naming a simulated Bucket.");
|
|
45
|
+
}
|
|
46
|
+
return new SimFirehoseS3Destination(s3);
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=sim-firehose-destination-choice.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-destination-choice.js","sourceRoot":"","sources":["../../../../src/service/firehose/destination/sim-firehose-destination-choice.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mCAAmC,EACnC,iCAAiC,GAClC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,wBAAwB,GAEzB,MAAM,kCAAkC,CAAC;AAE1C;;GAEG;AACH,MAAM,iBAAiB,GAAG,0BAA0B,CAAC;AAErD;;GAEG;AACH,MAAM,qBAAqB,GAAG,IAAI,GAAG,CAAC;IACpC,oCAAoC;IACpC,4BAA4B;CAC7B,CAAC,CAAC;AA2BH;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,wBAAwB,CACtC,KAAkC;IAElC,MAAM,WAAW,GAAG,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,IAAI,CAC5C,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,EAAE,EAAE,CACjB,KAAK,KAAK,SAAS;QACnB,KAAK,CAAC,QAAQ,CAAC,iBAAiB,CAAC;QACjC,CAAC,qBAAqB,CAAC,GAAG,CAAC,KAAK,CAAC,CACpC,CAAC;IAEF,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;QAC9B,MAAM,IAAI,iCAAiC,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IAC9D,CAAC;IAED,MAAM,QAAQ,GAAG,KAAK,CAAC,kCAAkC,CAAC;IAC1D,MAAM,KAAK,GAAG,KAAK,CAAC,0BAA0B,CAAC;IAE/C,IAAI,QAAQ,KAAK,SAAS,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QAClD,MAAM,IAAI,mCAAmC,CAC3C,uEAAuE;YACrE,kEAAkE;YAClE,oEAAoE;YACpE,OAAO,CACV,CAAC;IACJ,CAAC;IAED,MAAM,EAAE,GAAG,QAAQ,IAAI,KAAK,CAAC;IAE7B,IAAI,EAAE,KAAK,SAAS,EAAE,CAAC;QACrB,MAAM,IAAI,mCAAmC,CAC3C,0DAA0D;YACxD,+DAA+D,CAClE,CAAC;IACJ,CAAC;IAED,OAAO,IAAI,wBAAwB,CAAC,EAAE,CAAC,CAAC;AAC1C,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { SimFirehoseBufferingHints, type SimFirehoseBufferingHintsInput } from "./sim-firehose-buffering-hints.js";
|
|
2
|
+
/**
|
|
3
|
+
* An S3 destination as a CreateDeliveryStream request carries it.
|
|
4
|
+
*
|
|
5
|
+
* Both the extended and the plain form arrive in this shape. The extended one
|
|
6
|
+
* carries more fields, and every one this simulation reads is on both.
|
|
7
|
+
*/
|
|
8
|
+
export interface SimFirehoseS3DestinationInput {
|
|
9
|
+
readonly BucketARN?: string | undefined;
|
|
10
|
+
readonly RoleARN?: string | undefined;
|
|
11
|
+
readonly Prefix?: string | undefined;
|
|
12
|
+
readonly ErrorOutputPrefix?: string | undefined;
|
|
13
|
+
readonly BufferingHints?: SimFirehoseBufferingHintsInput | undefined;
|
|
14
|
+
readonly CompressionFormat?: string | undefined;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Where one delivery stream writes its buffers, and as whom.
|
|
18
|
+
*
|
|
19
|
+
* The Bucket is held by name rather than by ARN because a PutObject names a
|
|
20
|
+
* Bucket. An S3 Bucket ARN carries no Account and no Region, so the name is all
|
|
21
|
+
* the ARN has to give.
|
|
22
|
+
*/
|
|
23
|
+
export declare class SimFirehoseS3Destination {
|
|
24
|
+
readonly bucketName: string;
|
|
25
|
+
readonly bucketArn: string;
|
|
26
|
+
readonly roleArn: string;
|
|
27
|
+
readonly prefix: string;
|
|
28
|
+
readonly errorOutputPrefix: string | undefined;
|
|
29
|
+
readonly bufferingHints: SimFirehoseBufferingHints;
|
|
30
|
+
constructor(input: SimFirehoseS3DestinationInput);
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=sim-firehose-s3-destination.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-s3-destination.d.ts","sourceRoot":"","sources":["../../../../src/service/firehose/destination/sim-firehose-s3-destination.ts"],"names":[],"mappings":"AACA,OAAO,EACL,yBAAyB,EACzB,KAAK,8BAA8B,EACpC,MAAM,mCAAmC,CAAC;AAI3C;;;;;GAKG;AACH,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChD,QAAQ,CAAC,cAAc,CAAC,EAAE,8BAA8B,GAAG,SAAS,CAAC;IACrE,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACjD;AAED;;;;;;GAMG;AACH,qBAAa,wBAAwB;IACnC,SAAgB,UAAU,EAAE,MAAM,CAAC;IACnC,SAAgB,SAAS,EAAE,MAAM,CAAC;IAClC,SAAgB,OAAO,EAAE,MAAM,CAAC;IAChC,SAAgB,MAAM,EAAE,MAAM,CAAC;IAC/B,SAAgB,iBAAiB,EAAE,MAAM,GAAG,SAAS,CAAC;IACtD,SAAgB,cAAc,EAAE,yBAAyB,CAAC;IAE1D,YAAY,KAAK,EAAE,6BAA6B,EAO/C;CACF"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { SimFirehoseInvalidArgumentException } from "../error/sim-firehose.error.js";
|
|
2
|
+
import { SimFirehoseBufferingHints, } from "./sim-firehose-buffering-hints.js";
|
|
3
|
+
const bucketArnPrefix = "arn:aws:s3:::";
|
|
4
|
+
/**
|
|
5
|
+
* Where one delivery stream writes its buffers, and as whom.
|
|
6
|
+
*
|
|
7
|
+
* The Bucket is held by name rather than by ARN because a PutObject names a
|
|
8
|
+
* Bucket. An S3 Bucket ARN carries no Account and no Region, so the name is all
|
|
9
|
+
* the ARN has to give.
|
|
10
|
+
*/
|
|
11
|
+
export class SimFirehoseS3Destination {
|
|
12
|
+
bucketName;
|
|
13
|
+
bucketArn;
|
|
14
|
+
roleArn;
|
|
15
|
+
prefix;
|
|
16
|
+
errorOutputPrefix;
|
|
17
|
+
bufferingHints;
|
|
18
|
+
constructor(input) {
|
|
19
|
+
this.bucketArn = requireBucketArn(input.BucketARN);
|
|
20
|
+
this.bucketName = this.bucketArn.slice(bucketArnPrefix.length);
|
|
21
|
+
this.roleArn = requireRoleArn(input.RoleARN);
|
|
22
|
+
this.prefix = input.Prefix ?? "";
|
|
23
|
+
this.errorOutputPrefix = input.ErrorOutputPrefix;
|
|
24
|
+
this.bufferingHints = new SimFirehoseBufferingHints(input.BufferingHints);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Read the Bucket ARN a destination names, or refuse it.
|
|
29
|
+
*
|
|
30
|
+
* A Bucket ARN with a key after the Bucket name is an Object ARN, and a
|
|
31
|
+
* destination naming one has named something Firehose cannot write a buffer to.
|
|
32
|
+
*/
|
|
33
|
+
function requireBucketArn(value) {
|
|
34
|
+
if (value === undefined || value === "") {
|
|
35
|
+
throw new SimFirehoseInvalidArgumentException("The S3 destination configuration is missing BucketARN");
|
|
36
|
+
}
|
|
37
|
+
const name = value.startsWith(bucketArnPrefix)
|
|
38
|
+
? value.slice(bucketArnPrefix.length)
|
|
39
|
+
: "";
|
|
40
|
+
if (name === "" || name.includes("/")) {
|
|
41
|
+
throw new SimFirehoseInvalidArgumentException(`The S3 destination BucketARN ${value} does not name a Bucket`);
|
|
42
|
+
}
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
function requireRoleArn(value) {
|
|
46
|
+
if (value === undefined || value === "") {
|
|
47
|
+
throw new SimFirehoseInvalidArgumentException("The S3 destination configuration is missing RoleARN");
|
|
48
|
+
}
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=sim-firehose-s3-destination.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-s3-destination.js","sourceRoot":"","sources":["../../../../src/service/firehose/destination/sim-firehose-s3-destination.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mCAAmC,EAAE,MAAM,gCAAgC,CAAC;AACrF,OAAO,EACL,yBAAyB,GAE1B,MAAM,mCAAmC,CAAC;AAE3C,MAAM,eAAe,GAAG,eAAe,CAAC;AAiBxC;;;;;;GAMG;AACH,MAAM,OAAO,wBAAwB;IACnB,UAAU,CAAS;IACnB,SAAS,CAAS;IAClB,OAAO,CAAS;IAChB,MAAM,CAAS;IACf,iBAAiB,CAAqB;IACtC,cAAc,CAA4B;IAE1D,YAAY,KAAoC;QAC9C,IAAI,CAAC,SAAS,GAAG,gBAAgB,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QACnD,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC;QAC/D,IAAI,CAAC,OAAO,GAAG,cAAc,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QAC7C,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,IAAI,EAAE,CAAC;QACjC,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC,iBAAiB,CAAC;QACjD,IAAI,CAAC,cAAc,GAAG,IAAI,yBAAyB,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;IAC5E,CAAC;CACF;AAED;;;;;GAKG;AACH,SAAS,gBAAgB,CAAC,KAAyB;IACjD,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,EAAE,EAAE,CAAC;QACxC,MAAM,IAAI,mCAAmC,CAC3C,uDAAuD,CACxD,CAAC;IACJ,CAAC;IAED,MAAM,IAAI,GAAG,KAAK,CAAC,UAAU,CAAC,eAAe,CAAC;QAC5C,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,eAAe,CAAC,MAAM,CAAC;QACrC,CAAC,CAAC,EAAE,CAAC;IAEP,IAAI,IAAI,KAAK,EAAE,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;QACtC,MAAM,IAAI,mCAAmC,CAC3C,gCAAgC,KAAK,yBAAyB,CAC/D,CAAC;IACJ,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED,SAAS,cAAc,CAAC,KAAyB;IAC/C,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,EAAE,EAAE,CAAC;QACxC,MAAM,IAAI,mCAAmC,CAC3C,qDAAqD,CACtD,CAAC;IACJ,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Minimal metadata shape for simulated Firehose errors.
|
|
3
|
+
*/
|
|
4
|
+
export interface SimFirehoseErrorMetadata {
|
|
5
|
+
readonly httpStatusCode?: number;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Base class for simulated Kinesis Data Firehose errors.
|
|
9
|
+
*/
|
|
10
|
+
export declare class SimFirehoseError extends Error {
|
|
11
|
+
readonly $metadata: SimFirehoseErrorMetadata;
|
|
12
|
+
constructor(message: string, $metadata?: SimFirehoseErrorMetadata);
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Simulated Firehose InvalidArgumentException error.
|
|
16
|
+
*
|
|
17
|
+
* Real Firehose reports a malformed request this way: a delivery stream name it
|
|
18
|
+
* will not accept, a record over the size limit, a batch over the record count,
|
|
19
|
+
* or buffering hints outside the range it allows.
|
|
20
|
+
*/
|
|
21
|
+
export declare class SimFirehoseInvalidArgumentException extends SimFirehoseError {
|
|
22
|
+
readonly name = "InvalidArgumentException";
|
|
23
|
+
constructor(message: string);
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Simulated Firehose ResourceNotFoundException error.
|
|
27
|
+
*
|
|
28
|
+
* Real Firehose reports a delivery stream it does not hold this way, whichever
|
|
29
|
+
* operation asked for it.
|
|
30
|
+
*/
|
|
31
|
+
export declare class SimFirehoseResourceNotFoundException extends SimFirehoseError {
|
|
32
|
+
readonly name = "ResourceNotFoundException";
|
|
33
|
+
constructor(message: string);
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Simulated Firehose ResourceInUseException error.
|
|
37
|
+
*
|
|
38
|
+
* Real Firehose refuses a second delivery stream under a name it already holds.
|
|
39
|
+
*/
|
|
40
|
+
export declare class SimFirehoseResourceInUseException extends SimFirehoseError {
|
|
41
|
+
readonly name = "ResourceInUseException";
|
|
42
|
+
constructor(message: string);
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Simulated Firehose UnsimulatedDestination error.
|
|
46
|
+
*
|
|
47
|
+
* This has no counterpart on real Firehose. Yulin simulates the S3 destination
|
|
48
|
+
* and refuses the rest by name at CreateDeliveryStream, where a test can see
|
|
49
|
+
* which destination it asked for. A delivery stream created against Redshift or
|
|
50
|
+
* OpenSearch would take records and drop them, and a test asserting on an
|
|
51
|
+
* empty bucket would blame the code under test.
|
|
52
|
+
*/
|
|
53
|
+
export declare class SimFirehoseUnsimulatedDestination extends SimFirehoseError {
|
|
54
|
+
readonly name = "SimFirehoseUnsimulatedDestination";
|
|
55
|
+
constructor(destination: string);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Simulated Firehose UnsimulatedSource error.
|
|
59
|
+
*
|
|
60
|
+
* This has no counterpart on real Firehose. A delivery stream takes records put
|
|
61
|
+
* on it, or reads them off a simulated Kinesis stream in its own Account and
|
|
62
|
+
* Region. A source outside that would take nothing and deliver nothing, so it
|
|
63
|
+
* is refused at CreateDeliveryStream, where the request that asked for it is.
|
|
64
|
+
*/
|
|
65
|
+
export declare class SimFirehoseUnsimulatedSource extends SimFirehoseError {
|
|
66
|
+
readonly name = "SimFirehoseUnsimulatedSource";
|
|
67
|
+
constructor(message: string);
|
|
68
|
+
}
|
|
69
|
+
//# sourceMappingURL=sim-firehose.error.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose.error.d.ts","sourceRoot":"","sources":["../../../../src/service/firehose/error/sim-firehose.error.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;CAClC;AAED;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,KAAK;aAGvB,SAAS,EAAE,wBAAwB;IAFrD,YACE,OAAO,EAAE,MAAM,EACC,SAAS,GAAE,wBAA6B,EAGzD;CACF;AAED;;;;;;GAMG;AACH,qBAAa,mCAAoC,SAAQ,gBAAgB;IACvE,SAAyB,IAAI,8BAA8B;IAE3D,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF;AAED;;;;;GAKG;AACH,qBAAa,oCAAqC,SAAQ,gBAAgB;IACxE,SAAyB,IAAI,+BAA+B;IAE5D,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF;AAED;;;;GAIG;AACH,qBAAa,iCAAkC,SAAQ,gBAAgB;IACrE,SAAyB,IAAI,4BAA4B;IAEzD,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF;AAED;;;;;;;;GAQG;AACH,qBAAa,iCAAkC,SAAQ,gBAAgB;IACrE,SAAyB,IAAI,uCAAuC;IAEpE,YAAY,WAAW,EAAE,MAAM,EAQ9B;CACF;AAED;;;;;;;GAOG;AACH,qBAAa,4BAA6B,SAAQ,gBAAgB;IAChE,SAAyB,IAAI,kCAAkC;IAE/D,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Base class for simulated Kinesis Data Firehose errors.
|
|
3
|
+
*/
|
|
4
|
+
export class SimFirehoseError extends Error {
|
|
5
|
+
$metadata;
|
|
6
|
+
constructor(message, $metadata = {}) {
|
|
7
|
+
super(message);
|
|
8
|
+
this.$metadata = $metadata;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Simulated Firehose InvalidArgumentException error.
|
|
13
|
+
*
|
|
14
|
+
* Real Firehose reports a malformed request this way: a delivery stream name it
|
|
15
|
+
* will not accept, a record over the size limit, a batch over the record count,
|
|
16
|
+
* or buffering hints outside the range it allows.
|
|
17
|
+
*/
|
|
18
|
+
export class SimFirehoseInvalidArgumentException extends SimFirehoseError {
|
|
19
|
+
name = "InvalidArgumentException";
|
|
20
|
+
constructor(message) {
|
|
21
|
+
super(message, { httpStatusCode: 400 });
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Simulated Firehose ResourceNotFoundException error.
|
|
26
|
+
*
|
|
27
|
+
* Real Firehose reports a delivery stream it does not hold this way, whichever
|
|
28
|
+
* operation asked for it.
|
|
29
|
+
*/
|
|
30
|
+
export class SimFirehoseResourceNotFoundException extends SimFirehoseError {
|
|
31
|
+
name = "ResourceNotFoundException";
|
|
32
|
+
constructor(message) {
|
|
33
|
+
super(message, { httpStatusCode: 400 });
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Simulated Firehose ResourceInUseException error.
|
|
38
|
+
*
|
|
39
|
+
* Real Firehose refuses a second delivery stream under a name it already holds.
|
|
40
|
+
*/
|
|
41
|
+
export class SimFirehoseResourceInUseException extends SimFirehoseError {
|
|
42
|
+
name = "ResourceInUseException";
|
|
43
|
+
constructor(message) {
|
|
44
|
+
super(message, { httpStatusCode: 400 });
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Simulated Firehose UnsimulatedDestination error.
|
|
49
|
+
*
|
|
50
|
+
* This has no counterpart on real Firehose. Yulin simulates the S3 destination
|
|
51
|
+
* and refuses the rest by name at CreateDeliveryStream, where a test can see
|
|
52
|
+
* which destination it asked for. A delivery stream created against Redshift or
|
|
53
|
+
* OpenSearch would take records and drop them, and a test asserting on an
|
|
54
|
+
* empty bucket would blame the code under test.
|
|
55
|
+
*/
|
|
56
|
+
export class SimFirehoseUnsimulatedDestination extends SimFirehoseError {
|
|
57
|
+
name = "SimFirehoseUnsimulatedDestination";
|
|
58
|
+
constructor(destination) {
|
|
59
|
+
super(`Simulated Kinesis Data Firehose delivers to S3 only, and this delivery ` +
|
|
60
|
+
`stream declares ${destination}. Declare an ` +
|
|
61
|
+
`ExtendedS3DestinationConfiguration instead, or leave this delivery ` +
|
|
62
|
+
`stream out of the simulation.`, { httpStatusCode: 400 });
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Simulated Firehose UnsimulatedSource error.
|
|
67
|
+
*
|
|
68
|
+
* This has no counterpart on real Firehose. A delivery stream takes records put
|
|
69
|
+
* on it, or reads them off a simulated Kinesis stream in its own Account and
|
|
70
|
+
* Region. A source outside that would take nothing and deliver nothing, so it
|
|
71
|
+
* is refused at CreateDeliveryStream, where the request that asked for it is.
|
|
72
|
+
*/
|
|
73
|
+
export class SimFirehoseUnsimulatedSource extends SimFirehoseError {
|
|
74
|
+
name = "SimFirehoseUnsimulatedSource";
|
|
75
|
+
constructor(message) {
|
|
76
|
+
super(message, { httpStatusCode: 400 });
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
//# sourceMappingURL=sim-firehose.error.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose.error.js","sourceRoot":"","sources":["../../../../src/service/firehose/error/sim-firehose.error.ts"],"names":[],"mappings":"AAOA;;GAEG;AACH,MAAM,OAAO,gBAAiB,SAAQ,KAAK;IAGvB,SAAS;IAF3B,YACE,OAAe,EACC,SAAS,GAA6B,EAAE;QAExD,KAAK,CAAC,OAAO,CAAC,CAAC;yBAFC,SAAS;IAG3B,CAAC;CACF;AAED;;;;;;GAMG;AACH,MAAM,OAAO,mCAAoC,SAAQ,gBAAgB;IAC9C,IAAI,GAAG,0BAA0B,CAAC;IAE3D,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,EAAE,EAAE,cAAc,EAAE,GAAG,EAAE,CAAC,CAAC;IAC1C,CAAC;CACF;AAED;;;;;GAKG;AACH,MAAM,OAAO,oCAAqC,SAAQ,gBAAgB;IAC/C,IAAI,GAAG,2BAA2B,CAAC;IAE5D,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,EAAE,EAAE,cAAc,EAAE,GAAG,EAAE,CAAC,CAAC;IAC1C,CAAC;CACF;AAED;;;;GAIG;AACH,MAAM,OAAO,iCAAkC,SAAQ,gBAAgB;IAC5C,IAAI,GAAG,wBAAwB,CAAC;IAEzD,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,EAAE,EAAE,cAAc,EAAE,GAAG,EAAE,CAAC,CAAC;IAC1C,CAAC;CACF;AAED;;;;;;;;GAQG;AACH,MAAM,OAAO,iCAAkC,SAAQ,gBAAgB;IAC5C,IAAI,GAAG,mCAAmC,CAAC;IAEpE,YAAY,WAAmB;QAC7B,KAAK,CACH,yEAAyE;YACvE,mBAAmB,WAAW,eAAe;YAC7C,qEAAqE;YACrE,+BAA+B,EACjC,EAAE,cAAc,EAAE,GAAG,EAAE,CACxB,CAAC;IACJ,CAAC;CACF;AAED;;;;;;;GAOG;AACH,MAAM,OAAO,4BAA6B,SAAQ,gBAAgB;IACvC,IAAI,GAAG,8BAA8B,CAAC;IAE/D,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,EAAE,EAAE,cAAc,EAAE,GAAG,EAAE,CAAC,CAAC;IAC1C,CAAC;CACF"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
interface SimFirehoseFailureProperties {
|
|
2
|
+
readonly deliveryStreamName: string;
|
|
3
|
+
readonly roleArn: string;
|
|
4
|
+
readonly error: unknown;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Something a delivery stream could not do, kept where a test can read it.
|
|
8
|
+
*
|
|
9
|
+
* A delivery stream works out of sight of the caller. Real Firehose answered
|
|
10
|
+
* the producer minutes before it wrote the buffer that record joined, and it
|
|
11
|
+
* reads its source stream with no caller in front of it at all. What went wrong
|
|
12
|
+
* reaches a real operator through CloudWatch, which is not simulated, so it is
|
|
13
|
+
* kept on the simulator instead.
|
|
14
|
+
*
|
|
15
|
+
* The Role is on every failure because it is the usual cause: the delivery
|
|
16
|
+
* Role that cannot write to the Bucket, or the source Role that cannot read the
|
|
17
|
+
* stream.
|
|
18
|
+
*/
|
|
19
|
+
export declare abstract class SimFirehoseFailure {
|
|
20
|
+
readonly deliveryStreamName: string;
|
|
21
|
+
readonly roleArn: string;
|
|
22
|
+
readonly error: unknown;
|
|
23
|
+
constructor(properties: SimFirehoseFailureProperties);
|
|
24
|
+
/**
|
|
25
|
+
* Whether IAM refused this rather than it going wrong.
|
|
26
|
+
*/
|
|
27
|
+
get wasRefused(): boolean;
|
|
28
|
+
/**
|
|
29
|
+
* What went wrong, in one line.
|
|
30
|
+
*/
|
|
31
|
+
get reason(): string;
|
|
32
|
+
/**
|
|
33
|
+
* How this failure reads on the console, for the ones worth warning about.
|
|
34
|
+
*/
|
|
35
|
+
abstract get warning(): string;
|
|
36
|
+
}
|
|
37
|
+
export {};
|
|
38
|
+
//# sourceMappingURL=sim-firehose-failure.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-failure.d.ts","sourceRoot":"","sources":["../../../../src/service/firehose/failure/sim-firehose-failure.ts"],"names":[],"mappings":"AAEA,UAAU,4BAA4B;IACpC,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC;IACpC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;CACzB;AAED;;;;;;;;;;;;GAYG;AACH,8BAAsB,kBAAkB;IACtC,SAAgB,kBAAkB,EAAE,MAAM,CAAC;IAC3C,SAAgB,OAAO,EAAE,MAAM,CAAC;IAChC,SAAgB,KAAK,EAAE,OAAO,CAAC;IAE/B,YAAY,UAAU,EAAE,4BAA4B,EAInD;IAED;;OAEG;IACH,IAAI,UAAU,IAAI,OAAO,CAExB;IAED;;OAEG;IACH,IAAI,MAAM,IAAI,MAAM,CAMnB;IAED;;OAEG;IACH,QAAQ,KAAK,OAAO,IAAI,MAAM,CAAC;CAChC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { SimIamAccessDenied } from "../../iam/error/sim-iam.error.js";
|
|
2
|
+
/**
|
|
3
|
+
* Something a delivery stream could not do, kept where a test can read it.
|
|
4
|
+
*
|
|
5
|
+
* A delivery stream works out of sight of the caller. Real Firehose answered
|
|
6
|
+
* the producer minutes before it wrote the buffer that record joined, and it
|
|
7
|
+
* reads its source stream with no caller in front of it at all. What went wrong
|
|
8
|
+
* reaches a real operator through CloudWatch, which is not simulated, so it is
|
|
9
|
+
* kept on the simulator instead.
|
|
10
|
+
*
|
|
11
|
+
* The Role is on every failure because it is the usual cause: the delivery
|
|
12
|
+
* Role that cannot write to the Bucket, or the source Role that cannot read the
|
|
13
|
+
* stream.
|
|
14
|
+
*/
|
|
15
|
+
export class SimFirehoseFailure {
|
|
16
|
+
deliveryStreamName;
|
|
17
|
+
roleArn;
|
|
18
|
+
error;
|
|
19
|
+
constructor(properties) {
|
|
20
|
+
this.deliveryStreamName = properties.deliveryStreamName;
|
|
21
|
+
this.roleArn = properties.roleArn;
|
|
22
|
+
this.error = properties.error;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Whether IAM refused this rather than it going wrong.
|
|
26
|
+
*/
|
|
27
|
+
get wasRefused() {
|
|
28
|
+
return this.error instanceof SimIamAccessDenied;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* What went wrong, in one line.
|
|
32
|
+
*/
|
|
33
|
+
get reason() {
|
|
34
|
+
if (this.error instanceof Error) {
|
|
35
|
+
return this.error.message;
|
|
36
|
+
}
|
|
37
|
+
return String(this.error);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=sim-firehose-failure.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-failure.js","sourceRoot":"","sources":["../../../../src/service/firehose/failure/sim-firehose-failure.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAQtE;;;;;;;;;;;;GAYG;AACH,MAAM,OAAgB,kBAAkB;IACtB,kBAAkB,CAAS;IAC3B,OAAO,CAAS;IAChB,KAAK,CAAU;IAE/B,YAAY,UAAwC;QAClD,IAAI,CAAC,kBAAkB,GAAG,UAAU,CAAC,kBAAkB,CAAC;QACxD,IAAI,CAAC,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC;QAClC,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;IAChC,CAAC;IAED;;OAEG;IACH,IAAI,UAAU;QACZ,OAAO,IAAI,CAAC,KAAK,YAAY,kBAAkB,CAAC;IAClD,CAAC;IAED;;OAEG;IACH,IAAI,MAAM;QACR,IAAI,IAAI,CAAC,KAAK,YAAY,KAAK,EAAE,CAAC;YAChC,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC;QAC5B,CAAC;QAED,OAAO,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC5B,CAAC;CAMF"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { SimFirehoseFailure } from "./sim-firehose-failure.js";
|
|
2
|
+
/**
|
|
3
|
+
* What became of the work a simulated Firehose scope could not do.
|
|
4
|
+
*
|
|
5
|
+
* A refusal is recorded quietly and anything else is warned about. Taking a
|
|
6
|
+
* permission off a Role is what a test checking the refusal does, and that test
|
|
7
|
+
* should not have to read a warning about the thing it asked for. Anything else
|
|
8
|
+
* is a broken simulation, and a test that never reads this list should still
|
|
9
|
+
* hear about it. Compare SimS3NotificationFailures, which draws the same line
|
|
10
|
+
* for the same reason.
|
|
11
|
+
*
|
|
12
|
+
* Warnings go to the console because that is where a test runner surfaces them
|
|
13
|
+
* next to the failing expectation they explain. The simulator has no logger of
|
|
14
|
+
* its own to route them through.
|
|
15
|
+
*/
|
|
16
|
+
export declare class SimFirehoseFailures<TFailure extends SimFirehoseFailure> {
|
|
17
|
+
private readonly failures;
|
|
18
|
+
private readonly warned;
|
|
19
|
+
/**
|
|
20
|
+
* Every failure of this kind in this scope, oldest first.
|
|
21
|
+
*/
|
|
22
|
+
get all(): readonly TFailure[];
|
|
23
|
+
/**
|
|
24
|
+
* Record something that did not happen.
|
|
25
|
+
*/
|
|
26
|
+
record(failure: TFailure): void;
|
|
27
|
+
/**
|
|
28
|
+
* Warn about a failure once per delivery stream and cause.
|
|
29
|
+
*/
|
|
30
|
+
private warn;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=sim-firehose-failures.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-failures.d.ts","sourceRoot":"","sources":["../../../../src/service/firehose/failure/sim-firehose-failures.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAEpE;;;;;;;;;;;;;GAaG;AACH,qBAAa,mBAAmB,CAAC,QAAQ,SAAS,kBAAkB;IAClE,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAkB;IAC3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqB;IAE5C;;OAEG;IACH,IAAI,GAAG,IAAI,SAAS,QAAQ,EAAE,CAE7B;IAED;;OAEG;IACH,MAAM,CAAC,OAAO,EAAE,QAAQ,GAAG,IAAI,CAQ9B;IAED;;OAEG;IACH,OAAO,CAAC,IAAI;CAYb"}
|