@kensio/yulin 1.20.0 → 1.20.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/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.map +1 -1
- package/dist/sdk/router/resolve-sim-sdk-command-router.js +8 -0
- package/dist/sdk/router/resolve-sim-sdk-command-router.js.map +1 -1
- package/dist/service/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 +11 -0
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts.map +1 -1
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.js +17 -1
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.js.map +1 -1
- package/dist/service/aws/factory/sim-aws-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/aws/factory/sim-aws-cross-account-collaborators.d.ts +10 -0
- package/dist/service/aws/factory/sim-aws-cross-account-collaborators.d.ts.map +1 -1
- package/dist/service/aws/factory/sim-aws-cross-account-collaborators.js +15 -0
- package/dist/service/aws/factory/sim-aws-cross-account-collaborators.js.map +1 -1
- package/dist/service/aws/factory/sim-aws-self-contained-service-builder.d.ts +9 -0
- package/dist/service/aws/factory/sim-aws-self-contained-service-builder.d.ts.map +1 -1
- package/dist/service/aws/factory/sim-aws-self-contained-service-builder.js +15 -0
- package/dist/service/aws/factory/sim-aws-self-contained-service-builder.js.map +1 -1
- package/dist/service/aws/factory/sim-aws-service-factory.d.ts +6 -0
- package/dist/service/aws/factory/sim-aws-service-factory.d.ts.map +1 -1
- package/dist/service/aws/factory/sim-aws-service-factory.js +8 -0
- package/dist/service/aws/factory/sim-aws-service-factory.js.map +1 -1
- package/dist/service/aws/sim-aws-account-region-scope.d.ts +6 -0
- package/dist/service/aws/sim-aws-account-region-scope.d.ts.map +1 -1
- package/dist/service/aws/sim-aws-account-region-scope.js +8 -0
- package/dist/service/aws/sim-aws-account-region-scope.js.map +1 -1
- package/dist/service/aws/sim-aws-account.d.ts +5 -0
- package/dist/service/aws/sim-aws-account.d.ts.map +1 -1
- package/dist/service/aws/sim-aws-account.js +6 -0
- package/dist/service/aws/sim-aws-account.js.map +1 -1
- package/dist/service/aws/sim-aws-region.d.ts +5 -0
- package/dist/service/aws/sim-aws-region.d.ts.map +1 -1
- package/dist/service/aws/sim-aws-region.js +6 -0
- package/dist/service/aws/sim-aws-region.js.map +1 -1
- package/dist/service/aws/sim-aws-service-accessors.d.ts +6 -0
- package/dist/service/aws/sim-aws-service-accessors.d.ts.map +1 -1
- package/dist/service/aws/sim-aws-service-accessors.js +8 -0
- package/dist/service/aws/sim-aws-service-accessors.js.map +1 -1
- package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-cfn-value-adapter.d.ts +6 -0
- package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-cfn-value-adapter.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-cfn-value-adapter.js +15 -0
- package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-cfn-value-adapter.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-delivery-stream-cfn.d.ts +23 -0
- package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-delivery-stream-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-delivery-stream-cfn.js +29 -0
- package/dist/service/cloudformation/resource/cfn/firehose/sim-firehose-delivery-stream-cfn.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.js +4 -0
- package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.js.map +1 -1
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.d.ts +27 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.js +47 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-creator.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.d.ts +49 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.js +89 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-definition.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.d.ts +23 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.js +28 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-name.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.d.ts +57 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.js +99 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-properties.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.d.ts +21 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.js +37 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-property-names.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.d.ts +32 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.js +56 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-state-machine-substitutions.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.d.ts +20 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.js +28 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-deleter.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.d.ts +43 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.js +64 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-error.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.d.ts +10 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.js +10 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-cfn-step-functions-resource-types.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-state-machine-cfn.d.ts +27 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-state-machine-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-state-machine-cfn.js +37 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-state-machine-cfn.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.d.ts +31 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.js +42 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-resource-factory.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.d.ts +7 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.js +16 -0
- package/dist/service/cloudformation/resource/cfn/stepfunctions/sim-step-functions-cfn-value-adapter.js.map +1 -0
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.js +11 -0
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.js.map +1 -1
- package/dist/service/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/command/create-distribution/create-distribution.command.d.ts +41 -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 +0 -1
- package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.d.ts.map +1 -1
- package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.js +9 -36
- package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.js.map +1 -1
- package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-list.d.ts +19 -0
- package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-list.d.ts.map +1 -0
- package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-list.js +39 -0
- package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-list.js.map +1 -0
- package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-origin.d.ts +10 -0
- package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-origin.d.ts.map +1 -0
- package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-origin.js +17 -0
- package/dist/service/cloudfront/command/create-distribution/sim-cf-normalize-origin.js.map +1 -0
- package/dist/service/cloudfront/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 +3 -0
- 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 +6 -0
- 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 +48 -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 +66 -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/sim-cloudfront-request-pipeline.d.ts +5 -0
- package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.d.ts.map +1 -1
- package/dist/service/cloudfront/controller/sim-cloudfront-request-pipeline.js +16 -1
- 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 +8 -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 +41 -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 +78 -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-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-request-adapter.d.ts +30 -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 +90 -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 +89 -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 +47 -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 +71 -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 +79 -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 +23 -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 +36 -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 +18 -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 +47 -0
- package/dist/service/cloudfront/edge/sim-cf-edge-function-arn.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-request.d.ts +4 -0
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.d.ts.map +1 -1
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.js +7 -0
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.js.map +1 -1
- package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.d.ts +6 -0
- package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.d.ts.map +1 -1
- package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.js +3 -0
- package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.js.map +1 -1
- package/dist/service/cloudfront/origin/sim-cf-origin-custom-headers.d.ts +15 -0
- package/dist/service/cloudfront/origin/sim-cf-origin-custom-headers.d.ts.map +1 -0
- package/dist/service/cloudfront/origin/sim-cf-origin-custom-headers.js +74 -0
- package/dist/service/cloudfront/origin/sim-cf-origin-custom-headers.js.map +1 -0
- package/dist/service/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 +91 -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/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-creator.d.ts +33 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-creator.d.ts.map +1 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-creator.js +44 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-creator.js.map +1 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-name.d.ts +23 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-name.d.ts.map +1 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-name.js +28 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-name.js.map +1 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-properties.d.ts +48 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-properties.d.ts.map +1 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-properties.js +92 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-properties.js.map +1 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-property-names.d.ts +51 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-property-names.d.ts.map +1 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-property-names.js +114 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-delivery-stream-property-names.js.map +1 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-destination-choice.d.ts +19 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-destination-choice.d.ts.map +1 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-destination-choice.js +44 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-destination-choice.js.map +1 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-s3-destination.d.ts +47 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-s3-destination.d.ts.map +1 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-s3-destination.js +105 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-s3-destination.js.map +1 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-source-choice.d.ts +19 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-source-choice.d.ts.map +1 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-source-choice.js +58 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-source-choice.js.map +1 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-tags.d.ts +11 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-tags.d.ts.map +1 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-tags.js +33 -0
- package/dist/service/firehose/cfn/delivery-stream/sim-cfn-firehose-tags.js.map +1 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-archive.resources.d.ts +44 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-archive.resources.d.ts.map +1 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-archive.resources.js +144 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-archive.resources.js.map +1 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-delivery-stream-template.factory.d.ts +51 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-delivery-stream-template.factory.d.ts.map +1 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-delivery-stream-template.factory.js +65 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-delivery-stream-template.factory.js.map +1 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-resource-deleter.d.ts +19 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-resource-deleter.d.ts.map +1 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-resource-deleter.js +26 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-resource-deleter.js.map +1 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-resource-error.d.ts +44 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-resource-error.d.ts.map +1 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-resource-error.js +75 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-resource-error.js.map +1 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-resource-types.d.ts +14 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-resource-types.d.ts.map +1 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-resource-types.js +14 -0
- package/dist/service/firehose/cfn/sim-cfn-firehose-resource-types.js.map +1 -0
- package/dist/service/firehose/cfn/sim-firehose-cfn-resource-factory.d.ts +29 -0
- package/dist/service/firehose/cfn/sim-firehose-cfn-resource-factory.d.ts.map +1 -0
- package/dist/service/firehose/cfn/sim-firehose-cfn-resource-factory.js +38 -0
- package/dist/service/firehose/cfn/sim-firehose-cfn-resource-factory.js.map +1 -0
- package/dist/service/firehose/command/authorize/sim-firehose-authorizer.d.ts +39 -0
- package/dist/service/firehose/command/authorize/sim-firehose-authorizer.d.ts.map +1 -0
- package/dist/service/firehose/command/authorize/sim-firehose-authorizer.js +49 -0
- package/dist/service/firehose/command/authorize/sim-firehose-authorizer.js.map +1 -0
- package/dist/service/firehose/command/record/record.command.d.ts +55 -0
- package/dist/service/firehose/command/record/record.command.d.ts.map +1 -0
- package/dist/service/firehose/command/record/record.command.js +2 -0
- package/dist/service/firehose/command/record/record.command.js.map +1 -0
- package/dist/service/firehose/command/record/sim-firehose-put-commands.d.ts +43 -0
- package/dist/service/firehose/command/record/sim-firehose-put-commands.d.ts.map +1 -0
- package/dist/service/firehose/command/record/sim-firehose-put-commands.js +59 -0
- package/dist/service/firehose/command/record/sim-firehose-put-commands.js.map +1 -0
- package/dist/service/firehose/command/record/sim-firehose-record-data.d.ts +21 -0
- package/dist/service/firehose/command/record/sim-firehose-record-data.d.ts.map +1 -0
- package/dist/service/firehose/command/record/sim-firehose-record-data.js +54 -0
- package/dist/service/firehose/command/record/sim-firehose-record-data.js.map +1 -0
- package/dist/service/firehose/command/sim-firehose-command.types.d.ts +6 -0
- package/dist/service/firehose/command/sim-firehose-command.types.d.ts.map +1 -0
- package/dist/service/firehose/command/sim-firehose-command.types.js +2 -0
- package/dist/service/firehose/command/sim-firehose-command.types.js.map +1 -0
- package/dist/service/firehose/command/sim-firehose-commands.d.ts +37 -0
- package/dist/service/firehose/command/sim-firehose-commands.d.ts.map +1 -0
- package/dist/service/firehose/command/sim-firehose-commands.js +57 -0
- package/dist/service/firehose/command/sim-firehose-commands.js.map +1 -0
- package/dist/service/firehose/command/sim-firehose-delivery-stream-access.d.ts +47 -0
- package/dist/service/firehose/command/sim-firehose-delivery-stream-access.d.ts.map +1 -0
- package/dist/service/firehose/command/sim-firehose-delivery-stream-access.js +58 -0
- package/dist/service/firehose/command/sim-firehose-delivery-stream-access.js.map +1 -0
- package/dist/service/firehose/command/sim-firehose-request-options.d.ts +12 -0
- package/dist/service/firehose/command/sim-firehose-request-options.d.ts.map +1 -0
- package/dist/service/firehose/command/sim-firehose-request-options.js +2 -0
- package/dist/service/firehose/command/sim-firehose-request-options.js.map +1 -0
- package/dist/service/firehose/command/stream/sim-firehose-create-delivery-stream.d.ts +49 -0
- package/dist/service/firehose/command/stream/sim-firehose-create-delivery-stream.d.ts.map +1 -0
- package/dist/service/firehose/command/stream/sim-firehose-create-delivery-stream.js +69 -0
- package/dist/service/firehose/command/stream/sim-firehose-create-delivery-stream.js.map +1 -0
- package/dist/service/firehose/command/stream/sim-firehose-delivery-stream-page.d.ts +19 -0
- package/dist/service/firehose/command/stream/sim-firehose-delivery-stream-page.d.ts.map +1 -0
- package/dist/service/firehose/command/stream/sim-firehose-delivery-stream-page.js +24 -0
- package/dist/service/firehose/command/stream/sim-firehose-delivery-stream-page.js.map +1 -0
- package/dist/service/firehose/command/stream/sim-firehose-stream-commands.d.ts +50 -0
- package/dist/service/firehose/command/stream/sim-firehose-stream-commands.d.ts.map +1 -0
- package/dist/service/firehose/command/stream/sim-firehose-stream-commands.js +72 -0
- package/dist/service/firehose/command/stream/sim-firehose-stream-commands.js.map +1 -0
- package/dist/service/firehose/command/stream/sim-firehose-stream-descriptions.d.ts +7 -0
- package/dist/service/firehose/command/stream/sim-firehose-stream-descriptions.d.ts.map +1 -0
- package/dist/service/firehose/command/stream/sim-firehose-stream-descriptions.js +70 -0
- package/dist/service/firehose/command/stream/sim-firehose-stream-descriptions.js.map +1 -0
- package/dist/service/firehose/command/stream/stream.command.d.ts +137 -0
- package/dist/service/firehose/command/stream/stream.command.d.ts.map +1 -0
- package/dist/service/firehose/command/stream/stream.command.js +2 -0
- package/dist/service/firehose/command/stream/stream.command.js.map +1 -0
- package/dist/service/firehose/delivery/sim-firehose-buffer.d.ts +36 -0
- package/dist/service/firehose/delivery/sim-firehose-buffer.d.ts.map +1 -0
- package/dist/service/firehose/delivery/sim-firehose-buffer.js +55 -0
- package/dist/service/firehose/delivery/sim-firehose-buffer.js.map +1 -0
- package/dist/service/firehose/delivery/sim-firehose-delivery-failures.d.ts +34 -0
- package/dist/service/firehose/delivery/sim-firehose-delivery-failures.d.ts.map +1 -0
- package/dist/service/firehose/delivery/sim-firehose-delivery-failures.js +24 -0
- package/dist/service/firehose/delivery/sim-firehose-delivery-failures.js.map +1 -0
- package/dist/service/firehose/delivery/sim-firehose-delivery.d.ts +47 -0
- package/dist/service/firehose/delivery/sim-firehose-delivery.d.ts.map +1 -0
- package/dist/service/firehose/delivery/sim-firehose-delivery.js +76 -0
- package/dist/service/firehose/delivery/sim-firehose-delivery.js.map +1 -0
- package/dist/service/firehose/delivery/sim-firehose-object-key.d.ts +21 -0
- package/dist/service/firehose/delivery/sim-firehose-object-key.d.ts.map +1 -0
- package/dist/service/firehose/delivery/sim-firehose-object-key.js +27 -0
- package/dist/service/firehose/delivery/sim-firehose-object-key.js.map +1 -0
- package/dist/service/firehose/delivery/sim-firehose-object-writer.d.ts +50 -0
- package/dist/service/firehose/delivery/sim-firehose-object-writer.d.ts.map +1 -0
- package/dist/service/firehose/delivery/sim-firehose-object-writer.js +57 -0
- package/dist/service/firehose/delivery/sim-firehose-object-writer.js.map +1 -0
- package/dist/service/firehose/destination/sim-firehose-buffering-hints.d.ts +29 -0
- package/dist/service/firehose/destination/sim-firehose-buffering-hints.d.ts.map +1 -0
- package/dist/service/firehose/destination/sim-firehose-buffering-hints.js +45 -0
- package/dist/service/firehose/destination/sim-firehose-buffering-hints.js.map +1 -0
- package/dist/service/firehose/destination/sim-firehose-destination-choice.d.ts +35 -0
- package/dist/service/firehose/destination/sim-firehose-destination-choice.d.ts.map +1 -0
- package/dist/service/firehose/destination/sim-firehose-destination-choice.js +48 -0
- package/dist/service/firehose/destination/sim-firehose-destination-choice.js.map +1 -0
- package/dist/service/firehose/destination/sim-firehose-s3-destination.d.ts +32 -0
- package/dist/service/firehose/destination/sim-firehose-s3-destination.d.ts.map +1 -0
- package/dist/service/firehose/destination/sim-firehose-s3-destination.js +51 -0
- package/dist/service/firehose/destination/sim-firehose-s3-destination.js.map +1 -0
- package/dist/service/firehose/error/sim-firehose.error.d.ts +69 -0
- package/dist/service/firehose/error/sim-firehose.error.d.ts.map +1 -0
- package/dist/service/firehose/error/sim-firehose.error.js +79 -0
- package/dist/service/firehose/error/sim-firehose.error.js.map +1 -0
- package/dist/service/firehose/failure/sim-firehose-failure.d.ts +38 -0
- package/dist/service/firehose/failure/sim-firehose-failure.d.ts.map +1 -0
- package/dist/service/firehose/failure/sim-firehose-failure.js +40 -0
- package/dist/service/firehose/failure/sim-firehose-failure.js.map +1 -0
- package/dist/service/firehose/failure/sim-firehose-failures.d.ts +32 -0
- package/dist/service/firehose/failure/sim-firehose-failures.d.ts.map +1 -0
- package/dist/service/firehose/failure/sim-firehose-failures.js +47 -0
- package/dist/service/firehose/failure/sim-firehose-failures.js.map +1 -0
- package/dist/service/firehose/index.d.ts +17 -0
- package/dist/service/firehose/index.d.ts.map +1 -0
- package/dist/service/firehose/index.js +12 -0
- package/dist/service/firehose/index.js.map +1 -0
- package/dist/service/firehose/sdk/sim-firehose-sdk-command-router.d.ts +18 -0
- package/dist/service/firehose/sdk/sim-firehose-sdk-command-router.d.ts.map +1 -0
- package/dist/service/firehose/sdk/sim-firehose-sdk-command-router.js +48 -0
- package/dist/service/firehose/sdk/sim-firehose-sdk-command-router.js.map +1 -0
- package/dist/service/firehose/sim-firehose.d.ts +104 -0
- package/dist/service/firehose/sim-firehose.d.ts.map +1 -0
- package/dist/service/firehose/sim-firehose.js +130 -0
- package/dist/service/firehose/sim-firehose.js.map +1 -0
- package/dist/service/firehose/source/read/sim-firehose-source-poll.d.ts +39 -0
- package/dist/service/firehose/source/read/sim-firehose-source-poll.d.ts.map +1 -0
- package/dist/service/firehose/source/read/sim-firehose-source-poll.js +48 -0
- package/dist/service/firehose/source/read/sim-firehose-source-poll.js.map +1 -0
- package/dist/service/firehose/source/read/sim-firehose-source-reader.d.ts +62 -0
- package/dist/service/firehose/source/read/sim-firehose-source-reader.d.ts.map +1 -0
- package/dist/service/firehose/source/read/sim-firehose-source-reader.js +94 -0
- package/dist/service/firehose/source/read/sim-firehose-source-reader.js.map +1 -0
- package/dist/service/firehose/source/read/sim-firehose-source-reading.d.ts +39 -0
- package/dist/service/firehose/source/read/sim-firehose-source-reading.d.ts.map +1 -0
- package/dist/service/firehose/source/read/sim-firehose-source-reading.js +48 -0
- package/dist/service/firehose/source/read/sim-firehose-source-reading.js.map +1 -0
- package/dist/service/firehose/source/read/sim-firehose-source-shard-ids.d.ts +12 -0
- package/dist/service/firehose/source/read/sim-firehose-source-shard-ids.d.ts.map +1 -0
- package/dist/service/firehose/source/read/sim-firehose-source-shard-ids.js +56 -0
- package/dist/service/firehose/source/read/sim-firehose-source-shard-ids.js.map +1 -0
- package/dist/service/firehose/source/read/sim-firehose-source-shard.d.ts +36 -0
- package/dist/service/firehose/source/read/sim-firehose-source-shard.d.ts.map +1 -0
- package/dist/service/firehose/source/read/sim-firehose-source-shard.js +45 -0
- package/dist/service/firehose/source/read/sim-firehose-source-shard.js.map +1 -0
- package/dist/service/firehose/source/read/sim-firehose-source-shards.d.ts +42 -0
- package/dist/service/firehose/source/read/sim-firehose-source-shards.d.ts.map +1 -0
- package/dist/service/firehose/source/read/sim-firehose-source-shards.js +53 -0
- package/dist/service/firehose/source/read/sim-firehose-source-shards.js.map +1 -0
- package/dist/service/firehose/source/sim-firehose-kinesis-source-arn.d.ts +29 -0
- package/dist/service/firehose/source/sim-firehose-kinesis-source-arn.d.ts.map +1 -0
- package/dist/service/firehose/source/sim-firehose-kinesis-source-arn.js +57 -0
- package/dist/service/firehose/source/sim-firehose-kinesis-source-arn.js.map +1 -0
- package/dist/service/firehose/source/sim-firehose-record-source.d.ts +140 -0
- package/dist/service/firehose/source/sim-firehose-record-source.d.ts.map +1 -0
- package/dist/service/firehose/source/sim-firehose-record-source.js +53 -0
- package/dist/service/firehose/source/sim-firehose-record-source.js.map +1 -0
- package/dist/service/firehose/source/sim-firehose-source-choice.d.ts +26 -0
- package/dist/service/firehose/source/sim-firehose-source-choice.d.ts.map +1 -0
- package/dist/service/firehose/source/sim-firehose-source-choice.js +68 -0
- package/dist/service/firehose/source/sim-firehose-source-choice.js.map +1 -0
- package/dist/service/firehose/source/sim-firehose-source-failures.d.ts +38 -0
- package/dist/service/firehose/source/sim-firehose-source-failures.d.ts.map +1 -0
- package/dist/service/firehose/source/sim-firehose-source-failures.js +33 -0
- package/dist/service/firehose/source/sim-firehose-source-failures.js.map +1 -0
- package/dist/service/firehose/source/sim-firehose-source.d.ts +64 -0
- package/dist/service/firehose/source/sim-firehose-source.d.ts.map +1 -0
- package/dist/service/firehose/source/sim-firehose-source.js +58 -0
- package/dist/service/firehose/source/sim-firehose-source.js.map +1 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream-arn.d.ts +10 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream-arn.d.ts.map +1 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream-arn.js +12 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream-arn.js.map +1 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream-name.d.ts +9 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream-name.d.ts.map +1 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream-name.js +25 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream-name.js.map +1 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream-store.d.ts +37 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream-store.d.ts.map +1 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream-store.js +55 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream-store.js.map +1 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream.d.ts +50 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream.d.ts.map +1 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream.factory.d.ts +57 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream.factory.d.ts.map +1 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream.factory.js +61 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream.factory.js.map +1 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream.js +42 -0
- package/dist/service/firehose/stream/sim-firehose-delivery-stream.js.map +1 -0
- package/dist/service/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/stepfunctions/choice/sim-states-choice-group-test.d.ts +32 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-group-test.d.ts.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-group-test.js +42 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-group-test.js.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-operand.d.ts +29 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-operand.d.ts.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-operand.js +38 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-operand.js.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-parse.d.ts +15 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-parse.d.ts.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-parse.js +44 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-parse.js.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-rule-record.d.ts +10 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-rule-record.d.ts.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-rule-record.js +31 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-rule-record.js.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-rule.d.ts +15 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-rule.d.ts.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-rule.js +18 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-rule.js.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-test-parse.d.ts +7 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-test-parse.d.ts.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-test-parse.js +72 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-test-parse.js.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-test.d.ts +33 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-test.d.ts.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-test.js +34 -0
- package/dist/service/stepfunctions/choice/sim-states-choice-test.js.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-comparison-families.d.ts +26 -0
- package/dist/service/stepfunctions/choice/sim-states-comparison-families.d.ts.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-comparison-families.js +65 -0
- package/dist/service/stepfunctions/choice/sim-states-comparison-families.js.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-comparison-parse.d.ts +15 -0
- package/dist/service/stepfunctions/choice/sim-states-comparison-parse.d.ts.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-comparison-parse.js +43 -0
- package/dist/service/stepfunctions/choice/sim-states-comparison-parse.js.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-comparison.d.ts +49 -0
- package/dist/service/stepfunctions/choice/sim-states-comparison.d.ts.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-comparison.js +51 -0
- package/dist/service/stepfunctions/choice/sim-states-comparison.js.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-comparisons.d.ts +6 -0
- package/dist/service/stepfunctions/choice/sim-states-comparisons.d.ts.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-comparisons.js +64 -0
- package/dist/service/stepfunctions/choice/sim-states-comparisons.js.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-glob.d.ts +14 -0
- package/dist/service/stepfunctions/choice/sim-states-glob.d.ts.map +1 -0
- package/dist/service/stepfunctions/choice/sim-states-glob.js +73 -0
- package/dist/service/stepfunctions/choice/sim-states-glob.js.map +1 -0
- package/dist/service/stepfunctions/command/execution/execution.command.d.ts +32 -0
- package/dist/service/stepfunctions/command/execution/execution.command.d.ts.map +1 -0
- package/dist/service/stepfunctions/command/execution/execution.command.js +2 -0
- package/dist/service/stepfunctions/command/execution/execution.command.js.map +1 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-describe.d.ts +11 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-describe.d.ts.map +1 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-describe.js +23 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-describe.js.map +1 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-name.d.ts +12 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-name.d.ts.map +1 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-name.js +23 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-name.js.map +1 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-repeat.d.ts +12 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-repeat.d.ts.map +1 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-repeat.js +21 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-repeat.js.map +1 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-start.d.ts +36 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-start.d.ts.map +1 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-start.js +64 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-start.js.map +1 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-view.d.ts +18 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-view.d.ts.map +1 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-view.js +41 -0
- package/dist/service/stepfunctions/command/execution/sim-states-execution-view.js.map +1 -0
- package/dist/service/stepfunctions/command/machine/machine.command.d.ts +63 -0
- package/dist/service/stepfunctions/command/machine/machine.command.d.ts.map +1 -0
- package/dist/service/stepfunctions/command/machine/machine.command.js +2 -0
- package/dist/service/stepfunctions/command/machine/machine.command.js.map +1 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-create.d.ts +30 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-create.d.ts.map +1 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-create.js +64 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-create.js.map +1 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-input.d.ts +22 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-input.d.ts.map +1 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-input.js +38 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-input.js.map +1 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-lookup.d.ts +7 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-lookup.d.ts.map +1 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-lookup.js +15 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-lookup.js.map +1 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-reads.d.ts +18 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-reads.d.ts.map +1 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-reads.js +49 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-reads.js.map +1 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-writes.d.ts +26 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-writes.d.ts.map +1 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-writes.js +44 -0
- package/dist/service/stepfunctions/command/machine/sim-state-machine-writes.js.map +1 -0
- package/dist/service/stepfunctions/command/sim-step-functions-command.types.d.ts +6 -0
- package/dist/service/stepfunctions/command/sim-step-functions-command.types.d.ts.map +1 -0
- package/dist/service/stepfunctions/command/sim-step-functions-command.types.js +2 -0
- package/dist/service/stepfunctions/command/sim-step-functions-command.types.js.map +1 -0
- package/dist/service/stepfunctions/command/sim-step-functions-request-options.d.ts +12 -0
- package/dist/service/stepfunctions/command/sim-step-functions-request-options.d.ts.map +1 -0
- package/dist/service/stepfunctions/command/sim-step-functions-request-options.js +2 -0
- package/dist/service/stepfunctions/command/sim-step-functions-request-options.js.map +1 -0
- package/dist/service/stepfunctions/data/sim-states-result-path.js +1 -1
- package/dist/service/stepfunctions/data/sim-states-result-path.js.map +1 -1
- package/dist/service/stepfunctions/data/sim-states-timestamp-fields.d.ts +10 -0
- package/dist/service/stepfunctions/data/sim-states-timestamp-fields.d.ts.map +1 -0
- package/dist/service/stepfunctions/data/sim-states-timestamp-fields.js +45 -0
- package/dist/service/stepfunctions/data/sim-states-timestamp-fields.js.map +1 -0
- package/dist/service/stepfunctions/data/sim-states-timestamp.d.ts +10 -0
- package/dist/service/stepfunctions/data/sim-states-timestamp.d.ts.map +1 -0
- package/dist/service/stepfunctions/data/sim-states-timestamp.js +26 -0
- package/dist/service/stepfunctions/data/sim-states-timestamp.js.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-definition-parse.d.ts +10 -0
- package/dist/service/stepfunctions/definition/sim-states-definition-parse.d.ts.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-definition-parse.js +61 -0
- package/dist/service/stepfunctions/definition/sim-states-definition-parse.js.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-definition.d.ts +15 -0
- package/dist/service/stepfunctions/definition/sim-states-definition.d.ts.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-definition.js +2 -0
- package/dist/service/stepfunctions/definition/sim-states-definition.js.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-state-fields.d.ts +17 -0
- package/dist/service/stepfunctions/definition/sim-states-state-fields.d.ts.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-state-fields.js +47 -0
- package/dist/service/stepfunctions/definition/sim-states-state-fields.js.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-state-parse.d.ts +7 -0
- package/dist/service/stepfunctions/definition/sim-states-state-parse.d.ts.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-state-parse.js +67 -0
- package/dist/service/stepfunctions/definition/sim-states-state-parse.js.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-state.d.ts +98 -0
- package/dist/service/stepfunctions/definition/sim-states-state.d.ts.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-state.js +34 -0
- package/dist/service/stepfunctions/definition/sim-states-state.js.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-transitions.d.ts +10 -0
- package/dist/service/stepfunctions/definition/sim-states-transitions.d.ts.map +1 -0
- package/dist/service/stepfunctions/definition/sim-states-transitions.js +79 -0
- package/dist/service/stepfunctions/definition/sim-states-transitions.js.map +1 -0
- package/dist/service/stepfunctions/error/sim-step-functions.error.d.ts +99 -0
- package/dist/service/stepfunctions/error/sim-step-functions.error.d.ts.map +1 -1
- package/dist/service/stepfunctions/error/sim-step-functions.error.js +119 -0
- package/dist/service/stepfunctions/error/sim-step-functions.error.js.map +1 -1
- package/dist/service/stepfunctions/execution/sim-states-execution-store.d.ts +33 -0
- package/dist/service/stepfunctions/execution/sim-states-execution-store.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-execution-store.js +55 -0
- package/dist/service/stepfunctions/execution/sim-states-execution-store.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-execution.d.ts +53 -0
- package/dist/service/stepfunctions/execution/sim-states-execution.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-execution.js +77 -0
- package/dist/service/stepfunctions/execution/sim-states-execution.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-failure.d.ts +24 -0
- package/dist/service/stepfunctions/execution/sim-states-failure.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-failure.js +50 -0
- package/dist/service/stepfunctions/execution/sim-states-failure.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-interpreter.d.ts +42 -0
- package/dist/service/stepfunctions/execution/sim-states-interpreter.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-interpreter.js +124 -0
- package/dist/service/stepfunctions/execution/sim-states-interpreter.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-choice.d.ts +12 -0
- package/dist/service/stepfunctions/execution/sim-states-run-choice.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-choice.js +24 -0
- package/dist/service/stepfunctions/execution/sim-states-run-choice.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-state.d.ts +15 -0
- package/dist/service/stepfunctions/execution/sim-states-run-state.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-state.js +68 -0
- package/dist/service/stepfunctions/execution/sim-states-run-state.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-task.d.ts +14 -0
- package/dist/service/stepfunctions/execution/sim-states-run-task.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-task.js +23 -0
- package/dist/service/stepfunctions/execution/sim-states-run-task.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-wait.d.ts +11 -0
- package/dist/service/stepfunctions/execution/sim-states-run-wait.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-run-wait.js +21 -0
- package/dist/service/stepfunctions/execution/sim-states-run-wait.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-settlement.d.ts +27 -0
- package/dist/service/stepfunctions/execution/sim-states-settlement.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-settlement.js +33 -0
- package/dist/service/stepfunctions/execution/sim-states-settlement.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-state-outcome.d.ts +46 -0
- package/dist/service/stepfunctions/execution/sim-states-state-outcome.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-state-outcome.js +2 -0
- package/dist/service/stepfunctions/execution/sim-states-state-outcome.js.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-state-runner.d.ts +27 -0
- package/dist/service/stepfunctions/execution/sim-states-state-runner.d.ts.map +1 -0
- package/dist/service/stepfunctions/execution/sim-states-state-runner.js +36 -0
- package/dist/service/stepfunctions/execution/sim-states-state-runner.js.map +1 -0
- package/dist/service/stepfunctions/index.d.ts +16 -0
- package/dist/service/stepfunctions/index.d.ts.map +1 -0
- package/dist/service/stepfunctions/index.js +9 -0
- package/dist/service/stepfunctions/index.js.map +1 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-arn.d.ts +30 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-arn.d.ts.map +1 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-arn.js +48 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-arn.js.map +1 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-store.d.ts +20 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-store.d.ts.map +1 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-store.js +32 -0
- package/dist/service/stepfunctions/machine/sim-state-machine-store.js.map +1 -0
- package/dist/service/stepfunctions/machine/sim-state-machine.d.ts +54 -0
- package/dist/service/stepfunctions/machine/sim-state-machine.d.ts.map +1 -0
- package/dist/service/stepfunctions/machine/sim-state-machine.js +60 -0
- package/dist/service/stepfunctions/machine/sim-state-machine.js.map +1 -0
- package/dist/service/stepfunctions/machine/sim-states-name.d.ts +10 -0
- package/dist/service/stepfunctions/machine/sim-states-name.d.ts.map +1 -0
- package/dist/service/stepfunctions/machine/sim-states-name.js +42 -0
- package/dist/service/stepfunctions/machine/sim-states-name.js.map +1 -0
- package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.d.ts +19 -0
- package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.d.ts.map +1 -0
- package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.js +53 -0
- package/dist/service/stepfunctions/sdk/sim-step-functions-sdk-command-router.js.map +1 -0
- package/dist/service/stepfunctions/sim-step-functions-inspection.d.ts +22 -0
- package/dist/service/stepfunctions/sim-step-functions-inspection.d.ts.map +1 -0
- package/dist/service/stepfunctions/sim-step-functions-inspection.js +29 -0
- package/dist/service/stepfunctions/sim-step-functions-inspection.js.map +1 -0
- package/dist/service/stepfunctions/sim-step-functions.d.ts +67 -0
- package/dist/service/stepfunctions/sim-step-functions.d.ts.map +1 -0
- package/dist/service/stepfunctions/sim-step-functions.js +124 -0
- package/dist/service/stepfunctions/sim-step-functions.js.map +1 -0
- package/dist/service/stepfunctions/task/sim-aws-states-task-targets.d.ts +33 -0
- package/dist/service/stepfunctions/task/sim-aws-states-task-targets.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/sim-aws-states-task-targets.js +49 -0
- package/dist/service/stepfunctions/task/sim-aws-states-task-targets.js.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-execution-role.d.ts +25 -0
- package/dist/service/stepfunctions/task/sim-states-execution-role.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-execution-role.js +57 -0
- package/dist/service/stepfunctions/task/sim-states-execution-role.js.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-function-arn-target.d.ts +31 -0
- package/dist/service/stepfunctions/task/sim-states-function-arn-target.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-function-arn-target.js +39 -0
- package/dist/service/stepfunctions/task/sim-states-function-arn-target.js.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-function-location.d.ts +20 -0
- package/dist/service/stepfunctions/task/sim-states-function-location.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-function-location.js +28 -0
- package/dist/service/stepfunctions/task/sim-states-function-location.js.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.d.ts +34 -0
- package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.js +65 -0
- package/dist/service/stepfunctions/task/sim-states-lambda-invoke-target.js.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-no-task-targets.d.ts +16 -0
- package/dist/service/stepfunctions/task/sim-states-no-task-targets.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-no-task-targets.js +19 -0
- package/dist/service/stepfunctions/task/sim-states-no-task-targets.js.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-task-fields.d.ts +14 -0
- package/dist/service/stepfunctions/task/sim-states-task-fields.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-task-fields.js +29 -0
- package/dist/service/stepfunctions/task/sim-states-task-fields.js.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-task-function.d.ts +57 -0
- package/dist/service/stepfunctions/task/sim-states-task-function.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-task-function.js +93 -0
- package/dist/service/stepfunctions/task/sim-states-task-function.js.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-task-invocation.d.ts +29 -0
- package/dist/service/stepfunctions/task/sim-states-task-invocation.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-task-invocation.js +2 -0
- package/dist/service/stepfunctions/task/sim-states-task-invocation.js.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-task-resource.d.ts +12 -0
- package/dist/service/stepfunctions/task/sim-states-task-resource.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-task-resource.js +64 -0
- package/dist/service/stepfunctions/task/sim-states-task-resource.js.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-task-target.d.ts +37 -0
- package/dist/service/stepfunctions/task/sim-states-task-target.d.ts.map +1 -0
- package/dist/service/stepfunctions/task/sim-states-task-target.js +12 -0
- package/dist/service/stepfunctions/task/sim-states-task-target.js.map +1 -0
- package/dist/service/stepfunctions/wait/sim-states-wait-due.d.ts +11 -0
- package/dist/service/stepfunctions/wait/sim-states-wait-due.d.ts.map +1 -0
- package/dist/service/stepfunctions/wait/sim-states-wait-due.js +67 -0
- package/dist/service/stepfunctions/wait/sim-states-wait-due.js.map +1 -0
- package/dist/service/stepfunctions/wait/sim-states-wait-fields.d.ts +18 -0
- package/dist/service/stepfunctions/wait/sim-states-wait-fields.d.ts.map +1 -0
- package/dist/service/stepfunctions/wait/sim-states-wait-fields.js +85 -0
- package/dist/service/stepfunctions/wait/sim-states-wait-fields.js.map +1 -0
- package/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 +11 -1
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { SimArn } from "../../aws/arn.js";
|
|
2
|
+
/**
|
|
3
|
+
* One Lambda@Edge function a cache Behavior runs, and how it is invoked.
|
|
4
|
+
*
|
|
5
|
+
* The ARN is a qualified one naming a published version, which is the only
|
|
6
|
+
* thing CloudFront accepts. `includeBody` decides whether the event carries
|
|
7
|
+
* the request body, and it is false unless the association asked for it.
|
|
8
|
+
*/
|
|
9
|
+
export interface SimCfEdgeAssociation {
|
|
10
|
+
readonly functionArn: SimArn;
|
|
11
|
+
readonly includeBody: boolean;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* The Lambda@Edge functions one cache Behavior runs, by event type.
|
|
15
|
+
*
|
|
16
|
+
* Only the two viewer events are here. The two origin events run either side
|
|
17
|
+
* of the Origin fetch, which the request pipeline has no hook for yet.
|
|
18
|
+
*/
|
|
19
|
+
export interface SimCfEdgeAssociations {
|
|
20
|
+
readonly viewerRequest?: SimCfEdgeAssociation;
|
|
21
|
+
readonly viewerResponse?: SimCfEdgeAssociation;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=sim-cf-edge-association.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cf-edge-association.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudfront/edge/sim-cf-edge-association.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;;;;;GAMG;AACH,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC;CAC/B;AAED;;;;;GAKG;AACH,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,aAAa,CAAC,EAAE,oBAAoB,CAAC;IAC9C,QAAQ,CAAC,cAAc,CAAC,EAAE,oBAAoB,CAAC;CAChD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cf-edge-association.js","sourceRoot":"","sources":["../../../../src/service/cloudfront/edge/sim-cf-edge-association.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { SimCloudFrontCacheBehaviorConfig, SimCloudFrontDefaultCacheBehaviorConfig } from "../command/create-distribution/create-distribution.command.js";
|
|
2
|
+
import type { SimCfEdgeAssociations } from "./sim-cf-edge-association.js";
|
|
3
|
+
/**
|
|
4
|
+
* Configure the Lambda@Edge associations of one cache Behavior.
|
|
5
|
+
*
|
|
6
|
+
* Returns undefined where the Behavior associates none. A Behavior without an
|
|
7
|
+
* edge function carries no empty object describing that.
|
|
8
|
+
*
|
|
9
|
+
* Only the two viewer events are mapped. An association on an origin event has
|
|
10
|
+
* already been refused by `SimCfEdgeAssociationValidator`, which runs before
|
|
11
|
+
* any Distribution state is touched.
|
|
12
|
+
*/
|
|
13
|
+
export declare function configureEdgeAssociations(cacheBehavior: SimCloudFrontDefaultCacheBehaviorConfig | SimCloudFrontCacheBehaviorConfig): SimCfEdgeAssociations | undefined;
|
|
14
|
+
//# sourceMappingURL=sim-cf-edge-associations-configure.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cf-edge-associations-configure.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudfront/edge/sim-cf-edge-associations-configure.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,gCAAgC,EAChC,uCAAuC,EACxC,MAAM,+DAA+D,CAAC;AACvE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAE1E;;;;;;;;;GASG;AACH,wBAAgB,yBAAyB,CACvC,aAAa,EACT,uCAAuC,GACvC,gCAAgC,GACnC,qBAAqB,GAAG,SAAS,CAoCnC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { assertDefined } from "../../../util/type-guard/defined.js";
|
|
2
|
+
/**
|
|
3
|
+
* Configure the Lambda@Edge associations of one cache Behavior.
|
|
4
|
+
*
|
|
5
|
+
* Returns undefined where the Behavior associates none. A Behavior without an
|
|
6
|
+
* edge function carries no empty object describing that.
|
|
7
|
+
*
|
|
8
|
+
* Only the two viewer events are mapped. An association on an origin event has
|
|
9
|
+
* already been refused by `SimCfEdgeAssociationValidator`, which runs before
|
|
10
|
+
* any Distribution state is touched.
|
|
11
|
+
*/
|
|
12
|
+
export function configureEdgeAssociations(cacheBehavior) {
|
|
13
|
+
const items = cacheBehavior.LambdaFunctionAssociations?.Items;
|
|
14
|
+
if (items === undefined) {
|
|
15
|
+
return undefined;
|
|
16
|
+
}
|
|
17
|
+
const associations = {};
|
|
18
|
+
for (const association of items) {
|
|
19
|
+
const { EventType, LambdaFunctionARN, IncludeBody } = association;
|
|
20
|
+
assertDefined(EventType, "Lambda@Edge association EventType");
|
|
21
|
+
assertDefined(LambdaFunctionARN, "Lambda@Edge association LambdaFunctionARN");
|
|
22
|
+
const configured = {
|
|
23
|
+
functionArn: LambdaFunctionARN,
|
|
24
|
+
includeBody: IncludeBody ?? false,
|
|
25
|
+
};
|
|
26
|
+
if (EventType === "viewer-request") {
|
|
27
|
+
associations.viewerRequest = configured;
|
|
28
|
+
continue;
|
|
29
|
+
}
|
|
30
|
+
if (EventType === "viewer-response") {
|
|
31
|
+
associations.viewerResponse = configured;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
return Object.keys(associations).length > 0 ? associations : undefined;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=sim-cf-edge-associations-configure.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cf-edge-associations-configure.js","sourceRoot":"","sources":["../../../../src/service/cloudfront/edge/sim-cf-edge-associations-configure.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAQpE;;;;;;;;;GASG;AACH,MAAM,UAAU,yBAAyB,CACvC,aAEoC;IAEpC,MAAM,KAAK,GAAG,aAAa,CAAC,0BAA0B,EAAE,KAAK,CAAC;IAE9D,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACxB,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,MAAM,YAAY,GAEd,EAAE,CAAC;IAEP,KAAK,MAAM,WAAW,IAAI,KAAK,EAAE,CAAC;QAChC,MAAM,EAAE,SAAS,EAAE,iBAAiB,EAAE,WAAW,EAAE,GAAG,WAAW,CAAC;QAElE,aAAa,CAAC,SAAS,EAAE,mCAAmC,CAAC,CAAC;QAC9D,aAAa,CACX,iBAAiB,EACjB,2CAA2C,CAC5C,CAAC;QAEF,MAAM,UAAU,GAAG;YACjB,WAAW,EAAE,iBAA2B;YACxC,WAAW,EAAE,WAAW,IAAI,KAAK;SAClC,CAAC;QAEF,IAAI,SAAS,KAAK,gBAAgB,EAAE,CAAC;YACnC,YAAY,CAAC,aAAa,GAAG,UAAU,CAAC;YACxC,SAAS;QACX,CAAC;QAED,IAAI,SAAS,KAAK,iBAAiB,EAAE,CAAC;YACpC,YAAY,CAAC,cAAc,GAAG,UAAU,CAAC;QAC3C,CAAC;IACH,CAAC;IAED,OAAO,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;AACzE,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type SimLambdaFunctionArnParts } from "../../lambda/function/sim-lambda-function-arn-parts.js";
|
|
2
|
+
/**
|
|
3
|
+
* The only Region CloudFront runs a Lambda@Edge function from.
|
|
4
|
+
*/
|
|
5
|
+
export declare const lambdaEdgeRegion = "us-east-1";
|
|
6
|
+
/**
|
|
7
|
+
* Read the parts of a Lambda@Edge function ARN, refusing one CloudFront would
|
|
8
|
+
* refuse.
|
|
9
|
+
*
|
|
10
|
+
* These are the two mistakes that get made, and both are refused at
|
|
11
|
+
* association time in AWS rather than showing up as a function that never
|
|
12
|
+
* runs. A function has to live in us-east-1 wherever the rest of the stack
|
|
13
|
+
* lives, and it has to be named by a published version. `$LATEST` moves under
|
|
14
|
+
* the Distribution and an alias can be repointed, so CloudFront takes neither
|
|
15
|
+
* and takes no unqualified ARN either.
|
|
16
|
+
*/
|
|
17
|
+
export declare function edgeFunctionArnParts(functionArn: string): SimLambdaFunctionArnParts;
|
|
18
|
+
//# sourceMappingURL=sim-cf-edge-function-arn.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cf-edge-function-arn.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudfront/edge/sim-cf-edge-function-arn.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,yBAAyB,EAC/B,MAAM,wDAAwD,CAAC;AAGhE;;GAEG;AACH,eAAO,MAAM,gBAAgB,cAAc,CAAC;AAE5C;;;;;;;;;;GAUG;AACH,wBAAgB,oBAAoB,CAClC,WAAW,EAAE,MAAM,GAClB,yBAAyB,CAoB3B"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { parseSimLambdaFunctionArn, } from "../../lambda/function/sim-lambda-function-arn-parts.js";
|
|
2
|
+
import { SimCloudFrontInvalidLambdaFunctionAssociation } from "../error/sim-cloudfront.error.js";
|
|
3
|
+
/**
|
|
4
|
+
* The only Region CloudFront runs a Lambda@Edge function from.
|
|
5
|
+
*/
|
|
6
|
+
export const lambdaEdgeRegion = "us-east-1";
|
|
7
|
+
/**
|
|
8
|
+
* Read the parts of a Lambda@Edge function ARN, refusing one CloudFront would
|
|
9
|
+
* refuse.
|
|
10
|
+
*
|
|
11
|
+
* These are the two mistakes that get made, and both are refused at
|
|
12
|
+
* association time in AWS rather than showing up as a function that never
|
|
13
|
+
* runs. A function has to live in us-east-1 wherever the rest of the stack
|
|
14
|
+
* lives, and it has to be named by a published version. `$LATEST` moves under
|
|
15
|
+
* the Distribution and an alias can be repointed, so CloudFront takes neither
|
|
16
|
+
* and takes no unqualified ARN either.
|
|
17
|
+
*/
|
|
18
|
+
export function edgeFunctionArnParts(functionArn) {
|
|
19
|
+
const arn = parseSimLambdaFunctionArn(functionArn);
|
|
20
|
+
if (arn === undefined) {
|
|
21
|
+
throw new SimCloudFrontInvalidLambdaFunctionAssociation(`Sim CloudFront LambdaFunctionARN ${functionArn} is not a Lambda function ARN`);
|
|
22
|
+
}
|
|
23
|
+
if (arn.regionName !== lambdaEdgeRegion) {
|
|
24
|
+
throw new SimCloudFrontInvalidLambdaFunctionAssociation(`Sim CloudFront Lambda@Edge function ${functionArn} is in ` +
|
|
25
|
+
`${arn.regionName}, but CloudFront only runs Lambda@Edge functions ` +
|
|
26
|
+
`from ${lambdaEdgeRegion}`);
|
|
27
|
+
}
|
|
28
|
+
assertVersionQualifier(arn, functionArn);
|
|
29
|
+
return arn;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Refuse an ARN naming anything but a published version.
|
|
33
|
+
*
|
|
34
|
+
* A version qualifier is a number, and an alias is a name, which is the whole
|
|
35
|
+
* of the difference between the two in an ARN.
|
|
36
|
+
*/
|
|
37
|
+
function assertVersionQualifier(arn, functionArn) {
|
|
38
|
+
const { qualifier } = arn;
|
|
39
|
+
if (qualifier !== undefined && /^\d+$/u.test(qualifier)) {
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
throw new SimCloudFrontInvalidLambdaFunctionAssociation(`Sim CloudFront LambdaFunctionARN ${functionArn} does not name a ` +
|
|
43
|
+
`published Lambda function version. CloudFront needs a version ` +
|
|
44
|
+
`qualifier such as :1, and takes neither $LATEST nor an alias. ` +
|
|
45
|
+
`Publish a version with PublishVersion or AWS::Lambda::Version.`);
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=sim-cf-edge-function-arn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cf-edge-function-arn.js","sourceRoot":"","sources":["../../../../src/service/cloudfront/edge/sim-cf-edge-function-arn.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,GAE1B,MAAM,wDAAwD,CAAC;AAChE,OAAO,EAAE,6CAA6C,EAAE,MAAM,kCAAkC,CAAC;AAEjG;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,WAAW,CAAC;AAE5C;;;;;;;;;;GAUG;AACH,MAAM,UAAU,oBAAoB,CAClC,WAAmB;IAEnB,MAAM,GAAG,GAAG,yBAAyB,CAAC,WAAW,CAAC,CAAC;IAEnD,IAAI,GAAG,KAAK,SAAS,EAAE,CAAC;QACtB,MAAM,IAAI,6CAA6C,CACrD,oCAAoC,WAAW,+BAA+B,CAC/E,CAAC;IACJ,CAAC;IAED,IAAI,GAAG,CAAC,UAAU,KAAK,gBAAgB,EAAE,CAAC;QACxC,MAAM,IAAI,6CAA6C,CACrD,uCAAuC,WAAW,SAAS;YACzD,GAAG,GAAG,CAAC,UAAU,mDAAmD;YACpE,QAAQ,gBAAgB,EAAE,CAC7B,CAAC;IACJ,CAAC;IAED,sBAAsB,CAAC,GAAG,EAAE,WAAW,CAAC,CAAC;IAEzC,OAAO,GAAG,CAAC;AACb,CAAC;AAED;;;;;GAKG;AACH,SAAS,sBAAsB,CAC7B,GAA8B,EAC9B,WAAmB;IAEnB,MAAM,EAAE,SAAS,EAAE,GAAG,GAAG,CAAC;IAE1B,IAAI,SAAS,KAAK,SAAS,IAAI,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC;QACxD,OAAO;IACT,CAAC;IAED,MAAM,IAAI,6CAA6C,CACrD,oCAAoC,WAAW,mBAAmB;QAChE,gEAAgE;QAChE,gEAAgE;QAChE,gEAAgE,CACnE,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Lambda functions a simulated Distribution's Behaviors can run at the
|
|
3
|
+
* edge.
|
|
4
|
+
*
|
|
5
|
+
* A `LambdaFunctionARN` can name any Account and Region, so the functions come
|
|
6
|
+
* from the whole simulation rather than from the CloudFront service's own
|
|
7
|
+
* scope. A standalone `SimCloudFront` built without one associates a function
|
|
8
|
+
* by ARN and runs nothing, the same way it accepts a viewer certificate
|
|
9
|
+
* without a simulated ACM to check it against.
|
|
10
|
+
*/
|
|
11
|
+
export interface SimCfEdgeFunctions {
|
|
12
|
+
/**
|
|
13
|
+
* Check the function can be associated, throwing when it cannot.
|
|
14
|
+
*
|
|
15
|
+
* Run when the Distribution is created or updated, which is when real
|
|
16
|
+
* CloudFront checks it. A Behavior naming a function that is not there is
|
|
17
|
+
* refused there rather than serving requests that quietly skip it.
|
|
18
|
+
*/
|
|
19
|
+
assertAssociable(functionArn: string): Promise<void>;
|
|
20
|
+
/**
|
|
21
|
+
* Run the function for one edge event, answering with what it returned.
|
|
22
|
+
*/
|
|
23
|
+
invoke(functionArn: string, event: object): Promise<unknown>;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=sim-cf-edge-functions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cf-edge-functions.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudfront/edge/sim-cf-edge-functions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;;;;OAMG;IACH,gBAAgB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAErD;;OAEG;IACH,MAAM,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;CAC9D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cf-edge-functions.js","sourceRoot":"","sources":["../../../../src/service/cloudfront/edge/sim-cf-edge-functions.ts"],"names":[],"mappings":""}
|
|
@@ -163,4 +163,17 @@ export declare class SimCloudFrontInvalidWebAclId extends SimCloudFrontError {
|
|
|
163
163
|
readonly name = "InvalidWebACLId";
|
|
164
164
|
constructor(message: string);
|
|
165
165
|
}
|
|
166
|
+
/**
|
|
167
|
+
* Simulated CloudFront InvalidLambdaFunctionAssociation error.
|
|
168
|
+
*
|
|
169
|
+
* What CloudFront answers for every way a `LambdaFunctionAssociations` entry
|
|
170
|
+
* can be unusable: an ARN that names no published version, a function outside
|
|
171
|
+
* us-east-1, an execution role Lambda@Edge cannot assume, and a Behavior that
|
|
172
|
+
* mixes a CloudFront Function with a Lambda@Edge function at the viewer
|
|
173
|
+
* events.
|
|
174
|
+
*/
|
|
175
|
+
export declare class SimCloudFrontInvalidLambdaFunctionAssociation extends SimCloudFrontError {
|
|
176
|
+
readonly name = "InvalidLambdaFunctionAssociation";
|
|
177
|
+
constructor(message: string);
|
|
178
|
+
}
|
|
166
179
|
//# sourceMappingURL=sim-cloudfront.error.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cloudfront.error.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudfront/error/sim-cloudfront.error.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;CAClC;AAED;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,KAAK;aAGzB,SAAS,EAAE,0BAA0B;IAFvD,YACE,OAAO,EAAE,MAAM,EACC,SAAS,GAAE,0BAA+B,EAG3D;CACF;AAED;;;;;;GAMG;AACH,qBAAa,qCAAsC,SAAQ,kBAAkB;IAC3E,SAAyB,IAAI,8BAA8B;IAE3D,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF;AAED;;;;;GAKG;AACH,qBAAa,qCAAsC,SAAQ,kBAAkB;IAC3E,SAAyB,IAAI,8BAA8B;I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AAE,MAAM,EAE1B;CACF;AAED;;;;;GAKG;AACH,qBAAa,mCAAoC,SAAQ,kBAAkB;IACzE,SAAyB,IAAI,4BAA4B;IAEzD,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF;AAED;;;;;GAKG;AACH,qBAAa,oCAAqC,SAAQ,kBAAkB;IAC1E,SAAyB,IAAI,6BAA6B;IAE1D,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF;AAED;;;;;;GAMG;AACH,qBAAa,sCAAuC,SAAQ,kBAAkB;IAC5E,SAAyB,IAAI,+BAA+B;IAE5D,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF;AAED;;;;;;GAMG;AACH,qBAAa,4BAA6B,SAAQ,kBAAkB;IAClE,SAAyB,IAAI,qBAAqB;IAElD,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF"}
|
|
1
|
+
{"version":3,"file":"sim-cloudfront.error.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudfront/error/sim-cloudfront.error.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;CAClC;AAED;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,KAAK;aAGzB,SAAS,EAAE,0BAA0B;IAFvD,YACE,OAAO,EAAE,MAAM,EACC,SAAS,GAAE,0BAA+B,EAG3D;CACF;AAED;;;;;;GAMG;AACH,qBAAa,qCAAsC,SAAQ,kBAAkB;IAC3E,SAAyB,IAAI,8BAA8B;IAE3D,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF;AAED;;;;;GAKG;AACH,qBAAa,qCAAsC,SAAQ,kBAAkB;IAC3E,SAAyB,IAAI,8BAA8B;IAE3D,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF;AAED;;GAEG;AACH,qBAAa,6BAA8B,SAAQ,kBAAkB;IACnE,SAAyB,IAAI,sBAAsB;IAEnD,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF;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AACH,qBAAa,oCAAqC,SAAQ,kBAAkB;IAC1E,SAAyB,IAAI,6BAA6B;IAE1D,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF;AAED;;;;;;GAMG;AACH,qBAAa,sCAAuC,SAAQ,kBAAkB;IAC5E,SAAyB,IAAI,+BAA+B;IAE5D,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF;AAED;;;;;;GAMG;AACH,qBAAa,4BAA6B,SAAQ,kBAAkB;IAClE,SAAyB,IAAI,qBAAqB;IAElD,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF;AAED;;;;;;;;GAQG;AACH,qBAAa,6CAA8C,SAAQ,kBAAkB;IACnF,SAAyB,IAAI,sCAAsC;IAEnE,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF"}
|
|
@@ -192,4 +192,19 @@ export class SimCloudFrontInvalidWebAclId extends SimCloudFrontError {
|
|
|
192
192
|
super(message, { httpStatusCode: 400 });
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
|
+
/**
|
|
196
|
+
* Simulated CloudFront InvalidLambdaFunctionAssociation error.
|
|
197
|
+
*
|
|
198
|
+
* What CloudFront answers for every way a `LambdaFunctionAssociations` entry
|
|
199
|
+
* can be unusable: an ARN that names no published version, a function outside
|
|
200
|
+
* us-east-1, an execution role Lambda@Edge cannot assume, and a Behavior that
|
|
201
|
+
* mixes a CloudFront Function with a Lambda@Edge function at the viewer
|
|
202
|
+
* events.
|
|
203
|
+
*/
|
|
204
|
+
export class SimCloudFrontInvalidLambdaFunctionAssociation extends SimCloudFrontError {
|
|
205
|
+
name = "InvalidLambdaFunctionAssociation";
|
|
206
|
+
constructor(message) {
|
|
207
|
+
super(message, { httpStatusCode: 400 });
|
|
208
|
+
}
|
|
209
|
+
}
|
|
195
210
|
//# sourceMappingURL=sim-cloudfront.error.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cloudfront.error.js","sourceRoot":"","sources":["../../../../src/service/cloudfront/error/sim-c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C;IAEnE,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,EAAE,EAAE,cAAc,EAAE,GAAG,EAAE,CAAC,CAAC;IAC1C,CAAC;CACF;AAED;;;;;GAKG;AACH,MAAM,OAAO,mCAAoC,SAAQ,kBAAkB;IAChD,IAAI,GAAG,wBAAwB,CAAC;IAEzD,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,EAAE,EAAE,cAAc,EAAE,GAAG,EAAE,CAAC,CAAC;IAC1C,CAAC;CACF;AAED;;;;;GAKG;AACH,MAAM,OAAO,oCAAqC,SAAQ,kBAAkB;IACjD,IAAI,GAAG,yBAAyB,CAAC;IAE1D,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,EAAE,EAAE,cAAc,EAAE,GAAG,EAAE,CAAC,CAAC;IAC1C,CAAC;CACF;AAED;;;;;;GAMG;AACH,MAAM,OAAO,sCAAuC,SAAQ,kBAAkB;IACnD,IAAI,GAAG,2BAA2B,CAAC;IAE5D,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,EAAE,EAAE,cAAc,EAAE,GAAG,EAAE,CAAC,CAAC;IAC1C,CAAC;CACF;AAED;;;;;;GAMG;AACH,MAAM,OAAO,4BAA6B,SAAQ,kBAAkB;IACzC,IAAI,GAAG,iBAAiB,CAAC;IAElD,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,EAAE,EAAE,cAAc,EAAE,GAAG,EAAE,CAAC,CAAC;IAC1C,CAAC;CACF"}
|
|
1
|
+
{"version":3,"file":"sim-cloudfront.error.js","sourceRoot":"","sources":["../../../../src/service/cloudfront/error/sim-cloudfront.error.ts"],"names":[],"mappings":"AAOA;;GAEG;AACH,MAAM,OAAO,kBAAmB,SAAQ,KAAK;IAGzB,SAAS;IAF3B,YACE,OAAe,EACC,SAAS,GAA+B,EAAE;QAE1D,KAAK,CAAC,OAAO,CAAC,CAAC;yBAFC,SAAS;IAG3B,CAAC;CACF;AAED;;;;;;GAMG;AACH,MAAM,OAAO,qCAAsC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,EAAE,EAAE,cAAc,EAAE,GAAG,EAAE,CAAC,CAAC;IAC1C,CAAC;CACF;AAED;;;;;GAKG;AACH,MAAM,OAAO,oCAAqC,SAAQ,kBAAkB;IACjD,IAAI,GAAG,yBAAyB,CAAC;IAE1D,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,EAAE,EAAE,cAAc,EAAE,GAAG,EAAE,CAAC,CAAC;IAC1C,CAAC;CACF;AAED;;;;;;GAMG;AACH,MAAM,OAAO,sCAAuC,SAAQ,kBAAkB;IACnD,IAAI,GAAG,2BAA2B,CAAC;IAE5D,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,EAAE,EAAE,cAAc,EAAE,GAAG,EAAE,CAAC,CAAC;IAC1C,CAAC;CACF;AAED;;;;;;GAMG;AACH,MAAM,OAAO,4BAA6B,SAAQ,kBAAkB;IACzC,IAAI,GAAG,iBAAiB,CAAC;IAElD,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,EAAE,EAAE,cAAc,EAAE,GAAG,EAAE,CAAC,CAAC;IAC1C,CAAC;CACF;AAED;;;;;;;;GAQG;AACH,MAAM,OAAO,6CAA8C,SAAQ,kBAAkB;IAC1D,IAAI,GAAG,kCAAkC,CAAC;IAEnE,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,EAAE,EAAE,cAAc,EAAE,GAAG,EAAE,CAAC,CAAC;IAC1C,CAAC;CACF"}
|
|
@@ -2,6 +2,7 @@ export { makeCffFunctionCodeInput } from "./cff/function-code-input/cff-function
|
|
|
2
2
|
export { cloudFrontViewerRequestEventFactory, cloudFrontViewerResponseEventFactory, } from "./factory/cloudfront-functions.factory.js";
|
|
3
3
|
export { cloudFrontFunctionSourceFromModule } from "./cff/function-code-module/cff-code-module-file.js";
|
|
4
4
|
export type { CloudFrontFunction } from "./typings/cloudfront-functions.namespace.js";
|
|
5
|
+
export type { LambdaAtEdge } from "./typings/lambda-at-edge.namespace.js";
|
|
5
6
|
export type { SimCloudFrontKeyValueStoreApi } from "./sim-cloudfront-key-value-store.js";
|
|
6
7
|
export type { SimCfKeyValueStoreCommands } from "./key-value-store/sim-cf-key-value-store-commands.js";
|
|
7
8
|
export type { SimCloudFrontKeyValueStore, SimCloudFrontKeyValueStoreId, SimCloudFrontKeyValueStoreStatus, } from "./key-value-store/sim-cf-key-value-store.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/service/cloudfront/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,sDAAsD,CAAC;AAChG,OAAO,EACL,mCAAmC,EACnC,oCAAoC,GACrC,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,kCAAkC,EAAE,MAAM,oDAAoD,CAAC;AACxG,YAAY,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC;AACtF,YAAY,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACzF,YAAY,EAAE,0BAA0B,EAAE,MAAM,sDAAsD,CAAC;AACvG,YAAY,EACV,0BAA0B,EAC1B,4BAA4B,EAC5B,gCAAgC,GACjC,MAAM,6CAA6C,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/service/cloudfront/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,sDAAsD,CAAC;AAChG,OAAO,EACL,mCAAmC,EACnC,oCAAoC,GACrC,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,kCAAkC,EAAE,MAAM,oDAAoD,CAAC;AACxG,YAAY,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC;AACtF,YAAY,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,YAAY,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACzF,YAAY,EAAE,0BAA0B,EAAE,MAAM,sDAAsD,CAAC;AACvG,YAAY,EACV,0BAA0B,EAC1B,4BAA4B,EAC5B,gCAAgC,GACjC,MAAM,6CAA6C,CAAC"}
|
|
@@ -2,6 +2,10 @@ interface SimCfCustomOriginRequestProperties {
|
|
|
2
2
|
readonly domainName: string;
|
|
3
3
|
readonly originPath: string;
|
|
4
4
|
readonly request: Request;
|
|
5
|
+
/**
|
|
6
|
+
* The Origin's own custom headers, keyed by lower-case header name.
|
|
7
|
+
*/
|
|
8
|
+
readonly customHeaders?: Readonly<Record<string, string>> | undefined;
|
|
5
9
|
/**
|
|
6
10
|
* Headers stating who the Origin request is from and what its signature
|
|
7
11
|
* covers, which an Origin whose origin access control signs carries and an
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cf-custom-origin-request.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudfront/origin/custom/sim-cf-custom-origin-request.ts"],"names":[],"mappings":"AAGA,UAAU,kCAAkC;IAC1C,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B;;;;OAIG;IACH,QAAQ,CAAC,cAAc,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,SAAS,CAAC;CACxE;AAED;;;;;;;;GAQG;AACH,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,kCAAkC,GAC7C,OAAO,
|
|
1
|
+
{"version":3,"file":"sim-cf-custom-origin-request.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudfront/origin/custom/sim-cf-custom-origin-request.ts"],"names":[],"mappings":"AAGA,UAAU,kCAAkC;IAC1C,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,SAAS,CAAC;IACtE;;;;OAIG;IACH,QAAQ,CAAC,cAAc,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,SAAS,CAAC;CACxE;AAED;;;;;;;;GAQG;AACH,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,kCAAkC,GAC7C,OAAO,CAgDT"}
|
|
@@ -25,6 +25,13 @@ export function simCfCustomOriginRequest(properties) {
|
|
|
25
25
|
// had them stripped already; one reaching a controller in process has not,
|
|
26
26
|
// and either way an unsigned Origin should state nothing.
|
|
27
27
|
stripSimAwsControlHeaders(headers);
|
|
28
|
+
// A viewer sending a header the Origin also configures has its value
|
|
29
|
+
// replaced, as CloudFront replaces it. That is what stops a viewer spoofing
|
|
30
|
+
// a header the origin trusts by sending it through the Distribution.
|
|
31
|
+
const customHeaders = Object.entries(properties.customHeaders ?? {});
|
|
32
|
+
for (const [name, value] of customHeaders) {
|
|
33
|
+
headers.set(name, value);
|
|
34
|
+
}
|
|
28
35
|
const signingHeaders = Object.entries(properties.signingHeaders ?? {});
|
|
29
36
|
for (const [name, value] of signingHeaders) {
|
|
30
37
|
headers.set(name, value);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cf-custom-origin-request.js","sourceRoot":"","sources":["../../../../../src/service/cloudfront/origin/custom/sim-cf-custom-origin-request.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iDAAiD,CAAC;AACjF,OAAO,EAAE,yBAAyB,EAAE,MAAM,iDAAiD,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-cf-custom-origin-request.js","sourceRoot":"","sources":["../../../../../src/service/cloudfront/origin/custom/sim-cf-custom-origin-request.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iDAAiD,CAAC;AACjF,OAAO,EAAE,yBAAyB,EAAE,MAAM,i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AAK,CAAC,CAAC;IAC3B,CAAC;IAED,MAAM,aAAa,GAAG,CAAC,kBAAkB,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;IAE/D,OAAO,IAAI,OAAO,CAAC,SAAS,EAAE;QAC5B,MAAM,EAAE,OAAO,CAAC,MAAM;QACtB,OAAO;QACP,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI;QACjD,MAAM,EAAE,MAAM;QACd,QAAQ,EAAE,OAAO,CAAC,QAAQ;QAC1B,MAAM,EAAE,OAAO,CAAC,MAAM;KACvB,CAAC,CAAC;AACL,CAAC;AAED;;GAEG;AACH,SAAS,iBAAiB,CAAC,UAAkB,EAAE,UAAkB;IAC/D,OAAO,IAAI,UAAU,IAAI,UAAU,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC;AACpE,CAAC"}
|
|
@@ -8,6 +8,11 @@ interface SimCloudFrontCustomOriginProperties {
|
|
|
8
8
|
readonly originPath?: string | undefined;
|
|
9
9
|
readonly dispatcher: SimCfCustomOriginDispatcher;
|
|
10
10
|
readonly originAccessControl?: SimCloudFrontOriginAccessControl | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* The headers CloudFront adds to every request it sends to this Origin,
|
|
13
|
+
* keyed by lower-case header name.
|
|
14
|
+
*/
|
|
15
|
+
readonly customHeaders?: Readonly<Record<string, string>> | undefined;
|
|
11
16
|
}
|
|
12
17
|
/**
|
|
13
18
|
* Simulated CloudFront custom Origin.
|
|
@@ -33,6 +38,7 @@ export declare class SimCloudFrontCustomOrigin implements SimCloudFrontOrigin {
|
|
|
33
38
|
private readonly originPath;
|
|
34
39
|
private readonly dispatcher;
|
|
35
40
|
private readonly signer;
|
|
41
|
+
private readonly customHeaders;
|
|
36
42
|
constructor(properties: SimCloudFrontCustomOriginProperties);
|
|
37
43
|
/**
|
|
38
44
|
* Fetch the request from the simulated service behind this Origin.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cloudfront-custom-origin.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,6DAA6D,CAAC;AACpH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AACxF,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AAIxF,UAAU,mCAAmC;IAC3C,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,QAAQ,CAAC,UAAU,EAAE,2BAA2B,CAAC;IACjD,QAAQ,CAAC,mBAAmB,CAAC,EAAE,gCAAgC,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-cloudfront-custom-origin.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,6DAA6D,CAAC;AACpH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AACxF,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AAIxF,UAAU,mCAAmC;IAC3C,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,QAAQ,CAAC,UAAU,EAAE,2BAA2B,CAAC;IACjD,QAAQ,CAAC,mBAAmB,CAAC,EAAE,gCAAgC,GAAG,SAAS,CAAC;IAC5E;;;OAGG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,SAAS,CAAC;CACvE;AAED;;;;;;;;;;;;;GAaG;AACH,qBAAa,yBAA0B,YAAW,mBAAmB;IACnE;;OAEG;IACH,SAAgB,mBAAmB,EAC/B,gCAAgC,GAChC,SAAS,CAAC;IAEd,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAS;IAClC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAS;IACpC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAS;IACpC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA8B;IACzD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IACjD,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAmC;IAEjE,YAAY,UAAU,EAAE,mCAAmC,EAQ1D;IAED;;;;;;OAMG;IACG,KAAK,CAAC,OAAO,EAAE,0BAA0B,GAAG,OAAO,CAAC,QAAQ,CAAC,CAkBlE;CACF"}
|
|
@@ -24,6 +24,7 @@ export class SimCloudFrontCustomOrigin {
|
|
|
24
24
|
originPath;
|
|
25
25
|
dispatcher;
|
|
26
26
|
signer;
|
|
27
|
+
customHeaders;
|
|
27
28
|
constructor(properties) {
|
|
28
29
|
this.originId = properties.originId;
|
|
29
30
|
this.domainName = properties.domainName;
|
|
@@ -31,6 +32,7 @@ export class SimCloudFrontCustomOrigin {
|
|
|
31
32
|
this.dispatcher = properties.dispatcher;
|
|
32
33
|
this.originAccessControl = properties.originAccessControl;
|
|
33
34
|
this.signer = new SimCfCustomOriginSigner(properties.originAccessControl);
|
|
35
|
+
this.customHeaders = properties.customHeaders ?? {};
|
|
34
36
|
}
|
|
35
37
|
/**
|
|
36
38
|
* Fetch the request from the simulated service behind this Origin.
|
|
@@ -44,6 +46,7 @@ export class SimCloudFrontCustomOrigin {
|
|
|
44
46
|
domainName: this.domainName,
|
|
45
47
|
originPath: this.originPath,
|
|
46
48
|
request: request.req,
|
|
49
|
+
customHeaders: this.customHeaders,
|
|
47
50
|
signingHeaders: this.signer.forRequest(request),
|
|
48
51
|
});
|
|
49
52
|
const { hostname } = new URL(originRequest.url);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cloudfront-custom-origin.js","sourceRoot":"","sources":["../../../../../src/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-cloudfront-custom-origin.js","sourceRoot":"","sources":["../../../../../src/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAe3E;;;;;;;;;;;;;GAaG;AACH,MAAM,OAAO,yBAAyB;IACpC;;OAEG;IACa,mBAAmB,CAErB;IAEG,QAAQ,CAAS;IACjB,UAAU,CAAS;IACnB,UAAU,CAAS;IACnB,UAAU,CAA8B;IACxC,MAAM,CAA0B;IAChC,aAAa,CAAmC;IAEjE,YAAY,UAA+C;QACzD,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC;QACpC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;QACxC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,UAAU,IAAI,EAAE,CAAC;QAC9C,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;QACxC,IAAI,CAAC,mBAAmB,GAAG,UAAU,CAAC,mBAAmB,CAAC;QAC1D,IAAI,CAAC,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,CAAC,mBAAmB,CAAC,CAAC;QAC1E,IAAI,CAAC,aAAa,GAAG,UAAU,CAAC,aAAa,IAAI,EAAE,CAAC;IACtD,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,KAAK,CAAC,OAAmC;QAC7C,MAAM,aAAa,GAAG,wBAAwB,CAAC;YAC7C,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,OAAO,EAAE,OAAO,CAAC,GAAG;YACpB,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,cAAc,EAAE,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC;SAChD,CAAC,CAAC;QAEH,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI,GAAG,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;QAEhD,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC;YACxC,MAAM,IAAI,KAAK,CACb,yBAAyB,IAAI,CAAC,QAAQ,gBAAgB,IAAI,CAAC,UAAU,8CAA8C,CACpH,CAAC;QACJ,CAAC;QAED,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;IACpD,CAAC;CACF"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { SimCloudFrontOriginConfig } from "../command/create-distribution/create-distribution.command.js";
|
|
2
|
+
/**
|
|
3
|
+
* Read the custom headers an Origin was configured with.
|
|
4
|
+
*
|
|
5
|
+
* CloudFront adds these to every request it sends to the Origin, which is how
|
|
6
|
+
* an origin tells a request that came through the Distribution from one that
|
|
7
|
+
* reached it directly. A header name CloudFront refuses to add fails here, as
|
|
8
|
+
* CloudFront fails the Distribution over one.
|
|
9
|
+
*
|
|
10
|
+
* The header names are lower-cased on the way in. HTTP header names are
|
|
11
|
+
* case-insensitive, and lower-casing them here is what makes a configured
|
|
12
|
+
* header overwrite a viewer header written in another case.
|
|
13
|
+
*/
|
|
14
|
+
export declare function simCfOriginCustomHeaders(originId: string, origin: SimCloudFrontOriginConfig): Readonly<Record<string, string>>;
|
|
15
|
+
//# sourceMappingURL=sim-cf-origin-custom-headers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cf-origin-custom-headers.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudfront/origin/sim-cf-origin-custom-headers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+DAA+D,CAAC;AAuC/G;;;;;;;;;;;GAWG;AACH,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,yBAAyB,GAChC,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAalC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { SimCloudFrontInvalidArgument } from "../error/sim-cloudfront.error.js";
|
|
2
|
+
/**
|
|
3
|
+
* The header names CloudFront refuses to add to an Origin request.
|
|
4
|
+
*
|
|
5
|
+
* https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/add-origin-custom-headers.html
|
|
6
|
+
*/
|
|
7
|
+
const deniedHeaderNames = new Set([
|
|
8
|
+
"cache-control",
|
|
9
|
+
"connection",
|
|
10
|
+
"content-length",
|
|
11
|
+
"cookie",
|
|
12
|
+
"host",
|
|
13
|
+
"if-match",
|
|
14
|
+
"if-modified-since",
|
|
15
|
+
"if-none-match",
|
|
16
|
+
"if-range",
|
|
17
|
+
"if-unmodified-since",
|
|
18
|
+
"max-forwards",
|
|
19
|
+
"pragma",
|
|
20
|
+
"proxy-authenticate",
|
|
21
|
+
"proxy-authorization",
|
|
22
|
+
"proxy-connection",
|
|
23
|
+
"range",
|
|
24
|
+
"request-range",
|
|
25
|
+
"te",
|
|
26
|
+
"trailer",
|
|
27
|
+
"transfer-encoding",
|
|
28
|
+
"upgrade",
|
|
29
|
+
"via",
|
|
30
|
+
"x-real-ip",
|
|
31
|
+
]);
|
|
32
|
+
/**
|
|
33
|
+
* The header name prefixes CloudFront refuses alongside the names above.
|
|
34
|
+
*/
|
|
35
|
+
const deniedHeaderPrefixes = ["x-amz-", "x-edge-"];
|
|
36
|
+
/**
|
|
37
|
+
* Read the custom headers an Origin was configured with.
|
|
38
|
+
*
|
|
39
|
+
* CloudFront adds these to every request it sends to the Origin, which is how
|
|
40
|
+
* an origin tells a request that came through the Distribution from one that
|
|
41
|
+
* reached it directly. A header name CloudFront refuses to add fails here, as
|
|
42
|
+
* CloudFront fails the Distribution over one.
|
|
43
|
+
*
|
|
44
|
+
* The header names are lower-cased on the way in. HTTP header names are
|
|
45
|
+
* case-insensitive, and lower-casing them here is what makes a configured
|
|
46
|
+
* header overwrite a viewer header written in another case.
|
|
47
|
+
*/
|
|
48
|
+
export function simCfOriginCustomHeaders(originId, origin) {
|
|
49
|
+
const items = (origin.CustomHeaders ?? origin.OriginCustomHeaders)?.Items;
|
|
50
|
+
if (items === undefined) {
|
|
51
|
+
return {};
|
|
52
|
+
}
|
|
53
|
+
return Object.fromEntries(items.map((item) => [
|
|
54
|
+
assertHeaderName(originId, item.HeaderName),
|
|
55
|
+
item.HeaderValue ?? "",
|
|
56
|
+
]));
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Refuse a header name CloudFront has no way to add.
|
|
60
|
+
*/
|
|
61
|
+
function assertHeaderName(originId, headerName) {
|
|
62
|
+
if (headerName === undefined || headerName.length === 0) {
|
|
63
|
+
throw new SimCloudFrontInvalidArgument(`Sim CloudFront Origin ${originId} has a custom header with no HeaderName`);
|
|
64
|
+
}
|
|
65
|
+
const name = headerName.toLowerCase();
|
|
66
|
+
if (deniedHeaderNames.has(name) ||
|
|
67
|
+
deniedHeaderPrefixes.some((prefix) => name.startsWith(prefix))) {
|
|
68
|
+
throw new SimCloudFrontInvalidArgument(`Sim CloudFront Origin ${originId} custom header ${headerName} is one ` +
|
|
69
|
+
`CloudFront refuses to add to an Origin request. See ` +
|
|
70
|
+
`https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/add-origin-custom-headers.html`);
|
|
71
|
+
}
|
|
72
|
+
return name;
|
|
73
|
+
}
|
|
74
|
+
//# sourceMappingURL=sim-cf-origin-custom-headers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cf-origin-custom-headers.js","sourceRoot":"","sources":["../../../../src/service/cloudfront/origin/sim-cf-origin-custom-headers.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,4BAA4B,EAAE,MAAM,kCAAkC,CAAC;AAEhF;;;;GAIG;AACH,MAAM,iBAAiB,GAAG,IAAI,GAAG,CAAC;IAChC,eAAe;IACf,YAAY;IACZ,gBAAgB;IAChB,QAAQ;IACR,MAAM;IACN,UAAU;IACV,mBAAmB;IACnB,eAAe;IACf,UAAU;IACV,qBAAqB;IACrB,cAAc;IACd,QAAQ;IACR,oBAAoB;IACpB,qBAAqB;IACrB,kBAAkB;IAClB,OAAO;IACP,eAAe;IACf,IAAI;IACJ,SAAS;IACT,mBAAmB;IACnB,SAAS;IACT,KAAK;IACL,WAAW;CACZ,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,oBAAoB,GAAG,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC;AAEnD;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,wBAAwB,CACtC,QAAgB,EAChB,MAAiC;IAEjC,MAAM,KAAK,GAAG,CAAC,MAAM,CAAC,aAAa,IAAI,MAAM,CAAC,mBAAmB,CAAC,EAAE,KAAK,CAAC;IAE1E,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACxB,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,OAAO,MAAM,CAAC,WAAW,CACvB,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC;QAClB,gBAAgB,CAAC,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;QAC3C,IAAI,CAAC,WAAW,IAAI,EAAE;KACvB,CAAC,CACH,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAS,gBAAgB,CACvB,QAAgB,EAChB,UAA8B;IAE9B,IAAI,UAAU,KAAK,SAAS,IAAI,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACxD,MAAM,IAAI,4BAA4B,CACpC,yBAAyB,QAAQ,yCAAyC,CAC3E,CAAC;IACJ,CAAC;IAED,MAAM,IAAI,GAAG,UAAU,CAAC,WAAW,EAAE,CAAC;IAEtC,IACE,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC;QAC3B,oBAAoB,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,EAC9D,CAAC;QACD,MAAM,IAAI,4BAA4B,CACpC,yBAAyB,QAAQ,kBAAkB,UAAU,UAAU;YACrE,sDAAsD;YACtD,mGAAmG,CACtG,CAAC;IACJ,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -18,6 +18,7 @@ import type { SimCloudFrontOriginAccessControlRegistry } from "./origin-access-c
|
|
|
18
18
|
import type { SimCloudFrontResponseHeadersPolicyRegistry } from "./response-headers-policy/sim-cf-response-headers-policy-registry.js";
|
|
19
19
|
import { SimCloudFrontRegistry } from "./registry/sim-cloud-front-registry.js";
|
|
20
20
|
import type { SimCfWebAclResolver } from "./web-acl/sim-cf-web-acl.js";
|
|
21
|
+
import type { SimCfEdgeFunctions } from "./edge/sim-cf-edge-functions.js";
|
|
21
22
|
import { SimCfKeyValueStoreCommands } from "./key-value-store/sim-cf-key-value-store-commands.js";
|
|
22
23
|
import { SimCloudFrontKeyValueStoreApi } from "./sim-cloudfront-key-value-store.js";
|
|
23
24
|
/**
|
|
@@ -32,6 +33,8 @@ export interface SimCloudFrontProperties {
|
|
|
32
33
|
readonly acmRegistry?: SimAcmRegistry | undefined;
|
|
33
34
|
/** How a Distribution's `WebACLId` is resolved to the web ACL it names. */
|
|
34
35
|
readonly webAclResolver?: SimCfWebAclResolver | undefined;
|
|
36
|
+
/** The Lambda functions a Behavior's `LambdaFunctionAssociations` can run. */
|
|
37
|
+
readonly edgeFunctions?: SimCfEdgeFunctions | undefined;
|
|
35
38
|
readonly background?: BackgroundScheduler;
|
|
36
39
|
}
|
|
37
40
|
interface SimCloudFrontCommandsProperties extends SimCloudFrontProperties {
|
|
@@ -65,6 +68,13 @@ export declare class SimCloudFrontCommands {
|
|
|
65
68
|
* The key value store data API over those same stores.
|
|
66
69
|
*/
|
|
67
70
|
readonly keyValueStoreApi: SimCloudFrontKeyValueStoreApi;
|
|
71
|
+
/**
|
|
72
|
+
* The Lambda functions this CloudFront's Behaviors can run at the edge.
|
|
73
|
+
*
|
|
74
|
+
* Read by the request pipeline, which invokes one for a viewer event, as
|
|
75
|
+
* well as by the Distribution commands, which check one can be associated.
|
|
76
|
+
*/
|
|
77
|
+
readonly edgeFunctions: SimCfEdgeFunctions | undefined;
|
|
68
78
|
private readonly distributionState;
|
|
69
79
|
private readonly functionState;
|
|
70
80
|
private readonly configurationState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cloudfront-commands.d.ts","sourceRoot":"","sources":["../../../src/service/cloudfront/sim-cloudfront-commands.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AACvF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,kDAAkD,CAAC;AAC1D,OAAO,KAAK,EACV,4BAA4B,EAC5B,kCAAkC,EACnC,MAAM,8DAA8D,CAAC;AAEtE,OAAO,KAAK,EACV,wBAAwB,EACxB,8BAA8B,EAC/B,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EAEL,KAAK,wBAAwB,EAC9B,MAAM,sDAAsD,CAAC;AAC9D,OAAO,KAAK,EACV,4BAA4B,EAC5B,kCAAkC,EACnC,MAAM,8DAA8D,CAAC;AAEtE,OAAO,KAAK,EACV,wBAAwB,EACxB,8BAA8B,EAC/B,MAAM,sDAAsD,CAAC;AAE9D,OAAO,KAAK,EACV,yBAAyB,EACzB,+BAA+B,EAChC,MAAM,wDAAwD,CAAC;AAEhE,OAAO,KAAK,EACV,4BAA4B,EAC5B,kCAAkC,EACnC,MAAM,8DAA8D,CAAC;AAEtE,OAAO,KAAK,EACV,yBAAyB,EACzB,2BAA2B,EAC5B,MAAM,+CAA+C,CAAC;AACvD,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,oDAAoD,CAAC;AACtG,OAAO,EAEL,KAAK,6BAA6B,EACnC,MAAM,yCAAyC,CAAC;AACjD,OAAO,KAAK,EAAE,wCAAwC,EAAE,MAAM,kEAAkE,CAAC;AACjI,OAAO,KAAK,EAAE,0CAA0C,EAAE,MAAM,sEAAsE,CAAC;AACvI,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAE/E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-cloudfront-commands.d.ts","sourceRoot":"","sources":["../../../src/service/cloudfront/sim-cloudfront-commands.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM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AAgB,EAAE,6BAA6B,CAAC;IAEhE;;;;;OAKG;IACH,SAAgB,aAAa,EAAE,kBAAkB,GAAG,SAAS,CAAC;IAE9D,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAiC;IACnE,OAAO,CAAC,QAAQ,CAAC,aAAa,CAA6B;IAC3D,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAsC;IAEzE,YAAY,UAAU,EAAE,+BAA+B,EAyDtD;IAED;;OAEG;IACG,kBAAkB,CACtB,OAAO,EAAE,4BAA4B,EACrC,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,kCAAkC,CAAC,CAK7C;IAED;;OAEG;IACG,eAAe,CACnB,OAAO,EAAE,yBAAyB,EAClC,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,+BAA+B,CAAC,CAI1C;IAED;;OAEG;IACG,kBAAkB,CACtB,OAAO,EAAE,4BAA4B,EACrC,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,kCAAkC,CAAC,CAK7C;IAED;;OAEG;IACG,kBAAkB,CACtB,OAAO,EAAE,4BAA4B,EACrC,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,kCAAkC,CAAC,CAI7C;IAED;;OAEG;IACG,cAAc,CAClB,OAAO,EAAE,wBAAwB,EACjC,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,8BAA8B,CAAC,CAKzC;IAED;;OAEG;IACG,cAAc,CAClB,OAAO,EAAE,wBAAwB,EACjC,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,8BAA8B,CAAC,CAKzC;CACF"}
|
|
@@ -30,12 +30,20 @@ export class SimCloudFrontCommands {
|
|
|
30
30
|
* The key value store data API over those same stores.
|
|
31
31
|
*/
|
|
32
32
|
keyValueStoreApi;
|
|
33
|
+
/**
|
|
34
|
+
* The Lambda functions this CloudFront's Behaviors can run at the edge.
|
|
35
|
+
*
|
|
36
|
+
* Read by the request pipeline, which invokes one for a viewer event, as
|
|
37
|
+
* well as by the Distribution commands, which check one can be associated.
|
|
38
|
+
*/
|
|
39
|
+
edgeFunctions;
|
|
33
40
|
distributionState;
|
|
34
41
|
functionState;
|
|
35
42
|
configurationState;
|
|
36
43
|
constructor(properties) {
|
|
37
|
-
const { accountId, distributions, cloudFrontFunctions, cloudFrontRegistry = new SimCloudFrontRegistry(), s3OriginResolver = emptyCloudFrontS3OriginResolver, customOriginDispatcher, iam = new SimIamAllowAllAuth(), acmRegistry, webAclResolver, background = new BackgroundTasks(), } = properties;
|
|
44
|
+
const { accountId, distributions, cloudFrontFunctions, cloudFrontRegistry = new SimCloudFrontRegistry(), s3OriginResolver = emptyCloudFrontS3OriginResolver, customOriginDispatcher, iam = new SimIamAllowAllAuth(), acmRegistry, webAclResolver, edgeFunctions, background = new BackgroundTasks(), } = properties;
|
|
38
45
|
const keyValueStores = new SimCloudFrontKeyValueStoreRegistry();
|
|
46
|
+
this.edgeFunctions = edgeFunctions;
|
|
39
47
|
this.distributionState = {
|
|
40
48
|
accountId,
|
|
41
49
|
distributions,
|
|
@@ -55,6 +63,7 @@ export class SimCloudFrontCommands {
|
|
|
55
63
|
customOriginDispatcher,
|
|
56
64
|
acmRegistry,
|
|
57
65
|
webAclResolver,
|
|
66
|
+
edgeFunctions,
|
|
58
67
|
originAccessControls: properties.originAccessControls,
|
|
59
68
|
responseHeadersPolicies: properties.responseHeadersPolicies,
|
|
60
69
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cloudfront-commands.js","sourceRoot":"","sources":["../../../src/service/cloudfront/sim-cloudfront-commands.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,eAAe,GAChB,MAAM,qCAAqC,CAAC;AAK7C,OAAO,EACL,kBAAkB,GAEnB,MAAM,kDAAkD,CAAC;AAK1D,OAAO,EAAE,gCAAgC,EAAE,MAAM,8DAA8D,CAAC;AAKhH,OAAO,EACL,4BAA4B,GAE7B,MAAM,s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