@kensio/yulin 1.18.1 → 1.18.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/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.d.ts.map +1 -1
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js +10 -0
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js.map +1 -1
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-refresh-token-rotation.d.ts +27 -0
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-refresh-token-rotation.d.ts.map +1 -0
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-refresh-token-rotation.js +35 -0
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-refresh-token-rotation.js.map +1 -0
- package/dist/service/cognito/command/auth/auth.command.d.ts +31 -0
- package/dist/service/cognito/command/auth/auth.command.d.ts.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-auth-commands.d.ts +2 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-commands.d.ts.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-auth-commands.js +13 -1
- package/dist/service/cognito/command/auth/sim-cognito-auth-commands.js.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-get-tokens-from-refresh-token.d.ts +35 -0
- package/dist/service/cognito/command/auth/sim-cognito-get-tokens-from-refresh-token.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-get-tokens-from-refresh-token.js +51 -0
- package/dist/service/cognito/command/auth/sim-cognito-get-tokens-from-refresh-token.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-refresh-sign-in.d.ts +3 -8
- package/dist/service/cognito/command/auth/sim-cognito-refresh-sign-in.d.ts.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-refresh-sign-in.js +24 -17
- package/dist/service/cognito/command/auth/sim-cognito-refresh-sign-in.js.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-refreshed-tokens.d.ts +56 -0
- package/dist/service/cognito/command/auth/sim-cognito-refreshed-tokens.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-refreshed-tokens.js +50 -0
- package/dist/service/cognito/command/auth/sim-cognito-refreshed-tokens.js.map +1 -0
- package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.d.ts.map +1 -1
- package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.js +0 -1
- package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.js.map +1 -1
- package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.d.ts +4 -3
- package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.d.ts.map +1 -1
- package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.js +5 -3
- package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.js.map +1 -1
- package/dist/service/cognito/command/client/user-pool-client.command.d.ts +3 -1
- package/dist/service/cognito/command/client/user-pool-client.command.d.ts.map +1 -1
- package/dist/service/cognito/command/hosted/sim-cognito-presented-grant.js +1 -1
- package/dist/service/cognito/command/hosted/sim-cognito-presented-grant.js.map +1 -1
- package/dist/service/cognito/command/hosted/sim-cognito-token-grants.d.ts +3 -3
- package/dist/service/cognito/command/hosted/sim-cognito-token-grants.d.ts.map +1 -1
- package/dist/service/cognito/command/hosted/sim-cognito-token-grants.js +5 -4
- package/dist/service/cognito/command/hosted/sim-cognito-token-grants.js.map +1 -1
- package/dist/service/cognito/command/sim-cognito-command.types.d.ts +1 -1
- package/dist/service/cognito/command/sim-cognito-command.types.d.ts.map +1 -1
- package/dist/service/cognito/index.d.ts +1 -0
- package/dist/service/cognito/index.d.ts.map +1 -1
- package/dist/service/cognito/index.js +1 -0
- package/dist/service/cognito/index.js.map +1 -1
- package/dist/service/cognito/sdk/sim-cognito-sdk-auth-routes.d.ts.map +1 -1
- package/dist/service/cognito/sdk/sim-cognito-sdk-auth-routes.js +4 -0
- package/dist/service/cognito/sdk/sim-cognito-sdk-auth-routes.js.map +1 -1
- package/dist/service/cognito/sim-cognito-authentication.d.ts +8 -0
- package/dist/service/cognito/sim-cognito-authentication.d.ts.map +1 -1
- package/dist/service/cognito/sim-cognito-authentication.js +11 -0
- package/dist/service/cognito/sim-cognito-authentication.js.map +1 -1
- package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.d.ts +11 -1
- package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.js +17 -2
- package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.js.map +1 -1
- package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.d.ts +41 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.js +62 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.js.map +1 -1
- package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.d.ts +5 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.js +7 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.js.map +1 -1
- package/dist/service/cognito/user-pool/auth/sim-cognito-refresh-token-input.d.ts +11 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-refresh-token-input.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-refresh-token-input.js +17 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-refresh-token-input.js.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-refreshable-session.factory.d.ts +61 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-refreshable-session.factory.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-refreshable-session.factory.js +80 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-refreshable-session.factory.js.map +1 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-client-secret.d.ts +10 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-client-secret.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/client/sim-cognito-client-secret.js +22 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-client-secret.js.map +1 -1
- package/dist/service/cognito/user-pool/client/sim-cognito-refresh-token-rotation.d.ts +48 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-refresh-token-rotation.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-refresh-token-rotation.js +79 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-refresh-token-rotation.js.map +1 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.d.ts +7 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.js +7 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.js.map +1 -1
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.d.ts +6 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.js +7 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.js.map +1 -1
- package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.d.ts +34 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.js +40 -1
- package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.js.map +1 -1
- package/dist/service/lambda/command/create-function/create-function-input.js +1 -1
- package/dist/service/lambda/command/create-function/create-function-input.js.map +1 -1
- package/dist/service/lambda/command/function/sim-lambda-function-commands.d.ts +17 -0
- 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 +43 -0
- package/dist/service/lambda/command/function/sim-lambda-function-commands.js.map +1 -1
- package/dist/service/lambda/command/list-functions/list-functions-authorizer.d.ts +31 -0
- package/dist/service/lambda/command/list-functions/list-functions-authorizer.d.ts.map +1 -0
- package/dist/service/lambda/command/list-functions/list-functions-authorizer.js +41 -0
- package/dist/service/lambda/command/list-functions/list-functions-authorizer.js.map +1 -0
- package/dist/service/lambda/command/list-functions/list-functions.command.d.ts +34 -0
- package/dist/service/lambda/command/list-functions/list-functions.command.d.ts.map +1 -0
- package/dist/service/lambda/command/list-functions/list-functions.command.js +5 -0
- package/dist/service/lambda/command/list-functions/list-functions.command.js.map +1 -0
- package/dist/service/lambda/command/list-functions/list-functions.handler.d.ts +35 -0
- package/dist/service/lambda/command/list-functions/list-functions.handler.d.ts.map +1 -0
- package/dist/service/lambda/command/list-functions/list-functions.handler.js +46 -0
- package/dist/service/lambda/command/list-functions/list-functions.handler.js.map +1 -0
- package/dist/service/lambda/command/sim-lambda-command.types.d.ts +3 -0
- package/dist/service/lambda/command/sim-lambda-command.types.d.ts.map +1 -1
- package/dist/service/lambda/command/update-function-code/update-function-code-authorizer.d.ts +27 -0
- package/dist/service/lambda/command/update-function-code/update-function-code-authorizer.d.ts.map +1 -0
- package/dist/service/lambda/command/update-function-code/update-function-code-authorizer.js +37 -0
- package/dist/service/lambda/command/update-function-code/update-function-code-authorizer.js.map +1 -0
- package/dist/service/lambda/command/update-function-code/update-function-code-input.d.ts +16 -0
- package/dist/service/lambda/command/update-function-code/update-function-code-input.d.ts.map +1 -0
- package/dist/service/lambda/command/update-function-code/update-function-code-input.js +30 -0
- package/dist/service/lambda/command/update-function-code/update-function-code-input.js.map +1 -0
- package/dist/service/lambda/command/update-function-code/update-function-code.command.d.ts +41 -0
- package/dist/service/lambda/command/update-function-code/update-function-code.command.d.ts.map +1 -0
- package/dist/service/lambda/command/update-function-code/update-function-code.command.js +5 -0
- package/dist/service/lambda/command/update-function-code/update-function-code.command.js.map +1 -0
- package/dist/service/lambda/command/update-function-code/update-function-code.handler.d.ts +52 -0
- package/dist/service/lambda/command/update-function-code/update-function-code.handler.d.ts.map +1 -0
- package/dist/service/lambda/command/update-function-code/update-function-code.handler.js +72 -0
- package/dist/service/lambda/command/update-function-code/update-function-code.handler.js.map +1 -0
- package/dist/service/lambda/command/update-function-configuration/update-function-configuration-authorizer.d.ts +28 -0
- package/dist/service/lambda/command/update-function-configuration/update-function-configuration-authorizer.d.ts.map +1 -0
- package/dist/service/lambda/command/update-function-configuration/update-function-configuration-authorizer.js +38 -0
- package/dist/service/lambda/command/update-function-configuration/update-function-configuration-authorizer.js.map +1 -0
- package/dist/service/lambda/command/update-function-configuration/update-function-configuration-input.d.ts +23 -0
- package/dist/service/lambda/command/update-function-configuration/update-function-configuration-input.d.ts.map +1 -0
- package/dist/service/lambda/command/update-function-configuration/update-function-configuration-input.js +29 -0
- package/dist/service/lambda/command/update-function-configuration/update-function-configuration-input.js.map +1 -0
- package/dist/service/lambda/command/update-function-configuration/update-function-configuration.command.d.ts +42 -0
- package/dist/service/lambda/command/update-function-configuration/update-function-configuration.command.d.ts.map +1 -0
- package/dist/service/lambda/command/update-function-configuration/update-function-configuration.command.js +5 -0
- package/dist/service/lambda/command/update-function-configuration/update-function-configuration.command.js.map +1 -0
- package/dist/service/lambda/command/update-function-configuration/update-function-configuration.handler.d.ts +50 -0
- package/dist/service/lambda/command/update-function-configuration/update-function-configuration.handler.d.ts.map +1 -0
- package/dist/service/lambda/command/update-function-configuration/update-function-configuration.handler.js +61 -0
- package/dist/service/lambda/command/update-function-configuration/update-function-configuration.handler.js.map +1 -0
- package/dist/service/lambda/function/code/lambda-code-source.d.ts +15 -2
- package/dist/service/lambda/function/code/lambda-code-source.d.ts.map +1 -1
- package/dist/service/lambda/function/code/lambda-code-source.js +19 -14
- package/dist/service/lambda/function/code/lambda-code-source.js.map +1 -1
- package/dist/service/lambda/function/code/sim-lambda-code-resolver.d.ts +6 -0
- package/dist/service/lambda/function/code/sim-lambda-code-resolver.d.ts.map +1 -1
- package/dist/service/lambda/function/code/sim-lambda-code-resolver.js.map +1 -1
- package/dist/service/lambda/function/code/sim-lambda-executable-code.d.ts +28 -0
- 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 +10 -0
- package/dist/service/lambda/function/code/sim-lambda-executable-code.js.map +1 -1
- package/dist/service/lambda/function/code/sim-lambda-vm-zip-code-factory.d.ts.map +1 -1
- package/dist/service/lambda/function/code/sim-lambda-vm-zip-code-factory.js +2 -1
- package/dist/service/lambda/function/code/sim-lambda-vm-zip-code-factory.js.map +1 -1
- package/dist/service/lambda/function/code/sim-lambda-vm-zip-code.d.ts +11 -1
- package/dist/service/lambda/function/code/sim-lambda-vm-zip-code.d.ts.map +1 -1
- package/dist/service/lambda/function/code/sim-lambda-vm-zip-code.js +16 -0
- package/dist/service/lambda/function/code/sim-lambda-vm-zip-code.js.map +1 -1
- package/dist/service/lambda/{command/create-function/create-function-environment-names.d.ts → function/environment/lambda-environment-variable-names.d.ts} +1 -1
- package/dist/service/lambda/function/environment/lambda-environment-variable-names.d.ts.map +1 -0
- package/dist/service/lambda/{command/create-function/create-function-environment-names.js → function/environment/lambda-environment-variable-names.js} +1 -1
- package/dist/service/lambda/function/environment/lambda-environment-variable-names.js.map +1 -0
- package/dist/service/lambda/{command/create-function/create-function-environment.d.ts → function/environment/lambda-environment-variables.d.ts} +2 -2
- package/dist/service/lambda/function/environment/lambda-environment-variables.d.ts.map +1 -0
- package/dist/service/lambda/{command/create-function/create-function-environment.js → function/environment/lambda-environment-variables.js} +2 -2
- package/dist/service/lambda/function/environment/lambda-environment-variables.js.map +1 -0
- package/dist/service/lambda/function/environment/lambda-reserved-variable-names.d.ts.map +1 -0
- package/dist/service/lambda/function/environment/lambda-reserved-variable-names.js.map +1 -0
- package/dist/service/lambda/function/sim-lambda-function-reconfiguration.d.ts +35 -0
- package/dist/service/lambda/function/sim-lambda-function-reconfiguration.d.ts.map +1 -0
- package/dist/service/lambda/function/sim-lambda-function-reconfiguration.js +54 -0
- package/dist/service/lambda/function/sim-lambda-function-reconfiguration.js.map +1 -0
- package/dist/service/lambda/function/sim-lambda-function.d.ts +34 -56
- package/dist/service/lambda/function/sim-lambda-function.d.ts.map +1 -1
- package/dist/service/lambda/function/sim-lambda-function.js +43 -9
- package/dist/service/lambda/function/sim-lambda-function.js.map +1 -1
- package/dist/service/lambda/function/sim-lambda-function.type.d.ts +53 -0
- package/dist/service/lambda/function/sim-lambda-function.type.d.ts.map +1 -0
- package/dist/service/lambda/function/sim-lambda-function.type.js +2 -0
- package/dist/service/lambda/function/sim-lambda-function.type.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 +12 -0
- package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.js.map +1 -1
- package/dist/service/lambda/serve/api/sim-lambda-api-function-input.d.ts +27 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-function-input.d.ts.map +1 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-function-input.js +76 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-function-input.js.map +1 -0
- package/dist/service/lambda/serve/api/sim-lambda-api-function-routes.d.ts.map +1 -1
- package/dist/service/lambda/serve/api/sim-lambda-api-function-routes.js +19 -58
- package/dist/service/lambda/serve/api/sim-lambda-api-function-routes.js.map +1 -1
- package/dist/service/lambda/sim-lambda-commands.d.ts.map +1 -1
- package/dist/service/lambda/sim-lambda-commands.js +1 -0
- package/dist/service/lambda/sim-lambda-commands.js.map +1 -1
- package/dist/service/lambda/sim-lambda.d.ts +6 -0
- package/dist/service/lambda/sim-lambda.d.ts.map +1 -1
- package/dist/service/lambda/sim-lambda.js +12 -0
- package/dist/service/lambda/sim-lambda.js.map +1 -1
- package/dist/service/s3/bucket/notification/sim-s3-notification-event.d.ts +1 -1
- package/dist/service/s3/bucket/notification/sim-s3-notification-event.d.ts.map +1 -1
- package/dist/service/s3/bucket/notification/sim-s3-notification-event.js +7 -1
- package/dist/service/s3/bucket/notification/sim-s3-notification-event.js.map +1 -1
- package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.d.ts.map +1 -1
- package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.js +0 -1
- package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.js.map +1 -1
- package/dist/service/s3/command/copy-object/copy-object-builder.d.ts +34 -0
- package/dist/service/s3/command/copy-object/copy-object-builder.d.ts.map +1 -0
- package/dist/service/s3/command/copy-object/copy-object-builder.js +40 -0
- package/dist/service/s3/command/copy-object/copy-object-builder.js.map +1 -0
- package/dist/service/s3/command/copy-object/copy-object-source.d.ts +37 -0
- package/dist/service/s3/command/copy-object/copy-object-source.d.ts.map +1 -0
- package/dist/service/s3/command/copy-object/copy-object-source.js +80 -0
- package/dist/service/s3/command/copy-object/copy-object-source.js.map +1 -0
- package/dist/service/s3/command/copy-object/copy-object.command.d.ts +41 -0
- package/dist/service/s3/command/copy-object/copy-object.command.d.ts.map +1 -0
- package/dist/service/s3/command/copy-object/copy-object.command.js +2 -0
- package/dist/service/s3/command/copy-object/copy-object.command.js.map +1 -0
- package/dist/service/s3/command/copy-object/copy-object.handler.d.ts +43 -0
- package/dist/service/s3/command/copy-object/copy-object.handler.d.ts.map +1 -0
- package/dist/service/s3/command/copy-object/copy-object.handler.js +76 -0
- package/dist/service/s3/command/copy-object/copy-object.handler.js.map +1 -0
- package/dist/service/s3/command/object/sim-s3-object-commands.d.ts +4 -0
- package/dist/service/s3/command/object/sim-s3-object-commands.d.ts.map +1 -1
- package/dist/service/s3/command/object/sim-s3-object-commands.js +7 -0
- package/dist/service/s3/command/object/sim-s3-object-commands.js.map +1 -1
- package/dist/service/s3/command/sim-s3-command.types.d.ts +1 -0
- package/dist/service/s3/command/sim-s3-command.types.d.ts.map +1 -1
- package/dist/service/s3/error/sim-s3.error.d.ts +11 -0
- package/dist/service/s3/error/sim-s3.error.d.ts.map +1 -1
- package/dist/service/s3/error/sim-s3.error.js +13 -0
- package/dist/service/s3/error/sim-s3.error.js.map +1 -1
- package/dist/service/s3/sdk/sim-s3-sdk-command-router.d.ts.map +1 -1
- package/dist/service/s3/sdk/sim-s3-sdk-command-router.js +4 -0
- package/dist/service/s3/sdk/sim-s3-sdk-command-router.js.map +1 -1
- package/dist/service/s3/sim-s3-operations.d.ts +2 -0
- package/dist/service/s3/sim-s3-operations.d.ts.map +1 -1
- package/dist/service/s3/sim-s3-operations.js +4 -0
- package/dist/service/s3/sim-s3-operations.js.map +1 -1
- package/dist/service/wafv2/command/web-acl/sim-wafv2-web-acl-commands.d.ts +2 -0
- package/dist/service/wafv2/command/web-acl/sim-wafv2-web-acl-commands.d.ts.map +1 -1
- package/dist/service/wafv2/command/web-acl/sim-wafv2-web-acl-commands.js +3 -0
- package/dist/service/wafv2/command/web-acl/sim-wafv2-web-acl-commands.js.map +1 -1
- package/dist/service/wafv2/index.d.ts +1 -0
- package/dist/service/wafv2/index.d.ts.map +1 -1
- package/dist/service/wafv2/index.js.map +1 -1
- package/dist/service/wafv2/managed/sim-waf-managed-group-statement.d.ts.map +1 -1
- package/dist/service/wafv2/managed/sim-waf-managed-group-statement.js +1 -0
- package/dist/service/wafv2/managed/sim-waf-managed-group-statement.js.map +1 -1
- package/dist/service/wafv2/sim-wafv2-commands.d.ts.map +1 -1
- package/dist/service/wafv2/sim-wafv2-commands.js +3 -0
- package/dist/service/wafv2/sim-wafv2-commands.js.map +1 -1
- package/dist/service/wafv2/sim-wafv2.d.ts.map +1 -1
- package/dist/service/wafv2/sim-wafv2.js +1 -0
- package/dist/service/wafv2/sim-wafv2.js.map +1 -1
- package/dist/service/wafv2/statement/sim-waf-rate-based-input.d.ts +49 -0
- package/dist/service/wafv2/statement/sim-waf-rate-based-input.d.ts.map +1 -0
- package/dist/service/wafv2/statement/sim-waf-rate-based-input.js +94 -0
- package/dist/service/wafv2/statement/sim-waf-rate-based-input.js.map +1 -0
- package/dist/service/wafv2/statement/sim-waf-rate-based.d.ts +22 -0
- package/dist/service/wafv2/statement/sim-waf-rate-based.d.ts.map +1 -0
- package/dist/service/wafv2/statement/sim-waf-rate-based.js +41 -0
- package/dist/service/wafv2/statement/sim-waf-rate-based.js.map +1 -0
- package/dist/service/wafv2/statement/sim-waf-rate-based.type.d.ts +18 -0
- package/dist/service/wafv2/statement/sim-waf-rate-based.type.d.ts.map +1 -0
- package/dist/service/wafv2/statement/sim-waf-rate-based.type.js +2 -0
- package/dist/service/wafv2/statement/sim-waf-rate-based.type.js.map +1 -0
- package/dist/service/wafv2/statement/sim-waf-rate-counter.d.ts +29 -0
- package/dist/service/wafv2/statement/sim-waf-rate-counter.d.ts.map +1 -0
- package/dist/service/wafv2/statement/sim-waf-rate-counter.js +35 -0
- package/dist/service/wafv2/statement/sim-waf-rate-counter.js.map +1 -0
- package/dist/service/wafv2/statement/sim-waf-statement.d.ts +6 -0
- package/dist/service/wafv2/statement/sim-waf-statement.d.ts.map +1 -1
- package/dist/service/wafv2/statement/sim-waf-statement.js +4 -0
- package/dist/service/wafv2/statement/sim-waf-statement.js.map +1 -1
- package/dist/service/wafv2/statement/sim-waf-statement.type.d.ts +2 -1
- package/dist/service/wafv2/statement/sim-waf-statement.type.d.ts.map +1 -1
- package/dist/service/wafv2/statement/sim-waf-unsimulated-rate-based.d.ts +10 -0
- package/dist/service/wafv2/statement/sim-waf-unsimulated-rate-based.d.ts.map +1 -0
- package/dist/service/wafv2/statement/sim-waf-unsimulated-rate-based.js +40 -0
- package/dist/service/wafv2/statement/sim-waf-unsimulated-rate-based.js.map +1 -0
- package/dist/service/wafv2/statement/sim-waf-unsimulated-statement.d.ts.map +1 -1
- package/dist/service/wafv2/statement/sim-waf-unsimulated-statement.js +0 -5
- package/dist/service/wafv2/statement/sim-waf-unsimulated-statement.js.map +1 -1
- package/dist/service/wafv2/web-acl/sim-waf-rule-evaluator.d.ts.map +1 -1
- package/dist/service/wafv2/web-acl/sim-waf-rule-evaluator.js +25 -2
- package/dist/service/wafv2/web-acl/sim-waf-rule-evaluator.js.map +1 -1
- package/dist/service/wafv2/web-acl/sim-waf-rule.type.d.ts +6 -0
- package/dist/service/wafv2/web-acl/sim-waf-rule.type.d.ts.map +1 -1
- package/dist/service/wafv2/web-acl/sim-waf-web-acl-capacity.d.ts.map +1 -1
- package/dist/service/wafv2/web-acl/sim-waf-web-acl-capacity.js +16 -1
- package/dist/service/wafv2/web-acl/sim-waf-web-acl-capacity.js.map +1 -1
- package/dist/util/clock/sim-clock-control.d.ts +8 -0
- package/dist/util/clock/sim-clock-control.d.ts.map +1 -1
- package/dist/util/clock/sim-clock-control.js +10 -1
- package/dist/util/clock/sim-clock-control.js.map +1 -1
- package/package.json +1 -1
- package/dist/service/lambda/command/create-function/create-function-environment-names.d.ts.map +0 -1
- package/dist/service/lambda/command/create-function/create-function-environment-names.js.map +0 -1
- package/dist/service/lambda/command/create-function/create-function-environment.d.ts.map +0 -1
- package/dist/service/lambda/command/create-function/create-function-environment.js.map +0 -1
- package/dist/service/lambda/command/create-function/lambda-reserved-variable-names.d.ts.map +0 -1
- package/dist/service/lambda/command/create-function/lambda-reserved-variable-names.js.map +0 -1
- /package/dist/service/lambda/{command/create-function → function/environment}/lambda-reserved-variable-names.d.ts +0 -0
- /package/dist/service/lambda/{command/create-function → function/environment}/lambda-reserved-variable-names.js +0 -0
|
@@ -1,55 +1,11 @@
|
|
|
1
|
-
import type { Brand } from "../../../util/brand.type.js";
|
|
2
|
-
import type { SimAwsRunAsOwner } from "../../aws/caller/sim-aws-run-as-context.js";
|
|
3
1
|
import type { SimAwsAccountRegionScope } from "../../aws/sim-aws-account-region-scope.js";
|
|
4
2
|
import { type SimLambdaFunctionArn, type SimLambdaFunctionConfiguration, type SimLambdaFunctionState } from "./sim-lambda-function-configuration.js";
|
|
5
3
|
import { type SimLambdaExecutableCode } from "./code/sim-lambda-executable-code.js";
|
|
6
4
|
import { SimLambdaEnvironment } from "./environment/sim-lambda-environment.js";
|
|
7
|
-
import type { SimLogsServiceWriter } from "../../logs/write/sim-logs-service-writer.js";
|
|
8
5
|
import { SimLambdaFunctionPolicy } from "./policy/sim-lambda-function-policy.js";
|
|
9
|
-
import type
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
export type SimLambdaFunctionName = Brand<string, "SimLambdaFunctionName">;
|
|
13
|
-
export type SimLambdaFunctionMap = Map<SimLambdaFunctionName, SimLambdaFunction>;
|
|
14
|
-
interface SimLambdaFunctionProperties {
|
|
15
|
-
name: SimLambdaFunctionName | string;
|
|
16
|
-
roleArn: string;
|
|
17
|
-
readonly accountRegionScope?: SimAwsAccountRegionScope;
|
|
18
|
-
handlerFunction?: SimLambdaHandler;
|
|
19
|
-
code?: SimLambdaExecutableCode | undefined;
|
|
20
|
-
state?: SimLambdaFunctionState;
|
|
21
|
-
handlerName?: string | undefined;
|
|
22
|
-
runtimeName?: string | undefined;
|
|
23
|
-
description?: string | undefined;
|
|
24
|
-
timeoutSeconds?: number | undefined;
|
|
25
|
-
memorySizeMb?: number | undefined;
|
|
26
|
-
environment?: SimLambdaEnvironment | undefined;
|
|
27
|
-
runAsOwner?: SimAwsRunAsOwner;
|
|
28
|
-
/**
|
|
29
|
-
* The version this is. A function is `$LATEST`, and a version published
|
|
30
|
-
* from one is a copy of it under the number it was published as.
|
|
31
|
-
*/
|
|
32
|
-
version?: string | undefined;
|
|
33
|
-
/**
|
|
34
|
-
* Clock this function's invocations measure their remaining time against. A
|
|
35
|
-
* function built standalone, outside a SimAws instance, falls back to the
|
|
36
|
-
* real clock.
|
|
37
|
-
*/
|
|
38
|
-
clock?: SimClock | undefined;
|
|
39
|
-
/**
|
|
40
|
-
* Where this function's handler output is recorded. A function built
|
|
41
|
-
* standalone, outside a SimAws instance, has nowhere to record to and writes
|
|
42
|
-
* only to the host streams.
|
|
43
|
-
*/
|
|
44
|
-
logs?: SimLogsServiceWriter | undefined;
|
|
45
|
-
/**
|
|
46
|
-
* Where the HTTP requests this function's code makes to hostnames the
|
|
47
|
-
* simulation serves are answered. A function built standalone, outside a
|
|
48
|
-
* SimAws instance, has no simulation to answer them and reaches the network
|
|
49
|
-
* as any other code would.
|
|
50
|
-
*/
|
|
51
|
-
outboundHttp?: SimLambdaOutboundHttp | undefined;
|
|
52
|
-
}
|
|
6
|
+
import { type SimLambdaFunctionConfigurationUpdate } from "./sim-lambda-function-reconfiguration.js";
|
|
7
|
+
import type { SimLambdaFunctionName, SimLambdaFunctionProperties } from "./sim-lambda-function.type.js";
|
|
8
|
+
export type { SimLambdaFunctionName, SimLambdaFunctionMap, } from "./sim-lambda-function.type.js";
|
|
53
9
|
/**
|
|
54
10
|
* Simulated Lambda function resource.
|
|
55
11
|
*
|
|
@@ -61,15 +17,22 @@ interface SimLambdaFunctionProperties {
|
|
|
61
17
|
export declare class SimLambdaFunction {
|
|
62
18
|
#private;
|
|
63
19
|
readonly name: SimLambdaFunctionName;
|
|
64
|
-
readonly roleArn: string;
|
|
65
20
|
readonly accountRegionScope: SimAwsAccountRegionScope;
|
|
66
|
-
readonly handlerName: string | undefined;
|
|
67
|
-
readonly runtimeName: string | undefined;
|
|
68
|
-
readonly description: string | undefined;
|
|
69
|
-
readonly timeoutSeconds: number;
|
|
70
|
-
readonly memorySizeMb: number;
|
|
71
|
-
readonly environment: SimLambdaEnvironment;
|
|
72
21
|
readonly version: string;
|
|
22
|
+
/**
|
|
23
|
+
* The settings UpdateFunctionConfiguration changes, which is everything
|
|
24
|
+
* about the function that is neither its identity nor its code.
|
|
25
|
+
*
|
|
26
|
+
* They are read all over the simulation and written in one place, which is
|
|
27
|
+
* updateConfiguration below.
|
|
28
|
+
*/
|
|
29
|
+
roleArn: string;
|
|
30
|
+
handlerName: string | undefined;
|
|
31
|
+
runtimeName: string | undefined;
|
|
32
|
+
description: string | undefined;
|
|
33
|
+
timeoutSeconds: number;
|
|
34
|
+
memorySizeMb: number;
|
|
35
|
+
environment: SimLambdaEnvironment;
|
|
73
36
|
/**
|
|
74
37
|
* This function's resource-based policy, which says who may act on it.
|
|
75
38
|
*
|
|
@@ -80,7 +43,6 @@ export declare class SimLambdaFunction {
|
|
|
80
43
|
*/
|
|
81
44
|
readonly resourcePolicy: SimLambdaFunctionPolicy;
|
|
82
45
|
private readonly properties;
|
|
83
|
-
private readonly code;
|
|
84
46
|
private readonly runAsOwner;
|
|
85
47
|
private readonly runner;
|
|
86
48
|
private readonly clock;
|
|
@@ -107,6 +69,23 @@ export declare class SimLambdaFunction {
|
|
|
107
69
|
* is Active from the start, since the code it copied is already resolved.
|
|
108
70
|
*/
|
|
109
71
|
publishedAs(version: string, description?: string): SimLambdaFunction;
|
|
72
|
+
/**
|
|
73
|
+
* Apply a settings change, as UpdateFunctionConfiguration makes one.
|
|
74
|
+
*
|
|
75
|
+
* The function object survives, so its resource-based policy stands and the
|
|
76
|
+
* version, alias and Function URL stores go on finding it under its name. A
|
|
77
|
+
* version published beforehand keeps the settings it was published with.
|
|
78
|
+
*/
|
|
79
|
+
updateConfiguration(update: SimLambdaFunctionConfigurationUpdate): void;
|
|
80
|
+
/**
|
|
81
|
+
* Replace the code this function runs, keeping everything else about it.
|
|
82
|
+
*
|
|
83
|
+
* The function object survives the change. Its resource-based policy lives
|
|
84
|
+
* on the object, and the version, alias and Function URL stores hold it
|
|
85
|
+
* under its name. A version published beforehand keeps its own reference to
|
|
86
|
+
* the code it was published with.
|
|
87
|
+
*/
|
|
88
|
+
updateCode(code: SimLambdaExecutableCode): void;
|
|
110
89
|
/**
|
|
111
90
|
* Move this sim Lambda function to the Active state.
|
|
112
91
|
*/
|
|
@@ -135,5 +114,4 @@ export declare class SimLambdaFunction {
|
|
|
135
114
|
*/
|
|
136
115
|
private runInHostScope;
|
|
137
116
|
}
|
|
138
|
-
export {};
|
|
139
117
|
//# sourceMappingURL=sim-lambda-function.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-lambda-function.d.ts","sourceRoot":"","sources":["../../../../src/service/lambda/function/sim-lambda-function.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sim-lambda-function.d.ts","sourceRoot":"","sources":["../../../../src/service/lambda/function/sim-lambda-function.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,EAIL,KAAK,oBAAoB,EAEzB,KAAK,8BAA8B,EACnC,KAAK,sBAAsB,EAC5B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,KAAK,uBAAuB,EAE7B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;AAE/E,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAOjF,OAAO,EAEL,KAAK,oCAAoC,EAC1C,MAAM,0CAA0C,CAAC;AAClD,OAAO,KAAK,EACV,qBAAqB,EACrB,2BAA2B,EAC5B,MAAM,+BAA+B,CAAC;AAEvC,YAAY,EACV,qBAAqB,EACrB,oBAAoB,GACrB,MAAM,+BAA+B,CAAC;AAEvC;;;;;;;GAOG;AACH,qBAAa,iBAAiB;;IAC5B,SAAgB,IAAI,EAAE,qBAAqB,CAAC;IAC5C,SAAgB,kBAAkB,EAAE,wBAAwB,CAAC;IAC7D,SAAgB,OAAO,EAAE,MAAM,CAAC;IAEhC;;;;;;OAMG;IACI,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,oBAAoB,CAAC;IACzC;;;;;;;OAOG;IACH,SAAgB,cAAc,0BAAiC;IAI/D,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA8B;IACzD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAmB;IAC9C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IACvD,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAW;IACjC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA2B;IACnD,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAoC;IAEjE,YAAY,UAAU,EAAE,2BAA2B,EA+ClD;IAED;;OAEG;IACH,IAAI,YAAY,IAAI,MAAM,CAEzB;IAED;;OAEG;IACH,IAAI,KAAK,IAAI,sBAAsB,CAElC;IAED;;;OAGG;IACH,IAAI,GAAG,IAAI,oBAAoB,CAM9B;IAED;;;;;OAKG;IACH,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,GAAG,iBAAiB,CAepE;IAED;;;;;;OAMG;IACH,mBAAmB,CAAC,MAAM,EAAE,oCAAoC,GAAG,IAAI,CAEtE;IAED;;;;;;;OAOG;IACH,UAAU,CAAC,IAAI,EAAE,uBAAuB,GAAG,IAAI,CAE9C;IAED;;OAEG;IACH,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC,CAGxB;IAED;;OAEG;IACH,aAAa,IAAI,8BAA8B,CAc9C;IAED;;;;;;;;;;;OAWG;IACG,MAAM,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAiC7C;IAED;;;;OAIG;YACW,cAAc;CAU7B"}
|
|
@@ -9,7 +9,8 @@ import { SimLambdaHandlerRunner } from "./invoke/sim-lambda-handler-runner.js";
|
|
|
9
9
|
import { SimLambdaInvokeContextBuilder } from "./invoke/sim-lambda-invoke-context-builder.js";
|
|
10
10
|
import { runSimLambdaInHostScope } from "./invoke/sim-lambda-host-scope.js";
|
|
11
11
|
import { SimRealClock } from "../../../util/clock/sim-clock.js";
|
|
12
|
-
import { defaultLambdaHandler
|
|
12
|
+
import { defaultLambdaHandler } from "./sim-lambda-handler.type.js";
|
|
13
|
+
import { reconfigureSimLambdaFunction, } from "./sim-lambda-function-reconfiguration.js";
|
|
13
14
|
/**
|
|
14
15
|
* Simulated Lambda function resource.
|
|
15
16
|
*
|
|
@@ -20,15 +21,22 @@ import { defaultLambdaHandler, } from "./sim-lambda-handler.type.js";
|
|
|
20
21
|
*/
|
|
21
22
|
export class SimLambdaFunction {
|
|
22
23
|
name;
|
|
23
|
-
roleArn;
|
|
24
24
|
accountRegionScope;
|
|
25
|
+
version;
|
|
26
|
+
/**
|
|
27
|
+
* The settings UpdateFunctionConfiguration changes, which is everything
|
|
28
|
+
* about the function that is neither its identity nor its code.
|
|
29
|
+
*
|
|
30
|
+
* They are read all over the simulation and written in one place, which is
|
|
31
|
+
* updateConfiguration below.
|
|
32
|
+
*/
|
|
33
|
+
roleArn;
|
|
25
34
|
handlerName;
|
|
26
35
|
runtimeName;
|
|
27
36
|
description;
|
|
28
37
|
timeoutSeconds;
|
|
29
38
|
memorySizeMb;
|
|
30
39
|
environment;
|
|
31
|
-
version;
|
|
32
40
|
/**
|
|
33
41
|
* This function's resource-based policy, which says who may act on it.
|
|
34
42
|
*
|
|
@@ -39,8 +47,8 @@ export class SimLambdaFunction {
|
|
|
39
47
|
*/
|
|
40
48
|
resourcePolicy = new SimLambdaFunctionPolicy();
|
|
41
49
|
#state;
|
|
50
|
+
#code;
|
|
42
51
|
properties;
|
|
43
|
-
code;
|
|
44
52
|
runAsOwner;
|
|
45
53
|
runner = new SimLambdaHandlerRunner();
|
|
46
54
|
clock;
|
|
@@ -54,7 +62,7 @@ export class SimLambdaFunction {
|
|
|
54
62
|
this.name = name;
|
|
55
63
|
this.roleArn = roleArn;
|
|
56
64
|
this.accountRegionScope = accountRegionScope;
|
|
57
|
-
this
|
|
65
|
+
this.#code = code ?? new SimLambdaHandlerReferenceCode(handlerFunction);
|
|
58
66
|
this.#state = state;
|
|
59
67
|
this.handlerName = handlerName;
|
|
60
68
|
this.runtimeName = runtimeName;
|
|
@@ -104,7 +112,12 @@ export class SimLambdaFunction {
|
|
|
104
112
|
publishedAs(version, description) {
|
|
105
113
|
return new SimLambdaFunction({
|
|
106
114
|
...this.properties,
|
|
107
|
-
|
|
115
|
+
roleArn: this.roleArn,
|
|
116
|
+
handlerName: this.handlerName,
|
|
117
|
+
runtimeName: this.runtimeName,
|
|
118
|
+
timeoutSeconds: this.timeoutSeconds,
|
|
119
|
+
memorySizeMb: this.memorySizeMb,
|
|
120
|
+
code: this.#code,
|
|
108
121
|
environment: this.environment,
|
|
109
122
|
runAsOwner: this.runAsOwner,
|
|
110
123
|
state: "Active",
|
|
@@ -112,6 +125,27 @@ export class SimLambdaFunction {
|
|
|
112
125
|
version,
|
|
113
126
|
});
|
|
114
127
|
}
|
|
128
|
+
/**
|
|
129
|
+
* Apply a settings change, as UpdateFunctionConfiguration makes one.
|
|
130
|
+
*
|
|
131
|
+
* The function object survives, so its resource-based policy stands and the
|
|
132
|
+
* version, alias and Function URL stores go on finding it under its name. A
|
|
133
|
+
* version published beforehand keeps the settings it was published with.
|
|
134
|
+
*/
|
|
135
|
+
updateConfiguration(update) {
|
|
136
|
+
this.#code = reconfigureSimLambdaFunction(this, update, this.#code);
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Replace the code this function runs, keeping everything else about it.
|
|
140
|
+
*
|
|
141
|
+
* The function object survives the change. Its resource-based policy lives
|
|
142
|
+
* on the object, and the version, alias and Function URL stores hold it
|
|
143
|
+
* under its name. A version published beforehand keeps its own reference to
|
|
144
|
+
* the code it was published with.
|
|
145
|
+
*/
|
|
146
|
+
updateCode(code) {
|
|
147
|
+
this.#code = code;
|
|
148
|
+
}
|
|
115
149
|
/**
|
|
116
150
|
* Move this sim Lambda function to the Active state.
|
|
117
151
|
*/
|
|
@@ -160,8 +194,8 @@ export class SimLambdaFunction {
|
|
|
160
194
|
logGroupName: this.logging.logGroupName,
|
|
161
195
|
logStreamName: this.logging.logStreamName(),
|
|
162
196
|
});
|
|
163
|
-
this.logging.recordFrom(this
|
|
164
|
-
return await simAwsRunAsContext.run(this.runAsOwner, { kind: "arn", arn: this.roleArn }, async () => await this.environment.runWith(async () => await this.runInHostScope(async () => await this.logging.around(async () => await this.runner.run(this
|
|
197
|
+
this.logging.recordFrom(this.#code);
|
|
198
|
+
return await simAwsRunAsContext.run(this.runAsOwner, { kind: "arn", arn: this.roleArn }, async () => await this.environment.runWith(async () => await this.runInHostScope(async () => await this.logging.around(async () => await this.runner.run(this.#code.handlerFunction(), event, contextBuilder)))));
|
|
165
199
|
}
|
|
166
200
|
/**
|
|
167
201
|
* Run an invocation with the process globals host-scope code reads bridged
|
|
@@ -169,7 +203,7 @@ export class SimLambdaFunction {
|
|
|
169
203
|
* and the console and streams it prints through.
|
|
170
204
|
*/
|
|
171
205
|
async runInHostScope(run) {
|
|
172
|
-
if (!this
|
|
206
|
+
if (!this.#code.runsInHostScope) {
|
|
173
207
|
return await run();
|
|
174
208
|
}
|
|
175
209
|
const { clock, outboundHttp } = this;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-lambda-function.js","sourceRoot":"","sources":["../../../../src/service/lambda/function/sim-lambda-function.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sim-lambda-function.js","sourceRoot":"","sources":["../../../../src/service/lambda/function/sim-lambda-function.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAChF,OAAO,EAAE,+BAA+B,EAAE,MAAM,mDAAmD,CAAC;AAEpG,OAAO,EACL,iCAAiC,EACjC,yBAAyB,EACzB,kCAAkC,EAElC,oBAAoB,GAGrB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAEL,6BAA6B,GAC9B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;AAC/E,OAAO,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAC;AACpF,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC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GAAqB;QACnD,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,eAAe,EAAE,CAAC;YAChC,OAAO,MAAM,GAAG,EAAE,CAAC;QACrB,CAAC;QAED,MAAM,EAAE,KAAK,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC;QACrC,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC;QAEzC,OAAO,MAAM,uBAAuB,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,EAAE,GAAG,CAAC,CAAC;IAC7E,CAAC;CACF"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { Brand } from "../../../util/brand.type.js";
|
|
2
|
+
import type { SimClock } from "../../../util/clock/sim-clock.js";
|
|
3
|
+
import type { SimAwsRunAsOwner } from "../../aws/caller/sim-aws-run-as-context.js";
|
|
4
|
+
import type { SimAwsAccountRegionScope } from "../../aws/sim-aws-account-region-scope.js";
|
|
5
|
+
import type { SimLogsServiceWriter } from "../../logs/write/sim-logs-service-writer.js";
|
|
6
|
+
import type { SimLambdaExecutableCode } from "./code/sim-lambda-executable-code.js";
|
|
7
|
+
import type { SimLambdaEnvironment } from "./environment/sim-lambda-environment.js";
|
|
8
|
+
import type { SimLambdaOutboundHttp } from "./outbound/sim-lambda-outbound-http.js";
|
|
9
|
+
import type { SimLambdaFunctionState } from "./sim-lambda-function-configuration.js";
|
|
10
|
+
import type { SimLambdaHandler } from "./sim-lambda-handler.type.js";
|
|
11
|
+
import type { SimLambdaFunction } from "./sim-lambda-function.js";
|
|
12
|
+
export type SimLambdaFunctionName = Brand<string, "SimLambdaFunctionName">;
|
|
13
|
+
export type SimLambdaFunctionMap = Map<SimLambdaFunctionName, SimLambdaFunction>;
|
|
14
|
+
export interface SimLambdaFunctionProperties {
|
|
15
|
+
name: SimLambdaFunctionName | string;
|
|
16
|
+
roleArn: string;
|
|
17
|
+
readonly accountRegionScope?: SimAwsAccountRegionScope;
|
|
18
|
+
handlerFunction?: SimLambdaHandler;
|
|
19
|
+
code?: SimLambdaExecutableCode | undefined;
|
|
20
|
+
state?: SimLambdaFunctionState;
|
|
21
|
+
handlerName?: string | undefined;
|
|
22
|
+
runtimeName?: string | undefined;
|
|
23
|
+
description?: string | undefined;
|
|
24
|
+
timeoutSeconds?: number | undefined;
|
|
25
|
+
memorySizeMb?: number | undefined;
|
|
26
|
+
environment?: SimLambdaEnvironment | undefined;
|
|
27
|
+
runAsOwner?: SimAwsRunAsOwner;
|
|
28
|
+
/**
|
|
29
|
+
* The version this is. A function is `$LATEST`, and a version published
|
|
30
|
+
* from one is a copy of it under the number it was published as.
|
|
31
|
+
*/
|
|
32
|
+
version?: string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* Clock this function's invocations measure their remaining time against. A
|
|
35
|
+
* function built standalone, outside a SimAws instance, falls back to the
|
|
36
|
+
* real clock.
|
|
37
|
+
*/
|
|
38
|
+
clock?: SimClock | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* Where this function's handler output is recorded. A function built
|
|
41
|
+
* standalone, outside a SimAws instance, has nowhere to record to and writes
|
|
42
|
+
* only to the host streams.
|
|
43
|
+
*/
|
|
44
|
+
logs?: SimLogsServiceWriter | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* Where the HTTP requests this function's code makes to hostnames the
|
|
47
|
+
* simulation serves are answered. A function built standalone, outside a
|
|
48
|
+
* SimAws instance, has no simulation to answer them and reaches the network
|
|
49
|
+
* as any other code would.
|
|
50
|
+
*/
|
|
51
|
+
outboundHttp?: SimLambdaOutboundHttp | undefined;
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=sim-lambda-function.type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-lambda-function.type.d.ts","sourceRoot":"","sources":["../../../../src/service/lambda/function/sim-lambda-function.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACzD,O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AAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,WAAW,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;IAC/C,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B;;;;OAIG;IACH,KAAK,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC7B;;;;OAIG;IACH,IAAI,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;IACxC;;;;;OAKG;IACH,YAAY,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;CAClD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-lambda-function.type.js","sourceRoot":"","sources":["../../../../src/service/lambda/function/sim-lambda-function.type.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-lambda-sdk-command-router.d.ts","sourceRoot":"","sources":["../../../../src/service/lambda/sdk/sim-lambda-sdk-command-router.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACzB,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-lambda-sdk-command-router.d.ts","sourceRoot":"","sources":["../../../../src/service/lambda/sdk/sim-lambda-sdk-command-router.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACzB,MAAM,uBAAuB,CAAC;AA6B/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElD;;GAEG;AACH,qBAAa,yBAA0B,YAAW,mBAAmB;IACnE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0C;IAEjE,YAAY,SAAS,EAAE,SAAS,EAmN/B;IAED;;OAEG;IACH,qBAAqB,IAAI,SAAS,MAAM,EAAE,CAEzC;IAED;;OAEG;IACH,KAAK,CAAC,WAAW,EAAE,MAAM,GAAG,kBAAkB,GAAG,SAAS,CAEzD;CACF"}
|
|
@@ -14,6 +14,18 @@ export class SimLambdaSdkCommandRouter {
|
|
|
14
14
|
"GetFunctionCommand",
|
|
15
15
|
async (command, context) => await simLambda.getFunction(command, simSdkCallerOptions(context)),
|
|
16
16
|
],
|
|
17
|
+
[
|
|
18
|
+
"UpdateFunctionCodeCommand",
|
|
19
|
+
async (command, context) => await simLambda.updateFunctionCode(command, simSdkCallerOptions(context)),
|
|
20
|
+
],
|
|
21
|
+
[
|
|
22
|
+
"UpdateFunctionConfigurationCommand",
|
|
23
|
+
async (command, context) => await simLambda.updateFunctionConfiguration(command, simSdkCallerOptions(context)),
|
|
24
|
+
],
|
|
25
|
+
[
|
|
26
|
+
"ListFunctionsCommand",
|
|
27
|
+
async (command, context) => await simLambda.listFunctions(command, simSdkCallerOptions(context)),
|
|
28
|
+
],
|
|
17
29
|
[
|
|
18
30
|
"InvokeCommand",
|
|
19
31
|
async (command, context) => await simLambda.invoke(command, simSdkCallerOptions(context)),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-lambda-sdk-command-router.js","sourceRoot":"","sources":["../../../../src/service/lambda/sdk/sim-lambda-sdk-command-router.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,GAGpB,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-lambda-sdk-command-router.js","sourceRoot":"","sources":["../../../../src/service/lambda/sdk/sim-lambda-sdk-command-router.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,GAGpB,MAAM,uBAAuB,CAAC;AA+B/B;;GAEG;AACH,MAAM,OAAO,yBAAyB;IACnB,MAAM,CAA0C;IAEjE,YAAY,SAAoB;QAC9B,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,CAA6B;YAChD;gBACE,uBAAuB;gBACvB,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,SAAS,CAAC,cAA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E,CAC3C,MAAM,SAAS,CAAC,gBAAgB,CAC9B,OAAqC,EACrC,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;YACD;gBACE,kBAAkB;gBAClB,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,SAAS,CAAC,SAAS,CACvB,OAA8B,EAC9B,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;YACD;gBACE,+BAA+B;gBAC/B,KAAK,EAAE,OAAO,EAAE,OAAO,EAAoB,EAAE,CAC3C,MAAM,SAAS,CAAC,sBAAsB,CACpC,OAA2C,EAC3C,mBAAmB,CAAC,OAAO,CAAC,CAC7B;aACJ;SACF,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,qBAAqB;QACnB,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE,CAAC;IACtC,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,WAAmB;QACvB,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;IACtC,CAAC;CACF"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { SimRestJsonInput } from "../../../../serve/http/api/rest-json/sim-rest-json-input.js";
|
|
2
|
+
/**
|
|
3
|
+
* Read a CreateFunction request, whose members are all in the body.
|
|
4
|
+
*
|
|
5
|
+
* The one member JSON cannot carry as it is is the code, which travels base64
|
|
6
|
+
* encoded and reaches the simulation as the bytes of a zip.
|
|
7
|
+
*/
|
|
8
|
+
export declare function createFunctionInput(input: SimRestJsonInput): Record<string, unknown>;
|
|
9
|
+
/**
|
|
10
|
+
* Read an UpdateFunctionCode request, which names the function in the path and
|
|
11
|
+
* carries the code members in the body rather than under a `Code` member.
|
|
12
|
+
*/
|
|
13
|
+
export declare function updateFunctionCodeInput(input: SimRestJsonInput): Record<string, unknown>;
|
|
14
|
+
/**
|
|
15
|
+
* Read an UpdateFunctionConfiguration request, which names the function in the
|
|
16
|
+
* path and states the settings to change in the body.
|
|
17
|
+
*/
|
|
18
|
+
export declare function updateFunctionConfigurationInput(input: SimRestJsonInput): Record<string, unknown>;
|
|
19
|
+
/**
|
|
20
|
+
* Read an Invoke request, which states its members in three different places.
|
|
21
|
+
*
|
|
22
|
+
* The body is the payload itself rather than a JSON object holding it, so it
|
|
23
|
+
* is passed on as the bytes that arrived. That is what lets `aws lambda
|
|
24
|
+
* invoke --payload` send a document the handler receives unchanged.
|
|
25
|
+
*/
|
|
26
|
+
export declare function invokeInput(input: SimRestJsonInput): Record<string, unknown>;
|
|
27
|
+
//# sourceMappingURL=sim-lambda-api-function-input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-lambda-api-function-input.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/serve/api/sim-lambda-api-function-input.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6DAA6D,CAAC;AAapG;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,gBAAgB,GACtB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAOzB;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,gBAAgB,GACtB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAKzB;AAED;;;GAGG;AACH,wBAAgB,gCAAgC,CAC9C,KAAK,EAAE,gBAAgB,GACtB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAEzB;AAUD;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAO5E"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { isRecord } from "../../../../util/type-guard/record.js";
|
|
2
|
+
import { SimLambdaInvalidParameterValueException } from "../../error/sim-lambda.error.js";
|
|
3
|
+
/**
|
|
4
|
+
* The invocation types real Lambda accepts, which it names in a header rather
|
|
5
|
+
* than in the body.
|
|
6
|
+
*/
|
|
7
|
+
const invocationTypes = [
|
|
8
|
+
"RequestResponse",
|
|
9
|
+
"Event",
|
|
10
|
+
"DryRun",
|
|
11
|
+
];
|
|
12
|
+
/**
|
|
13
|
+
* Read a CreateFunction request, whose members are all in the body.
|
|
14
|
+
*
|
|
15
|
+
* The one member JSON cannot carry as it is is the code, which travels base64
|
|
16
|
+
* encoded and reaches the simulation as the bytes of a zip.
|
|
17
|
+
*/
|
|
18
|
+
export function createFunctionInput(input) {
|
|
19
|
+
const members = input.json();
|
|
20
|
+
const code = members["Code"];
|
|
21
|
+
return isRecord(code)
|
|
22
|
+
? { ...members, Code: functionCode(code) }
|
|
23
|
+
: { ...members };
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Read an UpdateFunctionCode request, which names the function in the path and
|
|
27
|
+
* carries the code members in the body rather than under a `Code` member.
|
|
28
|
+
*/
|
|
29
|
+
export function updateFunctionCodeInput(input) {
|
|
30
|
+
return {
|
|
31
|
+
...functionCode(input.json()),
|
|
32
|
+
FunctionName: input.label("FunctionName"),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Read an UpdateFunctionConfiguration request, which names the function in the
|
|
37
|
+
* path and states the settings to change in the body.
|
|
38
|
+
*/
|
|
39
|
+
export function updateFunctionConfigurationInput(input) {
|
|
40
|
+
return { ...input.json(), FunctionName: input.label("FunctionName") };
|
|
41
|
+
}
|
|
42
|
+
function functionCode(code) {
|
|
43
|
+
const zipFile = code["ZipFile"];
|
|
44
|
+
return typeof zipFile === "string"
|
|
45
|
+
? { ...code, ZipFile: Buffer.from(zipFile, "base64") }
|
|
46
|
+
: code;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Read an Invoke request, which states its members in three different places.
|
|
50
|
+
*
|
|
51
|
+
* The body is the payload itself rather than a JSON object holding it, so it
|
|
52
|
+
* is passed on as the bytes that arrived. That is what lets `aws lambda
|
|
53
|
+
* invoke --payload` send a document the handler receives unchanged.
|
|
54
|
+
*/
|
|
55
|
+
export function invokeInput(input) {
|
|
56
|
+
return {
|
|
57
|
+
FunctionName: input.label("FunctionName"),
|
|
58
|
+
InvocationType: invocationType(input.header("x-amz-invocation-type")),
|
|
59
|
+
Qualifier: input.query("Qualifier"),
|
|
60
|
+
Payload: input.body,
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Check the invocation type a request asked for.
|
|
65
|
+
*
|
|
66
|
+
* An unrecognised one is refused the way real Lambda refuses it, rather than
|
|
67
|
+
* passed on to a dispatcher that has nothing to do with it.
|
|
68
|
+
*/
|
|
69
|
+
function invocationType(value) {
|
|
70
|
+
if (value !== undefined && !invocationTypes.includes(value)) {
|
|
71
|
+
throw new SimLambdaInvalidParameterValueException(`Unrecognized invocation type ${value}. Valid invocation types are ` +
|
|
72
|
+
`${invocationTypes.join(", ")}.`);
|
|
73
|
+
}
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
//# sourceMappingURL=sim-lambda-api-function-input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-lambda-api-function-input.js","sourceRoot":"","sources":["../../../../../src/service/lambda/serve/api/sim-lambda-api-function-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AAEjE,OAAO,EAAE,uCAAuC,EAAE,MAAM,iCAAiC,CAAC;AAE1F;;;GAGG;AACH,MAAM,eAAe,GAAsB;IACzC,iBAAiB;IACjB,OAAO;IACP,QAAQ;CACT,CAAC;AAEF;;;;;GAKG;AACH,MAAM,UAAU,mBAAmB,CACjC,KAAuB;IAEvB,MAAM,OAAO,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC;IAC7B,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAE7B,OAAO,QAAQ,CAAC,IAAI,CAAC;QACnB,CAAC,C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C5D,MAAM,IAAI,uCAAuC,CAC/C,gCAAgC,KAAK,+BAA+B;YAClE,GAAG,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CACnC,CAAC;IACJ,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-lambda-api-function-routes.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/serve/api/sim-lambda-api-function-routes.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sim-lambda-api-function-routes.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/serve/api/sim-lambda-api-function-routes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kEAAkE,CAAC;AASzG;;GAEG;AACH,eAAO,MAAM,0BAA0B,EAAE,SAAS,gBAAgB,EA6CjE,CAAC"}
|
|
@@ -1,15 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SimLambdaInvalidParameterValueException } from "../../error/sim-lambda.error.js";
|
|
1
|
+
import { createFunctionInput, invokeInput, updateFunctionCodeInput, updateFunctionConfigurationInput, } from "./sim-lambda-api-function-input.js";
|
|
3
2
|
import { simLambdaInvokeResponse } from "./sim-lambda-api-invoke-output.js";
|
|
4
|
-
/**
|
|
5
|
-
* The invocation types real Lambda accepts, which it names in a header rather
|
|
6
|
-
* than in the body.
|
|
7
|
-
*/
|
|
8
|
-
const invocationTypes = [
|
|
9
|
-
"RequestResponse",
|
|
10
|
-
"Event",
|
|
11
|
-
"DryRun",
|
|
12
|
-
];
|
|
13
3
|
/**
|
|
14
4
|
* The function operations this endpoint serves.
|
|
15
5
|
*/
|
|
@@ -21,12 +11,30 @@ export const simLambdaFunctionApiRoutes = [
|
|
|
21
11
|
status: 201,
|
|
22
12
|
input: createFunctionInput,
|
|
23
13
|
},
|
|
14
|
+
{
|
|
15
|
+
method: "GET",
|
|
16
|
+
path: "/2015-03-31/functions",
|
|
17
|
+
commandName: "ListFunctionsCommand",
|
|
18
|
+
input: (input) => ({ FunctionVersion: input.query("FunctionVersion") }),
|
|
19
|
+
},
|
|
24
20
|
{
|
|
25
21
|
method: "GET",
|
|
26
22
|
path: "/2015-03-31/functions/{FunctionName}",
|
|
27
23
|
commandName: "GetFunctionCommand",
|
|
28
24
|
input: (input) => ({ FunctionName: input.label("FunctionName") }),
|
|
29
25
|
},
|
|
26
|
+
{
|
|
27
|
+
method: "PUT",
|
|
28
|
+
path: "/2015-03-31/functions/{FunctionName}/code",
|
|
29
|
+
commandName: "UpdateFunctionCodeCommand",
|
|
30
|
+
input: updateFunctionCodeInput,
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
method: "PUT",
|
|
34
|
+
path: "/2015-03-31/functions/{FunctionName}/configuration",
|
|
35
|
+
commandName: "UpdateFunctionConfigurationCommand",
|
|
36
|
+
input: updateFunctionConfigurationInput,
|
|
37
|
+
},
|
|
30
38
|
{
|
|
31
39
|
method: "DELETE",
|
|
32
40
|
path: "/2015-03-31/functions/{FunctionName}",
|
|
@@ -41,51 +49,4 @@ export const simLambdaFunctionApiRoutes = [
|
|
|
41
49
|
output: simLambdaInvokeResponse,
|
|
42
50
|
},
|
|
43
51
|
];
|
|
44
|
-
/**
|
|
45
|
-
* Read a CreateFunction request, whose members are all in the body.
|
|
46
|
-
*
|
|
47
|
-
* The one member JSON cannot carry as it is is the code, which travels base64
|
|
48
|
-
* encoded and reaches the simulation as the bytes of a zip.
|
|
49
|
-
*/
|
|
50
|
-
function createFunctionInput(input) {
|
|
51
|
-
const members = input.json();
|
|
52
|
-
const code = members["Code"];
|
|
53
|
-
return isRecord(code)
|
|
54
|
-
? { ...members, Code: functionCode(code) }
|
|
55
|
-
: { ...members };
|
|
56
|
-
}
|
|
57
|
-
function functionCode(code) {
|
|
58
|
-
const zipFile = code["ZipFile"];
|
|
59
|
-
return typeof zipFile === "string"
|
|
60
|
-
? { ...code, ZipFile: Buffer.from(zipFile, "base64") }
|
|
61
|
-
: code;
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* Read an Invoke request, which states its members in three different places.
|
|
65
|
-
*
|
|
66
|
-
* The body is the payload itself rather than a JSON object holding it, so it
|
|
67
|
-
* is passed on as the bytes that arrived. That is what lets `aws lambda
|
|
68
|
-
* invoke --payload` send a document the handler receives unchanged.
|
|
69
|
-
*/
|
|
70
|
-
function invokeInput(input) {
|
|
71
|
-
return {
|
|
72
|
-
FunctionName: input.label("FunctionName"),
|
|
73
|
-
InvocationType: invocationType(input.header("x-amz-invocation-type")),
|
|
74
|
-
Qualifier: input.query("Qualifier"),
|
|
75
|
-
Payload: input.body,
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* Check the invocation type a request asked for.
|
|
80
|
-
*
|
|
81
|
-
* An unrecognised one is refused the way real Lambda refuses it, rather than
|
|
82
|
-
* passed on to a dispatcher that has nothing to do with it.
|
|
83
|
-
*/
|
|
84
|
-
function invocationType(value) {
|
|
85
|
-
if (value !== undefined && !invocationTypes.includes(value)) {
|
|
86
|
-
throw new SimLambdaInvalidParameterValueException(`Unrecognized invocation type ${value}. Valid invocation types are ` +
|
|
87
|
-
`${invocationTypes.join(", ")}.`);
|
|
88
|
-
}
|
|
89
|
-
return value;
|
|
90
|
-
}
|
|
91
52
|
//# sourceMappingURL=sim-lambda-api-function-routes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-lambda-api-function-routes.js","sourceRoot":"","sources":["../../../../../src/service/lambda/serve/api/sim-lambda-api-function-routes.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sim-lambda-api-function-routes.js","sourceRoot":"","sources":["../../../../../src/service/lambda/serve/api/sim-lambda-api-function-routes.ts"],"names":[],"mappings":"AACA,OAAO,EACL,mBAAmB,EACnB,WAAW,EACX,uBAAuB,EACvB,gCAAgC,GACjC,MAAM,oCAAoC,CAAC;AAC5C,OAAO,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