@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 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-command.types.js","sourceRoot":"","sources":["../../../../src/service/firehose/command/sim-firehose-command.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { BackgroundScheduler } from "../../../util/background/background.js";
|
|
2
|
+
import type { SimAwsAccountRegionScope } from "../../aws/sim-aws-account-region-scope.js";
|
|
3
|
+
import type { SimIamInterServiceAuthZ } from "../../iam/authorize/sim-iam-inter-service-auth-z.js";
|
|
4
|
+
import type { SimFirehoseDeliveryFailures } from "../delivery/sim-firehose-delivery-failures.js";
|
|
5
|
+
import { type SimFirehoseObjectDestination } from "../delivery/sim-firehose-object-writer.js";
|
|
6
|
+
import type { SimFirehoseRecordSource } from "../source/sim-firehose-record-source.js";
|
|
7
|
+
import type { SimFirehoseSourceFailures } from "../source/sim-firehose-source-failures.js";
|
|
8
|
+
import type { SimFirehoseDeliveryStreamStore } from "../stream/sim-firehose-delivery-stream-store.js";
|
|
9
|
+
import { SimFirehosePutCommands } from "./record/sim-firehose-put-commands.js";
|
|
10
|
+
import { SimFirehoseCreateDeliveryStream } from "./stream/sim-firehose-create-delivery-stream.js";
|
|
11
|
+
import { SimFirehoseStreamCommands } from "./stream/sim-firehose-stream-commands.js";
|
|
12
|
+
interface SimFirehoseCommandsProperties {
|
|
13
|
+
readonly deliveryStreams: SimFirehoseDeliveryStreamStore;
|
|
14
|
+
readonly failures: SimFirehoseDeliveryFailures;
|
|
15
|
+
readonly sourceFailures: SimFirehoseSourceFailures;
|
|
16
|
+
readonly s3: SimFirehoseObjectDestination;
|
|
17
|
+
readonly kinesis: SimFirehoseRecordSource;
|
|
18
|
+
readonly iam: SimIamInterServiceAuthZ;
|
|
19
|
+
readonly background: BackgroundScheduler;
|
|
20
|
+
readonly accountRegionScope: SimAwsAccountRegionScope;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Every command handler one simulated Firehose scope delegates to.
|
|
24
|
+
*
|
|
25
|
+
* The wiring lives here rather than in the facade so that `SimFirehose` stays
|
|
26
|
+
* what it is meant to be: state and delegation. Which handler shares which
|
|
27
|
+
* collaborator is a fact about the handlers, not about the service object in
|
|
28
|
+
* front of them.
|
|
29
|
+
*/
|
|
30
|
+
export declare class SimFirehoseCommands {
|
|
31
|
+
readonly creation: SimFirehoseCreateDeliveryStream;
|
|
32
|
+
readonly deliveryStreams: SimFirehoseStreamCommands;
|
|
33
|
+
readonly puts: SimFirehosePutCommands;
|
|
34
|
+
constructor(properties: SimFirehoseCommandsProperties);
|
|
35
|
+
}
|
|
36
|
+
export {};
|
|
37
|
+
//# sourceMappingURL=sim-firehose-commands.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-commands.d.ts","sourceRoot":"","sources":["../../../../src/service/firehose/command/sim-firehose-commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qDAAqD,CAAC;AAEnG,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+CAA+C,CAAC;AACjG,OAAO,EACL,KAAK,4BAA4B,EAElC,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AACvF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AAE3F,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,iDAAiD,CAAC;AAEtG,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAE/E,OAAO,EAAE,+BAA+B,EAAE,MAAM,iDAAiD,CAAC;AAClG,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AAErF,UAAU,6BAA6B;IACrC,QAAQ,CAAC,eAAe,EAAE,8BAA8B,CAAC;IACzD,QAAQ,CAAC,QAAQ,EAAE,2BAA2B,CAAC;IAC/C,QAAQ,CAAC,cAAc,EAAE,yBAAyB,CAAC;IACnD,QAAQ,CAAC,EAAE,EAAE,4BAA4B,CAAC;IAC1C,QAAQ,CAAC,OAAO,EAAE,uBAAuB,CAAC;IAC1C,QAAQ,CAAC,GAAG,EAAE,uBAAuB,CAAC;IACtC,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;IACzC,QAAQ,CAAC,kBAAkB,EAAE,wBAAwB,CAAC;CACvD;AAED;;;;;;;GAOG;AACH,qBAAa,mBAAmB;IAC9B,SAAgB,QAAQ,EAAE,+BAA+B,CAAC;IAC1D,SAAgB,eAAe,EAAE,yBAAyB,CAAC;IAC3D,SAAgB,IAAI,EAAE,sBAAsB,CAAC;IAE7C,YAAY,UAAU,EAAE,6BAA6B,EAoCpD;CACF"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { SimFirehoseDelivery } from "../delivery/sim-firehose-delivery.js";
|
|
2
|
+
import { SimFirehoseObjectWriter, } from "../delivery/sim-firehose-object-writer.js";
|
|
3
|
+
import { SimFirehoseSourceReading } from "../source/read/sim-firehose-source-reading.js";
|
|
4
|
+
import { SimFirehoseAuthorizer } from "./authorize/sim-firehose-authorizer.js";
|
|
5
|
+
import { SimFirehosePutCommands } from "./record/sim-firehose-put-commands.js";
|
|
6
|
+
import { SimFirehoseDeliveryStreamAccess } from "./sim-firehose-delivery-stream-access.js";
|
|
7
|
+
import { SimFirehoseCreateDeliveryStream } from "./stream/sim-firehose-create-delivery-stream.js";
|
|
8
|
+
import { SimFirehoseStreamCommands } from "./stream/sim-firehose-stream-commands.js";
|
|
9
|
+
/**
|
|
10
|
+
* Every command handler one simulated Firehose scope delegates to.
|
|
11
|
+
*
|
|
12
|
+
* The wiring lives here rather than in the facade so that `SimFirehose` stays
|
|
13
|
+
* what it is meant to be: state and delegation. Which handler shares which
|
|
14
|
+
* collaborator is a fact about the handlers, not about the service object in
|
|
15
|
+
* front of them.
|
|
16
|
+
*/
|
|
17
|
+
export class SimFirehoseCommands {
|
|
18
|
+
creation;
|
|
19
|
+
deliveryStreams;
|
|
20
|
+
puts;
|
|
21
|
+
constructor(properties) {
|
|
22
|
+
const { deliveryStreams, background, accountRegionScope } = properties;
|
|
23
|
+
const access = new SimFirehoseDeliveryStreamAccess({
|
|
24
|
+
deliveryStreams,
|
|
25
|
+
authorizer: new SimFirehoseAuthorizer({ iam: properties.iam }),
|
|
26
|
+
accountRegionScope,
|
|
27
|
+
});
|
|
28
|
+
const delivery = new SimFirehoseDelivery({
|
|
29
|
+
background,
|
|
30
|
+
writer: new SimFirehoseObjectWriter({
|
|
31
|
+
s3: properties.s3,
|
|
32
|
+
failures: properties.failures,
|
|
33
|
+
}),
|
|
34
|
+
});
|
|
35
|
+
const sourceReading = new SimFirehoseSourceReading({
|
|
36
|
+
records: properties.kinesis,
|
|
37
|
+
failures: properties.sourceFailures,
|
|
38
|
+
delivery,
|
|
39
|
+
background,
|
|
40
|
+
});
|
|
41
|
+
this.creation = new SimFirehoseCreateDeliveryStream({
|
|
42
|
+
deliveryStreams,
|
|
43
|
+
access,
|
|
44
|
+
accountRegionScope,
|
|
45
|
+
background,
|
|
46
|
+
sourceReading,
|
|
47
|
+
});
|
|
48
|
+
this.deliveryStreams = new SimFirehoseStreamCommands({
|
|
49
|
+
deliveryStreams,
|
|
50
|
+
access,
|
|
51
|
+
delivery,
|
|
52
|
+
sourceReading,
|
|
53
|
+
});
|
|
54
|
+
this.puts = new SimFirehosePutCommands({ access, delivery });
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=sim-firehose-commands.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-commands.js","sourceRoot":"","sources":["../../../../src/service/firehose/command/sim-firehose-commands.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAE3E,OAAO,EAEL,uBAAuB,GACxB,MAAM,2CAA2C,CAAC;AAGnD,OAAO,EAAE,wBAAwB,EAAE,MAAM,+CAA+C,CAAC;AAEzF,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAC/E,OAAO,EAAE,+BAA+B,EAAE,MAAM,0CAA0C,CAAC;AAC3F,OAAO,EAAE,+BAA+B,EAAE,MAAM,iDAAiD,CAAC;AAClG,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AAarF;;;;;;;GAOG;AACH,MAAM,OAAO,mBAAmB;IACd,QAAQ,CAAkC;IAC1C,eAAe,CAA4B;IAC3C,IAAI,CAAyB;IAE7C,YAAY,UAAyC;QACnD,MAAM,EAAE,eAAe,EAAE,UAAU,EAAE,kBAAkB,EAAE,GAAG,UAAU,CAAC;QACvE,MAAM,MAAM,GAAG,IAAI,+BAA+B,CAAC;YACjD,eAAe;YACf,UAAU,EAAE,IAAI,qBAAqB,CAAC,EAAE,GAAG,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC;YAC9D,kBAAkB;SACnB,CAAC,CAAC;QACH,MAAM,QAAQ,GAAG,IAAI,mBAAmB,CAAC;YACvC,UAAU;YACV,MAAM,EAAE,IAAI,uBAAuB,CAAC;gBAClC,EAAE,EAAE,UAAU,CAAC,EAAE;gBACjB,QAAQ,EAAE,UAAU,CAAC,QAAQ;aAC9B,CAAC;SACH,CAAC,CAAC;QAEH,MAAM,aAAa,GAAG,IAAI,wBAAwB,CAAC;YACjD,OAAO,EAAE,UAAU,CAAC,OAAO;YAC3B,QAAQ,EAAE,UAAU,CAAC,cAAc;YACnC,QAAQ;YACR,UAAU;SACX,CAAC,CAAC;QAEH,IAAI,CAAC,QAAQ,GAAG,IAAI,+BAA+B,CAAC;YAClD,eAAe;YACf,MAAM;YACN,kBAAkB;YAClB,UAAU;YACV,aAAa;SACd,CAAC,CAAC;QACH,IAAI,CAAC,eAAe,GAAG,IAAI,yBAAyB,CAAC;YACnD,eAAe;YACf,MAAM;YACN,QAAQ;YACR,aAAa;SACd,CAAC,CAAC;QACH,IAAI,CAAC,IAAI,GAAG,IAAI,sBAAsB,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC;IAC/D,CAAC;CACF"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { SimAwsResolvedCaller } from "../../aws/caller/sim-aws-caller-resolver.js";
|
|
2
|
+
import type { SimAwsAccountRegionScope } from "../../aws/sim-aws-account-region-scope.js";
|
|
3
|
+
import type { SimFirehoseDeliveryStream } from "../stream/sim-firehose-delivery-stream.js";
|
|
4
|
+
import type { SimFirehoseDeliveryStreamStore } from "../stream/sim-firehose-delivery-stream-store.js";
|
|
5
|
+
import type { SimFirehoseAuthorizer } from "./authorize/sim-firehose-authorizer.js";
|
|
6
|
+
import type { SimFirehoseRequestOptions } from "./sim-firehose-request-options.js";
|
|
7
|
+
interface SimFirehoseDeliveryStreamAccessProperties {
|
|
8
|
+
readonly deliveryStreams: SimFirehoseDeliveryStreamStore;
|
|
9
|
+
readonly authorizer: SimFirehoseAuthorizer;
|
|
10
|
+
readonly accountRegionScope: SimAwsAccountRegionScope;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* How a request reaches the delivery stream it names.
|
|
14
|
+
*
|
|
15
|
+
* Every operation but ListDeliveryStreams and CreateDeliveryStream starts the
|
|
16
|
+
* same way: authorize the action against the ARN the named delivery stream
|
|
17
|
+
* would have, then require the delivery stream to be there.
|
|
18
|
+
*
|
|
19
|
+
* Authorizing before the lookup is what real IAM does. It is why a caller with
|
|
20
|
+
* no permission is refused for a delivery stream that does not exist, rather
|
|
21
|
+
* than being told the delivery stream is missing.
|
|
22
|
+
*/
|
|
23
|
+
export declare class SimFirehoseDeliveryStreamAccess {
|
|
24
|
+
private readonly deliveryStreams;
|
|
25
|
+
private readonly authorizer;
|
|
26
|
+
private readonly scope;
|
|
27
|
+
constructor(properties: SimFirehoseDeliveryStreamAccessProperties);
|
|
28
|
+
/**
|
|
29
|
+
* Ensure the caller may perform an action on the delivery stream of a given
|
|
30
|
+
* name.
|
|
31
|
+
*
|
|
32
|
+
* The delivery stream need not exist, which is what CreateDeliveryStream
|
|
33
|
+
* needs. It authorizes against the ARN the delivery stream is about to have.
|
|
34
|
+
*/
|
|
35
|
+
authorizeName(action: string, name: string, options?: SimFirehoseRequestOptions): SimAwsResolvedCaller;
|
|
36
|
+
/**
|
|
37
|
+
* Ensure the caller may perform an action naming no particular delivery
|
|
38
|
+
* stream.
|
|
39
|
+
*/
|
|
40
|
+
authorizeAny(action: string, options?: SimFirehoseRequestOptions): SimAwsResolvedCaller;
|
|
41
|
+
/**
|
|
42
|
+
* Resolve the delivery stream a request names, authorizing the action first.
|
|
43
|
+
*/
|
|
44
|
+
require(action: string, name: string | undefined, options?: SimFirehoseRequestOptions): SimFirehoseDeliveryStream;
|
|
45
|
+
}
|
|
46
|
+
export {};
|
|
47
|
+
//# sourceMappingURL=sim-firehose-delivery-stream-access.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-delivery-stream-access.d.ts","sourceRoot":"","sources":["../../../../src/service/firehose/command/sim-firehose-delivery-stream-access.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AACxF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAG1F,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AAC3F,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,iDAAiD,CAAC;AACtG,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAEnF,UAAU,yCAAyC;IACjD,QAAQ,CAAC,eAAe,EAAE,8BAA8B,CAAC;IACzD,QAAQ,CAAC,UAAU,EAAE,qBAAqB,CAAC;IAC3C,QAAQ,CAAC,kBAAkB,EAAE,wBAAwB,CAAC;CACvD;AAED;;;;;;;;;;GAUG;AACH,qBAAa,+BAA+B;IAC1C,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAiC;IACjE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAwB;IACnD,OAAO,CAAC,QAAQ,CAAC,KAAK,CAA2B;IAEjD,YAAY,UAAU,EAAE,yCAAyC,EAIhE;IAED;;;;;;OAMG;IACH,aAAa,CACX,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,yBAAyB,GAClC,oBAAoB,CAMtB;IAED;;;OAGG;IACH,YAAY,CACV,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,yBAAyB,GAClC,oBAAoB,CAEtB;IAED;;OAEG;IACH,OAAO,CACL,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,OAAO,CAAC,EAAE,yBAAyB,GAClC,yBAAyB,CAM3B;CACF"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { SimFirehoseInvalidArgumentException } from "../error/sim-firehose.error.js";
|
|
2
|
+
import { simFirehoseDeliveryStreamArn } from "../stream/sim-firehose-delivery-stream-arn.js";
|
|
3
|
+
/**
|
|
4
|
+
* How a request reaches the delivery stream it names.
|
|
5
|
+
*
|
|
6
|
+
* Every operation but ListDeliveryStreams and CreateDeliveryStream starts the
|
|
7
|
+
* same way: authorize the action against the ARN the named delivery stream
|
|
8
|
+
* would have, then require the delivery stream to be there.
|
|
9
|
+
*
|
|
10
|
+
* Authorizing before the lookup is what real IAM does. It is why a caller with
|
|
11
|
+
* no permission is refused for a delivery stream that does not exist, rather
|
|
12
|
+
* than being told the delivery stream is missing.
|
|
13
|
+
*/
|
|
14
|
+
export class SimFirehoseDeliveryStreamAccess {
|
|
15
|
+
deliveryStreams;
|
|
16
|
+
authorizer;
|
|
17
|
+
scope;
|
|
18
|
+
constructor(properties) {
|
|
19
|
+
this.deliveryStreams = properties.deliveryStreams;
|
|
20
|
+
this.authorizer = properties.authorizer;
|
|
21
|
+
this.scope = properties.accountRegionScope;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Ensure the caller may perform an action on the delivery stream of a given
|
|
25
|
+
* name.
|
|
26
|
+
*
|
|
27
|
+
* The delivery stream need not exist, which is what CreateDeliveryStream
|
|
28
|
+
* needs. It authorizes against the ARN the delivery stream is about to have.
|
|
29
|
+
*/
|
|
30
|
+
authorizeName(action, name, options) {
|
|
31
|
+
return this.authorizer.authorizeDeliveryStream(action, simFirehoseDeliveryStreamArn(this.scope, name), options?.caller);
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Ensure the caller may perform an action naming no particular delivery
|
|
35
|
+
* stream.
|
|
36
|
+
*/
|
|
37
|
+
authorizeAny(action, options) {
|
|
38
|
+
return this.authorizer.authorizeAnyDeliveryStream(action, options?.caller);
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Resolve the delivery stream a request names, authorizing the action first.
|
|
42
|
+
*/
|
|
43
|
+
require(action, name, options) {
|
|
44
|
+
const named = requiredName(name);
|
|
45
|
+
this.authorizeName(action, named, options);
|
|
46
|
+
return this.deliveryStreams.require(named);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* The delivery stream name a request carried, refusing one that named none.
|
|
51
|
+
*/
|
|
52
|
+
function requiredName(name) {
|
|
53
|
+
if (name === undefined || name === "") {
|
|
54
|
+
throw new SimFirehoseInvalidArgumentException("A request has to name a delivery stream by DeliveryStreamName");
|
|
55
|
+
}
|
|
56
|
+
return name;
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=sim-firehose-delivery-stream-access.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-delivery-stream-access.js","sourceRoot":"","sources":["../../../../src/service/firehose/command/sim-firehose-delivery-stream-access.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mCAAmC,EAAE,MAAM,gCAAgC,CAAC;AACrF,OAAO,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAY7F;;;;;;;;;;GAUG;AACH,MAAM,OAAO,+BAA+B;IACzB,eAAe,CAAiC;IAChD,UAAU,CAAwB;IAClC,KAAK,CAA2B;IAEjD,YAAY,UAAqD;QAC/D,IAAI,CAAC,eAAe,GAAG,UAAU,CAAC,eAAe,CAAC;QAClD,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;QACxC,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAC7C,CAAC;IAED;;;;;;OAMG;IACH,aAAa,CACX,MAAc,EACd,IAAY,EACZ,OAAmC;QAEnC,OAAO,IAAI,CAAC,UAAU,CAAC,uBAAuB,CAC5C,MAAM,EACN,4BAA4B,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,EAC9C,OAAO,EAAE,MAAM,CAChB,CAAC;IACJ,CAAC;IAED;;;OAGG;IACH,YAAY,CACV,MAAc,EACd,OAAmC;QAEnC,OAAO,IAAI,CAAC,UAAU,CAAC,0BAA0B,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAC7E,CAAC;IAED;;OAEG;IACH,OAAO,CACL,MAAc,EACd,IAAwB,EACxB,OAAmC;QAEnC,MAAM,KAAK,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;QAEjC,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC;QAE3C,OAAO,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC7C,CAAC;CACF;AAED;;GAEG;AACH,SAAS,YAAY,CAAC,IAAwB;IAC5C,IAAI,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,EAAE,EAAE,CAAC;QACtC,MAAM,IAAI,mCAAmC,CAC3C,+DAA+D,CAChE,CAAC;IACJ,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { SimAwsCaller } from "../../aws/caller/sim-aws-caller.js";
|
|
2
|
+
/**
|
|
3
|
+
* What a Firehose request carries besides its command input.
|
|
4
|
+
*/
|
|
5
|
+
export interface SimFirehoseRequestOptions {
|
|
6
|
+
/**
|
|
7
|
+
* Who is making the request. An omitted caller is the Account root, as it is
|
|
8
|
+
* everywhere else in the simulation.
|
|
9
|
+
*/
|
|
10
|
+
readonly caller?: SimAwsCaller;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=sim-firehose-request-options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-request-options.d.ts","sourceRoot":"","sources":["../../../../src/service/firehose/command/sim-firehose-request-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAEvE;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC;;;OAGG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-request-options.js","sourceRoot":"","sources":["../../../../src/service/firehose/command/sim-firehose-request-options.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { BackgroundScheduler } from "../../../../util/background/background.js";
|
|
2
|
+
import type { SimAwsAccountRegionScope } from "../../../aws/sim-aws-account-region-scope.js";
|
|
3
|
+
import type { SimFirehoseSourceReading } from "../../source/read/sim-firehose-source-reading.js";
|
|
4
|
+
import type { SimFirehoseDeliveryStreamStore } from "../../stream/sim-firehose-delivery-stream-store.js";
|
|
5
|
+
import type { SimFirehoseDeliveryStreamAccess } from "../sim-firehose-delivery-stream-access.js";
|
|
6
|
+
import type { SimFirehoseRequestOptions } from "../sim-firehose-request-options.js";
|
|
7
|
+
import type { SimCreateDeliveryStreamCommand, SimCreateDeliveryStreamCommandOutput } from "./stream.command.js";
|
|
8
|
+
interface SimFirehoseCreateDeliveryStreamProperties {
|
|
9
|
+
readonly deliveryStreams: SimFirehoseDeliveryStreamStore;
|
|
10
|
+
readonly access: SimFirehoseDeliveryStreamAccess;
|
|
11
|
+
readonly accountRegionScope: SimAwsAccountRegionScope;
|
|
12
|
+
readonly background: BackgroundScheduler;
|
|
13
|
+
readonly sourceReading: SimFirehoseSourceReading;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Creates a delivery stream.
|
|
17
|
+
*
|
|
18
|
+
* The delivery stream is ACTIVE by the time this answers. Real Firehose spends
|
|
19
|
+
* a minute or so in CREATING, and a test that had to wait it out would be
|
|
20
|
+
* waiting on nothing.
|
|
21
|
+
*/
|
|
22
|
+
export declare class SimFirehoseCreateDeliveryStream {
|
|
23
|
+
private readonly deliveryStreams;
|
|
24
|
+
private readonly access;
|
|
25
|
+
private readonly scope;
|
|
26
|
+
private readonly background;
|
|
27
|
+
private readonly sourceReading;
|
|
28
|
+
constructor(properties: SimFirehoseCreateDeliveryStreamProperties);
|
|
29
|
+
/**
|
|
30
|
+
* Handle a CreateDeliveryStream request.
|
|
31
|
+
*
|
|
32
|
+
* The source and the destination are read before the delivery stream is
|
|
33
|
+
* stored, so a request naming somewhere this simulation cannot read or
|
|
34
|
+
* deliver leaves nothing behind.
|
|
35
|
+
*
|
|
36
|
+
* A Kinesis-sourced delivery stream is reading its stream by the time this
|
|
37
|
+
* answers, so a record put the moment it exists is one it sees. A source it
|
|
38
|
+
* could not open stops the delivery and is recorded on the simulator, since
|
|
39
|
+
* that is what real Firehose does with a Role that cannot read: the delivery
|
|
40
|
+
* stream is created either way.
|
|
41
|
+
*/
|
|
42
|
+
handle(command: SimCreateDeliveryStreamCommand, options?: SimFirehoseRequestOptions): Promise<SimCreateDeliveryStreamCommandOutput>;
|
|
43
|
+
/**
|
|
44
|
+
* Refuse a name this scope already holds a delivery stream under.
|
|
45
|
+
*/
|
|
46
|
+
private requireNameFree;
|
|
47
|
+
}
|
|
48
|
+
export {};
|
|
49
|
+
//# sourceMappingURL=sim-firehose-create-delivery-stream.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-create-delivery-stream.d.ts","sourceRoot":"","sources":["../../../../../src/service/firehose/command/stream/sim-firehose-create-delivery-stream.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AAI7F,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,kDAAkD,CAAC;AAIjG,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oDAAoD,CAAC;AACzG,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,2CAA2C,CAAC;AACjG,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AACpF,OAAO,KAAK,EACV,8BAA8B,EAC9B,oCAAoC,EACrC,MAAM,qBAAqB,CAAC;AAE7B,UAAU,yCAAyC;IACjD,QAAQ,CAAC,eAAe,EAAE,8BAA8B,CAAC;IACzD,QAAQ,CAAC,MAAM,EAAE,+BAA+B,CAAC;IACjD,QAAQ,CAAC,kBAAkB,EAAE,wBAAwB,CAAC;IACtD,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;IACzC,QAAQ,CAAC,aAAa,EAAE,wBAAwB,CAAC;CAClD;AAED;;;;;;GAMG;AACH,qBAAa,+BAA+B;IAC1C,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAiC;IACjE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkC;IACzD,OAAO,CAAC,QAAQ,CAAC,KAAK,CAA2B;IACjD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAsB;IACjD,OAAO,CAAC,QAAQ,CAAC,aAAa,CAA2B;IAEzD,YAAY,UAAU,EAAE,yCAAyC,EAMhE;IAED;;;;;;;;;;;;OAYG;IACG,MAAM,CACV,OAAO,EAAE,8BAA8B,EACvC,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,oCAAoC,CAAC,CAuB/C;IAED;;OAEG;IACH,OAAO,CAAC,eAAe;CAQxB"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { simFirehoseDestinationOf } from "../../destination/sim-firehose-destination-choice.js";
|
|
2
|
+
import { SimFirehoseResourceInUseException } from "../../error/sim-firehose.error.js";
|
|
3
|
+
import { simFirehoseSourceOf } from "../../source/sim-firehose-source-choice.js";
|
|
4
|
+
import { simFirehoseDeliveryStreamArn } from "../../stream/sim-firehose-delivery-stream-arn.js";
|
|
5
|
+
import { requireSimFirehoseDeliveryStreamName } from "../../stream/sim-firehose-delivery-stream-name.js";
|
|
6
|
+
import { SimFirehoseDeliveryStream } from "../../stream/sim-firehose-delivery-stream.js";
|
|
7
|
+
/**
|
|
8
|
+
* Creates a delivery stream.
|
|
9
|
+
*
|
|
10
|
+
* The delivery stream is ACTIVE by the time this answers. Real Firehose spends
|
|
11
|
+
* a minute or so in CREATING, and a test that had to wait it out would be
|
|
12
|
+
* waiting on nothing.
|
|
13
|
+
*/
|
|
14
|
+
export class SimFirehoseCreateDeliveryStream {
|
|
15
|
+
deliveryStreams;
|
|
16
|
+
access;
|
|
17
|
+
scope;
|
|
18
|
+
background;
|
|
19
|
+
sourceReading;
|
|
20
|
+
constructor(properties) {
|
|
21
|
+
this.deliveryStreams = properties.deliveryStreams;
|
|
22
|
+
this.access = properties.access;
|
|
23
|
+
this.scope = properties.accountRegionScope;
|
|
24
|
+
this.background = properties.background;
|
|
25
|
+
this.sourceReading = properties.sourceReading;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Handle a CreateDeliveryStream request.
|
|
29
|
+
*
|
|
30
|
+
* The source and the destination are read before the delivery stream is
|
|
31
|
+
* stored, so a request naming somewhere this simulation cannot read or
|
|
32
|
+
* deliver leaves nothing behind.
|
|
33
|
+
*
|
|
34
|
+
* A Kinesis-sourced delivery stream is reading its stream by the time this
|
|
35
|
+
* answers, so a record put the moment it exists is one it sees. A source it
|
|
36
|
+
* could not open stops the delivery and is recorded on the simulator, since
|
|
37
|
+
* that is what real Firehose does with a Role that cannot read: the delivery
|
|
38
|
+
* stream is created either way.
|
|
39
|
+
*/
|
|
40
|
+
async handle(command, options) {
|
|
41
|
+
const { input } = command;
|
|
42
|
+
const name = requireSimFirehoseDeliveryStreamName(input.DeliveryStreamName);
|
|
43
|
+
this.access.authorizeName("firehose:CreateDeliveryStream", name, options);
|
|
44
|
+
this.requireNameFree(name);
|
|
45
|
+
const createdAt = this.background.now();
|
|
46
|
+
const source = simFirehoseSourceOf(input, this.scope, createdAt);
|
|
47
|
+
const arn = simFirehoseDeliveryStreamArn(this.scope, name);
|
|
48
|
+
const deliveryStream = new SimFirehoseDeliveryStream({
|
|
49
|
+
name,
|
|
50
|
+
arn,
|
|
51
|
+
destination: simFirehoseDestinationOf(input),
|
|
52
|
+
source,
|
|
53
|
+
createdAt,
|
|
54
|
+
});
|
|
55
|
+
this.deliveryStreams.add(deliveryStream);
|
|
56
|
+
await this.sourceReading.start(deliveryStream);
|
|
57
|
+
return { $metadata: {}, DeliveryStreamARN: arn };
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Refuse a name this scope already holds a delivery stream under.
|
|
61
|
+
*/
|
|
62
|
+
requireNameFree(name) {
|
|
63
|
+
if (this.deliveryStreams.find(name) !== undefined) {
|
|
64
|
+
throw new SimFirehoseResourceInUseException(`Firehose already holds a delivery stream named ${name} under this ` +
|
|
65
|
+
`account and region`);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
//# sourceMappingURL=sim-firehose-create-delivery-stream.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-create-delivery-stream.js","sourceRoot":"","sources":["../../../../../src/service/firehose/command/stream/sim-firehose-create-delivery-stream.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,sDAAsD,CAAC;AAChG,OAAO,EAAE,iCAAiC,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,EAAE,mBAAmB,EAAE,MAAM,4CAA4C,CAAC;AAEjF,OAAO,EAAE,4BAA4B,EAAE,MAAM,kDAAkD,CAAC;AAChG,OAAO,EAAE,oCAAoC,EAAE,MAAM,mDAAmD,CAAC;AACzG,OAAO,EAAE,yBAAyB,EAAE,MAAM,8CAA8C,CAAC;AAiBzF;;;;;;GAMG;AACH,MAAM,OAAO,+BAA+B;IACzB,eAAe,CAAiC;IAChD,MAAM,CAAkC;IACxC,KAAK,CAA2B;IAChC,UAAU,CAAsB;IAChC,aAAa,CAA2B;IAEzD,YAAY,UAAqD;QAC/D,IAAI,CAAC,eAAe,GAAG,UAAU,CAAC,eAAe,CAAC;QAClD,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;QAChC,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,kBAAkB,CAAC;QAC3C,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;QACxC,IAAI,CAAC,aAAa,GAAG,UAAU,CAAC,aAAa,CAAC;IAChD,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,KAAK,CAAC,MAAM,CACV,OAAuC,EACvC,OAAmC;QAEnC,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC;QAC1B,MAAM,IAAI,GAAG,oCAAoC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC;QAE5E,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,+BAA+B,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAC1E,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;QAE3B,MAAM,SAAS,GAAG,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,CAAC;QACxC,MAAM,MAAM,GAAG,mBAAmB,CAAC,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;QACjE,MAAM,GAAG,GAAG,4BAA4B,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;QAC3D,MAAM,cAAc,GAAG,IAAI,yBAAyB,CAAC;YACnD,IAAI;YACJ,GAAG;YACH,WAAW,EAAE,wBAAwB,CAAC,KAAK,CAAC;YAC5C,MAAM;YACN,SAAS;SACV,CAAC,CAAC;QAEH,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;QAEzC,MAAM,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;QAE/C,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,iBAAiB,EAAE,GAAG,EAAE,CAAC;IACnD,CAAC;IAED;;OAEG;IACK,eAAe,CAAC,IAAY;QAClC,IAAI,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,SAAS,EAAE,CAAC;YAClD,MAAM,IAAI,iCAAiC,CACzC,kDAAkD,IAAI,cAAc;gBAClE,oBAAoB,CACvB,CAAC;QACJ,CAAC;IACH,CAAC;CACF"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { SimFirehoseDeliveryStream } from "../../stream/sim-firehose-delivery-stream.js";
|
|
2
|
+
/**
|
|
3
|
+
* A page of delivery streams cut out of a listing walked in name order.
|
|
4
|
+
*
|
|
5
|
+
* Firehose pages by naming the delivery stream to start after, so a page is
|
|
6
|
+
* whatever follows that name up to the limit.
|
|
7
|
+
*
|
|
8
|
+
* The start is the first name after the one given rather than the position of
|
|
9
|
+
* that name itself. A continuation name whose delivery stream has since been
|
|
10
|
+
* deleted then lands where it belongs in the order. Searching for an exact
|
|
11
|
+
* match would fail to find it and quietly start again from the beginning,
|
|
12
|
+
* which is a repeated first page and a paging loop that never ends.
|
|
13
|
+
*/
|
|
14
|
+
export declare class SimFirehoseDeliveryStreamPage {
|
|
15
|
+
readonly items: readonly SimFirehoseDeliveryStream[];
|
|
16
|
+
readonly hasMore: boolean;
|
|
17
|
+
constructor(all: readonly SimFirehoseDeliveryStream[], after: string | undefined, limit: number);
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=sim-firehose-delivery-stream-page.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-delivery-stream-page.d.ts","sourceRoot":"","sources":["../../../../../src/service/firehose/command/stream/sim-firehose-delivery-stream-page.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,8CAA8C,CAAC;AAE9F;;;;;;;;;;;GAWG;AACH,qBAAa,6BAA6B;IACxC,SAAgB,KAAK,EAAE,SAAS,yBAAyB,EAAE,CAAC;IAC5D,SAAgB,OAAO,EAAE,OAAO,CAAC;IAEjC,YACE,GAAG,EAAE,SAAS,yBAAyB,EAAE,EACzC,KAAK,EAAE,MAAM,GAAG,SAAS,EACzB,KAAK,EAAE,MAAM,EASd;CACF"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A page of delivery streams cut out of a listing walked in name order.
|
|
3
|
+
*
|
|
4
|
+
* Firehose pages by naming the delivery stream to start after, so a page is
|
|
5
|
+
* whatever follows that name up to the limit.
|
|
6
|
+
*
|
|
7
|
+
* The start is the first name after the one given rather than the position of
|
|
8
|
+
* that name itself. A continuation name whose delivery stream has since been
|
|
9
|
+
* deleted then lands where it belongs in the order. Searching for an exact
|
|
10
|
+
* match would fail to find it and quietly start again from the beginning,
|
|
11
|
+
* which is a repeated first page and a paging loop that never ends.
|
|
12
|
+
*/
|
|
13
|
+
export class SimFirehoseDeliveryStreamPage {
|
|
14
|
+
items;
|
|
15
|
+
hasMore;
|
|
16
|
+
constructor(all, after, limit) {
|
|
17
|
+
const remaining = after === undefined
|
|
18
|
+
? all
|
|
19
|
+
: all.filter((deliveryStream) => deliveryStream.name > after);
|
|
20
|
+
this.items = remaining.slice(0, limit);
|
|
21
|
+
this.hasMore = remaining.length > this.items.length;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=sim-firehose-delivery-stream-page.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-delivery-stream-page.js","sourceRoot":"","sources":["../../../../../src/service/firehose/command/stream/sim-firehose-delivery-stream-page.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;GAWG;AACH,MAAM,OAAO,6BAA6B;IACxB,KAAK,CAAuC;IAC5C,OAAO,CAAU;IAEjC,YACE,GAAyC,EACzC,KAAyB,EACzB,KAAa;QAEb,MAAM,SAAS,GACb,KAAK,KAAK,SAAS;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,cAAc,EAAE,EAAE,CAAC,cAAc,CAAC,IAAI,GAAG,KAAK,CAAC,CAAC;QAElE,IAAI,CAAC,KAAK,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC;QACvC,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC;IACtD,CAAC;CACF"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { SimFirehoseDelivery } from "../../delivery/sim-firehose-delivery.js";
|
|
2
|
+
import type { SimFirehoseSourceReading } from "../../source/read/sim-firehose-source-reading.js";
|
|
3
|
+
import type { SimFirehoseDeliveryStreamStore } from "../../stream/sim-firehose-delivery-stream-store.js";
|
|
4
|
+
import type { SimFirehoseDeliveryStreamAccess } from "../sim-firehose-delivery-stream-access.js";
|
|
5
|
+
import type { SimFirehoseRequestOptions } from "../sim-firehose-request-options.js";
|
|
6
|
+
import type { SimDeleteDeliveryStreamCommand, SimDeleteDeliveryStreamCommandOutput, SimDescribeDeliveryStreamCommand, SimDescribeDeliveryStreamCommandOutput, SimListDeliveryStreamsCommand, SimListDeliveryStreamsCommandOutput } from "./stream.command.js";
|
|
7
|
+
interface SimFirehoseStreamCommandsProperties {
|
|
8
|
+
readonly deliveryStreams: SimFirehoseDeliveryStreamStore;
|
|
9
|
+
readonly access: SimFirehoseDeliveryStreamAccess;
|
|
10
|
+
readonly delivery: SimFirehoseDelivery;
|
|
11
|
+
readonly sourceReading: SimFirehoseSourceReading;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* The commands that list, describe and delete delivery streams.
|
|
15
|
+
*/
|
|
16
|
+
export declare class SimFirehoseStreamCommands {
|
|
17
|
+
private readonly deliveryStreams;
|
|
18
|
+
private readonly access;
|
|
19
|
+
private readonly delivery;
|
|
20
|
+
private readonly sourceReading;
|
|
21
|
+
constructor(properties: SimFirehoseStreamCommandsProperties);
|
|
22
|
+
/**
|
|
23
|
+
* List the delivery streams in this scope, by name.
|
|
24
|
+
*
|
|
25
|
+
* Real Firehose gives this action no delivery stream level permission, so it
|
|
26
|
+
* authorizes against every delivery stream in the Account and Region and does
|
|
27
|
+
* not filter the list by what the caller can reach.
|
|
28
|
+
*
|
|
29
|
+
* `DeliveryStreamType` filters the list on real Firehose, and it filters
|
|
30
|
+
* here on the type each delivery stream was created with.
|
|
31
|
+
*/
|
|
32
|
+
listDeliveryStreams(command: SimListDeliveryStreamsCommand, options?: SimFirehoseRequestOptions): SimListDeliveryStreamsCommandOutput;
|
|
33
|
+
/**
|
|
34
|
+
* Describe a delivery stream and its destination.
|
|
35
|
+
*/
|
|
36
|
+
describeDeliveryStream(command: SimDescribeDeliveryStreamCommand, options?: SimFirehoseRequestOptions): SimDescribeDeliveryStreamCommandOutput;
|
|
37
|
+
/**
|
|
38
|
+
* Delete a delivery stream.
|
|
39
|
+
*
|
|
40
|
+
* Whatever it was holding goes with it. Real Firehose delivers the buffer
|
|
41
|
+
* first, and an Object landing after the delivery stream naming it has gone
|
|
42
|
+
* is nothing a test could expect.
|
|
43
|
+
*
|
|
44
|
+
* A delivery stream reading a Kinesis stream stops reading it here. Its place
|
|
45
|
+
* on the stream goes with it, and records put afterwards stay on the stream.
|
|
46
|
+
*/
|
|
47
|
+
deleteDeliveryStream(command: SimDeleteDeliveryStreamCommand, options?: SimFirehoseRequestOptions): SimDeleteDeliveryStreamCommandOutput;
|
|
48
|
+
}
|
|
49
|
+
export {};
|
|
50
|
+
//# sourceMappingURL=sim-firehose-stream-commands.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-stream-commands.d.ts","sourceRoot":"","sources":["../../../../../src/service/firehose/command/stream/sim-firehose-stream-commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,kDAAkD,CAAC;AACjG,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oDAAoD,CAAC;AACzG,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,2CAA2C,CAAC;AACjG,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAGpF,OAAO,KAAK,EACV,8BAA8B,EAC9B,oCAAoC,EACpC,gCAAgC,EAChC,sCAAsC,EACtC,6BAA6B,EAC7B,mCAAmC,EACpC,MAAM,qBAAqB,CAAC;AAQ7B,UAAU,mCAAmC;IAC3C,QAAQ,CAAC,eAAe,EAAE,8BAA8B,CAAC;IACzD,QAAQ,CAAC,MAAM,EAAE,+BAA+B,CAAC;IACjD,QAAQ,CAAC,QAAQ,EAAE,mBAAmB,CAAC;IACvC,QAAQ,CAAC,aAAa,EAAE,wBAAwB,CAAC;CAClD;AAED;;GAEG;AACH,qBAAa,yBAAyB;IACpC,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAiC;IACjE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkC;IACzD,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAsB;IAC/C,OAAO,CAAC,QAAQ,CAAC,aAAa,CAA2B;IAEzD,YAAY,UAAU,EAAE,mCAAmC,EAK1D;IAED;;;;;;;;;OASG;IACH,mBAAmB,CACjB,OAAO,EAAE,6BAA6B,EACtC,OAAO,CAAC,EAAE,yBAAyB,GAClC,mCAAmC,CAoBrC;IAED;;OAEG;IACH,sBAAsB,CACpB,OAAO,EAAE,gCAAgC,EACzC,OAAO,CAAC,EAAE,yBAAyB,GAClC,sCAAsC,CAWxC;IAED;;;;;;;;;OASG;IACH,oBAAoB,CAClB,OAAO,EAAE,8BAA8B,EACvC,OAAO,CAAC,EAAE,yBAAyB,GAClC,oCAAoC,CAYtC;CACF"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { SimFirehoseDeliveryStreamPage } from "./sim-firehose-delivery-stream-page.js";
|
|
2
|
+
import { deliveryStreamDescription } from "./sim-firehose-stream-descriptions.js";
|
|
3
|
+
/**
|
|
4
|
+
* How many delivery streams ListDeliveryStreams reports when a request asks for
|
|
5
|
+
* no limit.
|
|
6
|
+
*/
|
|
7
|
+
const defaultListLimit = 10;
|
|
8
|
+
/**
|
|
9
|
+
* The commands that list, describe and delete delivery streams.
|
|
10
|
+
*/
|
|
11
|
+
export class SimFirehoseStreamCommands {
|
|
12
|
+
deliveryStreams;
|
|
13
|
+
access;
|
|
14
|
+
delivery;
|
|
15
|
+
sourceReading;
|
|
16
|
+
constructor(properties) {
|
|
17
|
+
this.deliveryStreams = properties.deliveryStreams;
|
|
18
|
+
this.access = properties.access;
|
|
19
|
+
this.delivery = properties.delivery;
|
|
20
|
+
this.sourceReading = properties.sourceReading;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* List the delivery streams in this scope, by name.
|
|
24
|
+
*
|
|
25
|
+
* Real Firehose gives this action no delivery stream level permission, so it
|
|
26
|
+
* authorizes against every delivery stream in the Account and Region and does
|
|
27
|
+
* not filter the list by what the caller can reach.
|
|
28
|
+
*
|
|
29
|
+
* `DeliveryStreamType` filters the list on real Firehose, and it filters
|
|
30
|
+
* here on the type each delivery stream was created with.
|
|
31
|
+
*/
|
|
32
|
+
listDeliveryStreams(command, options) {
|
|
33
|
+
this.access.authorizeAny("firehose:ListDeliveryStreams", options);
|
|
34
|
+
const { input } = command;
|
|
35
|
+
const matching = this.deliveryStreams.all.filter((deliveryStream) => input.DeliveryStreamType === undefined ||
|
|
36
|
+
input.DeliveryStreamType === deliveryStream.deliveryStreamType);
|
|
37
|
+
const page = new SimFirehoseDeliveryStreamPage(matching, input.ExclusiveStartDeliveryStreamName, input.Limit ?? defaultListLimit);
|
|
38
|
+
return {
|
|
39
|
+
$metadata: {},
|
|
40
|
+
DeliveryStreamNames: page.items.map((stream) => stream.name),
|
|
41
|
+
HasMoreDeliveryStreams: page.hasMore,
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Describe a delivery stream and its destination.
|
|
46
|
+
*/
|
|
47
|
+
describeDeliveryStream(command, options) {
|
|
48
|
+
const deliveryStream = this.access.require("firehose:DescribeDeliveryStream", command.input.DeliveryStreamName, options);
|
|
49
|
+
return {
|
|
50
|
+
$metadata: {},
|
|
51
|
+
DeliveryStreamDescription: deliveryStreamDescription(deliveryStream),
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Delete a delivery stream.
|
|
56
|
+
*
|
|
57
|
+
* Whatever it was holding goes with it. Real Firehose delivers the buffer
|
|
58
|
+
* first, and an Object landing after the delivery stream naming it has gone
|
|
59
|
+
* is nothing a test could expect.
|
|
60
|
+
*
|
|
61
|
+
* A delivery stream reading a Kinesis stream stops reading it here. Its place
|
|
62
|
+
* on the stream goes with it, and records put afterwards stay on the stream.
|
|
63
|
+
*/
|
|
64
|
+
deleteDeliveryStream(command, options) {
|
|
65
|
+
const deliveryStream = this.access.require("firehose:DeleteDeliveryStream", command.input.DeliveryStreamName, options);
|
|
66
|
+
this.sourceReading.forget(deliveryStream);
|
|
67
|
+
this.delivery.forget(deliveryStream);
|
|
68
|
+
this.deliveryStreams.remove(deliveryStream);
|
|
69
|
+
return { $metadata: {} };
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=sim-firehose-stream-commands.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-stream-commands.js","sourceRoot":"","sources":["../../../../../src/service/firehose/command/stream/sim-firehose-stream-commands.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,wCAAwC,CAAC;AACvF,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAUlF;;;GAGG;AACH,MAAM,gBAAgB,GAAG,EAAE,CAAC;AAS5B;;GAEG;AACH,MAAM,OAAO,yBAAyB;IACnB,eAAe,CAAiC;IAChD,MAAM,CAAkC;IACxC,QAAQ,CAAsB;IAC9B,aAAa,CAA2B;IAEzD,YAAY,UAA+C;QACzD,IAAI,CAAC,eAAe,GAAG,UAAU,CAAC,eAAe,CAAC;QAClD,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;QAChC,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC;QACpC,IAAI,CAAC,aAAa,GAAG,UAAU,CAAC,aAAa,CAAC;IAChD,CAAC;IAED;;;;;;;;;OASG;IACH,mBAAmB,CACjB,OAAsC,EACtC,OAAmC;QAEnC,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,8BAA8B,EAAE,OAAO,CAAC,CAAC;QAElE,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC;QAC1B,MAAM,QAAQ,GAAG,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,MAAM,CAC9C,CAAC,cAAc,EAAE,EAAE,CACjB,KAAK,CAAC,kBAAkB,KAAK,SAAS;YACtC,KAAK,CAAC,kBAAkB,KAAK,cAAc,CAAC,kBAAkB,CACjE,CAAC;QACF,MAAM,IAAI,GAAG,IAAI,6BAA6B,CAC5C,QAAQ,EACR,KAAK,CAAC,gCAAgC,EACtC,KAAK,CAAC,KAAK,IAAI,gBAAgB,CAChC,CAAC;QAEF,OAAO;YACL,SAAS,EAAE,EAAE;YACb,mBAAmB,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC;YAC5D,sBAAsB,EAAE,IAAI,CAAC,OAAO;SACrC,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,sBAAsB,CACpB,OAAyC,EACzC,OAAmC;QAEnC,MAAM,cAAc,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,CACxC,iCAAiC,EACjC,OAAO,CAAC,KAAK,CAAC,kBAAkB,EAChC,OAAO,CACR,CAAC;QAEF,OAAO;YACL,SAAS,EAAE,EAAE;YACb,yBAAyB,EAAE,yBAAyB,CAAC,cAAc,CAAC;SACrE,CAAC;IACJ,CAAC;IAED;;;;;;;;;OASG;IACH,oBAAoB,CAClB,OAAuC,EACvC,OAAmC;QAEnC,MAAM,cAAc,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,CACxC,+BAA+B,EAC/B,OAAO,CAAC,KAAK,CAAC,kBAAkB,EAChC,OAAO,CACR,CAAC;QAEF,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC;QAC1C,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC;QACrC,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC;QAE5C,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;IAC3B,CAAC;CACF"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { SimFirehoseDeliveryStream } from "../../stream/sim-firehose-delivery-stream.js";
|
|
2
|
+
import type { SimFirehoseDeliveryStreamDescription } from "./stream.command.js";
|
|
3
|
+
/**
|
|
4
|
+
* One delivery stream, as DescribeDeliveryStream reports it.
|
|
5
|
+
*/
|
|
6
|
+
export declare function deliveryStreamDescription(deliveryStream: SimFirehoseDeliveryStream): SimFirehoseDeliveryStreamDescription;
|
|
7
|
+
//# sourceMappingURL=sim-firehose-stream-descriptions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-firehose-stream-descriptions.d.ts","sourceRoot":"","sources":["../../../../../src/service/firehose/command/stream/sim-firehose-stream-descriptions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,8CAA8C,CAAC;AAC9F,OAAO,KAAK,EACV,oCAAoC,EAGrC,MAAM,qBAAqB,CAAC;AAkB7B;;GAEG;AACH,wBAAgB,yBAAyB,CACvC,cAAc,EAAE,yBAAyB,GACxC,oCAAoC,CAYtC"}
|