@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
package/dist/service/cloudfront/command/create-distribution/create-distribution.handler.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ import type { BackgroundScheduler } from "../../../../util/background/background
|
|
|
12
12
|
import { type SimIamInterServiceAuthZ } from "../../../iam/authorize/sim-iam-inter-service-auth-z.js";
|
|
13
13
|
import type { SimAwsCaller } from "../../../aws/caller/sim-aws-caller.js";
|
|
14
14
|
import type { SimAcmRegistry } from "../../../acm/registry/sim-acm-registry.js";
|
|
15
|
+
import type { SimCfEdgeFunctions } from "../../edge/sim-cf-edge-functions.js";
|
|
15
16
|
interface CreateDistributionCommandHandlerProperties {
|
|
16
17
|
readonly accountId: SimAwsAccountId;
|
|
17
18
|
readonly distributions: Map<SimCloudFrontDistributionId, SimCloudFrontDistribution>;
|
|
@@ -23,6 +24,7 @@ interface CreateDistributionCommandHandlerProperties {
|
|
|
23
24
|
readonly webAclResolver?: SimCfWebAclResolver | undefined;
|
|
24
25
|
readonly iam?: SimIamInterServiceAuthZ;
|
|
25
26
|
readonly acmRegistry?: SimAcmRegistry | undefined;
|
|
27
|
+
readonly edgeFunctions?: SimCfEdgeFunctions | undefined;
|
|
26
28
|
readonly background: BackgroundScheduler;
|
|
27
29
|
}
|
|
28
30
|
interface CreateDistributionCommandHandlerOptions {
|
|
@@ -40,6 +42,7 @@ export declare class CreateDistributionCommandHandler implements CommandHandler<
|
|
|
40
42
|
private readonly distributionConfigurator;
|
|
41
43
|
private readonly authorizer;
|
|
42
44
|
private readonly viewerCertificateValidator;
|
|
45
|
+
private readonly edgeAssociationValidator;
|
|
43
46
|
private readonly background;
|
|
44
47
|
constructor(properties: CreateDistributionCommandHandlerProperties);
|
|
45
48
|
/**
|
package/dist/service/cloudfront/command/create-distribution/create-distribution.handler.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-distribution.handler.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudfront/command/create-distribution/create-distribution.handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,KAAK,EACV,4BAA4B,EAC5B,kCAAkC,EACnC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAC;AACxF,OAAO,EACL,yBAAyB,EACzB,KAAK,2BAA2B,EACjC,MAAM,mDAAmD,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAEvE,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,6CAA6C,CAAC;AACjG,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,wDAAwD,CAAC;AAC1G,OAAO,KAAK,EAAE,wCAAwC,EAAE,MAAM,sEAAsE,CAAC;AACrI,OAAO,KAAK,EAAE,0CAA0C,EAAE,MAAM,0EAA0E,CAAC;AAC3I,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAKrF,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,wDAAwD,CAAC;AAChE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAE1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAC;AAGhF,UAAU,0CAA0C;IAClD,QAAQ,CAAC,SAAS,EAAE,eAAe,CAAC;IACpC,QAAQ,CAAC,aAAa,EAAE,GAAG,CACzB,2BAA2B,EAC3B,yBAAyB,CAC1B,CAAC;IACF,QAAQ,CAAC,kBAAkB,EAAE,qBAAqB,CAAC;IACnD,QAAQ,CAAC,gBAAgB,EAAE,6BAA6B,CAAC;IACzD,QAAQ,CAAC,sBAAsB,CAAC,EAAE,2BAA2B,GAAG,SAAS,CAAC;IAC1E,QAAQ,CAAC,oBAAoB,EAAE,wCAAwC,CAAC;IACxE,QAAQ,CAAC,uBAAuB,EAAE,0CAA0C,CAAC;IAC7E,QAAQ,CAAC,cAAc,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IAC1D,QAAQ,CAAC,GAAG,CAAC,EAAE,uBAAuB,CAAC;IACvC,QAAQ,CAAC,WAAW,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;IAClD,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;CAC1C;AAED,UAAU,uCAAuC;IAC/C,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC;AAED;;;;GAIG;AACH,qBAAa,gCAAiC,YAAW,cAAc,CACrE,4BAA4B,EAC5B,kCAAkC,CACnC;IACC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAkB;IAC5C,OAAO,CAAC,QAAQ,CAAC,aAAa,CAG5B;IACF,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAwB;IAC3D,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAwC;IACjF,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA+B;IAC1D,OAAO,CAAC,QAAQ,CAAC,0BAA0B,CAA0C;IACrF,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAsB;IAEjD,YAAY,UAAU,EAAE,0CAA0C,
|
|
1
|
+
{"version":3,"file":"create-distribution.handler.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudfront/command/create-distribution/create-distribution.handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,KAAK,EACV,4BAA4B,EAC5B,kCAAkC,EACnC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAC;AACxF,OAAO,EACL,yBAAyB,EAC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CAAC,WAAW,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;IAClD,QAAQ,CAAC,aAAa,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACxD,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;CAC1C;AAED,UAAU,uCAAuC;IAC/C,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC;AAED;;;;GAIG;AACH,qBAAa,gCAAiC,YAAW,cAAc,CACrE,4BAA4B,EAC5B,kCAAkC,CACnC;IACC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAkB;IAC5C,OAAO,CAAC,QAAQ,CAAC,aAAa,CAG5B;IACF,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAwB;IAC3D,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAwC;IACjF,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA+B;IAC1D,OAAO,CAAC,QAAQ,CAAC,0BAA0B,CAA0C;IACrF,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAgC;IACzE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAsB;IAEjD,YAAY,UAAU,EAAE,0CAA0C,EAiBjE;IAED;;OAEG;IACG,MAAM,CACV,OAAO,EAAE,4BAA4B,EACrC,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,kCAAkC,CAAC,CA0D7C;CACF"}
|
|
@@ -6,6 +6,7 @@ import { simCloudFrontDistributionView } from "../../distribution/sim-cf-distrib
|
|
|
6
6
|
import { SimIamAllowAllAuth, } from "../../../iam/authorize/sim-iam-inter-service-auth-z.js";
|
|
7
7
|
import { CreateDistributionAuthorizer } from "./create-distribution-authorizer.js";
|
|
8
8
|
import { SimCloudFrontViewerCertificateValidator } from "../../distribution/viewer-certificate/sim-cf-viewer-certificate-validator.js";
|
|
9
|
+
import { SimCfEdgeAssociationValidator } from "../../edge/sim-cf-edge-association-validator.js";
|
|
9
10
|
/**
|
|
10
11
|
* CloudFront CreateDistributionCommand handler.
|
|
11
12
|
*
|
|
@@ -18,6 +19,7 @@ export class CreateDistributionCommandHandler {
|
|
|
18
19
|
distributionConfigurator;
|
|
19
20
|
authorizer;
|
|
20
21
|
viewerCertificateValidator;
|
|
22
|
+
edgeAssociationValidator;
|
|
21
23
|
background;
|
|
22
24
|
constructor(properties) {
|
|
23
25
|
this.accountId = properties.accountId;
|
|
@@ -25,8 +27,11 @@ export class CreateDistributionCommandHandler {
|
|
|
25
27
|
this.cloudFrontRegistry = properties.cloudFrontRegistry;
|
|
26
28
|
this.distributionConfigurator =
|
|
27
29
|
makeSimCloudFrontDistributionConfigurator(properties);
|
|
28
|
-
|
|
29
|
-
|
|
30
|
+
const iam = properties.iam ?? new SimIamAllowAllAuth();
|
|
31
|
+
this.authorizer = new CreateDistributionAuthorizer({ iam });
|
|
32
|
+
this.edgeAssociationValidator = new SimCfEdgeAssociationValidator({
|
|
33
|
+
iam,
|
|
34
|
+
edgeFunctions: properties.edgeFunctions,
|
|
30
35
|
});
|
|
31
36
|
this.viewerCertificateValidator =
|
|
32
37
|
new SimCloudFrontViewerCertificateValidator({
|
|
@@ -45,9 +50,11 @@ export class CreateDistributionCommandHandler {
|
|
|
45
50
|
// Allow for potential non-deterministic sequencing of async events.
|
|
46
51
|
await this.background.sequence();
|
|
47
52
|
this.authorizer.authorize(options?.caller);
|
|
48
|
-
// Reject an unusable viewer certificate
|
|
49
|
-
// allocated, as CloudFront rejects the whole
|
|
53
|
+
// Reject an unusable viewer certificate or Lambda@Edge association before
|
|
54
|
+
// any Distribution state is allocated, as CloudFront rejects the whole
|
|
55
|
+
// request.
|
|
50
56
|
this.viewerCertificateValidator.validate(distributionConfig);
|
|
57
|
+
await this.edgeAssociationValidator.validate(distributionConfig, options?.caller);
|
|
51
58
|
const distributionId = this.cloudFrontRegistry.allocateDistributionId();
|
|
52
59
|
const distribution = new SimCloudFrontDistribution({
|
|
53
60
|
distributionId,
|
package/dist/service/cloudfront/command/create-distribution/create-distribution.handler.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-distribution.handler.js","sourceRoot":"","sources":["../../../../../src/service/cloudfront/command/create-distribution/create-distribution.handler.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,yBAAyB,GAE1B,MAAM,mDAAmD,CAAC;AAE3D,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAOvE,OAAO,EAAE,yCAAyC,EAAE,MAAM,6EAA6E,CAAC;AAExI,OAAO,EAAE,yCAAyC,EAAE,MAAM,sCAAsC,CAAC;AACjG,OAAO,EAAE,6BAA6B,EAAE,MAAM,gDAAgD,CAAC;AAC/F,OAAO,EACL,kBAAkB,GAEnB,MAAM,wDAAwD,CAAC;AAEhE,OAAO,EAAE,4BAA4B,EAAE,MAAM,qCAAqC,CAAC;AAEnF,OAAO,EAAE,uCAAuC,EAAE,MAAM,8EAA8E,CAAC;
|
|
1
|
+
{"version":3,"file":"create-distribution.handler.js","sourceRoot":"","sources":["../../../../../src/service/cloudfront/command/create-distribution/create-distribution.handler.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,yBAAyB,GAE1B,MAAM,mDAAmD,CAAC;AAE3D,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAOvE,OAAO,EAAE,yCAAyC,EAAE,MAAM,6EAA6E,CAAC;AAExI,OAAO,EAAE,yCAAyC,EAAE,MAAM,sCAAsC,CAAC;AACjG,OAAO,EAAE,6BAA6B,EAAE,MAAM,gDAAgD,CAAC;AAC/F,OAAO,EACL,kBAAkB,GAEnB,MAAM,wDAAwD,CAAC;AAEhE,OAAO,EAAE,4BAA4B,EAAE,MAAM,qCAAqC,CAAC;AAEnF,OAAO,EAAE,uCAAuC,EAAE,MAAM,8EAA8E,CAAC;AACvI,OAAO,EAAE,6BAA6B,EAAE,MAAM,iDAAiD,CAAC;AAyBhG;;;;GAIG;AACH,MAAM,OAAO,gCAAgC;IAI1B,SAAS,CAAkB;IAC3B,aA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
package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cf-distro-config-normalizer.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAIV,+BAA+B,
|
|
1
|
+
{"version":3,"file":"sim-cf-distro-config-normalizer.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAIV,+BAA+B,EAIhC,MAAM,kCAAkC,CAAC;AAW1C;;;;;;;GAOG;AACH,qBAAa,yCAAyC;IAElD,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IADrC,YACmB,kBAAkB,EAAE,+BAA+B,EAClE;IAEJ;;OAEG;IACH,SAAS,IAAI,+BAA+B,CA4B3C;IAED,OAAO,CAAC,sBAAsB;CAmB/B"}
|
package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { normalizeSimCfList, normalizeSimCfListItems, } from "./sim-cf-normalize-list.js";
|
|
2
|
+
import { normalizeSimCfOrigin } from "./sim-cf-normalize-origin.js";
|
|
3
3
|
/**
|
|
4
4
|
* Normalizes tolerated CloudFront DistributionConfig input shapes into the
|
|
5
5
|
* simulator's internal CreateDistribution shape.
|
|
@@ -17,52 +17,25 @@ export class SimCloudFrontDistributionConfigNormalizer {
|
|
|
17
17
|
* Normalize known list-like DistributionConfig fields.
|
|
18
18
|
*/
|
|
19
19
|
normalize() {
|
|
20
|
-
const
|
|
21
|
-
const cacheBehaviors = this.normalizeList("CacheBehaviors", distributionConfig["CacheBehaviors"]);
|
|
20
|
+
const config = this.distributionConfig;
|
|
22
21
|
return {
|
|
23
22
|
...this.distributionConfig,
|
|
24
|
-
Aliases:
|
|
25
|
-
Origins:
|
|
26
|
-
CustomErrorResponses:
|
|
23
|
+
Aliases: normalizeSimCfList("Aliases", config["Aliases"]),
|
|
24
|
+
Origins: normalizeSimCfListItems("Origins", config["Origins"], normalizeSimCfOrigin),
|
|
25
|
+
CustomErrorResponses: normalizeSimCfList("CustomErrorResponses", config["CustomErrorResponses"]),
|
|
27
26
|
DefaultCacheBehavior: this.distributionConfig.DefaultCacheBehavior === undefined
|
|
28
27
|
? undefined
|
|
29
28
|
: this.normalizeCacheBehavior(this.distributionConfig.DefaultCacheBehavior),
|
|
30
|
-
CacheBehaviors:
|
|
31
|
-
? undefined
|
|
32
|
-
: {
|
|
33
|
-
...cacheBehaviors,
|
|
34
|
-
Items: cacheBehaviors.Items?.map((cacheBehavior) => this.normalizeCacheBehavior(cacheBehavior)),
|
|
35
|
-
},
|
|
29
|
+
CacheBehaviors: normalizeSimCfListItems("CacheBehaviors", config["CacheBehaviors"], (behavior) => this.normalizeCacheBehavior(behavior)),
|
|
36
30
|
};
|
|
37
31
|
}
|
|
38
32
|
normalizeCacheBehavior(cacheBehavior) {
|
|
39
33
|
const cacheBehaviorRecord = cacheBehavior;
|
|
40
34
|
return {
|
|
41
35
|
...cacheBehavior,
|
|
42
|
-
FunctionAssociations:
|
|
36
|
+
FunctionAssociations: normalizeSimCfList("FunctionAssociations", cacheBehaviorRecord["FunctionAssociations"]),
|
|
37
|
+
LambdaFunctionAssociations: normalizeSimCfList("LambdaFunctionAssociations", cacheBehaviorRecord["LambdaFunctionAssociations"]),
|
|
43
38
|
};
|
|
44
39
|
}
|
|
45
|
-
normalizeList(listName, value) {
|
|
46
|
-
if (value === undefined) {
|
|
47
|
-
return undefined;
|
|
48
|
-
}
|
|
49
|
-
assertConsistentQuantity(listName, value);
|
|
50
|
-
if (Array.isArray(value)) {
|
|
51
|
-
return {
|
|
52
|
-
Items: value,
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
if (isRecord(value)) {
|
|
56
|
-
return {
|
|
57
|
-
...value,
|
|
58
|
-
// Keep downstream for..of iteration safe when Items is malformed.
|
|
59
|
-
Items: Array.isArray(value["Items"])
|
|
60
|
-
? value["Items"]
|
|
61
|
-
: undefined,
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
/* v8 ignore next -- defensive fallback */
|
|
65
|
-
return undefined;
|
|
66
|
-
}
|
|
67
40
|
}
|
|
68
41
|
//# sourceMappingURL=sim-cf-distro-config-normalizer.js.map
|
package/dist/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cf-distro-config-normalizer.js","sourceRoot":"","sources":["../../../../../src/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sim-cf-distro-config-normalizer.js","sourceRoot":"","sources":["../../../../../src/service/cloudfront/command/create-distribution/sim-cf-distro-config-normalizer.ts"],"names":[],"mappings":"AASA,OAAO,EACL,kBAAkB,EAClB,uBAAuB,GACxB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAMpE;;;;;;;GAOG;AACH,MAAM,OAAO,yCAAyC;IAEjC,kBAAkB;IADrC,YACmB,kBAAmD;kCAAnD,kBAAkB;IAClC,CAAC;IAEJ;;OAEG;IACH,SAAS;QACP,MAAM,MAAM,GAAG,IAAI,CAAC,kBAA4C,CAAC;QAEjE,OAAO;YACL,GAAG,IAAI,CAAC,kBAAkB;YAC1B,OAAO,EAAE,kBAAkB,CAAS,SAAS,EAAE,MAAM,CAAC,SAAS,CAAC,CAAC;YACjE,OAAO,EAAE,uBAAuB,CAC9B,SAAS,EACT,MAAM,CAAC,SAAS,CAAC,EACjB,oBAAoB,CACrB;YACD,oBAAoB,EAClB,kBAAkB,CAChB,sBAAsB,EACtB,MAAM,CAAC,sBAAsB,CAAC,CAC/B;YACH,oBAAoB,EAClB,IAAI,CAAC,kBAAkB,CAAC,oBAAoB,KAAK,SAAS;gBACxD,CAAC,CAAC,SAAS;gBACX,CAAC,CAAC,IAAI,CAAC,sBAAsB,CACzB,IAAI,CAAC,kBAAkB,CAAC,oBAAoB,CAC7C;YACP,cAAc,EAAE,uBAAuB,CACrC,gBAAgB,EAChB,MAAM,CAAC,gBAAgB,CAAC,EACxB,CAAC,QAAQ,EAAE,EAAE,CAAC,IAAI,CAAC,sBAAsB,CAAC,QAAQ,CAAC,CACpD;SACF,CAAC;IACJ,CAAC;IAEO,sBAAsB,CAC5B,aAAgB;QAEhB,MAAM,mBAAmB,GAAG,aAAuC,CAAC;QAEpE,OAAO;YACL,GAAG,aAAa;YAChB,oBAAoB,EAClB,kBAAkB,CAChB,sBAAsB,EACtB,mBAAmB,CAAC,sBAAsB,CAAC,CAC5C;YACH,0BAA0B,EACxB,kBAAkB,CAChB,4BAA4B,EAC5B,mBAAmB,CAAC,4BAA4B,CAAC,CAClD;SACJ,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A CloudFront list, once normalized to the shape the simulator reads.
|
|
3
|
+
*/
|
|
4
|
+
export interface SimCloudFrontConfigList<T> {
|
|
5
|
+
readonly Items?: readonly T[] | undefined;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Normalize one of the list-like shapes a CloudFront config arrives in.
|
|
9
|
+
*
|
|
10
|
+
* The CloudFront API writes a list as `{ Quantity, Items }` and CloudFormation
|
|
11
|
+
* writes the same list as a plain array. Both arrive here and leave as the
|
|
12
|
+
* pair, so everything downstream reads one shape.
|
|
13
|
+
*/
|
|
14
|
+
export declare function normalizeSimCfList<T>(listName: string, value: unknown): SimCloudFrontConfigList<T> | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* Normalize a list and every item in it.
|
|
17
|
+
*/
|
|
18
|
+
export declare function normalizeSimCfListItems<T>(listName: string, value: unknown, normalizeItem: (item: T) => T): SimCloudFrontConfigList<T> | undefined;
|
|
19
|
+
//# sourceMappingURL=sim-cf-normalize-list.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cf-normalize-list.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudfront/command/create-distribution/sim-cf-normalize-list.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,MAAM,WAAW,uBAAuB,CAAC,CAAC;IACxC,QAAQ,CAAC,KAAK,CAAC,EAAE,SAAS,CAAC,EAAE,GAAG,SAAS,CAAC;CAC3C;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,EAClC,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,OAAO,GACb,uBAAuB,CAAC,CAAC,CAAC,GAAG,SAAS,CAuBxC;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,CAAC,EACvC,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,OAAO,EACd,aAAa,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,GAC5B,uBAAuB,CAAC,CAAC,CAAC,GAAG,SAAS,CAMxC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { isRecord } from "../../../../util/type-guard/record.js";
|
|
2
|
+
import { assertConsistentQuantity } from "../sim-cf-list-quantity.js";
|
|
3
|
+
/**
|
|
4
|
+
* Normalize one of the list-like shapes a CloudFront config arrives in.
|
|
5
|
+
*
|
|
6
|
+
* The CloudFront API writes a list as `{ Quantity, Items }` and CloudFormation
|
|
7
|
+
* writes the same list as a plain array. Both arrive here and leave as the
|
|
8
|
+
* pair, so everything downstream reads one shape.
|
|
9
|
+
*/
|
|
10
|
+
export function normalizeSimCfList(listName, value) {
|
|
11
|
+
if (value === undefined) {
|
|
12
|
+
return undefined;
|
|
13
|
+
}
|
|
14
|
+
assertConsistentQuantity(listName, value);
|
|
15
|
+
if (Array.isArray(value)) {
|
|
16
|
+
return { Items: value };
|
|
17
|
+
}
|
|
18
|
+
if (isRecord(value)) {
|
|
19
|
+
return {
|
|
20
|
+
...value,
|
|
21
|
+
// Keep downstream for..of iteration safe when Items is malformed.
|
|
22
|
+
Items: Array.isArray(value["Items"])
|
|
23
|
+
? value["Items"]
|
|
24
|
+
: undefined,
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
/* v8 ignore next -- defensive fallback */
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Normalize a list and every item in it.
|
|
32
|
+
*/
|
|
33
|
+
export function normalizeSimCfListItems(listName, value, normalizeItem) {
|
|
34
|
+
const list = normalizeSimCfList(listName, value);
|
|
35
|
+
return list === undefined
|
|
36
|
+
? undefined
|
|
37
|
+
: { ...list, Items: list.Items?.map(normalizeItem) };
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=sim-cf-normalize-list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cf-normalize-list.js","sourceRoot":"","sources":["../../../../../src/service/cloudfront/command/create-distribution/sim-cf-normalize-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AACjE,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAStE;;;;;;GAMG;AACH,MAAM,UAAU,kBAAkB,CAChC,QAAgB,EAChB,KAAc;IAEd,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACxB,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,wBAAwB,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;IAE1C,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACzB,OAAO,EAAE,KAAK,EAAE,KAAqB,EAAE,CAAC;IAC1C,CAAC;IAED,IAAI,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;QACpB,OAAO;YACL,GAAG,KAAK;YACR,kEAAkE;YAClE,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;gBAClC,CAAC,CAAE,KAAK,CAAC,OAAO,CAAkB;gBAClC,CAAC,CAAC,SAAS;SACd,CAAC;IACJ,CAAC;IAED,0CAA0C;IAC1C,OAAO,SAAS,CAAC;AACnB,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,uBAAuB,CACrC,QAAgB,EAChB,KAAc,EACd,aAA6B;IAE7B,MAAM,IAAI,GAAG,kBAAkB,CAAI,QAAQ,EAAE,KAAK,CAAC,CAAC;IAEpD,OAAO,IAAI,KAAK,SAAS;QACvB,CAAC,CAAC,SAAS;QACX,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,GAAG,CAAC,aAAa,CAAC,EAAE,CAAC;AACzD,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { SimCloudFrontOriginConfig } from "./create-distribution.command.js";
|
|
2
|
+
/**
|
|
3
|
+
* Normalize the custom header list on an Origin.
|
|
4
|
+
*
|
|
5
|
+
* The CloudFront API and CloudFormation name the field differently, so both
|
|
6
|
+
* names are normalized here and whichever one the caller wrote reaches the
|
|
7
|
+
* Origin the same way.
|
|
8
|
+
*/
|
|
9
|
+
export declare function normalizeSimCfOrigin(origin: SimCloudFrontOriginConfig): SimCloudFrontOriginConfig;
|
|
10
|
+
//# sourceMappingURL=sim-cf-normalize-origin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cf-normalize-origin.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudfront/command/create-distribution/sim-cf-normalize-origin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,yBAAyB,EAE1B,MAAM,kCAAkC,CAAC;AAG1C;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,yBAAyB,GAChC,yBAAyB,CAc3B"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { normalizeSimCfList } from "./sim-cf-normalize-list.js";
|
|
2
|
+
/**
|
|
3
|
+
* Normalize the custom header list on an Origin.
|
|
4
|
+
*
|
|
5
|
+
* The CloudFront API and CloudFormation name the field differently, so both
|
|
6
|
+
* names are normalized here and whichever one the caller wrote reaches the
|
|
7
|
+
* Origin the same way.
|
|
8
|
+
*/
|
|
9
|
+
export function normalizeSimCfOrigin(origin) {
|
|
10
|
+
const originRecord = origin;
|
|
11
|
+
return {
|
|
12
|
+
...origin,
|
|
13
|
+
CustomHeaders: normalizeSimCfList("CustomHeaders", originRecord["CustomHeaders"]),
|
|
14
|
+
OriginCustomHeaders: normalizeSimCfList("OriginCustomHeaders", originRecord["OriginCustomHeaders"]),
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=sim-cf-normalize-origin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cf-normalize-origin.js","sourceRoot":"","sources":["../../../../../src/service/cloudfront/command/create-distribution/sim-cf-normalize-origin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEhE;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAClC,MAAiC;IAEjC,MAAM,YAAY,GAAG,MAAgC,CAAC;IAEtD,OAAO;QACL,GAAG,MAAM;QACT,aAAa,EAAE,kBAAkB,CAC/B,eAAe,EACf,YAAY,CAAC,eAAe,CAAC,CAC9B;QACD,mBAAmB,EAAE,kBAAkB,CACrC,qBAAqB,EACrB,YAAY,CAAC,qBAAqB,CAAC,CACpC;KACF,CAAC;AACJ,CAAC"}
|
package/dist/service/cloudfront/command/update-distribution/update-distribution.handler.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import type { SimAwsCaller } from "../../../aws/caller/sim-aws-caller.js";
|
|
|
5
5
|
import type { SimAwsAccountId } from "../../../aws/sim-aws-account.js";
|
|
6
6
|
import { type SimIamInterServiceAuthZ } from "../../../iam/authorize/sim-iam-inter-service-auth-z.js";
|
|
7
7
|
import type { SimCloudFrontDistribution, SimCloudFrontDistributionId } from "../../distribution/sim-cloudfront-distribution.js";
|
|
8
|
+
import type { SimCfEdgeFunctions } from "../../edge/sim-cf-edge-functions.js";
|
|
8
9
|
import type { SimCfCustomOriginDispatcher } from "../../origin/custom/sim-cf-custom-origin-dispatcher.js";
|
|
9
10
|
import type { SimCloudFrontS3OriginResolver } from "../../origin/s3/sim-cloudfront-s3-origin.js";
|
|
10
11
|
import type { SimCloudFrontOriginAccessControlRegistry } from "../../origin-access-control/sim-cf-origin-access-control-registry.js";
|
|
@@ -23,6 +24,7 @@ interface UpdateDistributionCommandHandlerProperties {
|
|
|
23
24
|
readonly webAclResolver?: SimCfWebAclResolver | undefined;
|
|
24
25
|
readonly iam?: SimIamInterServiceAuthZ;
|
|
25
26
|
readonly acmRegistry?: SimAcmRegistry | undefined;
|
|
27
|
+
readonly edgeFunctions?: SimCfEdgeFunctions | undefined;
|
|
26
28
|
readonly background?: BackgroundScheduler;
|
|
27
29
|
}
|
|
28
30
|
interface UpdateDistributionCommandHandlerOptions {
|
|
@@ -37,6 +39,7 @@ export declare class UpdateDistributionCommandHandler implements CommandHandler<
|
|
|
37
39
|
private readonly distributions;
|
|
38
40
|
private readonly reconfigurer;
|
|
39
41
|
private readonly viewerCertificateValidator;
|
|
42
|
+
private readonly edgeAssociationValidator;
|
|
40
43
|
private readonly authorizer;
|
|
41
44
|
private readonly background;
|
|
42
45
|
constructor(properties: UpdateDistributionCommandHandlerProperties);
|
package/dist/service/cloudfront/command/update-distribution/update-distribution.handler.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-distribution.handler.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudfront/command/update-distribution/update-distribution.handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCA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AC,cAAc,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IAC1D,QAAQ,CAAC,GAAG,CAAC,EAAE,uBAAuB,CAAC;IACvC,QAAQ,CAAC,WAAW,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;IAClD,QAAQ,CAAC,UAAU,CAAC,EAAE,mBAAmB,CAAC;CAC3C;AAED,UAAU,uCAAuC;IAC/C,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC;AAED;;;;GAIG;AACH,qBAAa,gCAAiC,YAAW,cAAc,CACrE,4BAA4B,EAC5B,kCAAkC,CACnC;IACC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAG5B;IACF,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAwC;IACrE,OAAO,CAAC,QAAQ,CAAC,0BAA0B,CAA0C;IACrF,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA+B;IAC1D,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAsB;IAEjD,YAAY,UAAU,EAAE,0CAA0C,
|
|
1
|
+
{"version":3,"file":"update-distribution.handler.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudfront/command/update-distribution/update-distribution.handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,2CAA2C,CAAC;AAEnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAC;AAChF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,wDAAwD,CAAC;AAGhE,OAAO,KAAK,EACV,yBAAyB,EACzB,2BAA2B,EAC5B,MAAM,mDAAmD,CAAC;AAG3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CA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;AACH,qBAAa,gCAAiC,YAAW,cAAc,CACrE,4BAA4B,EAC5B,kCAAkC,CACnC;IACC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAG5B;IACF,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAwC;IACrE,OAAO,CAAC,QAAQ,CAAC,0BAA0B,CAA0C;IACrF,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAgC;IACzE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA+B;IAC1D,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAsB;IAEjD,YAAY,UAAU,EAAE,0CAA0C,EAiBjE;IAED;;;;;;;OAOG;IACG,MAAM,CACV,OAAO,EAAE,4BAA4B,EACrC,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,kCAAkC,CAAC,CAwC7C;CACF"}
|
|
@@ -4,6 +4,7 @@ import { SimIamAllowAllAuth, } from "../../../iam/authorize/sim-iam-inter-servic
|
|
|
4
4
|
import { SimCloudFrontDistributionReconfigurer } from "../../distribution/sim-cf-distribution-reconfigurer.js";
|
|
5
5
|
import { simCloudFrontDistributionView } from "../../distribution/sim-cf-distribution-view.js";
|
|
6
6
|
import { SimCloudFrontViewerCertificateValidator } from "../../distribution/viewer-certificate/sim-cf-viewer-certificate-validator.js";
|
|
7
|
+
import { SimCfEdgeAssociationValidator } from "../../edge/sim-cf-edge-association-validator.js";
|
|
7
8
|
import { SimCloudFrontNoSuchDistribution } from "../../error/sim-cloudfront.error.js";
|
|
8
9
|
import { SimCloudFrontDistributionConfigNormalizer } from "../create-distribution/sim-cf-distro-config-normalizer.js";
|
|
9
10
|
import { UpdateDistributionAuthorizer } from "./update-distribution-authorizer.js";
|
|
@@ -16,6 +17,7 @@ export class UpdateDistributionCommandHandler {
|
|
|
16
17
|
distributions;
|
|
17
18
|
reconfigurer;
|
|
18
19
|
viewerCertificateValidator;
|
|
20
|
+
edgeAssociationValidator;
|
|
19
21
|
authorizer;
|
|
20
22
|
background;
|
|
21
23
|
constructor(properties) {
|
|
@@ -24,6 +26,10 @@ export class UpdateDistributionCommandHandler {
|
|
|
24
26
|
this.reconfigurer = new SimCloudFrontDistributionReconfigurer(properties);
|
|
25
27
|
this.viewerCertificateValidator =
|
|
26
28
|
new SimCloudFrontViewerCertificateValidator(properties);
|
|
29
|
+
this.edgeAssociationValidator = new SimCfEdgeAssociationValidator({
|
|
30
|
+
iam,
|
|
31
|
+
edgeFunctions: properties.edgeFunctions,
|
|
32
|
+
});
|
|
27
33
|
this.authorizer = new UpdateDistributionAuthorizer({ accountId, iam });
|
|
28
34
|
this.background = background;
|
|
29
35
|
}
|
|
@@ -48,9 +54,10 @@ export class UpdateDistributionCommandHandler {
|
|
|
48
54
|
if (distribution === undefined) {
|
|
49
55
|
throw new SimCloudFrontNoSuchDistribution(`No sim CloudFront Distribution with ID ${distributionId}`);
|
|
50
56
|
}
|
|
51
|
-
// Reject an unusable viewer certificate
|
|
52
|
-
// touched, as CloudFront rejects the whole request.
|
|
57
|
+
// Reject an unusable viewer certificate or Lambda@Edge association before
|
|
58
|
+
// the Distribution is touched, as CloudFront rejects the whole request.
|
|
53
59
|
this.viewerCertificateValidator.validate(distributionConfig);
|
|
60
|
+
await this.edgeAssociationValidator.validate(distributionConfig, options?.caller);
|
|
54
61
|
this.reconfigurer.reconfigure(distribution, distributionConfig);
|
|
55
62
|
// Schedule background task to complete deployment of the sim Distribution.
|
|
56
63
|
this.background.schedule(() => distribution.completeDeployment());
|
package/dist/service/cloudfront/command/update-distribution/update-distribution.handler.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-distribution.handler.js","sourceRoot":"","sources":["../../../../../src/service/cloudfront/command/update-distribution/update-distribution.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,eAAe,GAChB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAIvE,OAAO,EACL,kBAAkB,GAEnB,MAAM,wDAAwD,CAAC;AAChE,OAAO,EAAE,qCAAqC,EAAE,MAAM,wDAAwD,CAAC;AAC/G,OAAO,EAAE,6BAA6B,EAAE,MAAM,gDAAgD,CAAC;AAK/F,OAAO,EAAE,uCAAuC,EAAE,MAAM,8EAA8E,CAAC;AACvI,OAAO,EAAE,+BAA+B,EAAE,MAAM,qCAAqC,CAAC;AAOtF,OAAO,EAAE,yCAAyC,EAAE,MAAM,2DAA2D,CAAC;AACtH,OAAO,EAAE,4BAA4B,EAAE,MAAM,qCAAqC,CAAC;
|
|
1
|
+
{"version":3,"file":"update-distribution.handler.js","sourceRoot":"","sources":["../../../../../src/service/cloudfront/command/update-distribution/update-distribution.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,eAAe,GAChB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAIvE,OAAO,EACL,kBAAkB,GAEnB,MAAM,wDAAwD,CAAC;AAChE,OAAO,EAAE,qCAAqC,EAAE,MAAM,wDAAwD,CAAC;AAC/G,OAAO,EAAE,6BAA6B,EAAE,MAAM,gDAAgD,CAAC;AAK/F,OAAO,EAAE,uCAAuC,EAAE,MAAM,8EAA8E,CAAC;AACvI,OAAO,EAAE,6BAA6B,EAAE,MAAM,iDAAiD,CAAC;AAEhG,OAAO,EAAE,+BAA+B,EAAE,MAAM,qCAAqC,CAAC;AAOtF,OAAO,EAAE,yCAAyC,EAAE,MAAM,2DAA2D,CAAC;AACtH,OAAO,EAAE,4BAA4B,EAAE,MAAM,qCAAqC,CAAC;AA4BnF;;;;GAIG;AACH,MAAM,OAAO,gCAAgC;IAI1B,aAAa,CAG5B;IACe,YAAY,CAAwC;IACpD,0BAA0B,CAA0C;IACpE,wBAAwB,CAAgC;IACxD,UAAU,CAA+B;IACzC,UAAU,CAAsB;IAEjD,YAAY,UAAsD;QAChE,MAAM,EACJ,SAAS,EACT,GAAG,GAAG,IAAI,kBAAkB,EAAE,EAC9B,UAAU,G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AC3D,CAAC;QACJ,CAAC;QAED,0EAA0E;QAC1E,wEAAwE;QACxE,IAAI,CAAC,0BAA0B,CAAC,QAAQ,CAAC,kBAAkB,CAAC,CAAC;QAC7D,MAAM,IAAI,CAAC,wBAAwB,CAAC,QAAQ,CAC1C,kBAAkB,EAClB,OAAO,EAAE,MAAM,CAChB,CAAC;QAEF,IAAI,CAAC,YAAY,CAAC,WAAW,CAAC,YAAY,EAAE,kBAAkB,CAAC,CAAC;QAEhE,2EAA2E;QAC3E,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC,YAAY,CAAC,kBAAkB,EAAE,CAAC,CAAC;QAElE,OAAO;YACL,YAAY,EAAE,6BAA6B,CAAC,YAAY,CAAC;YACzD,SAAS,EAAE,EAAE;SACd,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -3,6 +3,7 @@ import type { SimCloudFrontRegistry } from "../../registry/sim-cloud-front-regis
|
|
|
3
3
|
import type { SimCloudFrontDistroRouter } from "../../router/sim-cloud-front-distro-router.js";
|
|
4
4
|
import type { SimCloudFrontBehaviorResolver } from "../../resolver/sim-cloud-front-behavior-resolver.js";
|
|
5
5
|
import { SimCffApplicator } from "../cff/sim-cff-applicator.js";
|
|
6
|
+
import { SimLambdaEdgeApplicator } from "../edge/sim-lambda-edge-applicator.js";
|
|
6
7
|
import { SimCloudFrontOriginFetcher } from "../origin/sim-cloudfront-origin-fetcher.js";
|
|
7
8
|
import { SimCfCustomErrorResponder } from "../error/sim-cf-custom-error-responder.js";
|
|
8
9
|
import { SimCfResponseHeadersApplicator } from "../response-headers/sim-cf-response-headers-applicator.js";
|
|
@@ -14,6 +15,7 @@ export interface SimCloudFrontServiceControllerProperties {
|
|
|
14
15
|
readonly webAclGuard?: SimCfWebAclGuard;
|
|
15
16
|
readonly behaviourResolver?: SimCloudFrontBehaviorResolver;
|
|
16
17
|
readonly cffApplicator?: SimCffApplicator;
|
|
18
|
+
readonly edgeApplicator?: SimLambdaEdgeApplicator;
|
|
17
19
|
readonly originFetcher?: SimCloudFrontOriginFetcher;
|
|
18
20
|
readonly customErrorResponder?: SimCfCustomErrorResponder;
|
|
19
21
|
readonly responseHeadersApplicator?: SimCfResponseHeadersApplicator;
|
|
@@ -23,6 +25,7 @@ export interface SimCloudFrontControllerDependencies {
|
|
|
23
25
|
readonly webAclGuard: SimCfWebAclGuard;
|
|
24
26
|
readonly behaviourResolver: SimCloudFrontBehaviorResolver;
|
|
25
27
|
readonly cffApplicator: SimCffApplicator;
|
|
28
|
+
readonly edgeApplicator: SimLambdaEdgeApplicator;
|
|
26
29
|
readonly originFetcher: SimCloudFrontOriginFetcher;
|
|
27
30
|
readonly customErrorResponder: SimCfCustomErrorResponder;
|
|
28
31
|
readonly responseHeadersApplicator: SimCfResponseHeadersApplicator;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cf-controller-dependency.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudfront/controller/dependency/sim-cf-controller-dependency.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAC;AACxF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+CAA+C,CAAC;AAE/F,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,qDAAqD,CAAC;AAEzG,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AACxF,OAAO,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AACtF,OAAO,EAAE,8BAA8B,EAAE,MAAM,2DAA2D,CAAC;AAC3G,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAGtE,MAAM,WAAW,wCAAwC;IACvD,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,kBAAkB,CAAC,EAAE,qBAAqB,CAAC;IACpD,QAAQ,CAAC,YAAY,CAAC,EAAE,yBAAyB,CAAC;IAClD,QAAQ,CAAC,WAAW,CAAC,EAAE,gBAAgB,CAAC;IACxC,QAAQ,CAAC,iBAAiB,CAAC,EAAE,6BAA6B,CAAC;IAC3D,QAAQ,CAAC,aAAa,CAAC,EAAE,gBAAgB,CAAC;IAC1C,QAAQ,CAAC,aAAa,CAAC,EAAE,0BAA0B,CAAC;IACpD,QAAQ,CAAC,oBAAoB,CAAC,EAAE,yBAAyB,CAAC;IAC1D,QAAQ,CAAC,yBAAyB,CAAC,EAAE,8BAA8B,CAAC;CACrE;AAED,MAAM,WAAW,mCAAmC;IAClD,QAAQ,CAAC,YAAY,EAAE,yBAAyB,CAAC;IACjD,QAAQ,CAAC,WAAW,EAAE,gBAAgB,CAAC;IACvC,QAAQ,CAAC,iBAAiB,EAAE,6BAA6B,CAAC;IAC1D,QAAQ,CAAC,aAAa,EAAE,gBAAgB,CAAC;IACzC,QAAQ,CAAC,aAAa,EAAE,0BAA0B,CAAC;IACnD,QAAQ,CAAC,oBAAoB,EAAE,yBAAyB,CAAC;IACzD,QAAQ,CAAC,yBAAyB,EAAE,8BAA8B,CAAC;CACpE;AAED;;GAEG;AACH,qBAAa,0CAA0C;IACrD;;OAEG;IACH,IAAI,CACF,UAAU,GAAE,wCAA6C,GACxD,mCAAmC,
|
|
1
|
+
{"version":3,"file":"sim-cf-controller-dependency.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudfront/controller/dependency/sim-cf-controller-dependency.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAC;AACxF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+CAA+C,CAAC;AAE/F,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,qDAAqD,CAAC;AAEzG,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,QAAQ,CAAC,yBAAyB,EAAE,8BAA8B,CAAC;CACpE;AAED;;GAEG;AACH,qBAAa,0CAA0C;IACrD;;OAEG;IACH,IAAI,CACF,UAAU,GAAE,wCAA6C,GACxD,mCAAmC,CAuCrC;CACF"}
|
|
@@ -2,6 +2,8 @@ import { SimAws } from "../../../aws/sim-aws.js";
|
|
|
2
2
|
import { SimCloudFrontDistroRouter as DefaultSimCloudFrontDistroRouter } from "../../router/sim-cloud-front-distro-router.js";
|
|
3
3
|
import { SimCloudFrontBehaviorResolver as DefaultSimCloudFrontBehaviorResolver } from "../../resolver/sim-cloud-front-behavior-resolver.js";
|
|
4
4
|
import { SimCffApplicator } from "../cff/sim-cff-applicator.js";
|
|
5
|
+
import { SimLambdaEdgeApplicator } from "../edge/sim-lambda-edge-applicator.js";
|
|
6
|
+
import { SimAwsCfEdgeFunctions } from "../../edge/sim-aws-cf-edge-functions.js";
|
|
5
7
|
import { SimCloudFrontOriginFetcher } from "../origin/sim-cloudfront-origin-fetcher.js";
|
|
6
8
|
import { SimCfCustomErrorResponder } from "../error/sim-cf-custom-error-responder.js";
|
|
7
9
|
import { SimCfResponseHeadersApplicator } from "../response-headers/sim-cf-response-headers-applicator.js";
|
|
@@ -33,6 +35,10 @@ export class SimCloudFrontControllerDependenciesFactory {
|
|
|
33
35
|
new SimCfWebAclGuard(makeSimCfWebAclResolver(simAws)),
|
|
34
36
|
behaviourResolver,
|
|
35
37
|
cffApplicator: properties.cffApplicator ?? new SimCffApplicator(),
|
|
38
|
+
edgeApplicator: properties.edgeApplicator ??
|
|
39
|
+
new SimLambdaEdgeApplicator({
|
|
40
|
+
edgeFunctions: new SimAwsCfEdgeFunctions(simAws),
|
|
41
|
+
}),
|
|
36
42
|
originFetcher,
|
|
37
43
|
customErrorResponder: properties.customErrorResponder ??
|
|
38
44
|
new SimCfCustomErrorResponder({ behaviourResolver, originFetcher }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cf-controller-dependency.js","sourceRoot":"","sources":["../../../../../src/service/cloudfront/controller/dependency/sim-cf-controller-dependency.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAGjD,OAAO,EAAE,yBAAyB,IAAI,gCAAgC,EAAE,MAAM,+CAA+C,CAAC;AAE9H,OAAO,EAAE,6BAA6B,IAAI,oCAAoC,EAAE,MAAM,qDAAqD,CAAC;AAC5I,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AACxF,OAAO,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AACtF,OAAO,EAAE,8BAA8B,EAAE,MAAM,2DAA2D,CAAC;AAC3G,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,uBAAuB,EAAE,MAAM,kDAAkD,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-cf-controller-dependency.js","sourceRoot":"","sources":["../../../../../src/service/cloudfront/controller/dependency/sim-cf-controller-dependency.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAGjD,OAAO,EAAE,yBAAyB,IAAI,gCAAgC,EAAE,MAAM,+CAA+C,CAAC;AAE9H,OAAO,EAAE,6BAA6B,IAAI,oCAAoC,EAAE,MAAM,qDAAqD,CAAC;AAC5I,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AACxF,OAAO,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AACtF,OAAO,EAAE,8BAA8B,EAAE,MAAM,2DAA2D,CAAC;AAC3G,OAAO,EAAE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Behavior } from "../../behaviour/sim-cloud-front-behavior.js";
|
|
2
|
+
import type { SimCloudFrontDistribution } from "../../distribution/sim-cloudfront-distribution.js";
|
|
3
|
+
import type { SimCfEdgeFunctions } from "../../edge/sim-cf-edge-functions.js";
|
|
4
|
+
interface SimLambdaEdgeApplicatorProperties {
|
|
5
|
+
/**
|
|
6
|
+
* Where the associated function versions are found and run.
|
|
7
|
+
*
|
|
8
|
+
* A controller built without a simulated Lambda to reach has none, and a
|
|
9
|
+
* Behavior associating a function answers the viewer with a 502.
|
|
10
|
+
*/
|
|
11
|
+
readonly edgeFunctions?: SimCfEdgeFunctions | undefined;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Runs the Lambda@Edge functions a resolved Behavior associates.
|
|
15
|
+
*
|
|
16
|
+
* A function that throws answers the viewer with a 502 and takes the request
|
|
17
|
+
* no further, which is what CloudFront does with a failed edge function. The
|
|
18
|
+
* error itself reaches the function's own logs and nothing else, here as
|
|
19
|
+
* there.
|
|
20
|
+
*/
|
|
21
|
+
export declare class SimLambdaEdgeApplicator {
|
|
22
|
+
private readonly eventAdapter;
|
|
23
|
+
private readonly edgeFunctions;
|
|
24
|
+
constructor(properties?: SimLambdaEdgeApplicatorProperties);
|
|
25
|
+
/**
|
|
26
|
+
* Run the viewer-request function, if the Behavior associates one.
|
|
27
|
+
*
|
|
28
|
+
* Answers with the request to carry on to the Origin with, or the response a
|
|
29
|
+
* function generated instead.
|
|
30
|
+
*/
|
|
31
|
+
applyViewerRequest(request: Request, distribution: SimCloudFrontDistribution, behaviour: SimCloudFrontBehavior): Promise<Request | Response>;
|
|
32
|
+
/**
|
|
33
|
+
* Run the viewer-response function, if the Behavior associates one.
|
|
34
|
+
*/
|
|
35
|
+
applyViewerResponse(request: Request, response: Response, distribution: SimCloudFrontDistribution, behaviour: SimCloudFrontBehavior): Promise<Response>;
|
|
36
|
+
/**
|
|
37
|
+
* Run one edge function, answering with the 502 a failed one gets.
|
|
38
|
+
*
|
|
39
|
+
* A handler that threw, a handler that answered with something the adapter
|
|
40
|
+
* cannot read as a request or a response, and a request whose body could not
|
|
41
|
+
* be read into the event, are all the same thing to CloudFront. Each is a
|
|
42
|
+
* failure at the edge the viewer sees as a 502, which is why building the
|
|
43
|
+
* event happens in here rather than before it.
|
|
44
|
+
*/
|
|
45
|
+
private running;
|
|
46
|
+
}
|
|
47
|
+
export {};
|
|
48
|
+
//# sourceMappingURL=sim-lambda-edge-applicator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-lambda-edge-applicator.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudfront/controller/edge/sim-lambda-edge-applicator.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACzF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mDAAmD,CAAC;AAGnG,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAG9E,UAAU,iCAAiC;IACzC;;;;;OAKG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;CACzD;AAED;;;;;;;GAOG;AACH,qBAAa,uBAAuB;IAClC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAmC;IAChE,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAiC;IAE/D,YAAY,UAAU,GAAE,iCAAsC,EAE7D;IAED;;;;;OAKG;IACG,kBAAkB,CACtB,OAAO,EAAE,OAAO,EAChB,YAAY,EAAE,yBAAyB,EACvC,SAAS,EAAE,qBAAqB,GAC/B,OAAO,CAAC,OAAO,GAAG,QAAQ,CAAC,CAuB7B;IAED;;OAEG;IACG,mBAAmB,CACvB,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,EAClB,YAAY,EAAE,yBAAyB,EACvC,SAAS,EAAE,qBAAqB,GAC/B,OAAO,CAAC,QAAQ,CAAC,CAuBnB;IAED;;;;;;;;OAQG;YACW,OAAO;CAatB"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { SimLambdaEdgeEventAdapter } from "../../edge/adapter/sim-lambda-edge-event-adapter.js";
|
|
2
|
+
import { simCfEdgeDistributionConfig } from "./sim-lambda-edge-distribution.js";
|
|
3
|
+
/**
|
|
4
|
+
* Runs the Lambda@Edge functions a resolved Behavior associates.
|
|
5
|
+
*
|
|
6
|
+
* A function that throws answers the viewer with a 502 and takes the request
|
|
7
|
+
* no further, which is what CloudFront does with a failed edge function. The
|
|
8
|
+
* error itself reaches the function's own logs and nothing else, here as
|
|
9
|
+
* there.
|
|
10
|
+
*/
|
|
11
|
+
export class SimLambdaEdgeApplicator {
|
|
12
|
+
eventAdapter = new SimLambdaEdgeEventAdapter();
|
|
13
|
+
edgeFunctions;
|
|
14
|
+
constructor(properties = {}) {
|
|
15
|
+
this.edgeFunctions = properties.edgeFunctions;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Run the viewer-request function, if the Behavior associates one.
|
|
19
|
+
*
|
|
20
|
+
* Answers with the request to carry on to the Origin with, or the response a
|
|
21
|
+
* function generated instead.
|
|
22
|
+
*/
|
|
23
|
+
async applyViewerRequest(request, distribution, behaviour) {
|
|
24
|
+
const association = behaviour.lambdaFunctionAssociations?.viewerRequest;
|
|
25
|
+
const edgeFunctions = this.edgeFunctions;
|
|
26
|
+
if (association === undefined || edgeFunctions === undefined) {
|
|
27
|
+
return request;
|
|
28
|
+
}
|
|
29
|
+
return await this.running(association, async () => {
|
|
30
|
+
const event = await this.eventAdapter.toRequestEvent(request, association.includeBody, simCfEdgeDistributionConfig(distribution));
|
|
31
|
+
return this.eventAdapter.fromRequestResult((await edgeFunctions.invoke(association.functionArn, event)), request);
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Run the viewer-response function, if the Behavior associates one.
|
|
36
|
+
*/
|
|
37
|
+
async applyViewerResponse(request, response, distribution, behaviour) {
|
|
38
|
+
const association = behaviour.lambdaFunctionAssociations?.viewerResponse;
|
|
39
|
+
const edgeFunctions = this.edgeFunctions;
|
|
40
|
+
if (association === undefined || edgeFunctions === undefined) {
|
|
41
|
+
return response;
|
|
42
|
+
}
|
|
43
|
+
return await this.running(association, async () => {
|
|
44
|
+
const event = await this.eventAdapter.toResponseEvent(request, response, simCfEdgeDistributionConfig(distribution));
|
|
45
|
+
return this.eventAdapter.fromResponseResult((await edgeFunctions.invoke(association.functionArn, event)), response);
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Run one edge function, answering with the 502 a failed one gets.
|
|
50
|
+
*
|
|
51
|
+
* A handler that threw, a handler that answered with something the adapter
|
|
52
|
+
* cannot read as a request or a response, and a request whose body could not
|
|
53
|
+
* be read into the event, are all the same thing to CloudFront. Each is a
|
|
54
|
+
* failure at the edge the viewer sees as a 502, which is why building the
|
|
55
|
+
* event happens in here rather than before it.
|
|
56
|
+
*/
|
|
57
|
+
async running(association, run) {
|
|
58
|
+
try {
|
|
59
|
+
return await run();
|
|
60
|
+
}
|
|
61
|
+
catch {
|
|
62
|
+
return new Response(`The Lambda@Edge function ${association.functionArn} failed`, { status: 502 });
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=sim-lambda-edge-applicator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-lambda-edge-applicator.js","sourceRoot":"","sources":["../../../../../src/service/cloudfront/controller/edge/sim-lambda-edge-applicator.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,yBAAyB,EAAE,MAAM,qDAAqD,CAAC;AAGhG,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAYhF;;;;;;;GAOG;AACH,MAAM,OAAO,uBAAuB;IACjB,YAAY,GAAG,IAAI,yBAAyB,EAAE,CAAC;IAC/C,aAAa,CAAiC;IAE/D,YAAY,UAAU,GAAs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,EACR,2BAA2B,CAAC,YAAY,CAAC,CAC1C,CAAC;YAEF,OAAO,IAAI,CAAC,YAAY,CAAC,kBAAkB,CACzC,CAAC,MAAM,aAAa,CAAC,MAAM,CACzB,WAAW,CAAC,WAAW,EACvB,KAAK,CACN,CAA0B,EAC3B,QAAQ,CACT,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;OAQG;IACK,KAAK,CAAC,OAAO,CACnB,WAAiC,EACjC,GAA2B;QAE3B,IAAI,CAAC;YACH,OAAO,MAAM,GAAG,EAAE,CAAC;QACrB,CAAC;QAAC,MAAM,CAAC;YACP,OAAO,IAAI,QAAQ,CACjB,4BAA4B,WAAW,CAAC,WAAW,SAAS,EAC5D,EAAE,MAAM,EAAE,GAAG,EAAE,CAChB,CAAC;QACJ,CAAC;IACH,CAAC;CACF"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { SimCloudFrontDistribution } from "../../distribution/sim-cloudfront-distribution.js";
|
|
2
|
+
import type { SimLambdaEdgeDistributionConfig } from "../../edge/adapter/sim-lambda-edge-event-adapter.js";
|
|
3
|
+
/**
|
|
4
|
+
* What an edge function is told about the Distribution it is running for.
|
|
5
|
+
*
|
|
6
|
+
* The domain name is derived the same way the Distribution view derives it, so
|
|
7
|
+
* a handler reading `config.distributionDomainName` sees the hostname
|
|
8
|
+
* `GetDistribution` reports.
|
|
9
|
+
*/
|
|
10
|
+
export declare function simCfEdgeDistributionConfig(distribution: SimCloudFrontDistribution): SimLambdaEdgeDistributionConfig;
|
|
11
|
+
//# sourceMappingURL=sim-lambda-edge-distribution.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-lambda-edge-distribution.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudfront/controller/edge/sim-lambda-edge-distribution.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mDAAmD,CAAC;AACnG,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,qDAAqD,CAAC;AAE3G;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CACzC,YAAY,EAAE,yBAAyB,GACtC,+BAA+B,CAKjC"}
|