@kensio/yulin 1.17.0 → 1.17.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/serve/http/local-server/sim-aws-local-location.d.ts +55 -0
- package/dist/serve/http/local-server/sim-aws-local-location.d.ts.map +1 -0
- package/dist/serve/http/local-server/sim-aws-local-location.js +80 -0
- package/dist/serve/http/local-server/sim-aws-local-location.js.map +1 -0
- package/dist/serve/http/local-server/sim-aws-local-request-handler.d.ts +7 -0
- package/dist/serve/http/local-server/sim-aws-local-request-handler.d.ts.map +1 -1
- package/dist/serve/http/local-server/sim-aws-local-request-handler.js +10 -3
- package/dist/serve/http/local-server/sim-aws-local-request-handler.js.map +1 -1
- package/dist/serve/http/local-server/sim-aws-local-server.d.ts.map +1 -1
- package/dist/serve/http/local-server/sim-aws-local-server.js +5 -0
- package/dist/serve/http/local-server/sim-aws-local-server.js.map +1 -1
- package/dist/serve/http/node-fetch-http-adapter.d.ts +9 -0
- package/dist/serve/http/node-fetch-http-adapter.d.ts.map +1 -1
- package/dist/serve/http/node-fetch-http-adapter.js +17 -1
- package/dist/serve/http/node-fetch-http-adapter.js.map +1 -1
- package/dist/service/acm/certificate/register-sim-acm-certificate.d.ts +41 -0
- package/dist/service/acm/certificate/register-sim-acm-certificate.d.ts.map +1 -0
- package/dist/service/acm/certificate/register-sim-acm-certificate.js +60 -0
- package/dist/service/acm/certificate/register-sim-acm-certificate.js.map +1 -0
- package/dist/service/acm/command/request-certificate/request-certificate.handler.d.ts +9 -0
- package/dist/service/acm/command/request-certificate/request-certificate.handler.d.ts.map +1 -1
- package/dist/service/acm/command/request-certificate/request-certificate.handler.js +18 -1
- package/dist/service/acm/command/request-certificate/request-certificate.handler.js.map +1 -1
- package/dist/service/acm/sim-acm.d.ts +15 -0
- package/dist/service/acm/sim-acm.d.ts.map +1 -1
- package/dist/service/acm/sim-acm.js +21 -0
- package/dist/service/acm/sim-acm.js.map +1 -1
- package/dist/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.d.ts +23 -4
- package/dist/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.d.ts.map +1 -1
- package/dist/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.js +56 -14
- package/dist/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.js.map +1 -1
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-invocation.d.ts +1 -1
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-invocation.d.ts.map +1 -1
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-invoke-authorizer.d.ts +7 -3
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-invoke-authorizer.d.ts.map +1 -1
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-invoke-authorizer.js +6 -2
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-invoke-authorizer.js.map +1 -1
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-router.d.ts +11 -12
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-router.d.ts.map +1 -1
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-router.js +15 -7
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-router.js.map +1 -1
- package/dist/service/apigatewayv2/serve/sim-http-api-function-target.d.ts +17 -0
- package/dist/service/apigatewayv2/serve/sim-http-api-function-target.d.ts.map +1 -0
- package/dist/service/apigatewayv2/serve/sim-http-api-function-target.js +2 -0
- package/dist/service/apigatewayv2/serve/sim-http-api-function-target.js.map +1 -0
- package/dist/service/apigatewayv2/serve/sim-http-api-integration-invocation.d.ts.map +1 -1
- package/dist/service/apigatewayv2/serve/sim-http-api-integration-invocation.js +1 -1
- package/dist/service/apigatewayv2/serve/sim-http-api-integration-invocation.js.map +1 -1
- package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-matcher.js +1 -1
- package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-matcher.js.map +1 -1
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-selection.d.ts +4 -0
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-selection.d.ts.map +1 -1
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-selection.js +7 -2
- package/dist/service/cloudformation/cdk/sim-cdk-assembly-selection.js.map +1 -1
- package/dist/service/cloudformation/command/create-stack/create-stack.handler.d.ts.map +1 -1
- package/dist/service/cloudformation/command/create-stack/create-stack.handler.js +2 -2
- package/dist/service/cloudformation/command/create-stack/create-stack.handler.js.map +1 -1
- package/dist/service/cloudformation/command/update-stack/update-stack.handler.d.ts.map +1 -1
- package/dist/service/cloudformation/command/update-stack/update-stack.handler.js +2 -2
- package/dist/service/cloudformation/command/update-stack/update-stack.handler.js.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.d.ts +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.d.ts.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.js +6 -4
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.js.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-plan.d.ts +4 -0
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-plan.d.ts.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-plan.js.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.d.ts +25 -2
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.d.ts.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.js +13 -0
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.js.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-loader.d.ts.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-loader.js +3 -3
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-loader.js.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-parse.d.ts +10 -0
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-parse.d.ts.map +1 -0
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-parse.js +30 -0
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-parse.js.map +1 -0
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-read.d.ts +2 -4
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-read.d.ts.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-read.js +2 -3
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-read.js.map +1 -1
- package/dist/service/cloudformation/index.d.ts +1 -1
- package/dist/service/cloudformation/index.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/cfn/iam/sim-iam-cfn-value-adapter.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/cfn/iam/sim-iam-cfn-value-adapter.js +4 -0
- package/dist/service/cloudformation/resource/cfn/iam/sim-iam-cfn-value-adapter.js.map +1 -1
- package/dist/service/cloudformation/resource/cfn/iam/sim-iam-user-cfn.d.ts +28 -0
- package/dist/service/cloudformation/resource/cfn/iam/sim-iam-user-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/iam/sim-iam-user-cfn.js +33 -0
- package/dist/service/cloudformation/resource/cfn/iam/sim-iam-user-cfn.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-cfn-value-adapter.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-cfn-value-adapter.js +11 -0
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-cfn-value-adapter.js.map +1 -1
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-function-alias-cfn.d.ts +29 -0
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-function-alias-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-function-alias-cfn.js +31 -0
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-function-alias-cfn.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-function-version-cfn.d.ts +35 -0
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-function-version-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-function-version-cfn.js +40 -0
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-function-version-cfn.js.map +1 -0
- package/dist/service/cloudformation/resource/resolve/property/sim-cfn-resource-property-resolver.d.ts +6 -0
- package/dist/service/cloudformation/resource/resolve/property/sim-cfn-resource-property-resolver.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/resolve/property/sim-cfn-resource-property-resolver.js +3 -0
- package/dist/service/cloudformation/resource/resolve/property/sim-cfn-resource-property-resolver.js.map +1 -1
- package/dist/service/cloudformation/resource/sim-cfn-resource-record.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/sim-cfn-resource-record.js +1 -0
- package/dist/service/cloudformation/resource/sim-cfn-resource-record.js.map +1 -1
- package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api-stage.d.ts +20 -0
- package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api-stage.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api-stage.js +80 -0
- package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api-stage.js.map +1 -0
- package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api-template.factory.d.ts +46 -0
- package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api-template.factory.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api-template.factory.js +103 -0
- package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api-template.factory.js.map +1 -0
- package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api.d.ts +28 -0
- package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api.js +81 -0
- package/dist/service/cloudformation/sam/api/sim-cfn-sam-http-api.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-declared-event.d.ts +52 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-declared-event.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-declared-event.js +38 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-declared-event.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-bridge-rule-event.d.ts +16 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-bridge-rule-event.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-bridge-rule-event.js +21 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-bridge-rule-event.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-rule.d.ts +26 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-rule.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-rule.js +84 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-rule.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-kind.d.ts +24 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-kind.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-kind.js +41 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-kind.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-mapping-event.d.ts +20 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-mapping-event.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-mapping-event.js +56 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-mapping-event.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-role.d.ts +11 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-role.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-role.js +57 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source-role.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source.resources.d.ts +25 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source.resources.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source.resources.js +42 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-source.resources.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-state.d.ts +17 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-state.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-state.js +26 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-event-state.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-function-events.d.ts +32 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-function-events.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-function-events.js +70 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-function-events.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-event.d.ts +20 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-event.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-event.js +71 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-event.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-permission.d.ts +14 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-permission.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-permission.js +38 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-permission.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-route.d.ts +18 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-route.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-route.js +56 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-http-api-route.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-implicit-http-api.d.ts +20 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-implicit-http-api.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-implicit-http-api.js +41 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-implicit-http-api.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-resource-edit.d.ts +29 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-resource-edit.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-resource-edit.js +23 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-resource-edit.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-s3-event.d.ts +33 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-s3-event.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-s3-event.js +103 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-s3-event.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-s3-notified-bucket.d.ts +22 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-s3-notified-bucket.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-s3-notified-bucket.js +76 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-s3-notified-bucket.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-schedule-event.d.ts +17 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-schedule-event.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-schedule-event.js +22 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-schedule-event.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-schedule-v2-event.d.ts +15 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-schedule-v2-event.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-schedule-v2-event.js +97 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-schedule-v2-event.js.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-sns-event.d.ts +23 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-sns-event.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-sns-event.js +60 -0
- package/dist/service/cloudformation/sam/function/event/sim-cfn-sam-sns-event.js.map +1 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-policies.d.ts +31 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-policies.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-policies.js +74 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-policies.js.map +1 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-properties.d.ts +24 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-properties.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-properties.js +67 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-properties.js.map +1 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-role.d.ts +18 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-role.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-role.js +35 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-role.js.map +1 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-template.factory.d.ts +45 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-template.factory.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-template.factory.js +50 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-template.factory.js.map +1 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-url.d.ts +19 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-url.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-url.js +37 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function-url.js.map +1 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function.d.ts +44 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function.js +74 -0
- package/dist/service/cloudformation/sam/function/sim-cfn-sam-function.js.map +1 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-expansion.d.ts +18 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-expansion.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-expansion.js +83 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-expansion.js.map +1 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-globals.d.ts +36 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-globals.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-globals.js +76 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-globals.js.map +1 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-picked.d.ts +10 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-picked.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-picked.js +11 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-picked.js.map +1 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-record.d.ts +40 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-record.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-record.js +50 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-record.js.map +1 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-transform.d.ts +23 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-transform.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-transform.js +48 -0
- package/dist/service/cloudformation/sam/sim-cfn-sam-transform.js.map +1 -0
- package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table-key.d.ts +18 -0
- package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table-key.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table-key.js +52 -0
- package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table-key.js.map +1 -0
- package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table-template.factory.d.ts +40 -0
- package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table-template.factory.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table-template.factory.js +47 -0
- package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table-template.factory.js.map +1 -0
- package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table.d.ts +25 -0
- package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table.d.ts.map +1 -0
- package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table.js +77 -0
- package/dist/service/cloudformation/sam/table/sim-cfn-sam-simple-table.js.map +1 -0
- package/dist/service/cloudformation/template/dynamic/make-sim-cfn-dynamic-references.d.ts +1 -0
- package/dist/service/cloudformation/template/dynamic/make-sim-cfn-dynamic-references.d.ts.map +1 -1
- package/dist/service/cloudformation/template/dynamic/make-sim-cfn-dynamic-references.js +2 -1
- package/dist/service/cloudformation/template/dynamic/make-sim-cfn-dynamic-references.js.map +1 -1
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-resolvers.d.ts.map +1 -1
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-resolvers.js +4 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference-resolvers.js.map +1 -1
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference.type.d.ts +19 -1
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-reference.type.d.ts.map +1 -1
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-references.d.ts +6 -0
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-references.d.ts.map +1 -1
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-references.js +9 -3
- package/dist/service/cloudformation/template/dynamic/sim-cfn-dynamic-references.js.map +1 -1
- package/dist/service/cloudformation/template/sim-cfn-template-body-parse.d.ts +19 -0
- package/dist/service/cloudformation/template/sim-cfn-template-body-parse.d.ts.map +1 -0
- package/dist/service/cloudformation/template/sim-cfn-template-body-parse.js +36 -0
- package/dist/service/cloudformation/template/sim-cfn-template-body-parse.js.map +1 -0
- package/dist/service/cloudformation/template/sim-cfn-template.d.ts +11 -4
- package/dist/service/cloudformation/template/sim-cfn-template.d.ts.map +1 -1
- package/dist/service/cloudformation/template/sim-cfn-template.js +16 -13
- package/dist/service/cloudformation/template/sim-cfn-template.js.map +1 -1
- package/dist/service/cloudformation/template/yaml/sim-cfn-template-yaml.d.ts +11 -0
- package/dist/service/cloudformation/template/yaml/sim-cfn-template-yaml.d.ts.map +1 -0
- package/dist/service/cloudformation/template/yaml/sim-cfn-template-yaml.js +41 -0
- package/dist/service/cloudformation/template/yaml/sim-cfn-template-yaml.js.map +1 -0
- package/dist/service/cloudformation/template/yaml/sim-cfn-yaml-short-forms.d.ts +17 -0
- package/dist/service/cloudformation/template/yaml/sim-cfn-yaml-short-forms.d.ts.map +1 -0
- package/dist/service/cloudformation/template/yaml/sim-cfn-yaml-short-forms.js +70 -0
- package/dist/service/cloudformation/template/yaml/sim-cfn-yaml-short-forms.js.map +1 -0
- package/dist/service/cloudfront/cff/adapter/sim-cff-request-metadata-adapter.d.ts +23 -0
- package/dist/service/cloudfront/cff/adapter/sim-cff-request-metadata-adapter.d.ts.map +1 -1
- package/dist/service/cloudfront/cff/adapter/sim-cff-request-metadata-adapter.js +64 -22
- package/dist/service/cloudfront/cff/adapter/sim-cff-request-metadata-adapter.js.map +1 -1
- package/dist/service/cloudfront/command/create-function/create-function-code-size.d.ts +23 -0
- package/dist/service/cloudfront/command/create-function/create-function-code-size.d.ts.map +1 -0
- package/dist/service/cloudfront/command/create-function/create-function-code-size.js +33 -0
- package/dist/service/cloudfront/command/create-function/create-function-code-size.js.map +1 -0
- package/dist/service/cloudfront/command/create-function/create-function.handler.d.ts.map +1 -1
- package/dist/service/cloudfront/command/create-function/create-function.handler.js +2 -0
- package/dist/service/cloudfront/command/create-function/create-function.handler.js.map +1 -1
- package/dist/service/cloudfront/error/sim-cloudfront.error.d.ts +11 -0
- package/dist/service/cloudfront/error/sim-cloudfront.error.d.ts.map +1 -1
- package/dist/service/cloudfront/error/sim-cloudfront.error.js +13 -0
- package/dist/service/cloudfront/error/sim-cloudfront.error.js.map +1 -1
- package/dist/service/cloudfront/index.d.ts +1 -1
- package/dist/service/cloudfront/index.d.ts.map +1 -1
- package/dist/service/cloudfront/index.js +1 -1
- package/dist/service/cloudfront/index.js.map +1 -1
- package/dist/service/cloudfront/typings/cloudfront-functions.namespace.d.ts +1 -1
- package/dist/service/cloudfront/typings/cloudfront-functions.namespace.d.ts.map +1 -1
- package/dist/service/cognito/command/sim-cognito-commands.d.ts +6 -0
- package/dist/service/cognito/command/sim-cognito-commands.d.ts.map +1 -1
- package/dist/service/cognito/command/sim-cognito-commands.js +22 -6
- package/dist/service/cognito/command/sim-cognito-commands.js.map +1 -1
- package/dist/service/cognito/error/sim-cognito.error.d.ts +22 -0
- package/dist/service/cognito/error/sim-cognito.error.d.ts.map +1 -1
- package/dist/service/cognito/error/sim-cognito.error.js +26 -0
- package/dist/service/cognito/error/sim-cognito.error.js.map +1 -1
- package/dist/service/cognito/index.d.ts +2 -1
- package/dist/service/cognito/index.d.ts.map +1 -1
- package/dist/service/cognito/index.js +1 -1
- package/dist/service/cognito/index.js.map +1 -1
- package/dist/service/cognito/sim-cognito-identity-provider.d.ts +24 -0
- package/dist/service/cognito/sim-cognito-identity-provider.d.ts.map +1 -1
- package/dist/service/cognito/sim-cognito-identity-provider.js +26 -0
- package/dist/service/cognito/sim-cognito-identity-provider.js.map +1 -1
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.d.ts +9 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.js +2 -2
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.js.map +1 -1
- package/dist/service/cognito/user-pool/register-sim-cognito-user-pool-client.d.ts +22 -0
- package/dist/service/cognito/user-pool/register-sim-cognito-user-pool-client.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/register-sim-cognito-user-pool-client.js +36 -0
- package/dist/service/cognito/user-pool/register-sim-cognito-user-pool-client.js.map +1 -0
- package/dist/service/cognito/user-pool/register-sim-cognito-user-pool.d.ts +25 -0
- package/dist/service/cognito/user-pool/register-sim-cognito-user-pool.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/register-sim-cognito-user-pool.js +30 -0
- package/dist/service/cognito/user-pool/register-sim-cognito-user-pool.js.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-registration.types.d.ts +40 -0
- package/dist/service/cognito/user-pool/sim-cognito-registration.types.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-registration.types.js +2 -0
- package/dist/service/cognito/user-pool/sim-cognito-registration.types.js.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-registrations.d.ts +34 -0
- package/dist/service/cognito/user-pool/sim-cognito-registrations.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-registrations.js +28 -0
- package/dist/service/cognito/user-pool/sim-cognito-registrations.js.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-factory.d.ts +9 -0
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-factory.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-factory.js +3 -2
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-factory.js.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-id.d.ts +9 -0
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-id.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-id.js +18 -0
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-id.js.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.d.ts +8 -0
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.js +15 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.js.map +1 -1
- package/dist/service/cognito/user-pool/trigger/sim-aws-cognito-trigger-functions.d.ts +1 -1
- package/dist/service/cognito/user-pool/trigger/sim-aws-cognito-trigger-functions.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/trigger/sim-aws-cognito-trigger-functions.js +26 -19
- package/dist/service/cognito/user-pool/trigger/sim-aws-cognito-trigger-functions.js.map +1 -1
- package/dist/service/elbv2/serve/sim-elbv2-invoke-authorizer.js +1 -1
- package/dist/service/elbv2/serve/sim-elbv2-invoke-authorizer.js.map +1 -1
- package/dist/service/eventbridge/delivery/sim-event-bridge-delivery-function.d.ts +5 -3
- package/dist/service/eventbridge/delivery/sim-event-bridge-delivery-function.d.ts.map +1 -1
- package/dist/service/eventbridge/delivery/sim-event-bridge-delivery-function.js +14 -9
- package/dist/service/eventbridge/delivery/sim-event-bridge-delivery-function.js.map +1 -1
- package/dist/service/eventbridge/target/sim-event-target-arn.d.ts +13 -6
- package/dist/service/eventbridge/target/sim-event-target-arn.d.ts.map +1 -1
- package/dist/service/eventbridge/target/sim-event-target-arn.js +17 -7
- package/dist/service/eventbridge/target/sim-event-target-arn.js.map +1 -1
- package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-attacher.d.ts +40 -0
- package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-attacher.d.ts.map +1 -0
- package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-attacher.js +65 -0
- package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-attacher.js.map +1 -0
- package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-creator.d.ts +1 -0
- package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-creator.d.ts.map +1 -1
- package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-creator.js +5 -0
- package/dist/service/iam/cfn/managed-policy/sim-cfn-iam-managed-policy-creator.js.map +1 -1
- package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-creator.d.ts +11 -20
- package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-creator.d.ts.map +1 -1
- package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-creator.js +29 -61
- package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-creator.js.map +1 -1
- package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-properties-parser.d.ts +38 -0
- package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-properties-parser.d.ts.map +1 -0
- package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-properties-parser.js +79 -0
- package/dist/service/iam/cfn/policy/sim-cfn-iam-policy-properties-parser.js.map +1 -0
- package/dist/service/iam/cfn/role/sim-cfn-iam-role-properties-parser.d.ts +2 -2
- package/dist/service/iam/cfn/role/sim-cfn-iam-role-properties-parser.d.ts.map +1 -1
- package/dist/service/iam/cfn/role/sim-cfn-iam-role-properties-parser.js +4 -2
- package/dist/service/iam/cfn/role/sim-cfn-iam-role-properties-parser.js.map +1 -1
- package/dist/service/iam/cfn/sim-cfn-iam-policies-parser.d.ts +35 -0
- package/dist/service/iam/cfn/sim-cfn-iam-policies-parser.d.ts.map +1 -0
- package/dist/service/iam/cfn/{role/sim-cfn-iam-role-policies-parser.js → sim-cfn-iam-policies-parser.js} +17 -12
- package/dist/service/iam/cfn/sim-cfn-iam-policies-parser.js.map +1 -0
- package/dist/service/iam/cfn/sim-cfn-iam-resource-deleter.d.ts +11 -0
- package/dist/service/iam/cfn/sim-cfn-iam-resource-deleter.d.ts.map +1 -1
- package/dist/service/iam/cfn/sim-cfn-iam-resource-deleter.js +25 -0
- package/dist/service/iam/cfn/sim-cfn-iam-resource-deleter.js.map +1 -1
- package/dist/service/iam/cfn/sim-cfn-iam-resource-factory.d.ts +1 -0
- package/dist/service/iam/cfn/sim-cfn-iam-resource-factory.d.ts.map +1 -1
- package/dist/service/iam/cfn/sim-cfn-iam-resource-factory.js +6 -0
- package/dist/service/iam/cfn/sim-cfn-iam-resource-factory.js.map +1 -1
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-creator.d.ts +28 -0
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-creator.d.ts.map +1 -0
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-creator.js +67 -0
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-creator.js.map +1 -0
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-deleter.d.ts +26 -0
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-deleter.d.ts.map +1 -0
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-deleter.js +29 -0
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-deleter.js.map +1 -0
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-properties-parser.d.ts +38 -0
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-properties-parser.d.ts.map +1 -0
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-properties-parser.js +80 -0
- package/dist/service/iam/cfn/user/sim-cfn-iam-user-properties-parser.js.map +1 -0
- package/dist/service/iam/command/sim-iam-command.types.d.ts +3 -0
- package/dist/service/iam/command/sim-iam-command.types.d.ts.map +1 -1
- package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.command.d.ts +9 -0
- package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.command.d.ts.map +1 -0
- package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.command.js +2 -0
- package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.command.js.map +1 -0
- package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.handler.d.ts +30 -0
- package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.handler.d.ts.map +1 -0
- package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.handler.js +44 -0
- package/dist/service/iam/command/user/attach-user-policy/attach-user-policy.handler.js.map +1 -0
- package/dist/service/iam/command/user/create-login-profile/create-login-profile.command.d.ts +16 -0
- package/dist/service/iam/command/user/create-login-profile/create-login-profile.command.d.ts.map +1 -0
- package/dist/service/iam/command/user/create-login-profile/create-login-profile.command.js +2 -0
- package/dist/service/iam/command/user/create-login-profile/create-login-profile.command.js.map +1 -0
- package/dist/service/iam/command/user/create-login-profile/create-login-profile.handler.d.ts +32 -0
- package/dist/service/iam/command/user/create-login-profile/create-login-profile.handler.d.ts.map +1 -0
- package/dist/service/iam/command/user/create-login-profile/create-login-profile.handler.js +59 -0
- package/dist/service/iam/command/user/create-login-profile/create-login-profile.handler.js.map +1 -0
- package/dist/service/iam/command/user/create-user/create-user-record-factory.d.ts.map +1 -1
- package/dist/service/iam/command/user/create-user/create-user-record-factory.js +1 -0
- package/dist/service/iam/command/user/create-user/create-user-record-factory.js.map +1 -1
- package/dist/service/iam/command/user/delete-user/delete-user.command.d.ts +19 -0
- package/dist/service/iam/command/user/delete-user/delete-user.command.d.ts.map +1 -0
- package/dist/service/iam/command/user/delete-user/delete-user.command.js +2 -0
- package/dist/service/iam/command/user/delete-user/delete-user.command.js.map +1 -0
- package/dist/service/iam/command/user/delete-user/delete-user.handler.d.ts +34 -0
- package/dist/service/iam/command/user/delete-user/delete-user.handler.d.ts.map +1 -0
- package/dist/service/iam/command/user/delete-user/delete-user.handler.js +51 -0
- package/dist/service/iam/command/user/delete-user/delete-user.handler.js.map +1 -0
- package/dist/service/iam/command/user/sim-iam-user-command-handlers.d.ts +15 -0
- package/dist/service/iam/command/user/sim-iam-user-command-handlers.d.ts.map +1 -1
- package/dist/service/iam/command/user/sim-iam-user-command-handlers.js +36 -0
- package/dist/service/iam/command/user/sim-iam-user-command-handlers.js.map +1 -1
- package/dist/service/iam/sdk/sim-iam-sdk-command-router.d.ts.map +1 -1
- package/dist/service/iam/sdk/sim-iam-sdk-command-router.js +12 -0
- package/dist/service/iam/sdk/sim-iam-sdk-command-router.js.map +1 -1
- package/dist/service/iam/sim-iam.d.ts +12 -0
- package/dist/service/iam/sim-iam.d.ts.map +1 -1
- package/dist/service/iam/sim-iam.js +18 -0
- package/dist/service/iam/sim-iam.js.map +1 -1
- package/dist/service/iam/user/sim-iam-user-login-profile.d.ts +14 -0
- package/dist/service/iam/user/sim-iam-user-login-profile.d.ts.map +1 -0
- package/dist/service/iam/user/sim-iam-user-login-profile.js +2 -0
- package/dist/service/iam/user/sim-iam-user-login-profile.js.map +1 -0
- package/dist/service/iam/user/sim-iam-user.d.ts +8 -0
- package/dist/service/iam/user/sim-iam-user.d.ts.map +1 -1
- package/dist/service/lambda/cfn/alias/sim-cfn-lambda-alias-creator.d.ts +30 -0
- package/dist/service/lambda/cfn/alias/sim-cfn-lambda-alias-creator.d.ts.map +1 -0
- package/dist/service/lambda/cfn/alias/sim-cfn-lambda-alias-creator.js +41 -0
- package/dist/service/lambda/cfn/alias/sim-cfn-lambda-alias-creator.js.map +1 -0
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-code-input.js +1 -1
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-code-input.js.map +1 -1
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-target-function.d.ts +12 -1
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-target-function.d.ts.map +1 -1
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-target-function.js +15 -3
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-target-function.js.map +1 -1
- package/dist/service/lambda/cfn/permission/sim-cfn-lambda-permission-creator.d.ts +6 -1
- package/dist/service/lambda/cfn/permission/sim-cfn-lambda-permission-creator.d.ts.map +1 -1
- package/dist/service/lambda/cfn/permission/sim-cfn-lambda-permission-creator.js +11 -5
- package/dist/service/lambda/cfn/permission/sim-cfn-lambda-permission-creator.js.map +1 -1
- package/dist/service/lambda/cfn/permission/sim-cfn-lambda-permission-revoker.d.ts +12 -0
- package/dist/service/lambda/cfn/permission/sim-cfn-lambda-permission-revoker.d.ts.map +1 -0
- package/dist/service/lambda/cfn/permission/sim-cfn-lambda-permission-revoker.js +22 -0
- package/dist/service/lambda/cfn/permission/sim-cfn-lambda-permission-revoker.js.map +1 -0
- package/dist/service/lambda/cfn/sim-cfn-lambda-created-resource.d.ts +10 -0
- package/dist/service/lambda/cfn/sim-cfn-lambda-created-resource.d.ts.map +1 -0
- package/dist/service/lambda/cfn/sim-cfn-lambda-created-resource.js +14 -0
- package/dist/service/lambda/cfn/sim-cfn-lambda-created-resource.js.map +1 -0
- package/dist/service/lambda/cfn/sim-cfn-lambda-resource-deleter.d.ts +2 -6
- package/dist/service/lambda/cfn/sim-cfn-lambda-resource-deleter.d.ts.map +1 -1
- package/dist/service/lambda/cfn/sim-cfn-lambda-resource-deleter.js +24 -19
- package/dist/service/lambda/cfn/sim-cfn-lambda-resource-deleter.js.map +1 -1
- package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.d.ts +2 -0
- package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.d.ts.map +1 -1
- package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.js +12 -0
- package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.js.map +1 -1
- package/dist/service/lambda/cfn/version/sim-cfn-lambda-version-creator.d.ts +31 -0
- package/dist/service/lambda/cfn/version/sim-cfn-lambda-version-creator.d.ts.map +1 -0
- package/dist/service/lambda/cfn/version/sim-cfn-lambda-version-creator.js +40 -0
- package/dist/service/lambda/cfn/version/sim-cfn-lambda-version-creator.js.map +1 -0
- package/dist/service/lambda/command/add-permission/add-permission.command.d.ts +1 -0
- package/dist/service/lambda/command/add-permission/add-permission.command.d.ts.map +1 -1
- package/dist/service/lambda/command/add-permission/add-permission.handler.d.ts +8 -1
- package/dist/service/lambda/command/add-permission/add-permission.handler.d.ts.map +1 -1
- package/dist/service/lambda/command/add-permission/add-permission.handler.js +13 -6
- package/dist/service/lambda/command/add-permission/add-permission.handler.js.map +1 -1
- package/dist/service/lambda/command/alias/alias-input.d.ts +21 -0
- package/dist/service/lambda/command/alias/alias-input.d.ts.map +1 -0
- package/dist/service/lambda/command/alias/alias-input.js +30 -0
- package/dist/service/lambda/command/alias/alias-input.js.map +1 -0
- package/dist/service/lambda/command/alias/sim-lambda-alias-commands.d.ts +52 -0
- package/dist/service/lambda/command/alias/sim-lambda-alias-commands.d.ts.map +1 -0
- package/dist/service/lambda/command/alias/sim-lambda-alias-commands.js +49 -0
- package/dist/service/lambda/command/alias/sim-lambda-alias-commands.js.map +1 -0
- package/dist/service/lambda/command/authorize/sim-lambda-resource-policies.d.ts +9 -7
- package/dist/service/lambda/command/authorize/sim-lambda-resource-policies.d.ts.map +1 -1
- package/dist/service/lambda/command/authorize/sim-lambda-resource-policies.js +11 -9
- package/dist/service/lambda/command/authorize/sim-lambda-resource-policies.js.map +1 -1
- package/dist/service/lambda/command/authorize/sim-lambda-service-invoke-authorizer.d.ts +10 -2
- package/dist/service/lambda/command/authorize/sim-lambda-service-invoke-authorizer.d.ts.map +1 -1
- package/dist/service/lambda/command/authorize/sim-lambda-service-invoke-authorizer.js +2 -2
- package/dist/service/lambda/command/authorize/sim-lambda-service-invoke-authorizer.js.map +1 -1
- package/dist/service/lambda/command/create-alias/create-alias.command.d.ts +31 -0
- package/dist/service/lambda/command/create-alias/create-alias.command.d.ts.map +1 -0
- package/dist/service/lambda/command/create-alias/create-alias.command.js +5 -0
- package/dist/service/lambda/command/create-alias/create-alias.command.js.map +1 -0
- package/dist/service/lambda/command/create-alias/create-alias.handler.d.ts +35 -0
- package/dist/service/lambda/command/create-alias/create-alias.handler.d.ts.map +1 -0
- package/dist/service/lambda/command/create-alias/create-alias.handler.js +52 -0
- package/dist/service/lambda/command/create-alias/create-alias.handler.js.map +1 -0
- package/dist/service/lambda/command/create-function/create-function.command.d.ts +1 -1
- package/dist/service/lambda/command/create-function/create-function.command.d.ts.map +1 -1
- package/dist/service/lambda/command/create-function/create-function.handler.d.ts.map +1 -1
- package/dist/service/lambda/command/create-function/create-function.handler.js +2 -1
- package/dist/service/lambda/command/create-function/create-function.handler.js.map +1 -1
- package/dist/service/lambda/command/delete-alias/delete-alias.command.d.ts +24 -0
- package/dist/service/lambda/command/delete-alias/delete-alias.command.d.ts.map +1 -0
- package/dist/service/lambda/command/delete-alias/delete-alias.command.js +5 -0
- package/dist/service/lambda/command/delete-alias/delete-alias.command.js.map +1 -0
- package/dist/service/lambda/command/delete-alias/delete-alias.handler.d.ts +37 -0
- package/dist/service/lambda/command/delete-alias/delete-alias.handler.d.ts.map +1 -0
- package/dist/service/lambda/command/delete-alias/delete-alias.handler.js +44 -0
- package/dist/service/lambda/command/delete-alias/delete-alias.handler.js.map +1 -0
- package/dist/service/lambda/command/delete-function/delete-function.handler.d.ts +6 -2
- package/dist/service/lambda/command/delete-function/delete-function.handler.d.ts.map +1 -1
- package/dist/service/lambda/command/delete-function/delete-function.handler.js +7 -3
- package/dist/service/lambda/command/delete-function/delete-function.handler.js.map +1 -1
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-input.d.ts +8 -0
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-input.d.ts.map +1 -1
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-input.js +11 -2
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-input.js.map +1 -1
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping.handler.d.ts.map +1 -1
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping.handler.js +13 -6
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping.handler.js.map +1 -1
- package/dist/service/lambda/command/function/sim-lambda-function-commands.d.ts +3 -1
- package/dist/service/lambda/command/function/sim-lambda-function-commands.d.ts.map +1 -1
- package/dist/service/lambda/command/function/sim-lambda-function-commands.js +1 -1
- package/dist/service/lambda/command/function/sim-lambda-function-commands.js.map +1 -1
- package/dist/service/lambda/command/get-alias/get-alias.command.d.ts +25 -0
- package/dist/service/lambda/command/get-alias/get-alias.command.d.ts.map +1 -0
- package/dist/service/lambda/command/get-alias/get-alias.command.js +5 -0
- package/dist/service/lambda/command/get-alias/get-alias.command.js.map +1 -0
- package/dist/service/lambda/command/get-alias/get-alias.handler.d.ts +34 -0
- package/dist/service/lambda/command/get-alias/get-alias.handler.d.ts.map +1 -0
- package/dist/service/lambda/command/get-alias/get-alias.handler.js +38 -0
- package/dist/service/lambda/command/get-alias/get-alias.handler.js.map +1 -0
- package/dist/service/lambda/command/get-function/get-function.command.d.ts +2 -1
- package/dist/service/lambda/command/get-function/get-function.command.d.ts.map +1 -1
- package/dist/service/lambda/command/get-function/get-function.handler.d.ts +6 -2
- package/dist/service/lambda/command/get-function/get-function.handler.d.ts.map +1 -1
- package/dist/service/lambda/command/get-function/get-function.handler.js +13 -6
- package/dist/service/lambda/command/get-function/get-function.handler.js.map +1 -1
- package/dist/service/lambda/command/get-policy/get-policy.command.d.ts +1 -0
- package/dist/service/lambda/command/get-policy/get-policy.command.d.ts.map +1 -1
- package/dist/service/lambda/command/get-policy/get-policy.handler.d.ts +8 -3
- package/dist/service/lambda/command/get-policy/get-policy.handler.d.ts.map +1 -1
- package/dist/service/lambda/command/get-policy/get-policy.handler.js +11 -6
- package/dist/service/lambda/command/get-policy/get-policy.handler.js.map +1 -1
- package/dist/service/lambda/command/invoke/invoke-authorizer.d.ts +11 -8
- package/dist/service/lambda/command/invoke/invoke-authorizer.d.ts.map +1 -1
- package/dist/service/lambda/command/invoke/invoke-authorizer.js +11 -8
- package/dist/service/lambda/command/invoke/invoke-authorizer.js.map +1 -1
- package/dist/service/lambda/command/invoke/invoke-dispatcher.d.ts +3 -0
- package/dist/service/lambda/command/invoke/invoke-dispatcher.d.ts.map +1 -1
- package/dist/service/lambda/command/invoke/invoke-dispatcher.js +5 -2
- package/dist/service/lambda/command/invoke/invoke-dispatcher.js.map +1 -1
- package/dist/service/lambda/command/invoke/invoke.handler.d.ts +9 -2
- package/dist/service/lambda/command/invoke/invoke.handler.d.ts.map +1 -1
- package/dist/service/lambda/command/invoke/invoke.handler.js +20 -10
- package/dist/service/lambda/command/invoke/invoke.handler.js.map +1 -1
- package/dist/service/lambda/command/list-aliases/list-aliases.command.d.ts +30 -0
- package/dist/service/lambda/command/list-aliases/list-aliases.command.d.ts.map +1 -0
- package/dist/service/lambda/command/list-aliases/list-aliases.command.js +5 -0
- package/dist/service/lambda/command/list-aliases/list-aliases.command.js.map +1 -0
- package/dist/service/lambda/command/list-aliases/list-aliases.handler.d.ts +35 -0
- package/dist/service/lambda/command/list-aliases/list-aliases.handler.d.ts.map +1 -0
- package/dist/service/lambda/command/list-aliases/list-aliases.handler.js +44 -0
- package/dist/service/lambda/command/list-aliases/list-aliases.handler.js.map +1 -0
- package/dist/service/lambda/command/list-versions-by-function/list-versions-by-function.command.d.ts +28 -0
- package/dist/service/lambda/command/list-versions-by-function/list-versions-by-function.command.d.ts.map +1 -0
- package/dist/service/lambda/command/list-versions-by-function/list-versions-by-function.command.js +5 -0
- package/dist/service/lambda/command/list-versions-by-function/list-versions-by-function.command.js.map +1 -0
- package/dist/service/lambda/command/list-versions-by-function/list-versions-by-function.handler.d.ts +35 -0
- package/dist/service/lambda/command/list-versions-by-function/list-versions-by-function.handler.d.ts.map +1 -0
- package/dist/service/lambda/command/list-versions-by-function/list-versions-by-function.handler.js +43 -0
- package/dist/service/lambda/command/list-versions-by-function/list-versions-by-function.handler.js.map +1 -0
- package/dist/service/lambda/command/permission/sim-lambda-permission-commands.d.ts +8 -3
- package/dist/service/lambda/command/permission/sim-lambda-permission-commands.d.ts.map +1 -1
- package/dist/service/lambda/command/permission/sim-lambda-permission-commands.js +6 -3
- package/dist/service/lambda/command/permission/sim-lambda-permission-commands.js.map +1 -1
- package/dist/service/lambda/command/publish-version/publish-version.command.d.ts +34 -0
- package/dist/service/lambda/command/publish-version/publish-version.command.d.ts.map +1 -0
- package/dist/service/lambda/command/publish-version/publish-version.command.js +5 -0
- package/dist/service/lambda/command/publish-version/publish-version.command.js.map +1 -0
- package/dist/service/lambda/command/publish-version/publish-version.handler.d.ts +37 -0
- package/dist/service/lambda/command/publish-version/publish-version.handler.d.ts.map +1 -0
- package/dist/service/lambda/command/publish-version/publish-version.handler.js +42 -0
- package/dist/service/lambda/command/publish-version/publish-version.handler.js.map +1 -0
- package/dist/service/lambda/command/remove-permission/remove-permission.command.d.ts +1 -0
- package/dist/service/lambda/command/remove-permission/remove-permission.command.d.ts.map +1 -1
- package/dist/service/lambda/command/remove-permission/remove-permission.handler.d.ts +8 -1
- package/dist/service/lambda/command/remove-permission/remove-permission.handler.d.ts.map +1 -1
- package/dist/service/lambda/command/remove-permission/remove-permission.handler.js +12 -5
- package/dist/service/lambda/command/remove-permission/remove-permission.handler.js.map +1 -1
- package/dist/service/lambda/command/sim-lambda-command.types.d.ts +7 -0
- package/dist/service/lambda/command/sim-lambda-command.types.d.ts.map +1 -1
- package/dist/service/lambda/command/update-alias/update-alias.command.d.ts +31 -0
- package/dist/service/lambda/command/update-alias/update-alias.command.d.ts.map +1 -0
- package/dist/service/lambda/command/update-alias/update-alias.command.js +5 -0
- package/dist/service/lambda/command/update-alias/update-alias.command.js.map +1 -0
- package/dist/service/lambda/command/update-alias/update-alias.handler.d.ts +35 -0
- package/dist/service/lambda/command/update-alias/update-alias.handler.d.ts.map +1 -0
- package/dist/service/lambda/command/update-alias/update-alias.handler.js +48 -0
- package/dist/service/lambda/command/update-alias/update-alias.handler.js.map +1 -0
- package/dist/service/lambda/command/version/sim-lambda-version-commands.d.ts +37 -0
- package/dist/service/lambda/command/version/sim-lambda-version-commands.d.ts.map +1 -0
- package/dist/service/lambda/command/version/sim-lambda-version-commands.js +28 -0
- package/dist/service/lambda/command/version/sim-lambda-version-commands.js.map +1 -0
- package/dist/service/lambda/command/version/version-authorizer.d.ts +29 -0
- package/dist/service/lambda/command/version/version-authorizer.d.ts.map +1 -0
- package/dist/service/lambda/command/version/version-authorizer.js +39 -0
- package/dist/service/lambda/command/version/version-authorizer.js.map +1 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-dynamodb-stream-event-source-poller.d.ts.map +1 -1
- package/dist/service/lambda/event-source/poll/sim-lambda-dynamodb-stream-event-source-poller.js +2 -1
- package/dist/service/lambda/event-source/poll/sim-lambda-dynamodb-stream-event-source-poller.js.map +1 -1
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-function.d.ts +13 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-function.d.ts.map +1 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-function.js +13 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-function.js.map +1 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-event-source-consumer.d.ts.map +1 -1
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-event-source-consumer.js +2 -1
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-event-source-consumer.js.map +1 -1
- package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.d.ts +9 -1
- package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.d.ts.map +1 -1
- package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.js +8 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.js.map +1 -1
- package/dist/service/lambda/function/code/sim-lambda-executable-code.d.ts +6 -5
- package/dist/service/lambda/function/code/sim-lambda-executable-code.d.ts.map +1 -1
- package/dist/service/lambda/function/code/sim-lambda-executable-code.js +7 -6
- package/dist/service/lambda/function/code/sim-lambda-executable-code.js.map +1 -1
- package/dist/service/lambda/function/invoke/sim-lambda-host-scope.d.ts +11 -3
- package/dist/service/lambda/function/invoke/sim-lambda-host-scope.d.ts.map +1 -1
- package/dist/service/lambda/function/invoke/sim-lambda-host-scope.js +13 -7
- package/dist/service/lambda/function/invoke/sim-lambda-host-scope.js.map +1 -1
- package/dist/service/lambda/function/invoke/sim-lambda-invoke-context-builder.d.ts +2 -0
- package/dist/service/lambda/function/invoke/sim-lambda-invoke-context-builder.d.ts.map +1 -1
- package/dist/service/lambda/function/invoke/sim-lambda-invoke-context-builder.js +2 -2
- package/dist/service/lambda/function/invoke/sim-lambda-invoke-context-builder.js.map +1 -1
- package/dist/service/lambda/function/invoke/sim-lambda-process-output.d.ts +104 -0
- package/dist/service/lambda/function/invoke/sim-lambda-process-output.d.ts.map +1 -0
- package/dist/service/lambda/function/invoke/sim-lambda-process-output.js +133 -0
- package/dist/service/lambda/function/invoke/sim-lambda-process-output.js.map +1 -0
- package/dist/service/lambda/function/logging/sim-lambda-function-logging.d.ts +10 -0
- package/dist/service/lambda/function/logging/sim-lambda-function-logging.d.ts.map +1 -1
- package/dist/service/lambda/function/logging/sim-lambda-function-logging.js +11 -0
- package/dist/service/lambda/function/logging/sim-lambda-function-logging.js.map +1 -1
- package/dist/service/lambda/function/policy/sim-lambda-policy-resource.d.ts +17 -0
- package/dist/service/lambda/function/policy/sim-lambda-policy-resource.d.ts.map +1 -0
- package/dist/service/lambda/function/policy/sim-lambda-policy-resource.js +2 -0
- package/dist/service/lambda/function/policy/sim-lambda-policy-resource.js.map +1 -0
- package/dist/service/lambda/function/sim-lambda-function-arn-parts.d.ts +3 -3
- package/dist/service/lambda/function/sim-lambda-function-configuration.d.ts +43 -0
- package/dist/service/lambda/function/sim-lambda-function-configuration.d.ts.map +1 -0
- package/dist/service/lambda/function/sim-lambda-function-configuration.js +22 -0
- package/dist/service/lambda/function/sim-lambda-function-configuration.js.map +1 -0
- package/dist/service/lambda/function/sim-lambda-function-name.d.ts +3 -1
- package/dist/service/lambda/function/sim-lambda-function-name.d.ts.map +1 -1
- package/dist/service/lambda/function/sim-lambda-function-name.js +3 -1
- package/dist/service/lambda/function/sim-lambda-function-name.js.map +1 -1
- package/dist/service/lambda/function/sim-lambda-function-reference.d.ts +36 -0
- package/dist/service/lambda/function/sim-lambda-function-reference.d.ts.map +1 -0
- package/dist/service/lambda/function/sim-lambda-function-reference.js +56 -0
- package/dist/service/lambda/function/sim-lambda-function-reference.js.map +1 -0
- package/dist/service/lambda/function/sim-lambda-function.d.ts +19 -32
- package/dist/service/lambda/function/sim-lambda-function.d.ts.map +1 -1
- package/dist/service/lambda/function/sim-lambda-function.js +33 -14
- package/dist/service/lambda/function/sim-lambda-function.js.map +1 -1
- package/dist/service/lambda/function/url/sim-lambda-function-lookup.d.ts +22 -3
- package/dist/service/lambda/function/url/sim-lambda-function-lookup.d.ts.map +1 -1
- package/dist/service/lambda/function/url/sim-lambda-function-lookup.js +24 -4
- package/dist/service/lambda/function/url/sim-lambda-function-lookup.js.map +1 -1
- package/dist/service/lambda/function/version/sim-lambda-function-alias-store.d.ts +55 -0
- package/dist/service/lambda/function/version/sim-lambda-function-alias-store.d.ts.map +1 -0
- package/dist/service/lambda/function/version/sim-lambda-function-alias-store.js +80 -0
- package/dist/service/lambda/function/version/sim-lambda-function-alias-store.js.map +1 -0
- package/dist/service/lambda/function/version/sim-lambda-function-alias.d.ts +60 -0
- package/dist/service/lambda/function/version/sim-lambda-function-alias.d.ts.map +1 -0
- package/dist/service/lambda/function/version/sim-lambda-function-alias.js +57 -0
- package/dist/service/lambda/function/version/sim-lambda-function-alias.js.map +1 -0
- package/dist/service/lambda/function/version/sim-lambda-function-target.d.ts +16 -0
- package/dist/service/lambda/function/version/sim-lambda-function-target.d.ts.map +1 -0
- package/dist/service/lambda/function/version/sim-lambda-function-target.js +2 -0
- package/dist/service/lambda/function/version/sim-lambda-function-target.js.map +1 -0
- package/dist/service/lambda/function/version/sim-lambda-function-version-store.d.ts +80 -0
- package/dist/service/lambda/function/version/sim-lambda-function-version-store.d.ts.map +1 -0
- package/dist/service/lambda/function/version/sim-lambda-function-version-store.js +114 -0
- package/dist/service/lambda/function/version/sim-lambda-function-version-store.js.map +1 -0
- package/dist/service/lambda/function/version/sim-lambda-function-versions.d.ts +61 -0
- package/dist/service/lambda/function/version/sim-lambda-function-versions.d.ts.map +1 -0
- package/dist/service/lambda/function/version/sim-lambda-function-versions.js +96 -0
- package/dist/service/lambda/function/version/sim-lambda-function-versions.js.map +1 -0
- package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.d.ts.map +1 -1
- package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.js +28 -0
- package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.js.map +1 -1
- package/dist/service/lambda/serve/api/sim-lambda-api-routes.d.ts +2 -1
- package/dist/service/lambda/serve/api/sim-lambda-api-routes.d.ts.map +1 -1
- package/dist/service/lambda/serve/api/sim-lambda-api-routes.js +2 -1
- package/dist/service/lambda/serve/api/sim-lambda-api-routes.js.map +1 -1
- package/dist/service/lambda/sim-lambda-commands.d.ts +8 -0
- package/dist/service/lambda/sim-lambda-commands.d.ts.map +1 -1
- package/dist/service/lambda/sim-lambda-commands.js +25 -0
- package/dist/service/lambda/sim-lambda-commands.js.map +1 -1
- package/dist/service/lambda/sim-lambda-inspection.d.ts +43 -0
- package/dist/service/lambda/sim-lambda-inspection.d.ts.map +1 -0
- package/dist/service/lambda/sim-lambda-inspection.js +50 -0
- package/dist/service/lambda/sim-lambda-inspection.js.map +1 -0
- package/dist/service/lambda/sim-lambda.d.ts +44 -80
- package/dist/service/lambda/sim-lambda.d.ts.map +1 -1
- package/dist/service/lambda/sim-lambda.js +55 -82
- package/dist/service/lambda/sim-lambda.js.map +1 -1
- package/dist/service/logs/subscription/lambda/sim-aws-logs-subscription-functions.d.ts.map +1 -1
- package/dist/service/logs/subscription/lambda/sim-aws-logs-subscription-functions.js +2 -2
- package/dist/service/logs/subscription/lambda/sim-aws-logs-subscription-functions.js.map +1 -1
- package/dist/service/logs/subscription/lambda/sim-logs-destination-permission.d.ts +7 -5
- package/dist/service/logs/subscription/lambda/sim-logs-destination-permission.d.ts.map +1 -1
- package/dist/service/logs/subscription/lambda/sim-logs-destination-permission.js +15 -9
- package/dist/service/logs/subscription/lambda/sim-logs-destination-permission.js.map +1 -1
- package/dist/service/logs/subscription/lambda/sim-logs-subscription-function-arn.d.ts +9 -0
- package/dist/service/logs/subscription/lambda/sim-logs-subscription-function-arn.d.ts.map +1 -1
- package/dist/service/logs/subscription/lambda/sim-logs-subscription-function-arn.js +11 -5
- package/dist/service/logs/subscription/lambda/sim-logs-subscription-function-arn.js.map +1 -1
- package/dist/service/s3/command/get-object/get-object-loader.d.ts +5 -3
- package/dist/service/s3/command/get-object/get-object-loader.d.ts.map +1 -1
- package/dist/service/s3/command/get-object/get-object-loader.js +19 -4
- package/dist/service/s3/command/get-object/get-object-loader.js.map +1 -1
- package/dist/service/s3/command/get-object/get-object.command.d.ts +13 -0
- package/dist/service/s3/command/get-object/get-object.command.d.ts.map +1 -1
- package/dist/service/s3/command/get-object/get-object.handler.d.ts +3 -0
- package/dist/service/s3/command/get-object/get-object.handler.d.ts.map +1 -1
- package/dist/service/s3/command/get-object/get-object.handler.js +4 -1
- package/dist/service/s3/command/get-object/get-object.handler.js.map +1 -1
- package/dist/service/s3/error/sim-s3.error.d.ts +13 -0
- package/dist/service/s3/error/sim-s3.error.d.ts.map +1 -1
- package/dist/service/s3/error/sim-s3.error.js +15 -0
- package/dist/service/s3/error/sim-s3.error.js.map +1 -1
- package/dist/service/s3/notification/destination/lambda/sim-aws-s3-notification-functions.d.ts +1 -1
- package/dist/service/s3/notification/destination/lambda/sim-aws-s3-notification-functions.d.ts.map +1 -1
- package/dist/service/s3/notification/destination/lambda/sim-aws-s3-notification-functions.js +23 -10
- package/dist/service/s3/notification/destination/lambda/sim-aws-s3-notification-functions.js.map +1 -1
- package/dist/service/s3/notification/destination/lambda/sim-s3-notification-function-arn.d.ts +8 -4
- package/dist/service/s3/notification/destination/lambda/sim-s3-notification-function-arn.d.ts.map +1 -1
- package/dist/service/s3/notification/destination/lambda/sim-s3-notification-function-arn.js +12 -12
- package/dist/service/s3/notification/destination/lambda/sim-s3-notification-function-arn.js.map +1 -1
- package/dist/service/s3/object/s3-object-range.d.ts +26 -0
- package/dist/service/s3/object/s3-object-range.d.ts.map +1 -0
- package/dist/service/s3/object/s3-object-range.js +89 -0
- package/dist/service/s3/object/s3-object-range.js.map +1 -0
- package/dist/service/s3/object/s3-object-response-headers.d.ts +7 -1
- package/dist/service/s3/object/s3-object-response-headers.d.ts.map +1 -1
- package/dist/service/s3/object/s3-object-response-headers.js +5 -1
- package/dist/service/s3/object/s3-object-response-headers.js.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-input.d.ts +0 -14
- package/dist/service/s3/serve/api/sim-s3-api-input.d.ts.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-input.js +0 -29
- package/dist/service/s3/serve/api/sim-s3-api-input.js.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-object-input.d.ts +27 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-input.d.ts.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-input.js +47 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-input.js.map +1 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-output.d.ts +5 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-output.d.ts.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-object-output.js +8 -1
- package/dist/service/s3/serve/api/sim-s3-api-object-output.js.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-object-routes.d.ts.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-object-routes.js +2 -2
- package/dist/service/s3/serve/api/sim-s3-api-object-routes.js.map +1 -1
- package/dist/service/s3/serve/sim-s3-rest-object-reader.d.ts +5 -0
- package/dist/service/s3/serve/sim-s3-rest-object-reader.d.ts.map +1 -1
- package/dist/service/s3/serve/sim-s3-rest-object-reader.js +20 -3
- package/dist/service/s3/serve/sim-s3-rest-object-reader.js.map +1 -1
- package/dist/service/sns/delivery/lambda/sim-sns-delivery-function.d.ts +5 -4
- package/dist/service/sns/delivery/lambda/sim-sns-delivery-function.d.ts.map +1 -1
- package/dist/service/sns/delivery/lambda/sim-sns-delivery-function.js +16 -11
- package/dist/service/sns/delivery/lambda/sim-sns-delivery-function.js.map +1 -1
- package/dist/service/sns/subscription/sim-sns-function-endpoint-arn.d.ts +8 -4
- package/dist/service/sns/subscription/sim-sns-function-endpoint-arn.d.ts.map +1 -1
- package/dist/service/sns/subscription/sim-sns-function-endpoint-arn.js +11 -10
- package/dist/service/sns/subscription/sim-sns-function-endpoint-arn.js.map +1 -1
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-dynamic-reference-resolver.d.ts +0 -7
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-dynamic-reference-resolver.d.ts.map +1 -1
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-dynamic-reference-resolver.js +7 -41
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-dynamic-reference-resolver.js.map +1 -1
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-body.d.ts +14 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-body.d.ts.map +1 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-body.js +26 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-body.js.map +1 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-stand-in.d.ts +11 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-stand-in.d.ts.map +1 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-stand-in.js +16 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-reference-stand-in.js.map +1 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-dynamic-reference-resolver.d.ts +40 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-dynamic-reference-resolver.d.ts.map +1 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-dynamic-reference-resolver.js +67 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-dynamic-reference-resolver.js.map +1 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-reference-properties.d.ts +8 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-reference-properties.d.ts.map +1 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-reference-properties.js +61 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-reference-properties.js.map +1 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-refusals.d.ts +19 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-refusals.d.ts.map +1 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-refusals.js +37 -0
- package/dist/service/ssm/cfn/dynamic/sim-cfn-ssm-secure-refusals.js.map +1 -0
- package/dist/service/ssm/sim-ssm.d.ts +5 -0
- package/dist/service/ssm/sim-ssm.d.ts.map +1 -1
- package/dist/service/ssm/sim-ssm.js +7 -0
- package/dist/service/ssm/sim-ssm.js.map +1 -1
- package/package.json +4 -2
- package/dist/service/iam/cfn/role/sim-cfn-iam-role-policies-parser.d.ts +0 -25
- package/dist/service/iam/cfn/role/sim-cfn-iam-role-policies-parser.d.ts.map +0 -1
- package/dist/service/iam/cfn/role/sim-cfn-iam-role-policies-parser.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-acm.js","sourceRoot":"","sources":["../../../src/service/acm/sim-acm.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,eAAe,GAChB,MAAM,qCAAqC,CAAC;AAO7C,OAAO,EAAE,gCAAgC,EAAE,MAAM,8DAA8D,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-acm.js","sourceRoot":"","sources":["../../../src/service/acm/sim-acm.ts"],"names":[],"mappings":"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"}
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
* `IntegrationUri` of an `AWS_PROXY` integration, or the `AuthorizerUri` of a
|
|
4
4
|
* `REQUEST` authorizer. Both are written the same way.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
6
|
+
* A version or alias qualifier on the end of the function ARN is held apart
|
|
7
|
+
* from the function name, because the two are resolved separately. The name
|
|
8
|
+
* finds the function and the qualifier picks which of its versions runs.
|
|
9
|
+
* Neither is resolved here. That is what lets a route built on an alias follow
|
|
10
|
+
* that alias wherever it is moved to afterwards.
|
|
10
11
|
*
|
|
11
12
|
* Both URI forms reach the same function, and both are held as the function
|
|
12
13
|
* ARN, which is what the API hands back. Reading them here rather than in each
|
|
@@ -18,6 +19,10 @@ export declare class SimHttpApiLambdaUri {
|
|
|
18
19
|
readonly regionName: string;
|
|
19
20
|
readonly accountId: string;
|
|
20
21
|
readonly functionName: string;
|
|
22
|
+
/**
|
|
23
|
+
* The published version or the alias the URI named, if it named one.
|
|
24
|
+
*/
|
|
25
|
+
readonly qualifier: string | undefined;
|
|
21
26
|
private constructor();
|
|
22
27
|
/**
|
|
23
28
|
* Read an integration URI, refusing anything that is not a Lambda function
|
|
@@ -33,5 +38,19 @@ export declare class SimHttpApiLambdaUri {
|
|
|
33
38
|
* The function ARN a URI names, in either form it is written in.
|
|
34
39
|
*/
|
|
35
40
|
private static functionArn;
|
|
41
|
+
/**
|
|
42
|
+
* A function ARN split from the qualifier on the end of it.
|
|
43
|
+
*
|
|
44
|
+
* The split is by field rather than by pattern, since a function name and a
|
|
45
|
+
* qualifier are written from the same characters and only the colon between
|
|
46
|
+
* them tells the two apart.
|
|
47
|
+
*/
|
|
48
|
+
private static split;
|
|
49
|
+
/**
|
|
50
|
+
* Whether what came off the end of the ARN could be a qualifier at all. A
|
|
51
|
+
* URI carrying more fields than a qualified function ARN has is refused
|
|
52
|
+
* here.
|
|
53
|
+
*/
|
|
54
|
+
private static qualifierAccepted;
|
|
36
55
|
}
|
|
37
56
|
//# sourceMappingURL=sim-http-api-lambda-uri.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-http-api-lambda-uri.d.ts","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sim-http-api-lambda-uri.d.ts","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.ts"],"names":[],"mappings":"AA+BA;;;;;;;;;;;;;;;GAeG;AACH,qBAAa,mBAAmB;IAC9B,SAAgB,GAAG,EAAE,MAAM,CAAC;IAC5B,SAAgB,UAAU,EAAE,MAAM,CAAC;IACnC,SAAgB,SAAS,EAAE,MAAM,CAAC;IAClC,SAAgB,YAAY,EAAE,MAAM,CAAC;IAErC;;OAEG;IACH,SAAgB,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IAE9C,OAAO,eAWN;IAED;;;OAGG;IACH,MAAM,CAAC,KAAK,CAAC,GAAG,EAAE,MAAM,GAAG,mBAAmB,CAO7C;IAED;;OAEG;IACH,MAAM,CAAC,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,mBAAmB,CAO1D;IAED,OAAO,CAAC,MAAM,CAAC,IAAI;IAqBnB;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,WAAW;IAI1B;;;;;;OAMG;IACH,OAAO,CAAC,MAAM,CAAC,KAAK;IAcpB;;;;OAIG;IACH,OAAO,CAAC,MAAM,CAAC,iBAAiB;CAGjC"}
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
import { SimApiGatewayV2BadRequest } from "../../error/sim-api-gateway-v2.error.js";
|
|
2
2
|
const lambdaFunctionArn = /^arn:aws:lambda:(?<regionName>[a-z0-9-]+):(?<accountId>\d{12}):function:(?<functionName>[a-zA-Z0-9-_]+)$/;
|
|
3
|
+
/**
|
|
4
|
+
* A version number or an alias name on the end of a function ARN. `$LATEST`
|
|
5
|
+
* is one of them, which is what the `$` is there for.
|
|
6
|
+
*/
|
|
7
|
+
const lambdaQualifier = /^[a-zA-Z0-9-_$]+$/;
|
|
8
|
+
/**
|
|
9
|
+
* How many colon-separated fields an unqualified function ARN has. A
|
|
10
|
+
* qualified one has an eighth.
|
|
11
|
+
*/
|
|
12
|
+
const functionArnFieldCount = 7;
|
|
3
13
|
/**
|
|
4
14
|
* The other form an integration URI is written in, wrapping a Lambda function
|
|
5
15
|
* ARN in an API Gateway path:
|
|
@@ -17,10 +27,11 @@ const apiGatewayLambdaPathUri = /^arn:[^:]+:apigateway:[^:]+:lambda:path\/2015-0
|
|
|
17
27
|
* `IntegrationUri` of an `AWS_PROXY` integration, or the `AuthorizerUri` of a
|
|
18
28
|
* `REQUEST` authorizer. Both are written the same way.
|
|
19
29
|
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
30
|
+
* A version or alias qualifier on the end of the function ARN is held apart
|
|
31
|
+
* from the function name, because the two are resolved separately. The name
|
|
32
|
+
* finds the function and the qualifier picks which of its versions runs.
|
|
33
|
+
* Neither is resolved here. That is what lets a route built on an alias follow
|
|
34
|
+
* that alias wherever it is moved to afterwards.
|
|
24
35
|
*
|
|
25
36
|
* Both URI forms reach the same function, and both are held as the function
|
|
26
37
|
* ARN, which is what the API hands back. Reading them here rather than in each
|
|
@@ -32,9 +43,14 @@ export class SimHttpApiLambdaUri {
|
|
|
32
43
|
regionName;
|
|
33
44
|
accountId;
|
|
34
45
|
functionName;
|
|
35
|
-
|
|
46
|
+
/**
|
|
47
|
+
* The published version or the alias the URI named, if it named one.
|
|
48
|
+
*/
|
|
49
|
+
qualifier;
|
|
50
|
+
constructor(uri, qualifier, groups) {
|
|
36
51
|
this.uri = uri;
|
|
37
|
-
|
|
52
|
+
this.qualifier = qualifier;
|
|
53
|
+
/* v8 ignore next 3 -- the pattern that matched fills each of these three */
|
|
38
54
|
this.regionName = groups["regionName"] ?? "";
|
|
39
55
|
this.accountId = groups["accountId"] ?? "";
|
|
40
56
|
this.functionName = groups["functionName"] ?? "";
|
|
@@ -44,25 +60,27 @@ export class SimHttpApiLambdaUri {
|
|
|
44
60
|
* ARN.
|
|
45
61
|
*/
|
|
46
62
|
static parse(uri) {
|
|
47
|
-
return this.read("IntegrationUri", uri, "an AWS_PROXY integration is simulated only for
|
|
48
|
-
"
|
|
63
|
+
return this.read("IntegrationUri", uri, "an AWS_PROXY integration is simulated only for a Lambda function ARN, " +
|
|
64
|
+
"with or without a version or alias qualifier");
|
|
49
65
|
}
|
|
50
66
|
/**
|
|
51
67
|
* Read a `REQUEST` authorizer's URI, which names its function the same way.
|
|
52
68
|
*/
|
|
53
69
|
static parseAuthorizerUri(uri) {
|
|
54
|
-
return this.read("AuthorizerUri", uri, "a REQUEST authorizer is simulated only for
|
|
55
|
-
"
|
|
70
|
+
return this.read("AuthorizerUri", uri, "a REQUEST authorizer is simulated only for a Lambda function ARN, " +
|
|
71
|
+
"with or without a version or alias qualifier");
|
|
56
72
|
}
|
|
57
73
|
static read(option, uri, refusal) {
|
|
58
74
|
const functionArn = this.functionArn(uri);
|
|
59
|
-
const
|
|
60
|
-
|
|
75
|
+
const { unqualified, qualifier } = this.split(functionArn);
|
|
76
|
+
const groups = lambdaFunctionArn.exec(unqualified)?.groups;
|
|
77
|
+
if (groups === undefined || !this.qualifierAccepted(qualifier)) {
|
|
61
78
|
throw new SimApiGatewayV2BadRequest(`${option} '${uri}' is not a simulated invocation target: ` +
|
|
62
79
|
`${refusal}, such as ` +
|
|
63
|
-
`arn:aws:lambda:eu-west-2:111111111111:function:orders`
|
|
80
|
+
`arn:aws:lambda:eu-west-2:111111111111:function:orders or ` +
|
|
81
|
+
`arn:aws:lambda:eu-west-2:111111111111:function:orders:live`);
|
|
64
82
|
}
|
|
65
|
-
return new SimHttpApiLambdaUri(functionArn, groups);
|
|
83
|
+
return new SimHttpApiLambdaUri(functionArn, qualifier, groups);
|
|
66
84
|
}
|
|
67
85
|
/**
|
|
68
86
|
* The function ARN a URI names, in either form it is written in.
|
|
@@ -70,5 +88,29 @@ export class SimHttpApiLambdaUri {
|
|
|
70
88
|
static functionArn(uri) {
|
|
71
89
|
return apiGatewayLambdaPathUri.exec(uri)?.groups?.["functionArn"] ?? uri;
|
|
72
90
|
}
|
|
91
|
+
/**
|
|
92
|
+
* A function ARN split from the qualifier on the end of it.
|
|
93
|
+
*
|
|
94
|
+
* The split is by field rather than by pattern, since a function name and a
|
|
95
|
+
* qualifier are written from the same characters and only the colon between
|
|
96
|
+
* them tells the two apart.
|
|
97
|
+
*/
|
|
98
|
+
static split(functionArn) {
|
|
99
|
+
const fields = functionArn.split(":");
|
|
100
|
+
return fields.length > functionArnFieldCount
|
|
101
|
+
? {
|
|
102
|
+
unqualified: fields.slice(0, functionArnFieldCount).join(":"),
|
|
103
|
+
qualifier: fields.slice(functionArnFieldCount).join(":"),
|
|
104
|
+
}
|
|
105
|
+
: { unqualified: functionArn, qualifier: undefined };
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Whether what came off the end of the ARN could be a qualifier at all. A
|
|
109
|
+
* URI carrying more fields than a qualified function ARN has is refused
|
|
110
|
+
* here.
|
|
111
|
+
*/
|
|
112
|
+
static qualifierAccepted(qualifier) {
|
|
113
|
+
return qualifier === undefined || lambdaQualifier.test(qualifier);
|
|
114
|
+
}
|
|
73
115
|
}
|
|
74
116
|
//# sourceMappingURL=sim-http-api-lambda-uri.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-http-api-lambda-uri.js","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AAEpF,MAAM,iBAAiB,GACrB,0GAA0G,CAAC;AAE7G;;;;;;;;;;GAUG;AACH,MAAM,uBAAuB,GAC3B,yGAAyG,CAAC;AAE5G
|
|
1
|
+
{"version":3,"file":"sim-http-api-lambda-uri.js","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.ts"],"names":[],"mappings":"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"}
|
|
@@ -2,7 +2,7 @@ import type { SimClock } from "../../../../util/clock/sim-clock.js";
|
|
|
2
2
|
import { type SimHttpApiAuthorization } from "../../api/authorizer/sim-http-api-authorization.js";
|
|
3
3
|
import type { SimHttpApiRequestAuthorizer } from "../../api/authorizer/sim-http-api-request-authorizer.js";
|
|
4
4
|
import type { SimHttpApiLambdaUri } from "../../api/integration/sim-http-api-lambda-uri.js";
|
|
5
|
-
import type { SimHttpApiFunctionTarget } from "../sim-api-
|
|
5
|
+
import type { SimHttpApiFunctionTarget } from "../sim-http-api-function-target.js";
|
|
6
6
|
import type { SimHttpApiRouteAuthorizeInput } from "./sim-http-api-route-authorize-input.js";
|
|
7
7
|
/**
|
|
8
8
|
* Finds the function an authorizer names, which the serving router does.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-http-api-authorizer-invocation.d.ts","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/serve/auth/sim-http-api-authorizer-invocation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EACL,KAAK,uBAAuB,EAE7B,MAAM,oDAAoD,CAAC;AAC5D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,yDAAyD,CAAC;AAC3G,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kDAAkD,CAAC;AAE5F,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"sim-http-api-authorizer-invocation.d.ts","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/serve/auth/sim-http-api-authorizer-invocation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EACL,KAAK,uBAAuB,EAE7B,MAAM,oDAAoD,CAAC;AAC5D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,yDAAyD,CAAC;AAC3G,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kDAAkD,CAAC;AAE5F,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAKnF,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,yCAAyC,CAAC;AAE7F;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C,WAAW,CACT,SAAS,EAAE,mBAAmB,GAC7B,wBAAwB,GAAG,SAAS,CAAC;CACzC;AAED,UAAU,wCAAwC;IAChD,mEAAmE;IACnE,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC;IACzB,QAAQ,CAAC,SAAS,EAAE,6BAA6B,CAAC;CACnD;AAED;;;;;;;GAOG;AACH,qBAAa,8BAA8B;IACzC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAgC;IAC1D,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAmC;IAEhE,YAAY,UAAU,EAAE,wCAAwC,EAK/D;IAED;;OAEG;IACG,MAAM,CACV,KAAK,EAAE,6BAA6B,EACpC,UAAU,EAAE,2BAA2B,EACvC,cAAc,EAAE,SAAS,MAAM,EAAE,GAChC,OAAO,CAAC,uBAAuB,CAAC,CAkClC;CACF"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import type { SimIamAuthorizationDecision, SimIamInterServiceAuthZ } from "../../../iam/authorize/sim-iam-inter-service-auth-z.js";
|
|
2
|
-
import type { SimLambdaFunction } from "../../../lambda/function/sim-lambda-function.js";
|
|
3
2
|
import type { SimHttpApiRequestAuthorizer } from "../../api/authorizer/sim-http-api-request-authorizer.js";
|
|
4
3
|
import { SimHttpApiExecuteApiArn } from "../../api/sim-http-api-execute-api-arn.js";
|
|
5
4
|
import type { SimHttpApi } from "../../api/sim-http-api.js";
|
|
6
|
-
import type { SimHttpApiFunctionTarget } from "../sim-api-
|
|
5
|
+
import type { SimHttpApiFunctionTarget } from "../sim-http-api-function-target.js";
|
|
7
6
|
/**
|
|
8
7
|
* The service principal API Gateway invokes a Lambda function as, whether that
|
|
9
8
|
* function is behind an integration or behind an authorizer.
|
|
@@ -14,7 +13,8 @@ interface SimHttpApiInvokeAuthorizerProperties {
|
|
|
14
13
|
}
|
|
15
14
|
interface SimHttpApiInvokeAuthorizationInput {
|
|
16
15
|
readonly api: SimHttpApi;
|
|
17
|
-
|
|
16
|
+
/** The function to invoke, and the resource the grant was made on. */
|
|
17
|
+
readonly target: SimHttpApiFunctionTarget;
|
|
18
18
|
readonly sourceArn: SimHttpApiExecuteApiArn;
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
@@ -45,6 +45,10 @@ export declare class SimHttpApiInvokeAuthorizer {
|
|
|
45
45
|
* usable as an authorizer. The API's own Account is supplied as
|
|
46
46
|
* `AWS:SourceAccount`, which is the Account the source ARN names rather than
|
|
47
47
|
* the one owning the function.
|
|
48
|
+
*
|
|
49
|
+
* A URI ending in a version or an alias is decided against that resource and
|
|
50
|
+
* its own policy. An integration on `orders:live` needs a grant made on
|
|
51
|
+
* `live`.
|
|
48
52
|
*/
|
|
49
53
|
authorize(input: SimHttpApiInvokeAuthorizationInput): SimIamAuthorizationDecision;
|
|
50
54
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-http-api-invoke-authorizer.d.ts","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/serve/auth/sim-http-api-invoke-authorizer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,2BAA2B,EAC3B,uBAAuB,EACxB,MAAM,wDAAwD,CAAC;AAEhE,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"sim-http-api-invoke-authorizer.d.ts","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/serve/auth/sim-http-api-invoke-authorizer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,2BAA2B,EAC3B,uBAAuB,EACxB,MAAM,wDAAwD,CAAC;AAEhE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,yDAAyD,CAAC;AAC3G,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AACpF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAEnF;;;GAGG;AACH,eAAO,MAAM,6BAA6B,6BAA6B,CAAC;AAExE,UAAU,oCAAoC;IAC5C,QAAQ,CAAC,GAAG,EAAE,uBAAuB,CAAC;CACvC;AAED,UAAU,kCAAkC;IAC1C,QAAQ,CAAC,GAAG,EAAE,UAAU,CAAC;IACzB,sEAAsE;IACtE,QAAQ,CAAC,MAAM,EAAE,wBAAwB,CAAC;IAC1C,QAAQ,CAAC,SAAS,EAAE,uBAAuB,CAAC;CAC7C;AAED;;;;;;;;;;;;;;;GAeG;AACH,qBAAa,0BAA0B;IACrC,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAmC;IAEpE,YAAY,UAAU,EAAE,oCAAoC,EAI3D;IAED;;;;;;;;;;;;;OAaG;IACH,SAAS,CACP,KAAK,EAAE,kCAAkC,GACxC,2BAA2B,CAO7B;CACF;AAED;;;;;;GAMG;AACH,wBAAgB,gCAAgC,CAC9C,GAAG,EAAE,UAAU,EACf,UAAU,EAAE,2BAA2B,EACvC,MAAM,EAAE,wBAAwB,GAC/B,OAAO,CAST"}
|
|
@@ -37,10 +37,14 @@ export class SimHttpApiInvokeAuthorizer {
|
|
|
37
37
|
* usable as an authorizer. The API's own Account is supplied as
|
|
38
38
|
* `AWS:SourceAccount`, which is the Account the source ARN names rather than
|
|
39
39
|
* the one owning the function.
|
|
40
|
+
*
|
|
41
|
+
* A URI ending in a version or an alias is decided against that resource and
|
|
42
|
+
* its own policy. An integration on `orders:live` needs a grant made on
|
|
43
|
+
* `live`.
|
|
40
44
|
*/
|
|
41
45
|
authorize(input) {
|
|
42
46
|
return this.lambdaAuthorizer.authorize({
|
|
43
|
-
|
|
47
|
+
resource: input.target.resource,
|
|
44
48
|
servicePrincipal: simApiGatewayServicePrincipal,
|
|
45
49
|
sourceArn: input.sourceArn.toString(),
|
|
46
50
|
sourceAccount: input.api.accountRegionScope.accountId,
|
|
@@ -57,7 +61,7 @@ export class SimHttpApiInvokeAuthorizer {
|
|
|
57
61
|
export function simHttpApiMayNotInvokeAuthorizer(api, authorizer, target) {
|
|
58
62
|
return new SimHttpApiInvokeAuthorizer({ iam: target.iam }).authorize({
|
|
59
63
|
api,
|
|
60
|
-
|
|
64
|
+
target,
|
|
61
65
|
sourceArn: SimHttpApiExecuteApiArn.forAuthorizer(api, authorizer.authorizerId),
|
|
62
66
|
}).isDenied;
|
|
63
67
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-http-api-invoke-authorizer.js","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/serve/auth/sim-http-api-invoke-authorizer.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gCAAgC,EAAE,MAAM,2EAA2E,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-http-api-invoke-authorizer.js","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/serve/auth/sim-http-api-invoke-authorizer.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gCAAgC,EAAE,MAAM,2EAA2E,CAAC;AAE7H,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAIpF;;;GAGG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,0BAA0B,CAAC;AAaxE;;;;;;;;;;;;;;;GAeG;AACH,MAAM,OAAO,0BAA0B;IACpB,gBAAgB,CAAmC;IAEpE,YAAY,UAAgD;QAC1D,IAAI,CAAC,gBAAgB,GAAG,IAAI,gCAAgC,CAAC;YAC3D,GAAG,EAAE,UAAU,CAAC,GAAG;SACpB,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,SAAS,CACP,KAAyC;QAEzC,OAAO,IAAI,CAAC,gBAAgB,CAAC,SAAS,CAAC;YACrC,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,QAAQ;YAC/B,gBAAgB,EAAE,6BAA6B;YAC/C,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,QAAQ,EAAE;YACrC,aAAa,EAAE,KAAK,CAAC,GAAG,CAAC,kBAAkB,CAAC,SAAS;SACtD,CAAC,CAAC;IACL,CAAC;CACF;AAED;;;;;;GAMG;AACH,MAAM,UAAU,gCAAgC,CAC9C,GAAe,EACf,UAAuC,EACvC,MAAgC;IAEhC,OAAO,IAAI,0BAA0B,CAAC,EAAE,GAAG,EAAE,MAAM,CAAC,GAAG,EAAE,CAAC,CAAC,SAAS,CAAC;QACnE,GAAG;QACH,MAAM;QACN,SAAS,EAAE,uBAAuB,CAAC,aAAa,CAC9C,GAAG,EACH,UAAU,CAAC,YAAY,CACxB;KACF,CAAC,CAAC,QAAQ,CAAC;AACd,CAAC"}
|
|
@@ -1,24 +1,13 @@
|
|
|
1
1
|
import type { SimAwsServiceTarget } from "../../../serve/controller/sim-service-controller.js";
|
|
2
2
|
import { SimAws } from "../../aws/sim-aws.js";
|
|
3
|
-
import type { SimLambdaFunction } from "../../lambda/function/sim-lambda-function.js";
|
|
4
3
|
import type { SimHttpApiIntegration } from "../api/integration/sim-http-api-integration.js";
|
|
5
4
|
import type { SimHttpApiLambdaUri } from "../api/integration/sim-http-api-lambda-uri.js";
|
|
6
5
|
import type { SimHttpApi } from "../api/sim-http-api.js";
|
|
6
|
+
import type { SimHttpApiFunctionTarget } from "./sim-http-api-function-target.js";
|
|
7
7
|
import type { SimIamInterServiceAuthZ } from "../../iam/authorize/sim-iam-inter-service-auth-z.js";
|
|
8
8
|
interface SimApiGatewayV2RouterProperties {
|
|
9
9
|
readonly simAws?: SimAws;
|
|
10
10
|
}
|
|
11
|
-
/**
|
|
12
|
-
* A function the API invokes, and what decides whether it may.
|
|
13
|
-
*/
|
|
14
|
-
export interface SimHttpApiFunctionTarget {
|
|
15
|
-
readonly simFunction: SimLambdaFunction;
|
|
16
|
-
/**
|
|
17
|
-
* IAM of the Account that owns the function, which is what the API's invoke
|
|
18
|
-
* permission is evaluated against. It need not be the API's Account.
|
|
19
|
-
*/
|
|
20
|
-
readonly iam: SimIamInterServiceAuthZ;
|
|
21
|
-
}
|
|
22
11
|
/**
|
|
23
12
|
* Routes a served HTTP API request to the API behind it, and an integration to
|
|
24
13
|
* the function behind that.
|
|
@@ -64,6 +53,16 @@ export declare class SimApiGatewayV2Router {
|
|
|
64
53
|
* The function is looked up in the Account and Region its own ARN names, not
|
|
65
54
|
* the API's, because an integration URI and an authorizer URI are each free
|
|
66
55
|
* to name either.
|
|
56
|
+
*
|
|
57
|
+
* A version or alias qualifier on the URI is resolved here, once per
|
|
58
|
+
* request. A route built on an alias runs whichever version the alias points
|
|
59
|
+
* at now. A qualifier naming neither a version nor an alias answers with
|
|
60
|
+
* nothing, the way a function that was never created does. Both are
|
|
61
|
+
* invocation-time failures on real AWS.
|
|
62
|
+
*
|
|
63
|
+
* The target carries the resource the URI named as well as the version that
|
|
64
|
+
* runs. They differ for an alias, and the grant admitting the call was made
|
|
65
|
+
* on the alias.
|
|
67
66
|
*/
|
|
68
67
|
functionFor(lambdaUri: SimHttpApiLambdaUri): SimHttpApiFunctionTarget | undefined;
|
|
69
68
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-api-gateway-v2-router.d.ts","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/serve/sim-api-gateway-v2-router.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAE/F,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"sim-api-gateway-v2-router.d.ts","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/serve/sim-api-gateway-v2-router.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAE/F,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gDAAgD,CAAC;AAC5F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAC;AACzF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEzD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAClF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qDAAqD,CAAC;AAEnG,UAAU,+BAA+B;IACvC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;;;;GAQG;AACH,qBAAa,qBAAqB;IAChC;;;;;;OAMG;IACH,SAAgB,MAAM,EAAE,MAAM,CAAC;IAE/B,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAqB;IAE9C,YAAY,UAAU,GAAE,+BAAoC,EAG3D;IAED;;OAEG;IACH,KAAK,CAAC,MAAM,EAAE,mBAAmB,GAAG,UAAU,GAAG,SAAS,CAWzD;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,GAAG,EAAE,UAAU,GAAG,uBAAuB,CAI/C;IAED;;;OAGG;IACH,SAAS,CACP,WAAW,EAAE,qBAAqB,GACjC,wBAAwB,GAAG,SAAS,CAEtC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,WAAW,CACT,SAAS,EAAE,mBAAmB,GAC7B,wBAAwB,GAAG,SAAS,CAUtC;CACF"}
|
|
@@ -61,15 +61,23 @@ export class SimApiGatewayV2Router {
|
|
|
61
61
|
* The function is looked up in the Account and Region its own ARN names, not
|
|
62
62
|
* the API's, because an integration URI and an authorizer URI are each free
|
|
63
63
|
* to name either.
|
|
64
|
+
*
|
|
65
|
+
* A version or alias qualifier on the URI is resolved here, once per
|
|
66
|
+
* request. A route built on an alias runs whichever version the alias points
|
|
67
|
+
* at now. A qualifier naming neither a version nor an alias answers with
|
|
68
|
+
* nothing, the way a function that was never created does. Both are
|
|
69
|
+
* invocation-time failures on real AWS.
|
|
70
|
+
*
|
|
71
|
+
* The target carries the resource the URI named as well as the version that
|
|
72
|
+
* runs. They differ for an alias, and the grant admitting the call was made
|
|
73
|
+
* on the alias.
|
|
64
74
|
*/
|
|
65
75
|
functionFor(lambdaUri) {
|
|
66
|
-
const
|
|
67
|
-
const
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
}
|
|
72
|
-
return { simFunction, iam: scope.iam() };
|
|
76
|
+
const scope = this.simAws.accountRegionScope(lambdaUri.accountId, lambdaUri.regionName);
|
|
77
|
+
const target = scope
|
|
78
|
+
.lambda()
|
|
79
|
+
.getSimFunctionTarget(lambdaUri.functionName, lambdaUri.qualifier);
|
|
80
|
+
return target === undefined ? undefined : { ...target, iam: scope.iam() };
|
|
73
81
|
}
|
|
74
82
|
}
|
|
75
83
|
//# sourceMappingURL=sim-api-gateway-v2-router.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-api-gateway-v2-router.js","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/serve/sim-api-gateway-v2-router.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-api-gateway-v2-router.js","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/serve/sim-api-gateway-v2-router.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAa9C;;;;;;;;GAQG;AACH,MAAM,OAAO,qBAAqB;IAChC;;;;;;OAMG;IACa,MAAM,CAAS;IAEd,QAAQ,CAAqB;IAE9C,YAAY,UAAU,GAAoC,EAAE;QAC1D,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,IAAI,IAAI,MAAM,EAAE,CAAC;QAChD,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,eAAe,CAAC;IAC7D,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,MAA2B;QAC/B,MAAM,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC,eAAe,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;QAErE,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;YAC5B,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,OAAO,IAAI,CAAC,MAAM;aACf,kBAAkB,CAAC,SAAS,EAAE,MAAM,CAAC,UAAU,CAAC;aAChD,YAAY,EAAE;aACd,OAAO,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;IAClC,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,GAAe;QACpB,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,GAAG,CAAC,kBAAkB,CAAC;QAEzD,OAAO,IAAI,CAAC,MAAM,CAAC,kBAAkB,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC,GAAG,EAAE,CAAC;IACrE,CAAC;IAED;;;OAGG;IACH,SAAS,CACP,WAAkC;QAElC,OAAO,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;IACjD,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,WAAW,CACT,SAA8B;QAE9B,MAAM,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,kBAAkB,CAC1C,SAAS,CAAC,SAA4B,EACtC,SAAS,CAAC,UAA2B,CACtC,CAAC;QACF,MAAM,MAAM,GAAG,KAAK;aACjB,MAAM,EAAE;aACR,oBAAoB,CAAC,SAAS,CAAC,YAAY,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;QAErE,OAAO,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,GAAG,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,GAAG,EAAE,EAAE,CAAC;IAC5E,CAAC;CACF"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { SimIamInterServiceAuthZ } from "../../iam/authorize/sim-iam-inter-service-auth-z.js";
|
|
2
|
+
import type { SimLambdaFunctionTarget } from "../../lambda/function/version/sim-lambda-function-target.js";
|
|
3
|
+
/**
|
|
4
|
+
* A function the API invokes, and what decides whether it may.
|
|
5
|
+
*
|
|
6
|
+
* What the API invokes is what any service delivering to a function ARN
|
|
7
|
+
* invokes, so the resource named and the version that runs come from Lambda's
|
|
8
|
+
* own target. All this adds is the IAM the decision is made in.
|
|
9
|
+
*/
|
|
10
|
+
export interface SimHttpApiFunctionTarget extends SimLambdaFunctionTarget {
|
|
11
|
+
/**
|
|
12
|
+
* IAM of the Account that owns the function, which is what the API's invoke
|
|
13
|
+
* permission is evaluated against. It need not be the API's Account.
|
|
14
|
+
*/
|
|
15
|
+
readonly iam: SimIamInterServiceAuthZ;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=sim-http-api-function-target.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-function-target.d.ts","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/serve/sim-http-api-function-target.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qDAAqD,CAAC;AACnG,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6DAA6D,CAAC;AAE3G;;;;;;GAMG;AACH,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;IACvE;;;OAGG;IACH,QAAQ,CAAC,GAAG,EAAE,uBAAuB,CAAC;CACvC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-function-target.js","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/serve/sim-http-api-function-target.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-http-api-integration-invocation.d.ts","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/serve/sim-http-api-integration-invocation.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iDAAiD,CAAC;AAC1F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAEpE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAGzD,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"sim-http-api-integration-invocation.d.ts","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/serve/sim-http-api-integration-invocation.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iDAAiD,CAAC;AAC1F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAEpE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAGzD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAI5E,UAAU,yCAAyC;IACjD,QAAQ,CAAC,MAAM,EAAE,qBAAqB,CAAC;IACvC,kDAAkD;IAClD,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC;CAC1B;AAED,UAAU,oCAAoC;IAC5C,QAAQ,CAAC,GAAG,EAAE,UAAU,CAAC;IACzB,QAAQ,CAAC,KAAK,EAAE,eAAe,CAAC;IAChC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,6DAA6D;IAC7D,QAAQ,CAAC,aAAa,EAAE,kBAAkB,CAAC;CAC5C;AAED;;;;;;;;GAQG;AACH,qBAAa,+BAA+B;IAC1C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAwB;IAC/C,OAAO,CAAC,QAAQ,CAAC,YAAY,CAA0B;IACvD,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAoC;IACpE,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAsC;IAEpE,YAAY,UAAU,EAAE,yCAAyC,EAKhE;IAED;;OAEG;IACG,MAAM,CAAC,KAAK,EAAE,oCAAoC,GAAG,OAAO,CAAC,QAAQ,CAAC,CA8B3E;IAED;;;;;OAKG;IACH,OAAO,CAAC,YAAY;CAgBrB"}
|
|
@@ -62,7 +62,7 @@ export class SimHttpApiIntegrationInvocation {
|
|
|
62
62
|
const { api, match, request } = input;
|
|
63
63
|
return new SimHttpApiInvokeAuthorizer({ iam: target.iam }).authorize({
|
|
64
64
|
api,
|
|
65
|
-
|
|
65
|
+
target,
|
|
66
66
|
sourceArn: SimHttpApiExecuteApiArn.forMatchedRoute(api, match, request.method),
|
|
67
67
|
}).isDenied;
|
|
68
68
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-http-api-integration-invocation.js","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/serve/sim-http-api-integration-invocation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,yDAAyD,CAAC;AAClG,OAAO,EAAE,0BAA0B,EAAE,MAAM,4DAA4D,CAAC;AAIxG,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAEjF,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AACtF,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-http-api-integration-invocation.js","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/serve/sim-http-api-integration-invocation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,yDAAyD,CAAC;AAClG,OAAO,EAAE,0BAA0B,EAAE,MAAM,4DAA4D,CAAC;AAIxG,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAEjF,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AACtF,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AAGtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAgBhE;;;;;;;;GAQG;AACH,MAAM,OAAO,+BAA+B;IACzB,MAAM,CAAwB;IAC9B,YAAY,CAA0B;IACtC,eAAe,GAAG,IAAI,0BAA0B,EAAE,CAAC;IACnD,aAAa,GAAG,IAAI,4BAA4B,EAAE,CAAC;IAEpE,YAAY,UAAqD;QAC/D,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;QAChC,IAAI,CAAC,YAAY,GAAG,IAAI,uBAAuB,CAAC;YAC9C,KAAK,EAAE,UAAU,CAAC,KAAK;SACxB,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,MAAM,CAAC,KAA2C;QACtD,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,GAAG,KAAK,CAAC;QACrD,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;QAExD,IAAI,MAAM,KAAK,SAAS,IAAI,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,MAAM,CAAC,EAAE,CAAC;YAC7D,kEAAkE;YAClE,wEAAwE;YACxE,uEAAuE;YACvE,OAAO,IAAI,CAAC,aAAa,CAAC,mBAAmB,EAAE,CAAC;QAClD,CAAC;QAED,IAAI,CAAC;YACH,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,KAAK,CACzC,OAAO,EACP,kBAAkB,CAAC,GAAG,EAAE,KAAK,CAAC,EAC9B;gBACE,GAAG,EAAE,aAAa,CAAC,GAAG;gBACtB,MAAM,EAAE,aAAa,CAAC,MAAM;gBAC5B,MAAM,EAAE,aAAa,CAAC,MAAM;aAC7B,CACF,CAAC;YAEF,OAAO,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,MAAM,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;QAC5E,CAAC;QAAC,MAAM,CAAC;YACP,yEAAyE;YACzE,oEAAoE;YACpE,sEAAsE;YACtE,YAAY;YACZ,OAAO,IAAI,CAAC,aAAa,CAAC,mBAAmB,EAAE,CAAC;QAClD,CAAC;IACH,CAAC;IAED;;;;;OAKG;IACK,YAAY,CAClB,KAA2C,EAC3C,MAAgC;QAEhC,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;QAEtC,OAAO,IAAI,0BAA0B,CAAC,EAAE,GAAG,EAAE,MAAM,CAAC,GAAG,EAAE,CAAC,CAAC,SAAS,CAAC;YACnE,GAAG;YACH,MAAM;YACN,SAAS,EAAE,uBAAuB,CAAC,eAAe,CAChD,GAAG,EACH,KAAK,EACL,OAAO,CAAC,MAAM,CACf;SACF,CAAC,CAAC,QAAQ,CAAC;IACd,CAAC;CACF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { simLambdaFunctionArn } from "../../../lambda/function/sim-lambda-function.js";
|
|
1
|
+
import { simLambdaFunctionArn } from "../../../lambda/function/sim-lambda-function-configuration.js";
|
|
2
2
|
import { SimCfnImageRepositoryTarget } from "./sim-cfn-image-repository-target.js";
|
|
3
3
|
import { SimCfnResourceCdkPath } from "./sim-cfn-resource-cdk-path.js";
|
|
4
4
|
import { SimCfnResourceImageUri } from "./sim-cfn-resource-image-uri.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cfn-exec-binding-matcher.js","sourceRoot":"","sources":["../../../../../src/service/cloudformation/bind/validate/sim-cfn-exec-binding-matcher.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"sim-cfn-exec-binding-matcher.js","sourceRoot":"","sources":["../../../../../src/service/cloudformation/bind/validate/sim-cfn-exec-binding-matcher.ts"],"names":[],"mappings":"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"}
|
|
@@ -6,6 +6,10 @@ import type { SimCdkAssemblyStack } from "./sim-cdk-assembly-manifest.js";
|
|
|
6
6
|
* Stage deploys a Stack whose artifact ID is not what the Stack is called.
|
|
7
7
|
* Naming nothing takes every Stack in the assembly.
|
|
8
8
|
*
|
|
9
|
+
* The Stacks come back in the order they were named, which is the order they
|
|
10
|
+
* deploy in wherever the manifest declares no dependency between them. Naming
|
|
11
|
+
* one twice takes it once, under the first name it was given.
|
|
12
|
+
*
|
|
9
13
|
* Throws naming the Stacks the assembly does hold, which is what a caller who
|
|
10
14
|
* has just renamed one needs to see.
|
|
11
15
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cdk-assembly-selection.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/cdk/sim-cdk-assembly-selection.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAE1E
|
|
1
|
+
{"version":3,"file":"sim-cdk-assembly-selection.d.ts","sourceRoot":"","sources":["../../../../src/service/cloudformation/cdk/sim-cdk-assembly-selection.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAE1E;;;;;;;;;;;;;GAaG;AACH,wBAAgB,uBAAuB,CAAC,UAAU,EAAE;IAClD,QAAQ,CAAC,MAAM,EAAE,SAAS,mBAAmB,EAAE,CAAC;IAChD,QAAQ,CAAC,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;IACpD,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;CAChC,GAAG,SAAS,mBAAmB,EAAE,CAcjC"}
|
|
@@ -6,6 +6,10 @@ import { assertDefined } from "../../../util/type-guard/defined.js";
|
|
|
6
6
|
* Stage deploys a Stack whose artifact ID is not what the Stack is called.
|
|
7
7
|
* Naming nothing takes every Stack in the assembly.
|
|
8
8
|
*
|
|
9
|
+
* The Stacks come back in the order they were named, which is the order they
|
|
10
|
+
* deploy in wherever the manifest declares no dependency between them. Naming
|
|
11
|
+
* one twice takes it once, under the first name it was given.
|
|
12
|
+
*
|
|
9
13
|
* Throws naming the Stacks the assembly does hold, which is what a caller who
|
|
10
14
|
* has just renamed one needs to see.
|
|
11
15
|
*/
|
|
@@ -14,8 +18,9 @@ export function selectCdkAssemblyStacks(properties) {
|
|
|
14
18
|
if (stackNames === undefined) {
|
|
15
19
|
return stacks;
|
|
16
20
|
}
|
|
17
|
-
|
|
18
|
-
|
|
21
|
+
return [
|
|
22
|
+
...new Set(stackNames.map((stackName) => selectOne({ stacks, stackName, directoryPath }))),
|
|
23
|
+
];
|
|
19
24
|
}
|
|
20
25
|
function selectOne(properties) {
|
|
21
26
|
const { stacks, stackName, directoryPath } = properties;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cdk-assembly-selection.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/cdk/sim-cdk-assembly-selection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAGpE
|
|
1
|
+
{"version":3,"file":"sim-cdk-assembly-selection.js","sourceRoot":"","sources":["../../../../src/service/cloudformation/cdk/sim-cdk-assembly-selection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAGpE;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,uBAAuB,CAAC,UAIvC;IACC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,aAAa,EAAE,GAAG,UAAU,CAAC;IAEzD,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;QAC7B,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO;QACL,GAAG,IAAI,GAAG,CACR,UAAU,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAC3B,SAAS,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,aAAa,EAAE,CAAC,CAChD,CACF;KACF,CAAC;AACJ,CAAC;AAED,SAAS,SAAS,CAAC,UAIlB;IACC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,aAAa,EAAE,GAAG,UAAU,CAAC;IAExD,MAAM,QAAQ,GAAG,MAAM,CAAC,IAAI,CAC1B,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,SAAS,KAAK,SAAS,IAAI,KAAK,CAAC,UAAU,KAAK,SAAS,CAC3E,CAAC;IAEF,aAAa,CACX,QAAQ,EACR,6BAA6B,aAAa,yBAAyB,SAAS,IAAI;QAC9E,YAAY,aAAa,CAAC,MAAM,CAAC,GAAG,CACvC,CAAC;IAEF,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,SAAS,aAAa,CAAC,MAAsC;IAC3D,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACxB,OAAO,kBAAkB,CAAC;IAC5B,CAAC;IAED,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC3D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-stack.handler.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudformation/command/create-stack/create-stack.handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAE7E,OAAO,KAAK,EACV,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AAC7F,OAAO,EACL,WAAW,EACX,KAAK,0BAA0B,EAChC,MAAM,8BAA8B,CAAC;AAEtC,OAAO,KAAK,EACV,qBAAqB,EACrB,2BAA2B,EAC5B,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"create-stack.handler.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudformation/command/create-stack/create-stack.handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAE7E,OAAO,KAAK,EACV,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AAC7F,OAAO,EACL,WAAW,EACX,KAAK,0BAA0B,EAChC,MAAM,8BAA8B,CAAC;AAEtC,OAAO,KAAK,EACV,qBAAqB,EACrB,2BAA2B,EAC5B,MAAM,2BAA2B,CAAC;AAInC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAChF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAErE,UAAU,mCAAmC;IAC3C,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,kBAAkB,EAAE,wBAAwB,CAAC;IACtD,QAAQ,CAAC,MAAM,EAAE,GAAG,CAAC,0BAA0B,EAAE,WAAW,CAAC,CAAC;IAC9D,QAAQ,CAAC,UAAU,EAAE,mBAAmB,GAAG,mBAAmB,CAAC;IAC/D,QAAQ,CAAC,aAAa,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IACtD,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,mBAAmB,EAAE,GAAG,SAAS,CAAC;IAC/D,QAAQ,CAAC,OAAO,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;CAC9C;AAED;;;;GAIG;AACH,qBAAa,yBAA0B,YAAW,cAAc,CAC9D,qBAAqB,EACrB,2BAA2B,CAC5B;IACC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAChC,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAA2B;IAC9D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA+C;IACtE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA4C;IACvE,OAAO,CAAC,QAAQ,CAAC,aAAa,CAA+B;IAC7D,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA6C;IACtE,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA4B;IAEpD,YAAY,UAAU,EAAE,mCAAmC,EAkB1D;IAED;;OAEG;IACG,MAAM,CACV,OAAO,EAAE,qBAAqB,GAC7B,OAAO,CAAC,2BAA2B,CAAC,CAyDtC;CACF"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { assertDefined } from "../../../../util/type-guard/defined.js";
|
|
2
2
|
import { SimCfnStack, } from "../../stack/sim-cfn-stack.js";
|
|
3
3
|
import { SimCloudFormationAlreadyExistsException } from "../../error/sim-cloudformation.error.js";
|
|
4
|
-
import { SimCfnTemplate
|
|
4
|
+
import { SimCfnTemplate } from "../../template/sim-cfn-template.js";
|
|
5
5
|
import { SimCfnParameters } from "../../parameters/sim-cfn-parameters.js";
|
|
6
6
|
import { makeSimCfnParameterStore } from "../../parameters/store/sim-cfn-parameter-store.js";
|
|
7
7
|
/**
|
|
@@ -46,7 +46,7 @@ export class CreateStackCommandHandler {
|
|
|
46
46
|
accountRegionScope: this.accountRegionScope,
|
|
47
47
|
}),
|
|
48
48
|
});
|
|
49
|
-
const template = SimCfnTemplate.
|
|
49
|
+
const template = SimCfnTemplate.fromTemplateBody(command.input.TemplateBody, {
|
|
50
50
|
stackName,
|
|
51
51
|
parameters,
|
|
52
52
|
accountRegionScope: this.accountRegionScope,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-stack.handler.js","sourceRoot":"","sources":["../../../../../src/service/cloudformation/command/create-stack/create-stack.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAOvE,OAAO,EACL,WAAW,GAEZ,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,uCAAuC,EAAE,MAAM,yCAAyC,CAAC;AAKlG,OAAO,
|
|
1
|
+
{"version":3,"file":"create-stack.handler.js","sourceRoot":"","sources":["../../../../../src/service/cloudformation/command/create-stack/create-stack.handler.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-stack.handler.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudformation/command/update-stack/update-stack.handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAE7E,OAAO,KAAK,EACV,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,2CAA2C,CAAC;
|
|
1
|
+
{"version":3,"file":"update-stack.handler.d.ts","sourceRoot":"","sources":["../../../../../src/service/cloudformation/command/update-stack/update-stack.handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAE7E,OAAO,KAAK,EACV,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AAC7F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,KAAK,EACV,WAAW,EACX,0BAA0B,EAC3B,MAAM,8BAA8B,CAAC;AAKtC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,KAAK,EACV,qBAAqB,EACrB,2BAA2B,EAC5B,MAAM,2BAA2B,CAAC;AAEnC,UAAU,mCAAmC;IAC3C,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,kBAAkB,EAAE,wBAAwB,CAAC;IACtD,QAAQ,CAAC,MAAM,EAAE,GAAG,CAAC,0BAA0B,EAAE,WAAW,CAAC,CAAC;IAC9D,QAAQ,CAAC,UAAU,EAAE,mBAAmB,GAAG,mBAAmB,CAAC;IAE/D;;;OAGG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAEtD,6DAA6D;IAC7D,QAAQ,CAAC,OAAO,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;CAC9C;AAED;;;;GAIG;AACH,qBAAa,yBAA0B,YAAW,cAAc,CAC9D,qBAAqB,EACrB,2BAA2B,CAC5B;IACC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAChC,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAA2B;IAC9D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA+C;IACtE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA4C;IACvE,OAAO,CAAC,QAAQ,CAAC,aAAa,CAA+B;IAC7D,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA4B;IAEpD,YAAY,UAAU,EAAE,mCAAmC,EAO1D;IAED;;;;;;;;;;OAUG;IACG,MAAM,CACV,OAAO,EAAE,qBAAqB,GAC7B,OAAO,CAAC,2BAA2B,CAAC,CA4CtC;CACF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { assertDefined } from "../../../../util/type-guard/defined.js";
|
|
2
|
-
import { SimCfnTemplate
|
|
2
|
+
import { SimCfnTemplate } from "../../template/sim-cfn-template.js";
|
|
3
3
|
import { SimCfnParameters } from "../../parameters/sim-cfn-parameters.js";
|
|
4
4
|
import { makeSimCfnParameterStore } from "../../parameters/store/sim-cfn-parameter-store.js";
|
|
5
5
|
import { SimCloudFormationValidationError } from "../../error/sim-cloudformation.error.js";
|
|
@@ -51,7 +51,7 @@ export class UpdateStackCommandHandler {
|
|
|
51
51
|
accountRegionScope: this.accountRegionScope,
|
|
52
52
|
}),
|
|
53
53
|
});
|
|
54
|
-
await stack.update(SimCfnTemplate.
|
|
54
|
+
await stack.update(SimCfnTemplate.fromTemplateBody(command.input.TemplateBody, {
|
|
55
55
|
stackName,
|
|
56
56
|
parameters,
|
|
57
57
|
accountRegionScope: this.accountRegionScope,
|