@kensio/yulin 1.20.1 → 1.20.3
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/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/sdk/router/resolve-sim-sdk-command-router.d.ts +8 -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 +10 -0
- package/dist/sdk/router/resolve-sim-sdk-command-router.js.map +1 -1
- package/dist/service/apigateway/api/sim-rest-api-lambda-proxy.factory.d.ts +2 -5
- package/dist/service/apigateway/api/sim-rest-api-lambda-proxy.factory.d.ts.map +1 -1
- package/dist/service/apigateway/api/sim-rest-api-lambda-proxy.factory.js +3 -7
- package/dist/service/apigateway/api/sim-rest-api-lambda-proxy.factory.js.map +1 -1
- package/dist/service/apigateway/api/sim-rest-api-proxy-stage.d.ts +22 -0
- package/dist/service/apigateway/api/sim-rest-api-proxy-stage.d.ts.map +1 -0
- package/dist/service/apigateway/api/sim-rest-api-proxy-stage.js +31 -0
- package/dist/service/apigateway/api/sim-rest-api-proxy-stage.js.map +1 -0
- package/dist/service/apigateway/api/stage/settings/sim-rest-api-method-settings.type.d.ts +19 -0
- package/dist/service/apigateway/api/stage/settings/sim-rest-api-method-settings.type.d.ts.map +1 -0
- package/dist/service/apigateway/api/stage/settings/sim-rest-api-method-settings.type.js +2 -0
- package/dist/service/apigateway/api/stage/settings/sim-rest-api-method-settings.type.js.map +1 -0
- package/dist/service/apigateway/api/stage/settings/sim-rest-api-stage-method-settings.d.ts +43 -0
- package/dist/service/apigateway/api/stage/settings/sim-rest-api-stage-method-settings.d.ts.map +1 -0
- package/dist/service/apigateway/api/stage/settings/sim-rest-api-stage-method-settings.js +75 -0
- package/dist/service/apigateway/api/stage/settings/sim-rest-api-stage-method-settings.js.map +1 -0
- package/dist/service/apigateway/api/stage/sim-rest-api-stage.d.ts +19 -0
- package/dist/service/apigateway/api/stage/sim-rest-api-stage.d.ts.map +1 -1
- package/dist/service/apigateway/api/stage/sim-rest-api-stage.js +22 -0
- package/dist/service/apigateway/api/stage/sim-rest-api-stage.js.map +1 -1
- package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-method-settings-properties.d.ts +33 -0
- package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-method-settings-properties.d.ts.map +1 -0
- package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-method-settings-properties.js +69 -0
- package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-method-settings-properties.js.map +1 -0
- package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-stage-properties.d.ts +4 -1
- package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-stage-properties.d.ts.map +1 -1
- package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-stage-properties.js +13 -4
- package/dist/service/apigateway/cfn/stage/sim-cfn-rest-api-stage-properties.js.map +1 -1
- package/dist/service/apigateway/command/sim-api-gateway-unsimulated-input.d.ts +6 -1
- package/dist/service/apigateway/command/sim-api-gateway-unsimulated-input.d.ts.map +1 -1
- package/dist/service/apigateway/command/sim-api-gateway-unsimulated-input.js +8 -3
- package/dist/service/apigateway/command/sim-api-gateway-unsimulated-input.js.map +1 -1
- package/dist/service/apigateway/command/stage/sim-rest-api-stage-commands.d.ts.map +1 -1
- package/dist/service/apigateway/command/stage/sim-rest-api-stage-commands.js +4 -0
- package/dist/service/apigateway/command/stage/sim-rest-api-stage-commands.js.map +1 -1
- package/dist/service/apigateway/command/stage/sim-rest-api-stage-method-settings-input.d.ts +18 -0
- package/dist/service/apigateway/command/stage/sim-rest-api-stage-method-settings-input.d.ts.map +1 -0
- package/dist/service/apigateway/command/stage/sim-rest-api-stage-method-settings-input.js +42 -0
- package/dist/service/apigateway/command/stage/sim-rest-api-stage-method-settings-input.js.map +1 -0
- package/dist/service/apigateway/command/stage/sim-rest-api-stage-publisher.d.ts +9 -0
- package/dist/service/apigateway/command/stage/sim-rest-api-stage-publisher.d.ts.map +1 -1
- package/dist/service/apigateway/command/stage/sim-rest-api-stage-publisher.js +17 -0
- package/dist/service/apigateway/command/stage/sim-rest-api-stage-publisher.js.map +1 -1
- package/dist/service/apigateway/command/stage/stage.command.d.ts +11 -0
- package/dist/service/apigateway/command/stage/stage.command.d.ts.map +1 -1
- package/dist/service/apigateway/index.d.ts +2 -0
- package/dist/service/apigateway/index.d.ts.map +1 -1
- package/dist/service/apigateway/index.js +1 -0
- package/dist/service/apigateway/index.js.map +1 -1
- package/dist/service/apigateway/serve/sim-api-gateway-controller.d.ts +4 -1
- package/dist/service/apigateway/serve/sim-api-gateway-controller.d.ts.map +1 -1
- package/dist/service/apigateway/serve/sim-api-gateway-controller.js +10 -1
- package/dist/service/apigateway/serve/sim-api-gateway-controller.js.map +1 -1
- package/dist/service/apigateway/serve/sim-api-gateway-error-response.d.ts +8 -0
- package/dist/service/apigateway/serve/sim-api-gateway-error-response.d.ts.map +1 -1
- package/dist/service/apigateway/serve/sim-api-gateway-error-response.js +10 -0
- package/dist/service/apigateway/serve/sim-api-gateway-error-response.js.map +1 -1
- package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.d.ts +5 -0
- package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.d.ts.map +1 -1
- package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.js +4 -0
- package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.js.map +1 -1
- package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-route-settings.type.d.ts +24 -0
- package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-route-settings.type.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-route-settings.type.js +2 -0
- package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-route-settings.type.js.map +1 -0
- package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-stage-route-settings.d.ts +39 -0
- package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-stage-route-settings.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-stage-route-settings.js +74 -0
- package/dist/service/apigatewayv2/api/stage/settings/sim-http-api-stage-route-settings.js.map +1 -0
- package/dist/service/apigatewayv2/api/stage/sim-http-api-stage.d.ts +16 -1
- package/dist/service/apigatewayv2/api/stage/sim-http-api-stage.d.ts.map +1 -1
- package/dist/service/apigatewayv2/api/stage/sim-http-api-stage.js +16 -0
- package/dist/service/apigatewayv2/api/stage/sim-http-api-stage.js.map +1 -1
- package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-route-settings-properties.d.ts +30 -0
- package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-route-settings-properties.d.ts.map +1 -0
- package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-route-settings-properties.js +67 -0
- package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-route-settings-properties.js.map +1 -0
- package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.d.ts +3 -1
- package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.d.ts.map +1 -1
- package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.js +16 -5
- package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.js.map +1 -1
- package/dist/service/apigatewayv2/command/sim-api-gateway-v2-unsimulated-input.d.ts +6 -1
- package/dist/service/apigatewayv2/command/sim-api-gateway-v2-unsimulated-input.d.ts.map +1 -1
- package/dist/service/apigatewayv2/command/sim-api-gateway-v2-unsimulated-input.js +8 -3
- package/dist/service/apigatewayv2/command/sim-api-gateway-v2-unsimulated-input.js.map +1 -1
- package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-commands.d.ts.map +1 -1
- package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-commands.js +8 -0
- package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-commands.js.map +1 -1
- package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-route-settings-input.d.ts +18 -0
- package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-route-settings-input.d.ts.map +1 -0
- package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-route-settings-input.js +32 -0
- package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-route-settings-input.js.map +1 -0
- package/dist/service/apigatewayv2/command/stage/stage.command.d.ts +3 -0
- package/dist/service/apigatewayv2/command/stage/stage.command.d.ts.map +1 -1
- package/dist/service/apigatewayv2/index.d.ts +2 -0
- package/dist/service/apigatewayv2/index.d.ts.map +1 -1
- package/dist/service/apigatewayv2/index.js +1 -0
- package/dist/service/apigatewayv2/index.js.map +1 -1
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.d.ts +4 -1
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.d.ts.map +1 -1
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.js +11 -2
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.js.map +1 -1
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-error-response.d.ts +8 -0
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-error-response.d.ts.map +1 -1
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-error-response.js +10 -0
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-error-response.js.map +1 -1
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts +4 -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 +6 -0
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.js.map +1 -1
- package/dist/service/aws/factory/sim-aws-account-service-cache.d.ts.map +1 -1
- package/dist/service/aws/factory/sim-aws-account-service-cache.js +5 -0
- package/dist/service/aws/factory/sim-aws-account-service-cache.js.map +1 -1
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-error.d.ts +15 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-error.d.ts.map +1 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-error.js +18 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-error.js.map +1 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-properties.d.ts +30 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-properties.d.ts.map +1 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-properties.js +74 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-properties.js.map +1 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reader.d.ts +45 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reader.d.ts.map +1 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reader.js +82 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reader.js.map +1 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reading.d.ts +27 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reading.d.ts.map +1 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reading.js +24 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-reading.js.map +1 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-template.factory.d.ts +39 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-template.factory.d.ts.map +1 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-template.factory.js +42 -0
- package/dist/service/cloudformation/cdk/ssm/cross-region-parameter/sim-cdk-cross-region-parameter-template.factory.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-cross-region-parameter-cfn.d.ts +32 -0
- package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-cross-region-parameter-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-cross-region-parameter-cfn.js +36 -0
- package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-cross-region-parameter-cfn.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-custom-resource-value-adapter.d.ts +14 -0
- package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-custom-resource-value-adapter.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-custom-resource-value-adapter.js +23 -0
- package/dist/service/cloudformation/resource/cfn/cdk/sim-cdk-custom-resource-value-adapter.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/sim-cfn-default-resource-value-adapter.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/cfn/sim-cfn-default-resource-value-adapter.js +2 -1
- package/dist/service/cloudformation/resource/cfn/sim-cfn-default-resource-value-adapter.js.map +1 -1
- package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.d.ts +2 -1
- 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 -1
- package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.js.map +1 -1
- package/dist/service/cloudformation/resource/cfn/sim-cfn-unanswered-attribute.d.ts +23 -0
- package/dist/service/cloudformation/resource/cfn/sim-cfn-unanswered-attribute.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/sim-cfn-unanswered-attribute.js +46 -0
- package/dist/service/cloudformation/resource/cfn/sim-cfn-unanswered-attribute.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.js +1 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.js.map +1 -1
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-custom-resource-factories.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-custom-resource-factories.js +5 -0
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-custom-resource-factories.js.map +1 -1
- 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 +1 -4
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.js.map +1 -1
- package/dist/service/cloudformation/resource/sim-cfn-resource-record.d.ts +7 -0
- package/dist/service/cloudformation/resource/sim-cfn-resource-record.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/sim-cfn-resource-record.js +9 -0
- package/dist/service/cloudformation/resource/sim-cfn-resource-record.js.map +1 -1
- package/dist/service/cloudformation/template/node/fn/join/sim-cfn-fn-join.d.ts +7 -0
- package/dist/service/cloudformation/template/node/fn/join/sim-cfn-fn-join.d.ts.map +1 -1
- package/dist/service/cloudformation/template/node/fn/join/sim-cfn-fn-join.js +9 -1
- package/dist/service/cloudformation/template/node/fn/join/sim-cfn-fn-join.js.map +1 -1
- package/dist/service/cloudfront/behaviour/sim-cloud-front-behavior.d.ts +5 -0
- package/dist/service/cloudfront/behaviour/sim-cloud-front-behavior.d.ts.map +1 -1
- package/dist/service/cloudfront/behaviour/sim-cloud-front-behavior.js.map +1 -1
- package/dist/service/cloudfront/cff/sim-cff-arn.d.ts +13 -0
- package/dist/service/cloudfront/cff/sim-cff-arn.d.ts.map +1 -0
- package/dist/service/cloudfront/cff/sim-cff-arn.js +18 -0
- package/dist/service/cloudfront/cff/sim-cff-arn.js.map +1 -0
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-creator.d.ts +5 -4
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-creator.d.ts.map +1 -1
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-creator.js +14 -5
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-creator.js.map +1 -1
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-edge-associations.d.ts +19 -0
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-edge-associations.d.ts.map +1 -0
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-edge-associations.js +78 -0
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-distro-edge-associations.js.map +1 -0
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-association-skips.d.ts +34 -0
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-association-skips.d.ts.map +1 -0
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-association-skips.js +58 -0
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-association-skips.js.map +1 -0
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-skip-reason.d.ts +26 -0
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-skip-reason.d.ts.map +1 -0
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-skip-reason.js +60 -0
- package/dist/service/cloudfront/cfn/distro/sim-cfn-cf-edge-skip-reason.js.map +1 -0
- package/dist/service/cloudfront/command/create-distribution/create-distribution.command.d.ts +16 -0
- package/dist/service/cloudfront/command/create-distribution/create-distribution.command.d.ts.map +1 -1
- package/dist/service/cloudfront/command/create-distribution/create-distribution.handler.d.ts +3 -0
- package/dist/service/cloudfront/command/create-distribution/create-distribution.handler.d.ts.map +1 -1
- package/dist/service/cloudfront/command/create-distribution/create-distribution.handler.js +11 -4
- package/dist/service/cloudfront/command/create-distribution/create-distribution.handler.js.map +1 -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 +1 -0
- package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.js.map +1 -1
- package/dist/service/cloudfront/command/update-distribution/update-distribution.handler.d.ts +3 -0
- package/dist/service/cloudfront/command/update-distribution/update-distribution.handler.d.ts.map +1 -1
- package/dist/service/cloudfront/command/update-distribution/update-distribution.handler.js +9 -2
- package/dist/service/cloudfront/command/update-distribution/update-distribution.handler.js.map +1 -1
- package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.d.ts +7 -1
- package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.d.ts.map +1 -1
- package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.js +9 -1
- package/dist/service/cloudfront/controller/dependency/sim-cf-controller-dependency.js.map +1 -1
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-applicator.d.ts +40 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-applicator.d.ts.map +1 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-applicator.js +52 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-applicator.js.map +1 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-distribution.d.ts +11 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-distribution.d.ts.map +1 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-distribution.js +14 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-distribution.js.map +1 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-origin-applicator.d.ts +43 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-origin-applicator.d.ts.map +1 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-origin-applicator.js +63 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-origin-applicator.js.map +1 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-run.d.ts +16 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-run.d.ts.map +1 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-run.js +33 -0
- package/dist/service/cloudfront/controller/edge/sim-lambda-edge-run.js.map +1 -0
- package/dist/service/cloudfront/controller/origin/sim-cf-origin-bound-request.d.ts +14 -0
- package/dist/service/cloudfront/controller/origin/sim-cf-origin-bound-request.d.ts.map +1 -0
- package/dist/service/cloudfront/controller/origin/sim-cf-origin-bound-request.js +2 -0
- package/dist/service/cloudfront/controller/origin/sim-cf-origin-bound-request.js.map +1 -0
- package/dist/service/cloudfront/controller/origin/sim-cf-origin-stage.d.ts +45 -0
- package/dist/service/cloudfront/controller/origin/sim-cf-origin-stage.d.ts.map +1 -0
- package/dist/service/cloudfront/controller/origin/sim-cf-origin-stage.js +47 -0
- package/dist/service/cloudfront/controller/origin/sim-cf-origin-stage.js.map +1 -0
- package/dist/service/cloudfront/controller/origin/sim-cloudfront-origin-fetcher.d.ts +6 -1
- package/dist/service/cloudfront/controller/origin/sim-cloudfront-origin-fetcher.d.ts.map +1 -1
- package/dist/service/cloudfront/controller/origin/sim-cloudfront-origin-fetcher.js +6 -2
- package/dist/service/cloudfront/controller/origin/sim-cloudfront-origin-fetcher.js.map +1 -1
- package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.d.ts +9 -3
- package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.d.ts.map +1 -1
- package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.js +36 -9
- package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.js.map +1 -1
- package/dist/service/cloudfront/distribution/configurator/sim-cf-behavior-properties.d.ts.map +1 -1
- package/dist/service/cloudfront/distribution/configurator/sim-cf-behavior-properties.js +2 -0
- package/dist/service/cloudfront/distribution/configurator/sim-cf-behavior-properties.js.map +1 -1
- 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 +1 -0
- package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.js.map +1 -1
- package/dist/service/cloudfront/distribution/sim-cf-distribution-configuration-state.d.ts +5 -2
- package/dist/service/cloudfront/distribution/sim-cf-distribution-configuration-state.d.ts.map +1 -1
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-body.d.ts +24 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-body.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-body.js +51 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-body.js.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-adapter.d.ts +34 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-adapter.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-adapter.js +70 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-adapter.js.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-config.d.ts +16 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-config.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-config.js +14 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-event-config.js.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-headers.d.ts +20 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-headers.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-headers.js +55 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-headers.js.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin-event-adapter.d.ts +51 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin-event-adapter.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin-event-adapter.js +83 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin-event-adapter.js.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin.d.ts +23 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin.js +30 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-origin.js.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-request-adapter.d.ts +39 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-request-adapter.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-request-adapter.js +110 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-request-adapter.js.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-response-adapter.d.ts +26 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-response-adapter.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-response-adapter.js +47 -0
- package/dist/service/cloudfront/edge/adapter/sim-lambda-edge-response-adapter.js.map +1 -0
- package/dist/service/cloudfront/edge/sim-aws-cf-edge-functions.d.ts +44 -0
- package/dist/service/cloudfront/edge/sim-aws-cf-edge-functions.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/sim-aws-cf-edge-functions.js +87 -0
- package/dist/service/cloudfront/edge/sim-aws-cf-edge-functions.js.map +1 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-association-auth-z.d.ts +7 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-association-auth-z.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-association-auth-z.js +27 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-association-auth-z.js.map +1 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-association-checks.d.ts +61 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-association-checks.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-association-checks.js +106 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-association-checks.js.map +1 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-association-validator.d.ts +36 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-association-validator.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-association-validator.js +80 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-association-validator.js.map +1 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-association.d.ts +26 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-association.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-association.js +2 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-association.js.map +1 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-associations-configure.d.ts +14 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-associations-configure.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-associations-configure.js +52 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-associations-configure.js.map +1 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-function-arn.d.ts +28 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-function-arn.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-function-arn.js +71 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-function-arn.js.map +1 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-function-version.d.ts +14 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-function-version.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-function-version.js +16 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-function-version.js.map +1 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-functions.d.ts +25 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-functions.d.ts.map +1 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-functions.js +2 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-functions.js.map +1 -0
- package/dist/service/cloudfront/error/sim-cloudfront.error.d.ts +13 -0
- package/dist/service/cloudfront/error/sim-cloudfront.error.d.ts.map +1 -1
- package/dist/service/cloudfront/error/sim-cloudfront.error.js +15 -0
- package/dist/service/cloudfront/error/sim-cloudfront.error.js.map +1 -1
- package/dist/service/cloudfront/index.d.ts +1 -0
- package/dist/service/cloudfront/index.d.ts.map +1 -1
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-edge.d.ts +27 -0
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-edge.d.ts.map +1 -0
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-edge.js +44 -0
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-edge.js.map +1 -0
- package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.d.ts +23 -3
- 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 +30 -2
- package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.js.map +1 -1
- package/dist/service/cloudfront/origin/s3/sim-cf-s3-origin-edge.d.ts +26 -0
- package/dist/service/cloudfront/origin/s3/sim-cf-s3-origin-edge.d.ts.map +1 -0
- package/dist/service/cloudfront/origin/s3/sim-cf-s3-origin-edge.js +63 -0
- package/dist/service/cloudfront/origin/s3/sim-cf-s3-origin-edge.js.map +1 -0
- package/dist/service/cloudfront/origin/s3/sim-cloudfront-s3-origin.d.ts +17 -2
- package/dist/service/cloudfront/origin/s3/sim-cloudfront-s3-origin.d.ts.map +1 -1
- package/dist/service/cloudfront/origin/s3/sim-cloudfront-s3-origin.js +20 -0
- package/dist/service/cloudfront/origin/s3/sim-cloudfront-s3-origin.js.map +1 -1
- package/dist/service/cloudfront/origin/sim-cf-edge-origin-not-simulated.error.d.ts +15 -0
- package/dist/service/cloudfront/origin/sim-cf-edge-origin-not-simulated.error.d.ts.map +1 -0
- package/dist/service/cloudfront/origin/sim-cf-edge-origin-not-simulated.error.js +15 -0
- package/dist/service/cloudfront/origin/sim-cf-edge-origin-not-simulated.error.js.map +1 -0
- package/dist/service/cloudfront/origin/sim-cloudfront-origin.d.ts +13 -0
- package/dist/service/cloudfront/origin/sim-cloudfront-origin.d.ts.map +1 -1
- package/dist/service/cloudfront/sim-cloudfront-commands.d.ts +10 -0
- package/dist/service/cloudfront/sim-cloudfront-commands.d.ts.map +1 -1
- package/dist/service/cloudfront/sim-cloudfront-commands.js +10 -1
- package/dist/service/cloudfront/sim-cloudfront-commands.js.map +1 -1
- package/dist/service/cloudfront/sim-cloudfront.d.ts.map +1 -1
- package/dist/service/cloudfront/sim-cloudfront.js +3 -8
- package/dist/service/cloudfront/sim-cloudfront.js.map +1 -1
- package/dist/service/cloudfront/typings/lambda-at-edge.namespace.d.ts +159 -0
- package/dist/service/cloudfront/typings/lambda-at-edge.namespace.d.ts.map +1 -0
- package/dist/service/cloudfront/typings/lambda-at-edge.namespace.js +2 -0
- package/dist/service/cloudfront/typings/lambda-at-edge.namespace.js.map +1 -0
- package/dist/service/lambda/function/environment/sim-lambda-environment.d.ts +22 -20
- package/dist/service/lambda/function/environment/sim-lambda-environment.d.ts.map +1 -1
- package/dist/service/lambda/function/environment/sim-lambda-environment.js +27 -29
- package/dist/service/lambda/function/environment/sim-lambda-environment.js.map +1 -1
- package/dist/service/lambda/function/environment/sim-lambda-host-backed-variables.d.ts +28 -0
- package/dist/service/lambda/function/environment/sim-lambda-host-backed-variables.d.ts.map +1 -0
- package/dist/service/lambda/function/environment/sim-lambda-host-backed-variables.js +49 -0
- package/dist/service/lambda/function/environment/sim-lambda-host-backed-variables.js.map +1 -0
- package/dist/service/lambda/function/environment/sim-lambda-runtime-variables.d.ts +18 -0
- package/dist/service/lambda/function/environment/sim-lambda-runtime-variables.d.ts.map +1 -0
- package/dist/service/lambda/function/environment/sim-lambda-runtime-variables.js +23 -0
- package/dist/service/lambda/function/environment/sim-lambda-runtime-variables.js.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-cfn-step-functions-resource-deleter.d.ts +2 -2
- package/dist/service/stepfunctions/cfn/sim-cfn-step-functions-resource-deleter.d.ts.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-cfn-step-functions-resource-deleter.js +1 -1
- package/dist/service/stepfunctions/cfn/sim-cfn-step-functions-resource-deleter.js.map +1 -0
- package/dist/service/stepfunctions/cfn/sim-cfn-step-functions-resource-error.d.ts.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-cfn-step-functions-resource-error.js +1 -1
- package/dist/service/stepfunctions/cfn/sim-cfn-step-functions-resource-error.js.map +1 -0
- package/dist/service/stepfunctions/cfn/sim-cfn-step-functions-resource-types.d.ts.map +1 -0
- package/dist/service/stepfunctions/cfn/sim-cfn-step-functions-resource-types.js.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-step-functions-cfn-resource-factory.d.ts +6 -3
- package/dist/service/stepfunctions/cfn/sim-step-functions-cfn-resource-factory.d.ts.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-step-functions-cfn-resource-factory.js +2 -1
- package/dist/service/stepfunctions/cfn/sim-step-functions-cfn-resource-factory.js.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-creator.d.ts +7 -4
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-creator.d.ts.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-creator.js +9 -4
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-creator.js.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-definition.d.ts +12 -13
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-definition.d.ts.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-definition.js +30 -28
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-definition.js.map +1 -0
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-name.d.ts.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-name.js +1 -1
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-name.js.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-properties.d.ts +11 -3
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-properties.d.ts.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-properties.js +18 -5
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-properties.js.map +1 -0
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-property-names.d.ts.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-property-names.js +0 -5
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-property-names.js.map +1 -0
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-s3-definition.d.ts +37 -0
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-s3-definition.d.ts.map +1 -0
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-s3-definition.js +63 -0
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-s3-definition.js.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-substitutions.d.ts +1 -1
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-substitutions.d.ts.map +1 -0
- package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-substitutions.js +3 -3
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-substitutions.js.map +1 -0
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-tags.d.ts +33 -0
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-tags.d.ts.map +1 -0
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-tags.js +58 -0
- package/dist/service/stepfunctions/cfn/state-machine/sim-cfn-state-machine-tags.js.map +1 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-start.d.ts.map +1 -1
- package/dist/service/stepfunctions/command/execution/sim-states-execution-start.js +15 -4
- package/dist/service/stepfunctions/command/execution/sim-states-execution-start.js.map +1 -1
- package/dist/service/stepfunctions/command/machine/machine.command.d.ts +2 -0
- package/dist/service/stepfunctions/command/machine/machine.command.d.ts.map +1 -1
- package/dist/service/stepfunctions/command/machine/sim-state-machine-input.d.ts +2 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-input.d.ts.map +1 -1
- package/dist/service/stepfunctions/command/machine/sim-state-machine-input.js +3 -1
- package/dist/service/stepfunctions/command/machine/sim-state-machine-input.js.map +1 -1
- package/dist/service/stepfunctions/command/sim-step-functions-command.types.d.ts +1 -0
- package/dist/service/stepfunctions/command/sim-step-functions-command.types.d.ts.map +1 -1
- package/dist/service/stepfunctions/command/tag/sim-state-machine-tag-commands.d.ts +36 -0
- package/dist/service/stepfunctions/command/tag/sim-state-machine-tag-commands.d.ts.map +1 -0
- package/dist/service/stepfunctions/command/tag/sim-state-machine-tag-commands.js +76 -0
- package/dist/service/stepfunctions/command/tag/sim-state-machine-tag-commands.js.map +1 -0
- package/dist/service/stepfunctions/command/tag/tag.command.d.ts +46 -0
- package/dist/service/stepfunctions/command/tag/tag.command.d.ts.map +1 -0
- package/dist/service/stepfunctions/command/tag/tag.command.js +2 -0
- package/dist/service/stepfunctions/command/tag/tag.command.js.map +1 -0
- package/dist/service/stepfunctions/data/sim-states-context-object.d.ts +45 -0
- package/dist/service/stepfunctions/data/sim-states-context-object.d.ts.map +1 -0
- package/dist/service/stepfunctions/data/sim-states-context-object.js +48 -0
- package/dist/service/stepfunctions/data/sim-states-context-object.js.map +1 -0
- package/dist/service/stepfunctions/data/sim-states-context-path.d.ts +22 -0
- package/dist/service/stepfunctions/data/sim-states-context-path.d.ts.map +1 -0
- package/dist/service/stepfunctions/data/sim-states-context-path.js +30 -0
- package/dist/service/stepfunctions/data/sim-states-context-path.js.map +1 -0
- package/dist/service/stepfunctions/data/sim-states-data-flow.d.ts +3 -2
- package/dist/service/stepfunctions/data/sim-states-data-flow.d.ts.map +1 -1
- package/dist/service/stepfunctions/data/sim-states-data-flow.js +10 -9
- package/dist/service/stepfunctions/data/sim-states-data-flow.js.map +1 -1
- package/dist/service/stepfunctions/data/sim-states-intrinsic.d.ts +1 -1
- package/dist/service/stepfunctions/data/sim-states-intrinsic.d.ts.map +1 -1
- package/dist/service/stepfunctions/data/sim-states-intrinsic.js +6 -7
- package/dist/service/stepfunctions/data/sim-states-intrinsic.js.map +1 -1
- package/dist/service/stepfunctions/data/sim-states-payload-template.d.ts +9 -6
- package/dist/service/stepfunctions/data/sim-states-payload-template.d.ts.map +1 -1
- package/dist/service/stepfunctions/data/sim-states-payload-template.js +16 -14
- package/dist/service/stepfunctions/data/sim-states-payload-template.js.map +1 -1
- package/dist/service/stepfunctions/data/sim-states-reference-path.d.ts.map +1 -1
- package/dist/service/stepfunctions/data/sim-states-reference-path.js +4 -2
- package/dist/service/stepfunctions/data/sim-states-reference-path.js.map +1 -1
- package/dist/service/stepfunctions/definition/sim-states-definition-parse.d.ts +8 -0
- package/dist/service/stepfunctions/definition/sim-states-definition-parse.d.ts.map +1 -1
- package/dist/service/stepfunctions/definition/sim-states-definition-parse.js +9 -1
- package/dist/service/stepfunctions/definition/sim-states-definition-parse.js.map +1 -1
- package/dist/service/stepfunctions/definition/sim-states-map-fields.d.ts +23 -0
- package/dist/service/stepfunctions/definition/sim-states-map-fields.d.ts.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-map-fields.js +60 -0
- package/dist/service/stepfunctions/definition/sim-states-map-fields.js.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-map-parse.d.ts +12 -0
- package/dist/service/stepfunctions/definition/sim-states-map-parse.d.ts.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-map-parse.js +56 -0
- package/dist/service/stepfunctions/definition/sim-states-map-parse.js.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-map-processor.d.ts +11 -0
- package/dist/service/stepfunctions/definition/sim-states-map-processor.d.ts.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-map-processor.js +62 -0
- package/dist/service/stepfunctions/definition/sim-states-map-processor.js.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-nested-refusal.d.ts +14 -0
- package/dist/service/stepfunctions/definition/sim-states-nested-refusal.d.ts.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-nested-refusal.js +23 -0
- package/dist/service/stepfunctions/definition/sim-states-nested-refusal.js.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-parallel-parse.d.ts +10 -0
- package/dist/service/stepfunctions/definition/sim-states-parallel-parse.d.ts.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-parallel-parse.js +50 -0
- package/dist/service/stepfunctions/definition/sim-states-parallel-parse.js.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-state-fields.d.ts.map +1 -1
- package/dist/service/stepfunctions/definition/sim-states-state-fields.js +5 -0
- package/dist/service/stepfunctions/definition/sim-states-state-fields.js.map +1 -1
- package/dist/service/stepfunctions/definition/sim-states-state-parse.d.ts.map +1 -1
- package/dist/service/stepfunctions/definition/sim-states-state-parse.js +15 -7
- package/dist/service/stepfunctions/definition/sim-states-state-parse.js.map +1 -1
- package/dist/service/stepfunctions/definition/sim-states-state.d.ts +35 -11
- package/dist/service/stepfunctions/definition/sim-states-state.d.ts.map +1 -1
- package/dist/service/stepfunctions/definition/sim-states-state.js +1 -15
- package/dist/service/stepfunctions/definition/sim-states-state.js.map +1 -1
- package/dist/service/stepfunctions/definition/sim-states-transitions.d.ts.map +1 -1
- package/dist/service/stepfunctions/definition/sim-states-transitions.js +14 -0
- package/dist/service/stepfunctions/definition/sim-states-transitions.js.map +1 -1
- package/dist/service/stepfunctions/definition/store/sim-s3-states-definition-store.d.ts +45 -0
- package/dist/service/stepfunctions/definition/store/sim-s3-states-definition-store.d.ts.map +1 -0
- package/dist/service/stepfunctions/definition/store/sim-s3-states-definition-store.js +58 -0
- package/dist/service/stepfunctions/definition/store/sim-s3-states-definition-store.js.map +1 -0
- package/dist/service/stepfunctions/definition/store/sim-states-definition-store.d.ts +34 -0
- package/dist/service/stepfunctions/definition/store/sim-states-definition-store.d.ts.map +1 -0
- package/dist/service/stepfunctions/definition/store/sim-states-definition-store.js +14 -0
- package/dist/service/stepfunctions/definition/store/sim-states-definition-store.js.map +1 -0
- package/dist/service/stepfunctions/error/sim-step-functions.error.d.ts +36 -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 +42 -0
- package/dist/service/stepfunctions/error/sim-step-functions.error.js.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-attempt.d.ts +16 -0
- package/dist/service/stepfunctions/execution/sim-states-attempt.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-attempt.js +2 -0
- package/dist/service/stepfunctions/execution/sim-states-attempt.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-child-failure.d.ts +11 -0
- package/dist/service/stepfunctions/execution/sim-states-child-failure.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-child-failure.js +20 -0
- package/dist/service/stepfunctions/execution/sim-states-child-failure.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-child-run.d.ts +55 -0
- package/dist/service/stepfunctions/execution/sim-states-child-run.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-child-run.js +86 -0
- package/dist/service/stepfunctions/execution/sim-states-child-run.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-child-runs.d.ts +69 -0
- package/dist/service/stepfunctions/execution/sim-states-child-runs.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-child-runs.js +114 -0
- package/dist/service/stepfunctions/execution/sim-states-child-runs.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-child-walk.d.ts +43 -0
- package/dist/service/stepfunctions/execution/sim-states-child-walk.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-child-walk.js +2 -0
- package/dist/service/stepfunctions/execution/sim-states-child-walk.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-child.d.ts +41 -0
- package/dist/service/stepfunctions/execution/sim-states-child.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-child.js +2 -0
- package/dist/service/stepfunctions/execution/sim-states-child.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-execution.d.ts +32 -3
- package/dist/service/stepfunctions/execution/sim-states-execution.d.ts.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-execution.js +42 -2
- package/dist/service/stepfunctions/execution/sim-states-execution.js.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-fan-out-outcome.d.ts +19 -0
- package/dist/service/stepfunctions/execution/sim-states-fan-out-outcome.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-fan-out-outcome.js +15 -0
- package/dist/service/stepfunctions/execution/sim-states-fan-out-outcome.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-fan-out.d.ts +46 -0
- package/dist/service/stepfunctions/execution/sim-states-fan-out.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-fan-out.js +106 -0
- package/dist/service/stepfunctions/execution/sim-states-fan-out.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-interpreter.d.ts +18 -11
- package/dist/service/stepfunctions/execution/sim-states-interpreter.d.ts.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-interpreter.js +55 -65
- package/dist/service/stepfunctions/execution/sim-states-interpreter.js.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-map-items.d.ts +13 -0
- package/dist/service/stepfunctions/execution/sim-states-map-items.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-map-items.js +38 -0
- package/dist/service/stepfunctions/execution/sim-states-map-items.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-map-iteration.d.ts +32 -0
- package/dist/service/stepfunctions/execution/sim-states-map-iteration.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-map-iteration.js +37 -0
- package/dist/service/stepfunctions/execution/sim-states-map-iteration.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-choice.d.ts.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-run-choice.js +2 -2
- package/dist/service/stepfunctions/execution/sim-states-run-choice.js.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-run-map.d.ts +12 -0
- package/dist/service/stepfunctions/execution/sim-states-run-map.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-map.js +25 -0
- package/dist/service/stepfunctions/execution/sim-states-run-map.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-parallel.d.ts +16 -0
- package/dist/service/stepfunctions/execution/sim-states-run-parallel.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-parallel.js +31 -0
- package/dist/service/stepfunctions/execution/sim-states-run-parallel.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-record.d.ts +47 -0
- package/dist/service/stepfunctions/execution/sim-states-run-record.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-record.js +2 -0
- package/dist/service/stepfunctions/execution/sim-states-run-record.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-state.d.ts +4 -3
- package/dist/service/stepfunctions/execution/sim-states-run-state.d.ts.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-run-state.js +20 -11
- package/dist/service/stepfunctions/execution/sim-states-run-state.js.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-run-task.d.ts.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-run-task.js +2 -2
- package/dist/service/stepfunctions/execution/sim-states-run-task.js.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-run-wait.d.ts.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-run-wait.js +2 -2
- package/dist/service/stepfunctions/execution/sim-states-run-wait.js.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-settlement.d.ts +7 -3
- package/dist/service/stepfunctions/execution/sim-states-settlement.d.ts.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-settlement.js +11 -5
- package/dist/service/stepfunctions/execution/sim-states-settlement.js.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-state-attempts.d.ts +37 -0
- package/dist/service/stepfunctions/execution/sim-states-state-attempts.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-state-attempts.js +112 -0
- package/dist/service/stepfunctions/execution/sim-states-state-attempts.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-state-outcome.d.ts +69 -15
- package/dist/service/stepfunctions/execution/sim-states-state-outcome.d.ts.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-state-runner.d.ts +26 -12
- package/dist/service/stepfunctions/execution/sim-states-state-runner.d.ts.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-state-runner.js +55 -15
- package/dist/service/stepfunctions/execution/sim-states-state-runner.js.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-walk-steps.d.ts +19 -0
- package/dist/service/stepfunctions/execution/sim-states-walk-steps.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-walk-steps.js +35 -0
- package/dist/service/stepfunctions/execution/sim-states-walk-steps.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-walk.d.ts +19 -0
- package/dist/service/stepfunctions/execution/sim-states-walk.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-walk.js +2 -0
- package/dist/service/stepfunctions/execution/sim-states-walk.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-walks.d.ts +25 -0
- package/dist/service/stepfunctions/execution/sim-states-walks.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-walks.js +25 -0
- package/dist/service/stepfunctions/execution/sim-states-walks.js.map +1 -0
- package/dist/service/stepfunctions/index.d.ts +10 -3
- package/dist/service/stepfunctions/index.d.ts.map +1 -1
- package/dist/service/stepfunctions/index.js +4 -2
- package/dist/service/stepfunctions/index.js.map +1 -1
- package/dist/service/stepfunctions/machine/sim-state-machine-tag.d.ts +43 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-tag.d.ts.map +1 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-tag.js +111 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-tag.js.map +1 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-tags.d.ts +39 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-tags.d.ts.map +1 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-tags.js +80 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-tags.js.map +1 -0
- package/dist/service/stepfunctions/machine/sim-state-machine.d.ts +6 -0
- package/dist/service/stepfunctions/machine/sim-state-machine.d.ts.map +1 -1
- package/dist/service/stepfunctions/machine/sim-state-machine.js +5 -0
- package/dist/service/stepfunctions/machine/sim-state-machine.js.map +1 -1
- package/dist/service/stepfunctions/retry/sim-states-attempt-state.d.ts +37 -0
- package/dist/service/stepfunctions/retry/sim-states-attempt-state.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-attempt-state.js +38 -0
- package/dist/service/stepfunctions/retry/sim-states-attempt-state.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-catch-outcome.d.ts +11 -0
- package/dist/service/stepfunctions/retry/sim-states-catch-outcome.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-catch-outcome.js +20 -0
- package/dist/service/stepfunctions/retry/sim-states-catch-outcome.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-catch-parse.d.ts +11 -0
- package/dist/service/stepfunctions/retry/sim-states-catch-parse.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-catch-parse.js +49 -0
- package/dist/service/stepfunctions/retry/sim-states-catch-parse.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-catcher.d.ts +29 -0
- package/dist/service/stepfunctions/retry/sim-states-catcher.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-catcher.js +31 -0
- package/dist/service/stepfunctions/retry/sim-states-catcher.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-error-equals.d.ts +19 -0
- package/dist/service/stepfunctions/retry/sim-states-error-equals.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-error-equals.js +69 -0
- package/dist/service/stepfunctions/retry/sim-states-error-equals.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-error-handling.d.ts +31 -0
- package/dist/service/stepfunctions/retry/sim-states-error-handling.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-error-handling.js +40 -0
- package/dist/service/stepfunctions/retry/sim-states-error-handling.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-error-name.d.ts +29 -0
- package/dist/service/stepfunctions/retry/sim-states-error-name.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-error-name.js +34 -0
- package/dist/service/stepfunctions/retry/sim-states-error-name.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-recover.d.ts +31 -0
- package/dist/service/stepfunctions/retry/sim-states-recover.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-recover.js +23 -0
- package/dist/service/stepfunctions/retry/sim-states-recover.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-recovered.d.ts +22 -0
- package/dist/service/stepfunctions/retry/sim-states-recovered.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-recovered.js +33 -0
- package/dist/service/stepfunctions/retry/sim-states-recovered.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-retrier.d.ts +35 -0
- package/dist/service/stepfunctions/retry/sim-states-retrier.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-retrier.js +31 -0
- package/dist/service/stepfunctions/retry/sim-states-retrier.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-retry-outcome.d.ts +12 -0
- package/dist/service/stepfunctions/retry/sim-states-retry-outcome.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-retry-outcome.js +44 -0
- package/dist/service/stepfunctions/retry/sim-states-retry-outcome.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-retry-parse.d.ts +11 -0
- package/dist/service/stepfunctions/retry/sim-states-retry-parse.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-retry-parse.js +76 -0
- package/dist/service/stepfunctions/retry/sim-states-retry-parse.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-task-deadline.d.ts +43 -0
- package/dist/service/stepfunctions/retry/sim-states-task-deadline.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-task-deadline.js +76 -0
- package/dist/service/stepfunctions/retry/sim-states-task-deadline.js.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-task-handling.d.ts +11 -0
- package/dist/service/stepfunctions/retry/sim-states-task-handling.d.ts.map +1 -0
- package/dist/service/stepfunctions/retry/sim-states-task-handling.js +2 -0
- package/dist/service/stepfunctions/retry/sim-states-task-handling.js.map +1 -0
- package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.d.ts.map +1 -1
- package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.js +12 -0
- package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.js.map +1 -1
- package/dist/service/stepfunctions/sim-step-functions-inspection.d.ts +28 -0
- package/dist/service/stepfunctions/sim-step-functions-inspection.d.ts.map +1 -1
- package/dist/service/stepfunctions/sim-step-functions-inspection.js +38 -0
- package/dist/service/stepfunctions/sim-step-functions-inspection.js.map +1 -1
- package/dist/service/stepfunctions/sim-step-functions.d.ts +17 -0
- package/dist/service/stepfunctions/sim-step-functions.d.ts.map +1 -1
- package/dist/service/stepfunctions/sim-step-functions.js +31 -1
- package/dist/service/stepfunctions/sim-step-functions.js.map +1 -1
- package/dist/service/stepfunctions/task/service/sim-states-optimized-integrations.d.ts +36 -0
- package/dist/service/stepfunctions/task/service/sim-states-optimized-integrations.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-optimized-integrations.js +115 -0
- package/dist/service/stepfunctions/task/service/sim-states-optimized-integrations.js.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-call.d.ts +25 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-call.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-call.js +51 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-call.js.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-failure.d.ts +17 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-failure.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-failure.js +43 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-failure.js.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-name.d.ts +42 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-name.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-name.js +74 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-name.js.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-resource.d.ts +10 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-resource.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-resource.js +79 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-resource.js.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-shape.d.ts +27 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-shape.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-shape.js +2 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-shape.js.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-target.d.ts +33 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-target.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-target.js +60 -0
- package/dist/service/stepfunctions/task/service/sim-states-service-target.js.map +1 -0
- package/dist/service/stepfunctions/task/sim-aws-states-task-targets.d.ts +11 -9
- package/dist/service/stepfunctions/task/sim-aws-states-task-targets.d.ts.map +1 -1
- package/dist/service/stepfunctions/task/sim-aws-states-task-targets.js +16 -20
- package/dist/service/stepfunctions/task/sim-aws-states-task-targets.js.map +1 -1
- package/dist/service/stepfunctions/task/sim-states-function-arn-target.d.ts +2 -2
- package/dist/service/stepfunctions/task/sim-states-function-arn-target.d.ts.map +1 -1
- package/dist/service/stepfunctions/task/sim-states-function-arn-target.js +2 -2
- package/dist/service/stepfunctions/task/sim-states-function-arn-target.js.map +1 -1
- package/dist/service/stepfunctions/task/sim-states-lambda-invoke-parameters.d.ts +9 -0
- package/dist/service/stepfunctions/task/sim-states-lambda-invoke-parameters.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-lambda-invoke-parameters.js +37 -0
- package/dist/service/stepfunctions/task/sim-states-lambda-invoke-parameters.js.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.d.ts +2 -2
- package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.d.ts.map +1 -1
- package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.js +2 -2
- package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.js.map +1 -1
- package/dist/service/stepfunctions/task/sim-states-lambda-target.d.ts +38 -0
- package/dist/service/stepfunctions/task/sim-states-lambda-target.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-lambda-target.js +37 -0
- package/dist/service/stepfunctions/task/sim-states-lambda-target.js.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-task-fields.d.ts +6 -5
- package/dist/service/stepfunctions/task/sim-states-task-fields.d.ts.map +1 -1
- package/dist/service/stepfunctions/task/sim-states-task-fields.js +9 -10
- package/dist/service/stepfunctions/task/sim-states-task-fields.js.map +1 -1
- package/dist/service/stepfunctions/task/sim-states-task-function.d.ts +2 -2
- package/dist/service/stepfunctions/task/sim-states-task-function.d.ts.map +1 -1
- package/dist/service/stepfunctions/task/sim-states-task-resource.d.ts +2 -2
- package/dist/service/stepfunctions/task/sim-states-task-resource.d.ts.map +1 -1
- package/dist/service/stepfunctions/task/sim-states-task-resource.js +16 -40
- package/dist/service/stepfunctions/task/sim-states-task-resource.js.map +1 -1
- package/dist/service/stepfunctions/task/sim-states-task-target.d.ts +33 -17
- package/dist/service/stepfunctions/task/sim-states-task-target.d.ts.map +1 -1
- package/dist/service/stepfunctions/task/sim-states-task-target.js +4 -5
- package/dist/service/stepfunctions/task/sim-states-task-target.js.map +1 -1
- package/dist/util/process/sim-process-environment.d.ts +9 -0
- package/dist/util/process/sim-process-environment.d.ts.map +1 -1
- package/dist/util/process/sim-process-environment.js +17 -0
- package/dist/util/process/sim-process-environment.js.map +1 -1
- package/dist/util/throttle/sim-token-bucket.d.ts +32 -0
- package/dist/util/throttle/sim-token-bucket.d.ts.map +1 -0
- package/dist/util/throttle/sim-token-bucket.js +53 -0
- package/dist/util/throttle/sim-token-bucket.js.map +1 -0
- package/package.json +3 -2
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.d.ts.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.js.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.d.ts.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.js.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.d.ts.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.js.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.d.ts.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.js.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.d.ts.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.js.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.d.ts.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.js.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.d.ts.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.js.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.d.ts.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.js.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.d.ts.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.js.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.d.ts.map +0 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.js.map +0 -1
- /package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-cfn-step-functions-resource-error.d.ts +0 -0
- /package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-cfn-step-functions-resource-types.d.ts +0 -0
- /package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn}/sim-cfn-step-functions-resource-types.js +0 -0
- /package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-name.d.ts +0 -0
- /package/dist/service/{cloudformation/resource/cfn/stepfunctions → stepfunctions/cfn/state-machine}/sim-cfn-state-machine-property-names.d.ts +0 -0
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { SimStatesInvalidTag } from "../error/sim-step-functions.error.js";
|
|
2
|
+
/**
|
|
3
|
+
* Real Step Functions takes a tag key of up to 128 characters, and a value of
|
|
4
|
+
* up to 256. A value may be empty, where a key may not.
|
|
5
|
+
*/
|
|
6
|
+
const greatestKeyLength = 128;
|
|
7
|
+
const greatestValueLength = 256;
|
|
8
|
+
/**
|
|
9
|
+
* The characters a tag is written with: letters, digits, whitespace and a few
|
|
10
|
+
* punctuation marks.
|
|
11
|
+
*
|
|
12
|
+
* Step Functions takes `@`, which some other AWS services leave out of their
|
|
13
|
+
* own tag character set.
|
|
14
|
+
*/
|
|
15
|
+
const allowedCharacters = /^[\p{L}\p{N}\s+\-=._:/@]*$/u;
|
|
16
|
+
/**
|
|
17
|
+
* The prefix AWS assigns tags under, which a caller may not.
|
|
18
|
+
*
|
|
19
|
+
* Reserved in a value as well as in a key. The AWS tagging restrictions put
|
|
20
|
+
* both out of a caller's reach, and Step Functions holds its own tags to them.
|
|
21
|
+
*/
|
|
22
|
+
const reservedPrefix = "aws:";
|
|
23
|
+
/**
|
|
24
|
+
* One tag on a simulated state machine.
|
|
25
|
+
*
|
|
26
|
+
* A tag is a key and a value, both checked on the way in. What makes a key or
|
|
27
|
+
* a value acceptable is here rather than in the commands, so a tag that
|
|
28
|
+
* arrived with `CreateStateMachine` is held to what a tag from `TagResource`
|
|
29
|
+
* is.
|
|
30
|
+
*/
|
|
31
|
+
export class SimStateMachineTag {
|
|
32
|
+
key;
|
|
33
|
+
value;
|
|
34
|
+
constructor(key, value) {
|
|
35
|
+
this.key = key;
|
|
36
|
+
this.value = value;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Read a tag a request carries.
|
|
40
|
+
*/
|
|
41
|
+
static fromInput(input) {
|
|
42
|
+
const key = readKey(input.key);
|
|
43
|
+
return new this(key, readValue(input.value, key));
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Report this tag the way Step Functions reports it.
|
|
47
|
+
*/
|
|
48
|
+
toTag() {
|
|
49
|
+
return { key: this.key, value: this.value };
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Read the key a tag is held under.
|
|
54
|
+
*/
|
|
55
|
+
function readKey(key) {
|
|
56
|
+
if (key === undefined || key === "") {
|
|
57
|
+
throw new SimStatesInvalidTag("A tag requires a key of at least one character.");
|
|
58
|
+
}
|
|
59
|
+
if (key.length > greatestKeyLength) {
|
|
60
|
+
throw new SimStatesInvalidTag(`The tag key '${key}' is ${key.length.toString()} characters, where ` +
|
|
61
|
+
`${greatestKeyLength.toString()} is the most a tag key holds.`);
|
|
62
|
+
}
|
|
63
|
+
if (key.startsWith(reservedPrefix)) {
|
|
64
|
+
throw new SimStatesInvalidTag(`The tag key '${key}' begins with the reserved ${reservedPrefix} ` +
|
|
65
|
+
"prefix, which AWS assigns tags of its own under.");
|
|
66
|
+
}
|
|
67
|
+
assertWritable(key, `The tag key '${key}'`);
|
|
68
|
+
return key;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Read every tag a request carries.
|
|
72
|
+
*
|
|
73
|
+
* The whole list is read before a caller acts on any of it, so a request with
|
|
74
|
+
* one bad tag in it changes nothing.
|
|
75
|
+
*/
|
|
76
|
+
export function readSimStatesTags(input) {
|
|
77
|
+
return input.map((entry) => SimStateMachineTag.fromInput(entry));
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Read the value a tag holds.
|
|
81
|
+
*
|
|
82
|
+
* A tag value may be empty, where a key may not. Step Functions takes a key on
|
|
83
|
+
* its own as a label with nothing to say about it.
|
|
84
|
+
*/
|
|
85
|
+
function readValue(value, key) {
|
|
86
|
+
if (value === undefined) {
|
|
87
|
+
throw new SimStatesInvalidTag(`The tag '${key}' requires a value, which may be empty.`);
|
|
88
|
+
}
|
|
89
|
+
if (value.length > greatestValueLength) {
|
|
90
|
+
throw new SimStatesInvalidTag(`The value of the tag '${key}' is ${value.length.toString()} ` +
|
|
91
|
+
`characters, where ${greatestValueLength.toString()} is the most a ` +
|
|
92
|
+
"tag value holds.");
|
|
93
|
+
}
|
|
94
|
+
if (value.startsWith(reservedPrefix)) {
|
|
95
|
+
throw new SimStatesInvalidTag(`The value of the tag '${key}' begins with the reserved ` +
|
|
96
|
+
`${reservedPrefix} prefix, which AWS assigns tags of its own under.`);
|
|
97
|
+
}
|
|
98
|
+
assertWritable(value, `The value of the tag '${key}'`);
|
|
99
|
+
return value;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Refuse text with a character a tag is not written with.
|
|
103
|
+
*/
|
|
104
|
+
function assertWritable(text, subject) {
|
|
105
|
+
if (allowedCharacters.test(text)) {
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
throw new SimStatesInvalidTag(`${subject} has a character a tag does not take. Letters, digits, ` +
|
|
109
|
+
"whitespace and + - = . _ : / @ are what a tag is written with.");
|
|
110
|
+
}
|
|
111
|
+
//# sourceMappingURL=sim-state-machine-tag.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-state-machine-tag.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/machine/sim-state-machine-tag.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAE3E;;;GAGG;AACH,MAAM,iBAAiB,GAAG,GAAG,CAAC;AAC9B,MAAM,mBAAmB,GAAG,GAAG,CAAC;AAEhC;;;;;;GAMG;AACH,MAAM,iBAAiB,GAAG,6BAA6B,CAAC;AAExD;;;;;GAKG;AACH,MAAM,cAAc,GAAG,MAAM,CAAC;AAE9B;;;;;;;GAOG;AACH,MAAM,OAAO,kBAAkB;IACpB,GAAG,CAAS;IACZ,KAAK,CAAS;IAEvB,YAAoB,GAAW,EAAE,KAAa;QAC5C,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,SAAS,CAAC,KAAwB;QACvC,MAAM,GAAG,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAE/B,OAAO,IAAI,IAAI,CAAC,GAAG,EAAE,SAAS,CAAC,KAAK,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC;IACpD,CAAC;IAED;;OAEG;IACH,KAAK;QACH,OAAO,EAAE,GAAG,EAAE,IAAI,CAAC,GAAG,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,CAAC;IAC9C,CAAC;CACF;AAkBD;;GAEG;AACH,SAAS,OAAO,CAAC,GAAuB;IACtC,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,EAAE,EAAE,CAAC;QACpC,MAAM,IAAI,mBAAmB,CAC3B,iDAAiD,CAClD,CAAC;IACJ,CAAC;IAED,IAAI,GAAG,CAAC,MAAM,GAAG,iBAAiB,EAAE,CAAC;QACnC,MAAM,IAAI,mBAAmB,CAC3B,gBAAgB,GAAG,QAAQ,GAAG,CAAC,MAAM,CAAC,QAAQ,EAAE,qBAAqB;YACnE,GAAG,iBAAiB,CAAC,QAAQ,EAAE,+BAA+B,CACjE,CAAC;IACJ,CAAC;IAED,IAAI,GAAG,CAAC,UAAU,CAAC,cAAc,CAAC,EAAE,CAAC;QACnC,MAAM,IAAI,mBAAmB,CAC3B,gBAAgB,GAAG,8BAA8B,cAAc,GAAG;YAChE,kDAAkD,CACrD,CAAC;IACJ,CAAC;IAED,cAAc,CAAC,GAAG,EAAE,gBAAgB,GAAG,GAAG,CAAC,CAAC;IAE5C,OAAO,GAAG,CAAC;AACb,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,iBAAiB,CAC/B,KAAmC;IAEnC,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,kBAAkB,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;AACnE,CAAC;AAED;;;;;GAKG;AACH,SAAS,SAAS,CAAC,KAAyB,EAAE,GAAW;IACvD,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACxB,MAAM,IAAI,mBAAmB,CAC3B,YAAY,GAAG,yCAAyC,CACzD,CAAC;IACJ,CAAC;IAED,IAAI,KAAK,CAAC,MAAM,GAAG,mBAAmB,EAAE,CAAC;QACvC,MAAM,IAAI,mBAAmB,CAC3B,yBAAyB,GAAG,QAAQ,KAAK,CAAC,MAAM,CAAC,QAAQ,EAAE,GAAG;YAC5D,qBAAqB,mBAAmB,CAAC,QAAQ,EAAE,iBAAiB;YACpE,kBAAkB,CACrB,CAAC;IACJ,CAAC;IAED,IAAI,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC,EAAE,CAAC;QACrC,MAAM,IAAI,mBAAmB,CAC3B,yBAAyB,GAAG,6BAA6B;YACvD,GAAG,cAAc,mDAAmD,CACvE,CAAC;IACJ,CAAC;IAED,cAAc,CAAC,KAAK,EAAE,yBAAyB,GAAG,GAAG,CAAC,CAAC;IAEvD,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;GAEG;AACH,SAAS,cAAc,CAAC,IAAY,EAAE,OAAe;IACnD,IAAI,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;QACjC,OAAO;IACT,CAAC;IAED,MAAM,IAAI,mBAAmB,CAC3B,GAAG,OAAO,yDAAyD;QACjE,gEAAgE,CACnE,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { type SimStateMachineTag, type SimStatesTagInput } from "./sim-state-machine-tag.js";
|
|
2
|
+
/**
|
|
3
|
+
* The tags one simulated state machine holds.
|
|
4
|
+
*
|
|
5
|
+
* A key appears once. Tagging a key that is already there replaces its value,
|
|
6
|
+
* which is what makes `TagResource` a way of changing a tag as well as adding
|
|
7
|
+
* one.
|
|
8
|
+
*/
|
|
9
|
+
export declare class SimStateMachineTags {
|
|
10
|
+
#private;
|
|
11
|
+
private constructor();
|
|
12
|
+
/**
|
|
13
|
+
* Read the tags a request carries, which may be none at all.
|
|
14
|
+
*/
|
|
15
|
+
static fromInput(input: readonly SimStatesTagInput[] | undefined): SimStateMachineTags;
|
|
16
|
+
/**
|
|
17
|
+
* Add tags a request carried, replacing the value of any key already held.
|
|
18
|
+
*
|
|
19
|
+
* The whole request is counted before anything is kept. A request Step
|
|
20
|
+
* Functions would refuse leaves the tags exactly as they were.
|
|
21
|
+
*/
|
|
22
|
+
apply(tags: readonly SimStateMachineTag[]): void;
|
|
23
|
+
/**
|
|
24
|
+
* Take the tags a request names off, leaving the rest.
|
|
25
|
+
*
|
|
26
|
+
* A key that is not there is not an error. `UntagResource` asks for a state
|
|
27
|
+
* rather than for a change, and that state is a resource without that key.
|
|
28
|
+
*/
|
|
29
|
+
remove(keys: readonly string[]): void;
|
|
30
|
+
/**
|
|
31
|
+
* Every tag this state machine holds, ordered by key.
|
|
32
|
+
*
|
|
33
|
+
* Step Functions says nothing about the order it lists tags in. Ordering
|
|
34
|
+
* them by key is one of the orders it allows, and it means a test reads the
|
|
35
|
+
* same list twice.
|
|
36
|
+
*/
|
|
37
|
+
ordered(): readonly SimStateMachineTag[];
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=sim-state-machine-tags.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-state-machine-tags.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/machine/sim-state-machine-tags.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EAEvB,MAAM,4BAA4B,CAAC;AAUpC;;;;;;GAMG;AACH,qBAAa,mBAAmB;;IAG9B,OAAO,eAEN;IAED;;OAEG;IACH,MAAM,CAAC,SAAS,CACd,KAAK,EAAE,SAAS,iBAAiB,EAAE,GAAG,SAAS,GAC9C,mBAAmB,CAMrB;IAED;;;;;OAKG;IACH,KAAK,CAAC,IAAI,EAAE,SAAS,kBAAkB,EAAE,GAAG,IAAI,CAU/C;IAED;;;;;OAKG;IACH,MAAM,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,IAAI,CAQpC;IAED;;;;;;OAMG;IACH,OAAO,IAAI,SAAS,kBAAkB,EAAE,CAKvC;CACF"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { SimStatesTooManyTags } from "../error/sim-step-functions.error.js";
|
|
2
|
+
import { readSimStatesTags, } from "./sim-state-machine-tag.js";
|
|
3
|
+
/**
|
|
4
|
+
* Real Step Functions holds 50 tags on a resource.
|
|
5
|
+
*
|
|
6
|
+
* Tags AWS assigns itself are outside this, and a caller cannot assign one of
|
|
7
|
+
* those, so every tag here counts towards it.
|
|
8
|
+
*/
|
|
9
|
+
const greatestTags = 50;
|
|
10
|
+
/**
|
|
11
|
+
* The tags one simulated state machine holds.
|
|
12
|
+
*
|
|
13
|
+
* A key appears once. Tagging a key that is already there replaces its value,
|
|
14
|
+
* which is what makes `TagResource` a way of changing a tag as well as adding
|
|
15
|
+
* one.
|
|
16
|
+
*/
|
|
17
|
+
export class SimStateMachineTags {
|
|
18
|
+
#tags;
|
|
19
|
+
constructor(tags) {
|
|
20
|
+
this.#tags = tags;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Read the tags a request carries, which may be none at all.
|
|
24
|
+
*/
|
|
25
|
+
static fromInput(input) {
|
|
26
|
+
const tags = new this(new Map());
|
|
27
|
+
tags.apply(readSimStatesTags(input ?? []));
|
|
28
|
+
return tags;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Add tags a request carried, replacing the value of any key already held.
|
|
32
|
+
*
|
|
33
|
+
* The whole request is counted before anything is kept. A request Step
|
|
34
|
+
* Functions would refuse leaves the tags exactly as they were.
|
|
35
|
+
*/
|
|
36
|
+
apply(tags) {
|
|
37
|
+
const applied = new Map(this.#tags);
|
|
38
|
+
for (const tag of tags) {
|
|
39
|
+
applied.set(tag.key, tag);
|
|
40
|
+
}
|
|
41
|
+
assertWithinLimit(applied.size);
|
|
42
|
+
this.#tags = applied;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Take the tags a request names off, leaving the rest.
|
|
46
|
+
*
|
|
47
|
+
* A key that is not there is not an error. `UntagResource` asks for a state
|
|
48
|
+
* rather than for a change, and that state is a resource without that key.
|
|
49
|
+
*/
|
|
50
|
+
remove(keys) {
|
|
51
|
+
const left = new Map(this.#tags);
|
|
52
|
+
for (const key of keys) {
|
|
53
|
+
left.delete(key);
|
|
54
|
+
}
|
|
55
|
+
this.#tags = left;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Every tag this state machine holds, ordered by key.
|
|
59
|
+
*
|
|
60
|
+
* Step Functions says nothing about the order it lists tags in. Ordering
|
|
61
|
+
* them by key is one of the orders it allows, and it means a test reads the
|
|
62
|
+
* same list twice.
|
|
63
|
+
*/
|
|
64
|
+
ordered() {
|
|
65
|
+
return this.#tags
|
|
66
|
+
.values()
|
|
67
|
+
.toArray()
|
|
68
|
+
.toSorted((one, other) => one.key.localeCompare(other.key));
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Refuse a state machine holding more tags than Step Functions holds.
|
|
73
|
+
*/
|
|
74
|
+
function assertWithinLimit(size) {
|
|
75
|
+
if (size > greatestTags) {
|
|
76
|
+
throw new SimStatesTooManyTags(`A Step Functions resource holds ${greatestTags.toString()} tags, and ` +
|
|
77
|
+
`this request would leave it holding ${size.toString()}.`);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
//# sourceMappingURL=sim-state-machine-tags.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-state-machine-tags.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/machine/sim-state-machine-tags.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,EAGL,iBAAiB,GAClB,MAAM,4BAA4B,CAAC;AAEpC;;;;;GAKG;AACH,MAAM,YAAY,GAAG,EAAE,CAAC;AAExB;;;;;;GAMG;AACH,MAAM,OAAO,mBAAmB;IAC9B,KAAK,CAA0C;IAE/C,YAAoB,IAA6C;QAC/D,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;IACpB,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,SAAS,CACd,KAA+C;QAE/C,MAAM,IAAI,GAAG,IAAI,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC,CAAC;QAEjC,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,CAAC;QAE3C,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,IAAmC;QACvC,MAAM,OAAO,GAAG,IAAI,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAEpC,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC;YACvB,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;QAC5B,CAAC;QAED,iBAAiB,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAEhC,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,MAAM,CAAC,IAAuB;QAC5B,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAEjC,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC;YACvB,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;QAED,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;IACpB,CAAC;IAED;;;;;;OAMG;IACH,OAAO;QACL,OAAO,IAAI,CAAC,KAAK;aACd,MAAM,EAAE;aACR,OAAO,EAAE;aACT,QAAQ,CAAC,CAAC,GAAG,EAAE,KAAK,EAAE,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;IAChE,CAAC;CACF;AAED;;GAEG;AACH,SAAS,iBAAiB,CAAC,IAAY;IACrC,IAAI,IAAI,GAAG,YAAY,EAAE,CAAC;QACxB,MAAM,IAAI,oBAAoB,CAC5B,mCAAmC,YAAY,CAAC,QAAQ,EAAE,aAAa;YACrE,uCAAuC,IAAI,CAAC,QAAQ,EAAE,GAAG,CAC5D,CAAC;IACJ,CAAC;AACH,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { SimStatesDefinition } from "../definition/sim-states-definition.js";
|
|
2
|
+
import type { SimStateMachineTags } from "./sim-state-machine-tags.js";
|
|
2
3
|
/**
|
|
3
4
|
* The two kinds of state machine real Step Functions runs.
|
|
4
5
|
*
|
|
@@ -14,6 +15,7 @@ interface SimStateMachineProperties {
|
|
|
14
15
|
readonly parsed: SimStatesDefinition;
|
|
15
16
|
readonly type: SimStateMachineType;
|
|
16
17
|
readonly creationDate: Date;
|
|
18
|
+
readonly tags: SimStateMachineTags;
|
|
17
19
|
}
|
|
18
20
|
/**
|
|
19
21
|
* One simulated state machine.
|
|
@@ -26,6 +28,10 @@ export declare class SimStateMachine {
|
|
|
26
28
|
#private;
|
|
27
29
|
readonly arn: string;
|
|
28
30
|
readonly name: string;
|
|
31
|
+
/**
|
|
32
|
+
* The tags this state machine holds, which the tag commands read and write.
|
|
33
|
+
*/
|
|
34
|
+
readonly tags: SimStateMachineTags;
|
|
29
35
|
constructor(properties: SimStateMachineProperties);
|
|
30
36
|
/**
|
|
31
37
|
* When this state machine was created.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-state-machine.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/machine/sim-state-machine.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-state-machine.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/machine/sim-state-machine.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAEvE;;;;;GAKG;AACH,MAAM,MAAM,mBAAmB,GAAG,UAAU,GAAG,SAAS,CAAC;AAEzD,UAAU,yBAAyB;IACjC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,MAAM,EAAE,mBAAmB,CAAC;IACrC,QAAQ,CAAC,IAAI,EAAE,mBAAmB,CAAC;IACnC,QAAQ,CAAC,YAAY,EAAE,IAAI,CAAC;IAC5B,QAAQ,CAAC,IAAI,EAAE,mBAAmB,CAAC;CACpC;AAED;;;;;;GAMG;AACH,qBAAa,eAAe;;IAC1B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,mBAAmB,CAAC;IASnC,YAAY,UAAU,EAAE,yBAAyB,EAShD;IAED;;;;;OAKG;IACH,IAAI,YAAY,IAAI,IAAI,CAEvB;IAED,IAAI,OAAO,IAAI,MAAM,CAEpB;IAED,IAAI,UAAU,IAAI,MAAM,CAEvB;IAED,IAAI,gBAAgB,IAAI,mBAAmB,CAE1C;IAED,IAAI,IAAI,IAAI,mBAAmB,CAE9B;IAED;;;;;OAKG;IACH,MAAM,CAAC,OAAO,EAAE;QACd,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QACtC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QACzC,QAAQ,CAAC,MAAM,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;KACnD,GAAG,IAAI,CAOP;CACF"}
|
|
@@ -8,6 +8,10 @@
|
|
|
8
8
|
export class SimStateMachine {
|
|
9
9
|
arn;
|
|
10
10
|
name;
|
|
11
|
+
/**
|
|
12
|
+
* The tags this state machine holds, which the tag commands read and write.
|
|
13
|
+
*/
|
|
14
|
+
tags;
|
|
11
15
|
#creationDate;
|
|
12
16
|
#roleArn;
|
|
13
17
|
#definition;
|
|
@@ -21,6 +25,7 @@ export class SimStateMachine {
|
|
|
21
25
|
this.#definition = properties.definition;
|
|
22
26
|
this.#parsed = properties.parsed;
|
|
23
27
|
this.#type = properties.type;
|
|
28
|
+
this.tags = properties.tags;
|
|
24
29
|
}
|
|
25
30
|
/**
|
|
26
31
|
* When this state machine was created.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-state-machine.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/machine/sim-state-machine.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sim-state-machine.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/machine/sim-state-machine.ts"],"names":[],"mappings":"AAsBA;;;;;;GAMG;AACH,MAAM,OAAO,eAAe;IACjB,GAAG,CAAS;IACZ,IAAI,CAAS;IAEtB;;OAEG;IACM,IAAI,CAAsB;IAE1B,aAAa,CAAO;IAE7B,QAAQ,CAAS;IACjB,WAAW,CAAS;IACpB,OAAO,CAAsB;IACpB,KAAK,CAAsB;IAEpC,YAAY,UAAqC;QAC/C,IAAI,CAAC,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC;QAC1B,IAAI,CAAC,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC;QAC5B,IAAI,CAAC,aAAa,GAAG,IAAI,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC;QACvD,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,OAAO,CAAC;QACnC,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC,UAAU,CAAC;QACzC,IAAI,CAAC,OAAO,GAAG,UAAU,CAAC,MAAM,CAAC;QACjC,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,IAAI,CAAC;QAC7B,IAAI,CAAC,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC;IAC9B,CAAC;IAED;;;;;OAKG;IACH,IAAI,YAAY;QACd,OAAO,IAAI,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;IACtC,CAAC;IAED,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAED,IAAI,UAAU;QACZ,OAAO,IAAI,CAAC,WAAW,CAAC;IAC1B,CAAC;IAED,IAAI,gBAAgB;QAClB,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IAED,IAAI,IAAI;QACN,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;IAED;;;;;OAKG;IACH,MAAM,CAAC,OAIN;QACC,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,OAAO,IAAI,IAAI,CAAC,QAAQ,CAAC;QAEjD,IAAI,OAAO,CAAC,UAAU,KAAK,SAAS,IAAI,OAAO,CAAC,MAAM,KAAK,SAAS,EAAE,CAAC;YACrE,IAAI,CAAC,WAAW,GAAG,OAAO,CAAC,UAAU,CAAC;YACtC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC;QAChC,CAAC;IACH,CAAC;CACF"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { SimStatesState } from "../definition/sim-states-state.js";
|
|
2
|
+
import { type SimStatesTaskDeadline } from "./sim-states-task-deadline.js";
|
|
3
|
+
/**
|
|
4
|
+
* What one entry to a state has tried so far.
|
|
5
|
+
*
|
|
6
|
+
* A retry carries this to the attempt it schedules, so the attempt knows how
|
|
7
|
+
* long the next wait is and when the state gives up. `taken` counts the
|
|
8
|
+
* retries each retrier has taken, since Amazon States Language counts them per
|
|
9
|
+
* retrier rather than per state.
|
|
10
|
+
*/
|
|
11
|
+
export interface SimStatesAttemptState {
|
|
12
|
+
readonly taken: readonly number[];
|
|
13
|
+
readonly deadline: SimStatesTaskDeadline | undefined;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* The first attempt at a state, which has tried nothing yet.
|
|
17
|
+
*
|
|
18
|
+
* Only a `Task` state carries the fields that give it a deadline. Every other
|
|
19
|
+
* state runs once and answers.
|
|
20
|
+
*/
|
|
21
|
+
export declare function simStatesFirstAttempt(state: SimStatesState, now: Date): SimStatesAttemptState;
|
|
22
|
+
/**
|
|
23
|
+
* How many retries one retrier has taken.
|
|
24
|
+
*/
|
|
25
|
+
export declare function simStatesRetriesTaken(attempt: SimStatesAttemptState, index: number): number;
|
|
26
|
+
/**
|
|
27
|
+
* How many retries this entry to a state has taken, across its retriers.
|
|
28
|
+
*
|
|
29
|
+
* The context object reports this as `$$.State.RetryCount`, which counts the
|
|
30
|
+
* state rather than the retrier that asked for each one.
|
|
31
|
+
*/
|
|
32
|
+
export declare function simStatesRetriesSoFar(attempt: SimStatesAttemptState): number;
|
|
33
|
+
/**
|
|
34
|
+
* The same attempt state with one more retry counted against a retrier.
|
|
35
|
+
*/
|
|
36
|
+
export declare function simStatesRetryTaken(attempt: SimStatesAttemptState, index: number): SimStatesAttemptState;
|
|
37
|
+
//# sourceMappingURL=sim-states-attempt-state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-attempt-state.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/retry/sim-states-attempt-state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EACL,KAAK,qBAAqB,EAE3B,MAAM,+BAA+B,CAAC;AAEvC;;;;;;;GAOG;AACH,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,QAAQ,CAAC,QAAQ,EAAE,qBAAqB,GAAG,SAAS,CAAC;CACtD;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,cAAc,EACrB,GAAG,EAAE,IAAI,GACR,qBAAqB,CAKvB;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CACnC,OAAO,EAAE,qBAAqB,EAC9B,KAAK,EAAE,MAAM,GACZ,MAAM,CAER;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,qBAAqB,GAAG,MAAM,CAE5E;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,qBAAqB,EAC9B,KAAK,EAAE,MAAM,GACZ,qBAAqB,CAQvB"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { simStatesTaskDeadline, } from "./sim-states-task-deadline.js";
|
|
2
|
+
/**
|
|
3
|
+
* The first attempt at a state, which has tried nothing yet.
|
|
4
|
+
*
|
|
5
|
+
* Only a `Task` state carries the fields that give it a deadline. Every other
|
|
6
|
+
* state runs once and answers.
|
|
7
|
+
*/
|
|
8
|
+
export function simStatesFirstAttempt(state, now) {
|
|
9
|
+
return {
|
|
10
|
+
taken: [],
|
|
11
|
+
deadline: simStatesTaskDeadline(state.Type === "Task" ? state : {}, now),
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* How many retries one retrier has taken.
|
|
16
|
+
*/
|
|
17
|
+
export function simStatesRetriesTaken(attempt, index) {
|
|
18
|
+
return attempt.taken.at(index) ?? 0;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* How many retries this entry to a state has taken, across its retriers.
|
|
22
|
+
*
|
|
23
|
+
* The context object reports this as `$$.State.RetryCount`, which counts the
|
|
24
|
+
* state rather than the retrier that asked for each one.
|
|
25
|
+
*/
|
|
26
|
+
export function simStatesRetriesSoFar(attempt) {
|
|
27
|
+
return attempt.taken.reduce((total, taken) => total + taken, 0);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* The same attempt state with one more retry counted against a retrier.
|
|
31
|
+
*/
|
|
32
|
+
export function simStatesRetryTaken(attempt, index) {
|
|
33
|
+
return {
|
|
34
|
+
...attempt,
|
|
35
|
+
taken: Array.from({ length: Math.max(attempt.taken.length, index + 1) }, (_, at) => (attempt.taken.at(at) ?? 0) + (at === index ? 1 : 0)),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=sim-states-attempt-state.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-attempt-state.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/retry/sim-states-attempt-state.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,qBAAqB,GACtB,MAAM,+BAA+B,CAAC;AAevC;;;;;GAKG;AACH,MAAM,UAAU,qBAAqB,CACnC,KAAqB,EACrB,GAAS;IAET,OAAO;QACL,KAAK,EAAE,EAAE;QACT,QAAQ,EAAE,qBAAqB,CAAC,KAAK,CAAC,IAAI,KAAK,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,GAAG,CAAC;KACzE,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,qBAAqB,CACnC,OAA8B,EAC9B,KAAa;IAEb,OAAO,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AACtC,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,qBAAqB,CAAC,OAA8B;IAClE,OAAO,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,GAAG,KAAK,EAAE,CAAC,CAAC,CAAC;AAClE,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,mBAAmB,CACjC,OAA8B,EAC9B,KAAa;IAEb,OAAO;QACL,GAAG,OAAO;QACV,KAAK,EAAE,KAAK,CAAC,IAAI,CACf,EAAE,MAAM,EAAE,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,EAAE,KAAK,GAAG,CAAC,CAAC,EAAE,EACrD,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,EAAE,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAChE;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { JSONValue } from "../../../util/type-guard/json.js";
|
|
2
|
+
import type { SimStatesFailOutcome, SimStatesNextOutcome } from "../execution/sim-states-state-outcome.js";
|
|
3
|
+
import { type SimStatesCatcher } from "./sim-states-catcher.js";
|
|
4
|
+
/**
|
|
5
|
+
* Where a catcher sends a failure it matches, carrying the error output.
|
|
6
|
+
*
|
|
7
|
+
* The catchers are tried in the order they were written and the first one
|
|
8
|
+
* naming the error takes it. A failure none of them names is left as it was.
|
|
9
|
+
*/
|
|
10
|
+
export declare function simStatesCatchOutcome(catchers: readonly SimStatesCatcher[], failure: SimStatesFailOutcome, input: JSONValue): SimStatesNextOutcome | undefined;
|
|
11
|
+
//# sourceMappingURL=sim-states-catch-outcome.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-catch-outcome.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/retry/sim-states-catch-outcome.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,KAAK,EACV,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EACL,KAAK,gBAAgB,EAGtB,MAAM,yBAAyB,CAAC;AAGjC;;;;;GAKG;AACH,wBAAgB,qBAAqB,CACnC,QAAQ,EAAE,SAAS,gBAAgB,EAAE,EACrC,OAAO,EAAE,oBAAoB,EAC7B,KAAK,EAAE,SAAS,GACf,oBAAoB,GAAG,SAAS,CAkBlC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { simStatesCaughtOutput, simStatesErrorOutput, } from "./sim-states-catcher.js";
|
|
2
|
+
import { simStatesErrorMatches } from "./sim-states-error-name.js";
|
|
3
|
+
/**
|
|
4
|
+
* Where a catcher sends a failure it matches, carrying the error output.
|
|
5
|
+
*
|
|
6
|
+
* The catchers are tried in the order they were written and the first one
|
|
7
|
+
* naming the error takes it. A failure none of them names is left as it was.
|
|
8
|
+
*/
|
|
9
|
+
export function simStatesCatchOutcome(catchers, failure, input) {
|
|
10
|
+
const catcher = catchers.find((entry) => simStatesErrorMatches(entry.ErrorEquals, failure.error));
|
|
11
|
+
if (catcher === undefined) {
|
|
12
|
+
return undefined;
|
|
13
|
+
}
|
|
14
|
+
return {
|
|
15
|
+
kind: "next",
|
|
16
|
+
next: catcher.Next,
|
|
17
|
+
output: simStatesCaughtOutput(catcher, input, simStatesErrorOutput(failure.error, failure.cause)),
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=sim-states-catch-outcome.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-catch-outcome.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/retry/sim-states-catch-outcome.ts"],"names":[],"mappings":"AAKA,OAAO,EAEL,qBAAqB,EACrB,oBAAoB,GACrB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE;;;;;GAKG;AACH,MAAM,UAAU,qBAAqB,CACnC,QAAqC,EACrC,OAA6B,EAC7B,KAAgB;IAEhB,MAAM,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CACtC,qBAAqB,CAAC,KAAK,CAAC,WAAW,EAAE,OAAO,CAAC,KAAK,CAAC,CACxD,CAAC;IAEF,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;QAC1B,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO;QACL,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,OAAO,CAAC,IAAI;QAClB,MAAM,EAAE,qBAAqB,CAC3B,OAAO,EACP,KAAK,EACL,oBAAoB,CAAC,OAAO,CAAC,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,CACnD;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { JSONValue } from "../../../util/type-guard/json.js";
|
|
2
|
+
import type { SimStatesCatcher } from "./sim-states-catcher.js";
|
|
3
|
+
/**
|
|
4
|
+
* Read a state's `Catch`, refusing anything this cannot run.
|
|
5
|
+
*
|
|
6
|
+
* A catcher's `Next` is checked against the state machine's own states once
|
|
7
|
+
* every state has been read, alongside the other transitions. Answers with
|
|
8
|
+
* nothing where the state carries no `Catch`.
|
|
9
|
+
*/
|
|
10
|
+
export declare function parseSimStatesCatchers(named: string, state: Record<string, JSONValue>): readonly SimStatesCatcher[] | undefined;
|
|
11
|
+
//# sourceMappingURL=sim-states-catch-parse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-catch-parse.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/retry/sim-states-catch-parse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAGlE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAMhE;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAC/B,SAAS,gBAAgB,EAAE,GAAG,SAAS,CAIzC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { parseSimStatesReferencePath } from "../data/sim-states-reference-path.js";
|
|
2
|
+
import { SimStatesInvalidDefinition } from "../error/sim-step-functions.error.js";
|
|
3
|
+
import { readSimStatesHandlers, } from "./sim-states-error-equals.js";
|
|
4
|
+
/**
|
|
5
|
+
* Read a state's `Catch`, refusing anything this cannot run.
|
|
6
|
+
*
|
|
7
|
+
* A catcher's `Next` is checked against the state machine's own states once
|
|
8
|
+
* every state has been read, alongside the other transitions. Answers with
|
|
9
|
+
* nothing where the state carries no `Catch`.
|
|
10
|
+
*/
|
|
11
|
+
export function parseSimStatesCatchers(named, state) {
|
|
12
|
+
return readSimStatesHandlers(named, state, "Catch", "catcher")?.map((entry) => readCatcher(named, entry));
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Read one catcher, which names where a failure it matches goes.
|
|
16
|
+
*/
|
|
17
|
+
function readCatcher(named, entry) {
|
|
18
|
+
const next = entry.written["Next"];
|
|
19
|
+
if (typeof next !== "string") {
|
|
20
|
+
throw new SimStatesInvalidDefinition(`A catcher in the ${named} has no Next naming the ` +
|
|
21
|
+
"state a caught failure goes to.");
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
ErrorEquals: entry.ErrorEquals,
|
|
25
|
+
Next: next,
|
|
26
|
+
...resultPath(named, entry.written["ResultPath"]),
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Read a catcher's `ResultPath`, which is where the error lands.
|
|
31
|
+
*
|
|
32
|
+
* The path is checked as far as its syntax here. Whether the input it is
|
|
33
|
+
* written into can hold it is only known once a failure is caught.
|
|
34
|
+
*/
|
|
35
|
+
function resultPath(named, written) {
|
|
36
|
+
if (written === undefined) {
|
|
37
|
+
return {};
|
|
38
|
+
}
|
|
39
|
+
if (written === null) {
|
|
40
|
+
return { ResultPath: null };
|
|
41
|
+
}
|
|
42
|
+
if (typeof written !== "string") {
|
|
43
|
+
throw new SimStatesInvalidDefinition(`A catcher in the ${named} has a ResultPath that is ` +
|
|
44
|
+
"neither a Reference Path nor null.");
|
|
45
|
+
}
|
|
46
|
+
parseSimStatesReferencePath(written);
|
|
47
|
+
return { ResultPath: written };
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=sim-states-catch-parse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-catch-parse.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/retry/sim-states-catch-parse.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACnF,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAElF,OAAO,EAEL,qBAAqB,GACtB,MAAM,8BAA8B,CAAC;AAEtC;;;;;;GAMG;AACH,MAAM,UAAU,sBAAsB,CACpC,KAAa,EACb,KAAgC;IAEhC,OAAO,qBAAqB,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,CAAC,EAAE,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAC5E,WAAW,CAAC,KAAK,EAAE,KAAK,CAAC,CAC1B,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAS,WAAW,CAClB,KAAa,EACb,KAA4B;IAE5B,MAAM,IAAI,GAAG,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;IAEnC,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;QAC7B,MAAM,IAAI,0BAA0B,CAClC,oBAAoB,KAAK,0BAA0B;YACjD,iCAAiC,CACpC,CAAC;IACJ,CAAC;IAED,OAAO;QACL,WAAW,EAAE,KAAK,CAAC,WAAW;QAC9B,IAAI,EAAE,IAAI;QACV,GAAG,UAAU,CAAC,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;KAClD,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,SAAS,UAAU,CACjB,KAAa,EACb,OAA8B;IAE9B,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;QAC1B,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,IAAI,OAAO,KAAK,IAAI,EAAE,CAAC;QACrB,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;IAC9B,CAAC;IAED,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE,CAAC;QAChC,MAAM,IAAI,0BAA0B,CAClC,oBAAoB,KAAK,4BAA4B;YACnD,oCAAoC,CACvC,CAAC;IACJ,CAAC;IAED,2BAA2B,CAAC,OAAO,CAAC,CAAC;IAErC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC;AACjC,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { JSONObject, JSONValue } from "../../../util/type-guard/json.js";
|
|
2
|
+
/**
|
|
3
|
+
* One entry in a state's `Catch`.
|
|
4
|
+
*
|
|
5
|
+
* `Next` is where a caught failure sends the execution, and `ResultPath` says
|
|
6
|
+
* where in the state's input the error goes. A catcher left without one
|
|
7
|
+
* replaces the input with the error, which is what a `ResultPath` of `$` does.
|
|
8
|
+
*/
|
|
9
|
+
export interface SimStatesCatcher {
|
|
10
|
+
readonly ErrorEquals: readonly string[];
|
|
11
|
+
readonly Next: string;
|
|
12
|
+
readonly ResultPath?: string | null;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* What a caught failure looks like to the state it is sent to.
|
|
16
|
+
*
|
|
17
|
+
* Amazon States Language calls this the error output, and it holds the error
|
|
18
|
+
* name and whatever the failure said about itself.
|
|
19
|
+
*/
|
|
20
|
+
export declare function simStatesErrorOutput(error: string, cause: string | undefined): JSONObject;
|
|
21
|
+
/**
|
|
22
|
+
* The input the state a catcher names is given.
|
|
23
|
+
*
|
|
24
|
+
* `ResultPath` reads the raw input of the state that failed, so a catcher can
|
|
25
|
+
* put the error beside the data the task was working on. A `ResultPath` of
|
|
26
|
+
* `null` discards the error and passes the input on as it was.
|
|
27
|
+
*/
|
|
28
|
+
export declare function simStatesCaughtOutput(catcher: SimStatesCatcher, input: JSONValue, error: JSONObject): JSONValue;
|
|
29
|
+
//# sourceMappingURL=sim-states-catcher.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-catcher.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/retry/sim-states-catcher.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAI9E;;;;;;GAMG;AACH,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,WAAW,EAAE,SAAS,MAAM,EAAE,CAAC;IACxC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACrC;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,GAAG,SAAS,GACxB,UAAU,CAKZ;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CACnC,OAAO,EAAE,gBAAgB,EACzB,KAAK,EAAE,SAAS,EAChB,KAAK,EAAE,UAAU,GAChB,SAAS,CAeX"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { parseSimStatesReferencePath } from "../data/sim-states-reference-path.js";
|
|
2
|
+
import { insertAtSimStatesPath } from "../data/sim-states-result-path.js";
|
|
3
|
+
/**
|
|
4
|
+
* What a caught failure looks like to the state it is sent to.
|
|
5
|
+
*
|
|
6
|
+
* Amazon States Language calls this the error output, and it holds the error
|
|
7
|
+
* name and whatever the failure said about itself.
|
|
8
|
+
*/
|
|
9
|
+
export function simStatesErrorOutput(error, cause) {
|
|
10
|
+
return {
|
|
11
|
+
Error: error,
|
|
12
|
+
...(cause !== undefined && { Cause: cause }),
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* The input the state a catcher names is given.
|
|
17
|
+
*
|
|
18
|
+
* `ResultPath` reads the raw input of the state that failed, so a catcher can
|
|
19
|
+
* put the error beside the data the task was working on. A `ResultPath` of
|
|
20
|
+
* `null` discards the error and passes the input on as it was.
|
|
21
|
+
*/
|
|
22
|
+
export function simStatesCaughtOutput(catcher, input, error) {
|
|
23
|
+
if (catcher.ResultPath === null) {
|
|
24
|
+
return input;
|
|
25
|
+
}
|
|
26
|
+
if (catcher.ResultPath === undefined) {
|
|
27
|
+
return error;
|
|
28
|
+
}
|
|
29
|
+
return insertAtSimStatesPath(input, parseSimStatesReferencePath(catcher.ResultPath), error, catcher.ResultPath);
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=sim-states-catcher.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-catcher.js","sourceRoot":"","sources":["../../../../src/service/stepfunctions/retry/sim-states-catcher.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACnF,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAe1E;;;;;GAKG;AACH,MAAM,UAAU,oBAAoB,CAClC,KAAa,EACb,KAAyB;IAEzB,OAAO;QACL,KAAK,EAAE,KAAK;QACZ,GAAG,CAAC,KAAK,KAAK,SAAS,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC;KAC7C,CAAC;AACJ,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,qBAAqB,CACnC,OAAyB,EACzB,KAAgB,EAChB,KAAiB;IAEjB,IAAI,OAAO,CAAC,UAAU,KAAK,IAAI,EAAE,CAAC;QAChC,OAAO,KAAK,CAAC;IACf,CAAC;IAED,IAAI,OAAO,CAAC,UAAU,KAAK,SAAS,EAAE,CAAC;QACrC,OAAO,KAAK,CAAC;IACf,CAAC;IAED,OAAO,qBAAqB,CAC1B,KAAK,EACL,2BAA2B,CAAC,OAAO,CAAC,UAAU,CAAC,EAC/C,KAAK,EACL,OAAO,CAAC,UAAU,CACnB,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { JSONValue } from "../../../util/type-guard/json.js";
|
|
2
|
+
/**
|
|
3
|
+
* One entry of a `Retry` or a `Catch`, as it was written.
|
|
4
|
+
*/
|
|
5
|
+
export interface SimStatesHandlerEntry {
|
|
6
|
+
readonly ErrorEquals: readonly string[];
|
|
7
|
+
readonly written: Record<string, JSONValue>;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Read the entries of a state's `Retry` or `Catch`.
|
|
11
|
+
*
|
|
12
|
+
* Both fields are an ordered array of entries, and both say what they handle
|
|
13
|
+
* the same way. What each entry then does with a match is what tells them
|
|
14
|
+
* apart, so that is read by the caller.
|
|
15
|
+
*
|
|
16
|
+
* Answers with nothing where the state carries neither field.
|
|
17
|
+
*/
|
|
18
|
+
export declare function readSimStatesHandlers(named: string, state: Record<string, JSONValue>, field: "Retry" | "Catch", noun: string): readonly SimStatesHandlerEntry[] | undefined;
|
|
19
|
+
//# sourceMappingURL=sim-states-error-equals.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-states-error-equals.d.ts","sourceRoot":"","sources":["../../../../src/service/stepfunctions/retry/sim-states-error-equals.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAKlE;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,WAAW,EAAE,SAAS,MAAM,EAAE,CAAC;IACxC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;CAC7C;AAED;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,EAChC,KAAK,EAAE,OAAO,GAAG,OAAO,EACxB,IAAI,EAAE,MAAM,GACX,SAAS,qBAAqB,EAAE,GAAG,SAAS,CAoB9C"}
|