@kensio/yulin 1.18.2 → 1.19.0
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/sdk/wire/sim-sdk-wire-operation.d.ts +15 -0
- package/dist/sdk/wire/sim-sdk-wire-operation.d.ts.map +1 -1
- package/dist/sdk/wire/sim-sdk-wire-operation.js +54 -2
- package/dist/sdk/wire/sim-sdk-wire-operation.js.map +1 -1
- package/dist/serve/http/api/sim-aws-api-endpoint.d.ts +3 -0
- package/dist/serve/http/api/sim-aws-api-endpoint.d.ts.map +1 -1
- package/dist/serve/http/api/sim-aws-api-endpoint.js +10 -2
- package/dist/serve/http/api/sim-aws-api-endpoint.js.map +1 -1
- package/dist/service/aws/factory/sim-aws-lambda-collaborators.d.ts +6 -0
- package/dist/service/aws/factory/sim-aws-lambda-collaborators.d.ts.map +1 -1
- package/dist/service/aws/factory/sim-aws-lambda-collaborators.js +6 -0
- package/dist/service/aws/factory/sim-aws-lambda-collaborators.js.map +1 -1
- 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 +5 -0
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js.map +1 -1
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.d.ts +5 -4
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.d.ts.map +1 -1
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.js +5 -4
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.js.map +1 -1
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-mfa.d.ts +13 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-mfa.d.ts.map +1 -1
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-mfa.js +30 -1
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-mfa.js.map +1 -1
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.d.ts.map +1 -1
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js +9 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js.map +1 -1
- package/dist/service/cognito/command/auth/auth.command.d.ts +5 -0
- package/dist/service/cognito/command/auth/auth.command.d.ts.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-answering-user.d.ts +22 -0
- package/dist/service/cognito/command/auth/sim-cognito-answering-user.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-answering-user.js +25 -0
- package/dist/service/cognito/command/auth/sim-cognito-answering-user.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-challenge.d.ts.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-auth-challenge.js +9 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-challenge.js.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-auth-commands.d.ts +6 -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 +23 -5
- package/dist/service/cognito/command/auth/sim-cognito-auth-commands.js.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.d.ts +7 -3
- package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.d.ts.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.js +9 -3
- package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.js.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-auth-flow.d.ts +6 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-flow.d.ts.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-auth-flow.js +6 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-flow.js.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-auth-flows.d.ts +8 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-flows.d.ts.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-auth-flows.js +16 -2
- package/dist/service/cognito/command/auth/sim-cognito-auth-flows.js.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.d.ts +7 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.d.ts.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.js +16 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.js.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-available-challenges.d.ts +35 -0
- package/dist/service/cognito/command/auth/sim-cognito-available-challenges.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-available-challenges.js +83 -0
- package/dist/service/cognito/command/auth/sim-cognito-available-challenges.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-challenge-responses.d.ts +3 -0
- package/dist/service/cognito/command/auth/sim-cognito-challenge-responses.d.ts.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-challenge-responses.js +18 -0
- package/dist/service/cognito/command/auth/sim-cognito-challenge-responses.js.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-first-factor-challenge.d.ts +54 -0
- package/dist/service/cognito/command/auth/sim-cognito-first-factor-challenge.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-first-factor-challenge.js +87 -0
- package/dist/service/cognito/command/auth/sim-cognito-first-factor-challenge.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-first-factor-response.d.ts +55 -0
- package/dist/service/cognito/command/auth/sim-cognito-first-factor-response.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-first-factor-response.js +64 -0
- package/dist/service/cognito/command/auth/sim-cognito-first-factor-response.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-mfa-challenge.js +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-mfa-challenge.js.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.d.ts +2 -1
- package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.d.ts.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.js +2 -2
- package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.js.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-password-response.d.ts +31 -0
- package/dist/service/cognito/command/auth/sim-cognito-password-response.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-password-response.js +39 -0
- package/dist/service/cognito/command/auth/sim-cognito-password-response.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-password-sign-in.js +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-password-sign-in.js.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-unsimulated-auth-options.d.ts.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-unsimulated-auth-options.js +7 -2
- package/dist/service/cognito/command/auth/sim-cognito-unsimulated-auth-options.js.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-user-auth-sign-in.d.ts +44 -0
- package/dist/service/cognito/command/auth/sim-cognito-user-auth-sign-in.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-user-auth-sign-in.js +62 -0
- package/dist/service/cognito/command/auth/sim-cognito-user-auth-sign-in.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-web-authn-response.d.ts +30 -0
- package/dist/service/cognito/command/auth/sim-cognito-web-authn-response.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-web-authn-response.js +36 -0
- package/dist/service/cognito/command/auth/sim-cognito-web-authn-response.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.map +1 -1
- package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.js +1 -0
- 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 +1 -0
- package/dist/service/cognito/command/client/user-pool-client.command.d.ts.map +1 -1
- package/dist/service/cognito/command/hosted/hosted-auth.command.d.ts +22 -0
- package/dist/service/cognito/command/hosted/hosted-auth.command.d.ts.map +1 -1
- package/dist/service/cognito/command/hosted/sim-cognito-authorize-endpoint.d.ts +4 -4
- package/dist/service/cognito/command/hosted/sim-cognito-authorize-endpoint.js +4 -4
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.d.ts +6 -0
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.d.ts.map +1 -1
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.js +2 -1
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.js.map +1 -1
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-passkey-sign-in.d.ts +65 -0
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-passkey-sign-in.d.ts.map +1 -0
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-passkey-sign-in.js +71 -0
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-passkey-sign-in.js.map +1 -0
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-sign-in.d.ts +16 -7
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-sign-in.d.ts.map +1 -1
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-sign-in.js +26 -7
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-sign-in.js.map +1 -1
- package/dist/service/cognito/command/sim-cognito-command.types.d.ts +1 -0
- package/dist/service/cognito/command/sim-cognito-command.types.d.ts.map +1 -1
- package/dist/service/cognito/command/sim-cognito-commands.d.ts +2 -0
- package/dist/service/cognito/command/sim-cognito-commands.d.ts.map +1 -1
- package/dist/service/cognito/command/sim-cognito-commands.js +9 -0
- package/dist/service/cognito/command/sim-cognito-commands.js.map +1 -1
- package/dist/service/cognito/command/sim-cognito-page.d.ts +10 -0
- package/dist/service/cognito/command/sim-cognito-page.d.ts.map +1 -1
- package/dist/service/cognito/command/sim-cognito-page.js +11 -7
- package/dist/service/cognito/command/sim-cognito-page.js.map +1 -1
- package/dist/service/cognito/command/user/sim-cognito-web-authn-commands.d.ts +49 -0
- package/dist/service/cognito/command/user/sim-cognito-web-authn-commands.d.ts.map +1 -0
- package/dist/service/cognito/command/user/sim-cognito-web-authn-commands.js +88 -0
- package/dist/service/cognito/command/user/sim-cognito-web-authn-commands.js.map +1 -0
- package/dist/service/cognito/command/user/web-authn.command.d.ts +87 -0
- package/dist/service/cognito/command/user/web-authn.command.d.ts.map +1 -0
- package/dist/service/cognito/command/user/web-authn.command.js +2 -0
- package/dist/service/cognito/command/user/web-authn.command.js.map +1 -0
- package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-options.d.ts +4 -0
- package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-options.d.ts.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-options.js +4 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-options.js.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.d.ts +5 -3
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.d.ts.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.js +5 -4
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.js.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.d.ts +4 -0
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.d.ts.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.js +9 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.js.map +1 -1
- package/dist/service/cognito/command/user-pool/user-pool-mfa.command.d.ts +2 -3
- package/dist/service/cognito/command/user-pool/user-pool-mfa.command.d.ts.map +1 -1
- package/dist/service/cognito/error/sim-cognito-managed-login.error.d.ts +24 -0
- package/dist/service/cognito/error/sim-cognito-managed-login.error.d.ts.map +1 -1
- package/dist/service/cognito/error/sim-cognito-managed-login.error.js +37 -0
- package/dist/service/cognito/error/sim-cognito-managed-login.error.js.map +1 -1
- package/dist/service/cognito/error/sim-cognito-web-authn.error.d.ts +56 -0
- package/dist/service/cognito/error/sim-cognito-web-authn.error.d.ts.map +1 -0
- package/dist/service/cognito/error/sim-cognito-web-authn.error.js +66 -0
- package/dist/service/cognito/error/sim-cognito-web-authn.error.js.map +1 -0
- package/dist/service/cognito/index.d.ts +9 -1
- package/dist/service/cognito/index.d.ts.map +1 -1
- package/dist/service/cognito/index.js +7 -0
- package/dist/service/cognito/index.js.map +1 -1
- package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.d.ts +2 -2
- package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.d.ts.map +1 -1
- package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.js +4 -2
- package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.js.map +1 -1
- package/dist/service/cognito/sdk/sim-cognito-sdk-web-authn-routes.d.ts +11 -0
- package/dist/service/cognito/sdk/sim-cognito-sdk-web-authn-routes.d.ts.map +1 -0
- package/dist/service/cognito/sdk/sim-cognito-sdk-web-authn-routes.js +28 -0
- package/dist/service/cognito/sdk/sim-cognito-sdk-web-authn-routes.js.map +1 -0
- package/dist/service/cognito/serve/page/sim-cognito-managed-login.d.ts +4 -2
- package/dist/service/cognito/serve/page/sim-cognito-managed-login.d.ts.map +1 -1
- package/dist/service/cognito/serve/page/sim-cognito-managed-login.js +9 -3
- package/dist/service/cognito/serve/page/sim-cognito-managed-login.js.map +1 -1
- package/dist/service/cognito/serve/page/sim-cognito-passkey-page.d.ts +23 -0
- package/dist/service/cognito/serve/page/sim-cognito-passkey-page.d.ts.map +1 -0
- package/dist/service/cognito/serve/page/sim-cognito-passkey-page.js +36 -0
- package/dist/service/cognito/serve/page/sim-cognito-passkey-page.js.map +1 -0
- package/dist/service/cognito/serve/page/sim-cognito-sign-in-page.d.ts +13 -1
- package/dist/service/cognito/serve/page/sim-cognito-sign-in-page.d.ts.map +1 -1
- package/dist/service/cognito/serve/page/sim-cognito-sign-in-page.js +24 -2
- package/dist/service/cognito/serve/page/sim-cognito-sign-in-page.js.map +1 -1
- package/dist/service/cognito/sim-cognito-user-factors.d.ts +25 -0
- package/dist/service/cognito/sim-cognito-user-factors.d.ts.map +1 -1
- package/dist/service/cognito/sim-cognito-user-factors.js +37 -0
- package/dist/service/cognito/sim-cognito-user-factors.js.map +1 -1
- package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.d.ts +33 -2
- package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.js +27 -12
- package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.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 +12 -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-sign-in.d.ts +10 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.js +14 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.js.map +1 -1
- package/dist/service/cognito/user-pool/client/sim-cognito-auth-session-validity.d.ts +27 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-auth-session-validity.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-auth-session-validity.js +55 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-auth-session-validity.js.map +1 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.d.ts +6 -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 +6 -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/mfa/sim-cognito-relying-party.d.ts +16 -0
- package/dist/service/cognito/user-pool/mfa/sim-cognito-relying-party.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/mfa/sim-cognito-relying-party.js +32 -0
- package/dist/service/cognito/user-pool/mfa/sim-cognito-relying-party.js.map +1 -0
- package/dist/service/cognito/user-pool/mfa/sim-cognito-user-pool-mfa.d.ts +16 -0
- package/dist/service/cognito/user-pool/mfa/sim-cognito-user-pool-mfa.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/mfa/sim-cognito-user-pool-mfa.js +29 -0
- package/dist/service/cognito/user-pool/mfa/sim-cognito-user-pool-mfa.js.map +1 -1
- package/dist/service/cognito/user-pool/mfa/sim-cognito-web-authn-configuration.d.ts +46 -0
- package/dist/service/cognito/user-pool/mfa/sim-cognito-web-authn-configuration.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/mfa/sim-cognito-web-authn-configuration.js +73 -0
- package/dist/service/cognito/user-pool/mfa/sim-cognito-web-authn-configuration.js.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-password-policy.d.ts +1 -9
- package/dist/service/cognito/user-pool/sim-cognito-password-policy.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-password-policy.js.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-sign-in-policy.d.ts +60 -0
- package/dist/service/cognito/user-pool/sim-cognito-sign-in-policy.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-sign-in-policy.js +100 -0
- package/dist/service/cognito/user-pool/sim-cognito-sign-in-policy.js.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.d.ts +11 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.js +12 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.js.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool.d.ts +48 -69
- package/dist/service/cognito/user-pool/sim-cognito-user-pool.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool.js +58 -73
- package/dist/service/cognito/user-pool/sim-cognito-user-pool.js.map +1 -1
- package/dist/service/cognito/user-pool/user/sim-cognito-user.d.ts +13 -18
- package/dist/service/cognito/user-pool/user/sim-cognito-user.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/user/sim-cognito-user.js +23 -24
- package/dist/service/cognito/user-pool/user/sim-cognito-user.js.map +1 -1
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-user-web-authn.d.ts +73 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-user-web-authn.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-user-web-authn.js +113 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-user-web-authn.js.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-assertion.d.ts +22 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-assertion.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-assertion.js +53 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-assertion.js.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-attested-key.d.ts +15 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-attested-key.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-attested-key.js +68 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-attested-key.js.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-ceremony.d.ts +33 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-ceremony.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-ceremony.js +67 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-ceremony.js.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-client-data.d.ts +24 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-client-data.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-client-data.js +45 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-client-data.js.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-creation-options.d.ts +28 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-creation-options.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-creation-options.js +41 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-creation-options.js.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-credential.d.ts +69 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-credential.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-credential.js +69 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-credential.js.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-device.d.ts +39 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-device.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-device.js +90 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-device.js.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-document.d.ts +111 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-document.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-document.js +2 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-document.js.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-keys.d.ts +37 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-keys.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-keys.js +39 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-keys.js.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-public-key.d.ts +21 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-public-key.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-public-key.js +45 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-public-key.js.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-signing.d.ts +52 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-signing.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-signing.js +98 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-signing.js.map +1 -0
- package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-path.d.ts +5 -4
- package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-path.d.ts.map +1 -1
- package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-path.js +17 -4
- package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-path.js.map +1 -1
- package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-request.d.ts +8 -1
- package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-request.d.ts.map +1 -1
- package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-request.js +10 -3
- package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-request.js.map +1 -1
- package/dist/service/iam/sigv4/sim-iam-sigv4-signature-check.js +1 -1
- package/dist/service/iam/sigv4/sim-iam-sigv4-signature-check.js.map +1 -1
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-creator.d.ts +26 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-creator.d.ts.map +1 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-creator.js +32 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-creator.js.map +1 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-properties.d.ts +40 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-properties.d.ts.map +1 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-properties.js +42 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-properties.js.map +1 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-property-rules.d.ts +12 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-property-rules.d.ts.map +1 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-property-rules.js +26 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-property-rules.js.map +1 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-remover.d.ts +13 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-remover.d.ts.map +1 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-remover.js +20 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-remover.js.map +1 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-destinations.d.ts +26 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-destinations.d.ts.map +1 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-destinations.js +47 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-destinations.js.map +1 -0
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-dead-letter-parser.d.ts +20 -0
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-dead-letter-parser.d.ts.map +1 -0
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-dead-letter-parser.js +29 -0
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-dead-letter-parser.js.map +1 -0
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.d.ts +3 -0
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.d.ts.map +1 -1
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.js +4 -0
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.js.map +1 -1
- 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 +5 -0
- 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 +1 -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 +8 -0
- package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.js.map +1 -1
- package/dist/service/lambda/cfn/sim-cfn-lambda-target-arn.d.ts +35 -0
- package/dist/service/lambda/cfn/sim-cfn-lambda-target-arn.d.ts.map +1 -0
- package/dist/service/lambda/cfn/sim-cfn-lambda-target-arn.js +73 -0
- package/dist/service/lambda/cfn/sim-cfn-lambda-target-arn.js.map +1 -0
- package/dist/service/lambda/command/create-function/create-function-input.d.ts +1 -0
- package/dist/service/lambda/command/create-function/create-function-input.d.ts.map +1 -1
- package/dist/service/lambda/command/create-function/create-function-input.js +2 -0
- package/dist/service/lambda/command/create-function/create-function-input.js.map +1 -1
- package/dist/service/lambda/command/create-function/create-function.command.d.ts +2 -0
- package/dist/service/lambda/command/create-function/create-function.command.d.ts.map +1 -1
- package/dist/service/lambda/command/delete-function/delete-function.handler.d.ts +5 -1
- 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 +5 -1
- package/dist/service/lambda/command/delete-function/delete-function.handler.js.map +1 -1
- package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.command.d.ts +24 -0
- package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.command.d.ts.map +1 -0
- package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.command.js +5 -0
- package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.command.js.map +1 -0
- package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.handler.d.ts +24 -0
- package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.handler.d.ts.map +1 -0
- package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.handler.js +27 -0
- package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.handler.js.map +1 -0
- package/dist/service/lambda/command/event-invoke-config/event-invoke-config-authorizer.d.ts +29 -0
- package/dist/service/lambda/command/event-invoke-config/event-invoke-config-authorizer.d.ts.map +1 -0
- package/dist/service/lambda/command/event-invoke-config/event-invoke-config-authorizer.js +39 -0
- package/dist/service/lambda/command/event-invoke-config/event-invoke-config-authorizer.js.map +1 -0
- package/dist/service/lambda/command/event-invoke-config/event-invoke-config-input.d.ts +32 -0
- package/dist/service/lambda/command/event-invoke-config/event-invoke-config-input.d.ts.map +1 -0
- package/dist/service/lambda/command/event-invoke-config/event-invoke-config-input.js +62 -0
- package/dist/service/lambda/command/event-invoke-config/event-invoke-config-input.js.map +1 -0
- package/dist/service/lambda/command/event-invoke-config/event-invoke-config-request.d.ts +49 -0
- package/dist/service/lambda/command/event-invoke-config/event-invoke-config-request.d.ts.map +1 -0
- package/dist/service/lambda/command/event-invoke-config/event-invoke-config-request.js +44 -0
- package/dist/service/lambda/command/event-invoke-config/event-invoke-config-request.js.map +1 -0
- package/dist/service/lambda/command/event-invoke-config/sim-lambda-event-invoke-config-commands.d.ts +49 -0
- package/dist/service/lambda/command/event-invoke-config/sim-lambda-event-invoke-config-commands.d.ts.map +1 -0
- package/dist/service/lambda/command/event-invoke-config/sim-lambda-event-invoke-config-commands.js +49 -0
- package/dist/service/lambda/command/event-invoke-config/sim-lambda-event-invoke-config-commands.js.map +1 -0
- package/dist/service/lambda/command/function/sim-lambda-function-commands.d.ts +4 -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.map +1 -1
- package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.command.d.ts +25 -0
- package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.command.d.ts.map +1 -0
- package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.command.js +5 -0
- package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.command.js.map +1 -0
- package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.handler.d.ts +23 -0
- package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.handler.d.ts.map +1 -0
- package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.handler.js +27 -0
- package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.handler.js.map +1 -0
- package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation-settings.d.ts +31 -0
- package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation-settings.d.ts.map +1 -0
- package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation-settings.js +24 -0
- package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation-settings.js.map +1 -0
- package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation.d.ts +43 -0
- package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation.d.ts.map +1 -0
- package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation.js +64 -0
- package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation.js.map +1 -0
- package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocations.d.ts +26 -0
- package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocations.d.ts.map +1 -0
- package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocations.js +33 -0
- package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocations.js.map +1 -0
- package/dist/service/lambda/command/invoke/async/sim-lambda-async-outcome.d.ts +63 -0
- package/dist/service/lambda/command/invoke/async/sim-lambda-async-outcome.d.ts.map +1 -0
- package/dist/service/lambda/command/invoke/async/sim-lambda-async-outcome.js +88 -0
- package/dist/service/lambda/command/invoke/async/sim-lambda-async-outcome.js.map +1 -0
- package/dist/service/lambda/command/invoke/invoke-dispatcher.d.ts +10 -3
- package/dist/service/lambda/command/invoke/invoke-dispatcher.d.ts.map +1 -1
- package/dist/service/lambda/command/invoke/invoke-dispatcher.js +16 -17
- package/dist/service/lambda/command/invoke/invoke-dispatcher.js.map +1 -1
- package/dist/service/lambda/command/invoke/invoke-payload.d.ts +16 -0
- package/dist/service/lambda/command/invoke/invoke-payload.d.ts.map +1 -1
- package/dist/service/lambda/command/invoke/invoke-payload.js +14 -4
- package/dist/service/lambda/command/invoke/invoke-payload.js.map +1 -1
- package/dist/service/lambda/command/invoke/invoke.handler.d.ts +4 -0
- package/dist/service/lambda/command/invoke/invoke.handler.d.ts.map +1 -1
- package/dist/service/lambda/command/invoke/invoke.handler.js +6 -2
- package/dist/service/lambda/command/invoke/invoke.handler.js.map +1 -1
- package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.command.d.ts +28 -0
- package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.command.d.ts.map +1 -0
- package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.command.js +5 -0
- package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.command.js.map +1 -0
- package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.handler.d.ts +23 -0
- package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.handler.d.ts.map +1 -0
- package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.handler.js +31 -0
- package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.handler.js.map +1 -0
- package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.command.d.ts +31 -0
- package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.command.d.ts.map +1 -0
- package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.command.js +5 -0
- package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.command.js.map +1 -0
- package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.handler.d.ts +24 -0
- package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.handler.d.ts.map +1 -0
- package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.handler.js +32 -0
- package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.handler.js.map +1 -0
- package/dist/service/lambda/command/sim-lambda-command.types.d.ts +5 -0
- package/dist/service/lambda/command/sim-lambda-command.types.d.ts.map +1 -1
- package/dist/service/lambda/command/update-function-configuration/update-function-configuration-input.d.ts.map +1 -1
- package/dist/service/lambda/command/update-function-configuration/update-function-configuration-input.js +2 -0
- package/dist/service/lambda/command/update-function-configuration/update-function-configuration-input.js.map +1 -1
- package/dist/service/lambda/command/update-function-configuration/update-function-configuration.command.d.ts +6 -4
- package/dist/service/lambda/command/update-function-configuration/update-function-configuration.command.d.ts.map +1 -1
- package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.command.d.ts +30 -0
- package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.command.d.ts.map +1 -0
- package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.command.js +5 -0
- package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.command.js.map +1 -0
- package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.handler.d.ts +25 -0
- package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.handler.d.ts.map +1 -0
- package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.handler.js +33 -0
- package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.handler.js.map +1 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-bus.d.ts +16 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-bus.d.ts.map +1 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-bus.js +31 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-bus.js.map +1 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-function.d.ts +13 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-function.d.ts.map +1 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-function.js +25 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-function.js.map +1 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-queue.d.ts +15 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-queue.d.ts.map +1 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-queue.js +25 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-queue.js.map +1 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-send.d.ts +15 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-send.d.ts.map +1 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-send.js +2 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-send.js.map +1 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-topic.d.ts +15 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-topic.d.ts.map +1 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-topic.js +23 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-topic.js.map +1 -0
- package/dist/service/lambda/destination/sim-aws-lambda-destinations.d.ts +38 -0
- package/dist/service/lambda/destination/sim-aws-lambda-destinations.d.ts.map +1 -0
- package/dist/service/lambda/destination/sim-aws-lambda-destinations.js +78 -0
- package/dist/service/lambda/destination/sim-aws-lambda-destinations.js.map +1 -0
- package/dist/service/lambda/destination/sim-lambda-destination-arn.d.ts +53 -0
- package/dist/service/lambda/destination/sim-lambda-destination-arn.d.ts.map +1 -0
- package/dist/service/lambda/destination/sim-lambda-destination-arn.js +122 -0
- package/dist/service/lambda/destination/sim-lambda-destination-arn.js.map +1 -0
- package/dist/service/lambda/destination/sim-lambda-destination-record.d.ts +53 -0
- package/dist/service/lambda/destination/sim-lambda-destination-record.d.ts.map +1 -0
- package/dist/service/lambda/destination/sim-lambda-destination-record.js +26 -0
- package/dist/service/lambda/destination/sim-lambda-destination-record.js.map +1 -0
- package/dist/service/lambda/destination/sim-lambda-destination-targets.d.ts +49 -0
- package/dist/service/lambda/destination/sim-lambda-destination-targets.d.ts.map +1 -0
- package/dist/service/lambda/destination/sim-lambda-destination-targets.js +25 -0
- package/dist/service/lambda/destination/sim-lambda-destination-targets.js.map +1 -0
- package/dist/service/lambda/function/event-invoke/lambda-dead-letter-target.d.ts +17 -0
- package/dist/service/lambda/function/event-invoke/lambda-dead-letter-target.d.ts.map +1 -0
- package/dist/service/lambda/function/event-invoke/lambda-dead-letter-target.js +26 -0
- package/dist/service/lambda/function/event-invoke/lambda-dead-letter-target.js.map +1 -0
- package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config-store.d.ts +58 -0
- package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config-store.d.ts.map +1 -0
- package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config-store.js +86 -0
- package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config-store.js.map +1 -0
- package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config.d.ts +117 -0
- package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config.d.ts.map +1 -0
- package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config.js +37 -0
- package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config.js.map +1 -0
- package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-settings.d.ts +35 -0
- package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-settings.d.ts.map +1 -0
- package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-settings.js +70 -0
- package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-settings.js.map +1 -0
- package/dist/service/lambda/function/sim-lambda-function-configuration.d.ts +3 -0
- package/dist/service/lambda/function/sim-lambda-function-configuration.d.ts.map +1 -1
- package/dist/service/lambda/function/sim-lambda-function-configuration.factory.d.ts +11 -0
- package/dist/service/lambda/function/sim-lambda-function-configuration.factory.d.ts.map +1 -0
- package/dist/service/lambda/function/sim-lambda-function-configuration.factory.js +27 -0
- package/dist/service/lambda/function/sim-lambda-function-configuration.factory.js.map +1 -0
- package/dist/service/lambda/function/sim-lambda-function-reconfiguration.d.ts +5 -0
- package/dist/service/lambda/function/sim-lambda-function-reconfiguration.d.ts.map +1 -1
- package/dist/service/lambda/function/sim-lambda-function-reconfiguration.js +12 -0
- package/dist/service/lambda/function/sim-lambda-function-reconfiguration.js.map +1 -1
- package/dist/service/lambda/function/sim-lambda-function.d.ts +2 -0
- package/dist/service/lambda/function/sim-lambda-function.d.ts.map +1 -1
- package/dist/service/lambda/function/sim-lambda-function.js +7 -14
- package/dist/service/lambda/function/sim-lambda-function.js.map +1 -1
- package/dist/service/lambda/function/sim-lambda-function.type.d.ts +5 -0
- package/dist/service/lambda/function/sim-lambda-function.type.d.ts.map +1 -1
- package/dist/service/lambda/index.d.ts +2 -0
- package/dist/service/lambda/index.d.ts.map +1 -1
- package/dist/service/lambda/sdk/sim-lambda-event-invoke-config-routes.d.ts +10 -0
- package/dist/service/lambda/sdk/sim-lambda-event-invoke-config-routes.d.ts.map +1 -0
- package/dist/service/lambda/sdk/sim-lambda-event-invoke-config-routes.js +32 -0
- package/dist/service/lambda/sdk/sim-lambda-event-invoke-config-routes.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 +2 -0
- package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.js.map +1 -1
- package/dist/service/lambda/sim-lambda-commands.d.ts +11 -0
- package/dist/service/lambda/sim-lambda-commands.d.ts.map +1 -1
- package/dist/service/lambda/sim-lambda-commands.js +17 -1
- package/dist/service/lambda/sim-lambda-commands.js.map +1 -1
- package/dist/service/lambda/sim-lambda-event-invoke-operations.d.ts +23 -0
- package/dist/service/lambda/sim-lambda-event-invoke-operations.d.ts.map +1 -0
- package/dist/service/lambda/sim-lambda-event-invoke-operations.js +31 -0
- package/dist/service/lambda/sim-lambda-event-invoke-operations.js.map +1 -0
- package/dist/service/lambda/sim-lambda-inspection.d.ts +9 -0
- package/dist/service/lambda/sim-lambda-inspection.d.ts.map +1 -1
- package/dist/service/lambda/sim-lambda-inspection.js +13 -0
- package/dist/service/lambda/sim-lambda-inspection.js.map +1 -1
- package/dist/service/lambda/sim-lambda-request-options.d.ts +8 -0
- package/dist/service/lambda/sim-lambda-request-options.d.ts.map +1 -0
- package/dist/service/lambda/sim-lambda-request-options.js +2 -0
- package/dist/service/lambda/sim-lambda-request-options.js.map +1 -0
- package/dist/service/lambda/sim-lambda.d.ts +6 -7
- package/dist/service/lambda/sim-lambda.d.ts.map +1 -1
- package/dist/service/lambda/sim-lambda.js +4 -3
- package/dist/service/lambda/sim-lambda.js.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-object-input.d.ts +14 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-input.d.ts.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-object-input.js +20 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-input.js.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-object-output.d.ts +14 -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 +12 -0
- 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 +23 -1
- package/dist/service/s3/serve/api/sim-s3-api-object-routes.js.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-output.d.ts.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-output.js +7 -1
- package/dist/service/s3/serve/api/sim-s3-api-output.js.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-route.type.d.ts +14 -3
- package/dist/service/s3/serve/api/sim-s3-api-route.type.d.ts.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-routes.d.ts.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-routes.js +2 -1
- package/dist/service/s3/serve/api/sim-s3-api-routes.js.map +1 -1
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ import type { SimAwsCaller } from "../../../aws/caller/sim-aws-caller.js";
|
|
|
4
4
|
import type { SimAwsAccountRegionScope } from "../../../aws/sim-aws-account-region-scope.js";
|
|
5
5
|
import { type SimIamInterServiceAuthZ } from "../../../iam/authorize/sim-iam-inter-service-auth-z.js";
|
|
6
6
|
import type { SimLambdaFunctionMap } from "../../function/sim-lambda-function.js";
|
|
7
|
+
import type { SimLambdaEventInvokeConfigStore } from "../../function/event-invoke/sim-lambda-event-invoke-config-store.js";
|
|
7
8
|
import type { SimLambdaFunctionUrlStore } from "../../function/url/sim-lambda-function-url-store.js";
|
|
8
9
|
import type { SimLambdaFunctionVersionStore } from "../../function/version/sim-lambda-function-version-store.js";
|
|
9
10
|
import type { SimDeleteFunctionCommand, SimDeleteFunctionCommandOutput } from "./delete-function.command.js";
|
|
@@ -12,6 +13,7 @@ interface DeleteFunctionCommandHandlerProperties {
|
|
|
12
13
|
readonly functions: SimLambdaFunctionMap;
|
|
13
14
|
readonly functionUrls: SimLambdaFunctionUrlStore;
|
|
14
15
|
readonly versions: SimLambdaFunctionVersionStore;
|
|
16
|
+
readonly eventInvokeConfigs?: SimLambdaEventInvokeConfigStore | undefined;
|
|
15
17
|
readonly iam?: SimIamInterServiceAuthZ;
|
|
16
18
|
readonly background?: BackgroundScheduler;
|
|
17
19
|
}
|
|
@@ -28,6 +30,7 @@ export declare class DeleteFunctionCommandHandler implements CommandHandler<SimD
|
|
|
28
30
|
private readonly functions;
|
|
29
31
|
private readonly functionUrls;
|
|
30
32
|
private readonly versions;
|
|
33
|
+
private readonly eventInvokeConfigs;
|
|
31
34
|
private readonly authorizer;
|
|
32
35
|
private readonly background;
|
|
33
36
|
constructor(properties: DeleteFunctionCommandHandlerProperties);
|
|
@@ -41,7 +44,8 @@ export declare class DeleteFunctionCommandHandler implements CommandHandler<SimD
|
|
|
41
44
|
*
|
|
42
45
|
* The resource policy the Add Permission command builds is held on the
|
|
43
46
|
* function itself, so it goes at the same time. So do the versions published
|
|
44
|
-
* from it
|
|
47
|
+
* from it, the aliases pointing at those, and the event invoke configs held
|
|
48
|
+
* under each qualifier, as they do on real Lambda.
|
|
45
49
|
*/
|
|
46
50
|
handle(command: SimDeleteFunctionCommand, options?: DeleteFunctionCommandHandlerOptions): Promise<SimDeleteFunctionCommandOutput>;
|
|
47
51
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-function.handler.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/command/delete-function/delete-function.handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,2CAA2C,CAAC;AAEnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AAC7F,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,wDAAwD,CAAC;AAEhE,OAAO,KAAK,EACV,oBAAoB,EAErB,MAAM,uCAAuC,CAAC;AAE/C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qDAAqD,CAAC;AACrG,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,6DAA6D,CAAC;AAEjH,OAAO,KAAK,EACV,wBAAwB,EACxB,8BAA8B,EAC/B,MAAM,8BAA8B,CAAC;AAEtC,UAAU,sCAAsC;IAC9C,QAAQ,CAAC,kBAAkB,EAAE,wBAAwB,CAAC;IACtD,QAAQ,CAAC,SAAS,EAAE,oBAAoB,CAAC;IACzC,QAAQ,CAAC,YAAY,EAAE,yBAAyB,CAAC;IACjD,QAAQ,CAAC,QAAQ,EAAE,6BAA6B,CAAC;IACjD,QAAQ,CAAC,GAAG,CAAC,EAAE,uBAAuB,CAAC;IACvC,QAAQ,CAAC,UAAU,CAAC,EAAE,mBAAmB,CAAC;CAC3C;AAED,UAAU,mCAAmC;IAC3C,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC;AAED;;;;GAIG;AACH,qBAAa,4BAA6B,YAAW,cAAc,CACjE,wBAAwB,EACxB,8BAA8B,CAC/B;IACC,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAA2B;IAC9D,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAuB;IACjD,OAAO,CAAC,QAAQ,CAAC,YAAY,CAA4B;IACzD,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAgC;IACzD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA2B;IACtD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAsB;IAEjD,YAAY,UAAU,EAAE,sCAAsC,
|
|
1
|
+
{"version":3,"file":"delete-function.handler.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/command/delete-function/delete-function.handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,2CAA2C,CAAC;AAEnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AAC7F,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,wDAAwD,CAAC;AAEhE,OAAO,KAAK,EACV,oBAAoB,EAErB,MAAM,uCAAuC,CAAC;AAE/C,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,qEAAqE,CAAC;AAC3H,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qDAAqD,CAAC;AACrG,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,6DAA6D,CAAC;AAEjH,OAAO,KAAK,EACV,wBAAwB,EACxB,8BAA8B,EAC/B,MAAM,8BAA8B,CAAC;AAEtC,UAAU,sCAAsC;IAC9C,QAAQ,CAAC,kBAAkB,EAAE,wBAAwB,CAAC;IACtD,QAAQ,CAAC,SAAS,EAAE,oBAAoB,CAAC;IACzC,QAAQ,CAAC,YAAY,EAAE,yBAAyB,CAAC;IACjD,QAAQ,CAAC,QAAQ,EAAE,6BAA6B,CAAC;IACjD,QAAQ,CAAC,kBAAkB,CAAC,EAAE,+BAA+B,GAAG,SAAS,CAAC;IAC1E,QAAQ,CAAC,GAAG,CAAC,EAAE,uBAAuB,CAAC;IACvC,QAAQ,CAAC,UAAU,CAAC,EAAE,mBAAmB,CAAC;CAC3C;AAED,UAAU,mCAAmC;IAC3C,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC;AAED;;;;GAIG;AACH,qBAAa,4BAA6B,YAAW,cAAc,CACjE,wBAAwB,EACxB,8BAA8B,CAC/B;IACC,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAA2B;IAC9D,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAuB;IACjD,OAAO,CAAC,QAAQ,CAAC,YAAY,CAA4B;IACzD,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAgC;IACzD,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAErB;IAEd,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA2B;IACtD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAsB;IAEjD,YAAY,UAAU,EAAE,sCAAsC,EAiB7D;IAED;;;;;;;;;;;;OAYG;IACG,MAAM,CACV,OAAO,EAAE,wBAAwB,EACjC,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,8BAA8B,CAAC,CA8BzC;CACF"}
|
|
@@ -14,6 +14,7 @@ export class DeleteFunctionCommandHandler {
|
|
|
14
14
|
functions;
|
|
15
15
|
functionUrls;
|
|
16
16
|
versions;
|
|
17
|
+
eventInvokeConfigs;
|
|
17
18
|
authorizer;
|
|
18
19
|
background;
|
|
19
20
|
constructor(properties) {
|
|
@@ -22,6 +23,7 @@ export class DeleteFunctionCommandHandler {
|
|
|
22
23
|
this.functions = functions;
|
|
23
24
|
this.functionUrls = functionUrls;
|
|
24
25
|
this.versions = versions;
|
|
26
|
+
this.eventInvokeConfigs = properties.eventInvokeConfigs;
|
|
25
27
|
this.authorizer = new DeleteFunctionAuthorizer({ iam });
|
|
26
28
|
this.background = background;
|
|
27
29
|
}
|
|
@@ -35,7 +37,8 @@ export class DeleteFunctionCommandHandler {
|
|
|
35
37
|
*
|
|
36
38
|
* The resource policy the Add Permission command builds is held on the
|
|
37
39
|
* function itself, so it goes at the same time. So do the versions published
|
|
38
|
-
* from it
|
|
40
|
+
* from it, the aliases pointing at those, and the event invoke configs held
|
|
41
|
+
* under each qualifier, as they do on real Lambda.
|
|
39
42
|
*/
|
|
40
43
|
async handle(command, options) {
|
|
41
44
|
assertDefined(command.input.FunctionName, "DeleteFunctionCommand.input.FunctionName required");
|
|
@@ -50,6 +53,7 @@ export class DeleteFunctionCommandHandler {
|
|
|
50
53
|
}
|
|
51
54
|
this.functionUrls.deleteIfPresent(simFunction);
|
|
52
55
|
this.versions.forget(simFunction);
|
|
56
|
+
this.eventInvokeConfigs?.deleteForFunction(functionName);
|
|
53
57
|
this.functions.delete(functionName);
|
|
54
58
|
return { $metadata: {} };
|
|
55
59
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-function.handler.js","sourceRoot":"","sources":["../../../../../src/service/lambda/command/delete-function/delete-function.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,eAAe,GAChB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAGvE,OAAO,EACL,kBAAkB,GAEnB,MAAM,wDAAwD,CAAC;AAChE,OAAO,EAAE,kCAAkC,EAAE,MAAM,iCAAiC,CAAC;AAKrF,OAAO,EAAE,oBAAoB,EAAE,MAAM,qDAAqD,CAAC;
|
|
1
|
+
{"version":3,"file":"delete-function.handler.js","sourceRoot":"","sources":["../../../../../src/service/lambda/command/delete-function/delete-function.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,eAAe,GAChB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAGvE,OAAO,EACL,kBAAkB,GAEnB,MAAM,wDAAwD,CAAC;AAChE,OAAO,EAAE,kCAAkC,EAAE,MAAM,iCAAiC,CAAC;AAKrF,OAAO,EAAE,oBAAoB,EAAE,MAAM,qDAAqD,CAAC;AAI3F,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAoB3E;;;;GAIG;AACH,MAAM,OAAO,4BAA4B;IAItB,kBAAkB,CAA2B;IAC7C,SAAS,CAAuB;IAChC,YAAY,CAA4B;IACxC,QAAQ,CAAgC;IACxC,kBAAkB,CAErB;IAEG,UAAU,CAA2B;IACrC,UAAU,CAAsB;IAEjD,YAAY,UAAkD;QAC5D,MAAM,EACJ,kBAAkB,EAClB,SAAS,EACT,YAAY,EACZ,QAAQ,EACR,GAAG,GAAG,IAAI,kBAAkB,EAAE,EAC9B,UAAU,GAAG,IAAI,eAAe,EAAE,GACnC,GAAG,UAAU,CAAC;QAEf,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,kBAAkB,GAAG,UAAU,CAAC,kBAAkB,CAAC;QACxD,IAAI,CAAC,UAAU,GAAG,IAAI,wBAAwB,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC;QACxD,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,KAAK,CAAC,MAAM,CACV,OAAiC,EACjC,OAA6C;QAE7C,aAAa,CACX,OAAO,CAAC,KAAK,CAAC,YAAY,EAC1B,mDAAmD,CACpD,CAAC;QAEF,oEAAoE;QACpE,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;QAEjC,MAAM,YAAY,GAAG,OAAO,CAAC,KAAK,CAAC,YAAqC,CAAC;QACzE,MAAM,WAAW,GAAG,oBAAoB,CACtC,IAAI,CAAC,kBAAkB,EACvB,YAAY,CACb,CAAC;QACF,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,WAAW,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QAExD,MAAM,WAAW,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;QAErD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,kCAAkC,CAC1C,uBAAuB,WAAW,EAAE,CACrC,CAAC;QACJ,CAAC;QAED,IAAI,CAAC,YAAY,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC;QAC/C,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;QAClC,IAAI,CAAC,kBAAkB,EAAE,iBAAiB,CAAC,YAAY,CAAC,CAAC;QACzD,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;QAEpC,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;IAC3B,CAAC;CACF"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/DeleteFunctionEventInvokeConfigCommand/
|
|
3
|
+
*/
|
|
4
|
+
import type { SimResponseMetadata } from "../../../aws/metadata/response-metadata.type.js";
|
|
5
|
+
/**
|
|
6
|
+
* Minimal structural sim Lambda DeleteFunctionEventInvokeConfig command.
|
|
7
|
+
*/
|
|
8
|
+
export interface SimDeleteFunctionEventInvokeConfigCommand {
|
|
9
|
+
readonly input: SimDeleteFunctionEventInvokeConfigCommandInput;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Minimal structural sim Lambda DeleteFunctionEventInvokeConfig input.
|
|
13
|
+
*/
|
|
14
|
+
export interface SimDeleteFunctionEventInvokeConfigCommandInput {
|
|
15
|
+
readonly FunctionName?: string | undefined;
|
|
16
|
+
readonly Qualifier?: string | undefined;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Minimal structural sim Lambda DeleteFunctionEventInvokeConfig output.
|
|
20
|
+
*/
|
|
21
|
+
export interface SimDeleteFunctionEventInvokeConfigCommandOutput {
|
|
22
|
+
readonly $metadata: SimResponseMetadata;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=delete-function-event-invoke-config.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-function-event-invoke-config.command.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.command.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAE3F;;GAEG;AACH,MAAM,WAAW,yCAAyC;IACxD,QAAQ,CAAC,KAAK,EAAE,8CAA8C,CAAC;CAChE;AAED;;GAEG;AACH,MAAM,WAAW,8CAA8C;IAC7D,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3C,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACzC;AAED;;GAEG;AACH,MAAM,WAAW,+CAA+C;IAC9D,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-function-event-invoke-config.command.js","sourceRoot":"","sources":["../../../../../src/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.command.ts"],"names":[],"mappings":"AAAA;;GAEG"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { CommandHandler } from "../../../../command/command-handler.js";
|
|
2
|
+
import type { SimLambdaEventInvokeConfigStore } from "../../function/event-invoke/sim-lambda-event-invoke-config-store.js";
|
|
3
|
+
import { type EventInvokeConfigCommandOptions, type EventInvokeConfigCommandProperties } from "../event-invoke-config/event-invoke-config-request.js";
|
|
4
|
+
import type { SimDeleteFunctionEventInvokeConfigCommand, SimDeleteFunctionEventInvokeConfigCommandOutput } from "./delete-function-event-invoke-config.command.js";
|
|
5
|
+
interface DeleteFunctionEventInvokeConfigCommandHandlerProperties extends EventInvokeConfigCommandProperties {
|
|
6
|
+
readonly eventInvokeConfigs: SimLambdaEventInvokeConfigStore;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Simulated Lambda DeleteFunctionEventInvokeConfigCommand handler.
|
|
10
|
+
*
|
|
11
|
+
* https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/DeleteFunctionEventInvokeConfigCommand/
|
|
12
|
+
*/
|
|
13
|
+
export declare class DeleteFunctionEventInvokeConfigCommandHandler implements CommandHandler<SimDeleteFunctionEventInvokeConfigCommand, SimDeleteFunctionEventInvokeConfigCommandOutput> {
|
|
14
|
+
private readonly eventInvokeConfigs;
|
|
15
|
+
private readonly request;
|
|
16
|
+
constructor(properties: DeleteFunctionEventInvokeConfigCommandHandlerProperties);
|
|
17
|
+
/**
|
|
18
|
+
* Delete a function's event invoke config, so its asynchronous invocations
|
|
19
|
+
* go back to the defaults.
|
|
20
|
+
*/
|
|
21
|
+
handle(command: SimDeleteFunctionEventInvokeConfigCommand, options?: EventInvokeConfigCommandOptions): Promise<SimDeleteFunctionEventInvokeConfigCommandOutput>;
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=delete-function-event-invoke-config.handler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-function-event-invoke-config.handler.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,qEAAqE,CAAC;AAC3H,OAAO,EACL,KAAK,+BAA+B,EACpC,KAAK,kCAAkC,EAExC,MAAM,uDAAuD,CAAC;AAC/D,OAAO,KAAK,EACV,yCAAyC,EACzC,+CAA+C,EAChD,MAAM,kDAAkD,CAAC;AAE1D,UAAU,uDAAwD,SAAQ,kCAAkC;IAC1G,QAAQ,CAAC,kBAAkB,EAAE,+BAA+B,CAAC;CAC9D;AAED;;;;GAIG;AACH,qBAAa,6CAA8C,YAAW,cAAc,CAClF,yCAAyC,EACzC,+CAA+C,CAChD;IACC,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAkC;IACrE,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA2B;IAEnD,YACE,UAAU,EAAE,uDAAuD,EAOpE;IAED;;;OAGG;IACG,MAAM,CACV,OAAO,EAAE,yCAAyC,EAClD,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,+CAA+C,CAAC,CAS1D;CACF"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { EventInvokeConfigRequest, } from "../event-invoke-config/event-invoke-config-request.js";
|
|
2
|
+
/**
|
|
3
|
+
* Simulated Lambda DeleteFunctionEventInvokeConfigCommand handler.
|
|
4
|
+
*
|
|
5
|
+
* https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/DeleteFunctionEventInvokeConfigCommand/
|
|
6
|
+
*/
|
|
7
|
+
export class DeleteFunctionEventInvokeConfigCommandHandler {
|
|
8
|
+
eventInvokeConfigs;
|
|
9
|
+
request;
|
|
10
|
+
constructor(properties) {
|
|
11
|
+
this.eventInvokeConfigs = properties.eventInvokeConfigs;
|
|
12
|
+
this.request = new EventInvokeConfigRequest({
|
|
13
|
+
...properties,
|
|
14
|
+
action: "lambda:DeleteFunctionEventInvokeConfig",
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Delete a function's event invoke config, so its asynchronous invocations
|
|
19
|
+
* go back to the defaults.
|
|
20
|
+
*/
|
|
21
|
+
async handle(command, options) {
|
|
22
|
+
const resolved = await this.request.resolve(command.input, "DeleteFunctionEventInvokeConfigCommand", options);
|
|
23
|
+
this.eventInvokeConfigs.delete(resolved, resolved.functionArn);
|
|
24
|
+
return { $metadata: {} };
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=delete-function-event-invoke-config.handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-function-event-invoke-config.handler.js","sourceRoot":"","sources":["../../../../../src/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAGL,wBAAwB,GACzB,MAAM,uDAAuD,CAAC;AAU/D;;;;GAIG;AACH,MAAM,OAAO,6CAA6C;IAIvC,kBAAkB,CAAkC;IACpD,OAAO,CAA2B;IAEnD,YACE,UAAmE;QAEnE,IAAI,CAAC,kBAAkB,GAAG,UAAU,CAAC,kBAAkB,CAAC;QACxD,IAAI,CAAC,OAAO,GAAG,IAAI,wBAAwB,CAAC;YAC1C,GAAG,UAAU;YACb,MAAM,EAAE,wCAAwC;SACjD,CAAC,CAAC;IACL,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,MAAM,CACV,OAAkD,EAClD,OAAyC;QAEzC,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,OAAO,CACzC,OAAO,CAAC,KAAK,EACb,wCAAwC,EACxC,OAAO,CACR,CAAC;QACF,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,QAAQ,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC;QAE/D,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;IAC3B,CAAC;CACF"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { SimAwsCaller } from "../../../aws/caller/sim-aws-caller.js";
|
|
2
|
+
import type { SimIamInterServiceAuthZ } from "../../../iam/authorize/sim-iam-inter-service-auth-z.js";
|
|
3
|
+
interface EventInvokeConfigAuthorizerProperties {
|
|
4
|
+
readonly iam: SimIamInterServiceAuthZ;
|
|
5
|
+
readonly action: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Applies IAM authorization to a Lambda event invoke config request.
|
|
9
|
+
*
|
|
10
|
+
* AWS maps each of these operations to the IAM action of the same name,
|
|
11
|
+
* always against the ARN of the function the config belongs to. The action
|
|
12
|
+
* varies but nothing else does, so one authorizer serves all five rather than
|
|
13
|
+
* a near-identical class per command.
|
|
14
|
+
*/
|
|
15
|
+
export declare class EventInvokeConfigAuthorizer {
|
|
16
|
+
private readonly iam;
|
|
17
|
+
private readonly action;
|
|
18
|
+
constructor(properties: EventInvokeConfigAuthorizerProperties);
|
|
19
|
+
/**
|
|
20
|
+
* Ensure the caller may perform this action on the function.
|
|
21
|
+
*
|
|
22
|
+
* The caller is passed through unchanged so sim IAM can distinguish an
|
|
23
|
+
* omitted caller, which defaults to Account root, from an explicit
|
|
24
|
+
* anonymous caller.
|
|
25
|
+
*/
|
|
26
|
+
authorize(functionArn: string, caller?: SimAwsCaller): void;
|
|
27
|
+
}
|
|
28
|
+
export {};
|
|
29
|
+
//# sourceMappingURL=event-invoke-config-authorizer.d.ts.map
|
package/dist/service/lambda/command/event-invoke-config/event-invoke-config-authorizer.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-invoke-config-authorizer.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/command/event-invoke-config/event-invoke-config-authorizer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wDAAwD,CAAC;AAGtG,UAAU,qCAAqC;IAC7C,QAAQ,CAAC,GAAG,EAAE,uBAAuB,CAAC;IACtC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED;;;;;;;GAOG;AACH,qBAAa,2BAA2B;IACtC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAA0B;IAC9C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAEhC,YAAY,UAAU,EAAE,qCAAqC,EAG5D;IAED;;;;;;OAMG;IACH,SAAS,CAAC,WAAW,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,YAAY,GAAG,IAAI,CAc1D;CACF"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { SimIamAccessDenied } from "../../../iam/error/sim-iam.error.js";
|
|
2
|
+
/**
|
|
3
|
+
* Applies IAM authorization to a Lambda event invoke config request.
|
|
4
|
+
*
|
|
5
|
+
* AWS maps each of these operations to the IAM action of the same name,
|
|
6
|
+
* always against the ARN of the function the config belongs to. The action
|
|
7
|
+
* varies but nothing else does, so one authorizer serves all five rather than
|
|
8
|
+
* a near-identical class per command.
|
|
9
|
+
*/
|
|
10
|
+
export class EventInvokeConfigAuthorizer {
|
|
11
|
+
iam;
|
|
12
|
+
action;
|
|
13
|
+
constructor(properties) {
|
|
14
|
+
this.iam = properties.iam;
|
|
15
|
+
this.action = properties.action;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Ensure the caller may perform this action on the function.
|
|
19
|
+
*
|
|
20
|
+
* The caller is passed through unchanged so sim IAM can distinguish an
|
|
21
|
+
* omitted caller, which defaults to Account root, from an explicit
|
|
22
|
+
* anonymous caller.
|
|
23
|
+
*/
|
|
24
|
+
authorize(functionArn, caller) {
|
|
25
|
+
const decision = this.iam.authorize({
|
|
26
|
+
action: this.action,
|
|
27
|
+
resource: functionArn,
|
|
28
|
+
caller,
|
|
29
|
+
});
|
|
30
|
+
if (decision.isDenied) {
|
|
31
|
+
throw new SimIamAccessDenied({
|
|
32
|
+
principal: decision.caller.principal,
|
|
33
|
+
action: this.action,
|
|
34
|
+
resource: functionArn,
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=event-invoke-config-authorizer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-invoke-config-authorizer.js","sourceRoot":"","sources":["../../../../../src/service/lambda/command/event-invoke-config/event-invoke-config-authorizer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAOzE;;;;;;;GAOG;AACH,MAAM,OAAO,2BAA2B;IACrB,GAAG,CAA0B;IAC7B,MAAM,CAAS;IAEhC,YAAY,UAAiD;QAC3D,IAAI,CAAC,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC;QAC1B,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAClC,CAAC;IAED;;;;;;OAMG;IACH,SAAS,CAAC,WAAmB,EAAE,MAAqB;QAClD,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC;YAClC,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,QAAQ,EAAE,WAAW;YACrB,MAAM;SACP,CAAC,CAAC;QAEH,IAAI,QAAQ,CAAC,QAAQ,EAAE,CAAC;YACtB,MAAM,IAAI,kBAAkB,CAAC;gBAC3B,SAAS,EAAE,QAAQ,CAAC,MAAM,CAAC,SAAS;gBACpC,MAAM,EAAE,IAAI,CAAC,MAAM;gBACnB,QAAQ,EAAE,WAAW;aACtB,CAAC,CAAC;QACL,CAAC;IACH,CAAC;CACF"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { type SimLambdaDestinationConfiguration, type SimLambdaEventInvokeConfigUpdate } from "../../function/event-invoke/sim-lambda-event-invoke-config.js";
|
|
2
|
+
/**
|
|
3
|
+
* What both commands that write an event invoke config carry.
|
|
4
|
+
*/
|
|
5
|
+
export interface SimLambdaEventInvokeConfigInput {
|
|
6
|
+
readonly MaximumRetryAttempts?: number | undefined;
|
|
7
|
+
readonly MaximumEventAgeInSeconds?: number | undefined;
|
|
8
|
+
readonly DestinationConfig?: SimLambdaDestinationConfiguration | undefined;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Reads the settings of an event invoke config request.
|
|
12
|
+
*
|
|
13
|
+
* A destination is read here so an ARN naming something the simulation cannot
|
|
14
|
+
* send to is refused while the caller is still there to see it, rather than
|
|
15
|
+
* when an invocation first fails hours later.
|
|
16
|
+
*/
|
|
17
|
+
export declare class EventInvokeConfigInputParser {
|
|
18
|
+
/**
|
|
19
|
+
* Read a request's settings, refusing values real Lambda refuses.
|
|
20
|
+
*/
|
|
21
|
+
parse(input: SimLambdaEventInvokeConfigInput): SimLambdaEventInvokeConfigUpdate;
|
|
22
|
+
private retryAttempts;
|
|
23
|
+
private eventAge;
|
|
24
|
+
/**
|
|
25
|
+
* The destination a request named, if it named one.
|
|
26
|
+
*
|
|
27
|
+
* A member sent with nothing in it is how AWS takes a destination away, and
|
|
28
|
+
* reads here as no destination at all.
|
|
29
|
+
*/
|
|
30
|
+
private destination;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=event-invoke-config-input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-invoke-config-input.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/command/event-invoke-config/event-invoke-config-input.ts"],"names":[],"mappings":"AAEA,OAAO,EAKL,KAAK,iCAAiC,EACtC,KAAK,gCAAgC,EACtC,MAAM,+DAA+D,CAAC;AAEvE;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,CAAC,oBAAoB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnD,QAAQ,CAAC,wBAAwB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvD,QAAQ,CAAC,iBAAiB,CAAC,EAAE,iCAAiC,GAAG,SAAS,CAAC;CAC5E;AAED;;;;;;GAMG;AACH,qBAAa,4BAA4B;IACvC;;OAEG;IACH,KAAK,CACH,KAAK,EAAE,+BAA+B,GACrC,gCAAgC,CAOlC;IAED,OAAO,CAAC,aAAa;IAmBrB,OAAO,CAAC,QAAQ;IAoBhB;;;;;OAKG;IACH,OAAO,CAAC,WAAW;CAWpB"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { SimLambdaDestinationArn } from "../../destination/sim-lambda-destination-arn.js";
|
|
2
|
+
import { SimLambdaInvalidParameterValueException } from "../../error/sim-lambda.error.js";
|
|
3
|
+
import { MAX_SIM_LAMBDA_MAXIMUM_EVENT_AGE_SECONDS, MAX_SIM_LAMBDA_MAXIMUM_RETRY_ATTEMPTS, MIN_SIM_LAMBDA_MAXIMUM_EVENT_AGE_SECONDS, } from "../../function/event-invoke/sim-lambda-event-invoke-config.js";
|
|
4
|
+
/**
|
|
5
|
+
* Reads the settings of an event invoke config request.
|
|
6
|
+
*
|
|
7
|
+
* A destination is read here so an ARN naming something the simulation cannot
|
|
8
|
+
* send to is refused while the caller is still there to see it, rather than
|
|
9
|
+
* when an invocation first fails hours later.
|
|
10
|
+
*/
|
|
11
|
+
export class EventInvokeConfigInputParser {
|
|
12
|
+
/**
|
|
13
|
+
* Read a request's settings, refusing values real Lambda refuses.
|
|
14
|
+
*/
|
|
15
|
+
parse(input) {
|
|
16
|
+
return {
|
|
17
|
+
maximumRetryAttempts: this.retryAttempts(input.MaximumRetryAttempts),
|
|
18
|
+
maximumEventAgeInSeconds: this.eventAge(input.MaximumEventAgeInSeconds),
|
|
19
|
+
onSuccessArn: this.destination(input.DestinationConfig?.OnSuccess),
|
|
20
|
+
onFailureArn: this.destination(input.DestinationConfig?.OnFailure),
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
retryAttempts(value) {
|
|
24
|
+
if (value === undefined) {
|
|
25
|
+
return undefined;
|
|
26
|
+
}
|
|
27
|
+
if (!Number.isSafeInteger(value) ||
|
|
28
|
+
value < 0 ||
|
|
29
|
+
value > MAX_SIM_LAMBDA_MAXIMUM_RETRY_ATTEMPTS) {
|
|
30
|
+
throw new SimLambdaInvalidParameterValueException(`MaximumRetryAttempts must be a whole number between 0 and ` +
|
|
31
|
+
`${MAX_SIM_LAMBDA_MAXIMUM_RETRY_ATTEMPTS}, and ${value} is not.`);
|
|
32
|
+
}
|
|
33
|
+
return value;
|
|
34
|
+
}
|
|
35
|
+
eventAge(value) {
|
|
36
|
+
if (value === undefined) {
|
|
37
|
+
return undefined;
|
|
38
|
+
}
|
|
39
|
+
if (!Number.isSafeInteger(value) ||
|
|
40
|
+
value < MIN_SIM_LAMBDA_MAXIMUM_EVENT_AGE_SECONDS ||
|
|
41
|
+
value > MAX_SIM_LAMBDA_MAXIMUM_EVENT_AGE_SECONDS) {
|
|
42
|
+
throw new SimLambdaInvalidParameterValueException("MaximumEventAgeInSeconds must be a whole number between " +
|
|
43
|
+
`${MIN_SIM_LAMBDA_MAXIMUM_EVENT_AGE_SECONDS} and ` +
|
|
44
|
+
`${MAX_SIM_LAMBDA_MAXIMUM_EVENT_AGE_SECONDS}, and ${value} is not.`);
|
|
45
|
+
}
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* The destination a request named, if it named one.
|
|
50
|
+
*
|
|
51
|
+
* A member sent with nothing in it is how AWS takes a destination away, and
|
|
52
|
+
* reads here as no destination at all.
|
|
53
|
+
*/
|
|
54
|
+
destination(destination) {
|
|
55
|
+
const arn = destination?.Destination;
|
|
56
|
+
if (arn === undefined || arn === "") {
|
|
57
|
+
return undefined;
|
|
58
|
+
}
|
|
59
|
+
return SimLambdaDestinationArn.of(arn).value;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
//# sourceMappingURL=event-invoke-config-input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-invoke-config-input.js","sourceRoot":"","sources":["../../../../../src/service/lambda/command/event-invoke-config/event-invoke-config-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,iDAAiD,CAAC;AAC1F,OAAO,EAAE,uCAAuC,EAAE,MAAM,iCAAiC,CAAC;AAC1F,OAAO,EACL,wCAAwC,EACxC,qCAAqC,EACrC,wCAAwC,GAIzC,MAAM,+DAA+D,CAAC;AAWvE;;;;;;GAMG;AACH,MAAM,OAAO,4BAA4B;IACvC;;OAEG;IACH,KAAK,CACH,KAAsC;QAEtC,OAAO;YACL,oBAAoB,EAAE,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,oBAAoB,CAAC;YACpE,wBAAwB,EAAE,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,wBAAwB,CAAC;YACvE,YAAY,EAAE,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,iBAAiB,EAAE,SAAS,CAAC;YAClE,YAAY,EAAE,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,iBAAiB,EAAE,SAAS,CAAC;SACnE,CAAC;IACJ,CAAC;IAEO,aAAa,CAAC,KAAyB;QAC7C,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,IACE,CAAC,MAAM,CAAC,aAAa,CAAC,KAAK,CAAC;YAC5B,KAAK,GAAG,CAAC;YACT,KAAK,GAAG,qCAAqC,EAC7C,CAAC;YACD,MAAM,IAAI,uCAAuC,CAC/C,4DAA4D;gBAC1D,GAAG,qCAAqC,SAAS,KAAK,UAAU,CACnE,CAAC;QACJ,CAAC;QAED,OAAO,KAAK,CAAC;IACf,CAAC;IAEO,QAAQ,CAAC,KAAyB;QACxC,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,IACE,CAAC,MAAM,CAAC,aAAa,CAAC,KAAK,CAAC;YAC5B,KAAK,GAAG,wCAAwC;YAChD,KAAK,GAAG,wCAAwC,EAChD,CAAC;YACD,MAAM,IAAI,uCAAuC,CAC/C,0DAA0D;gBACxD,GAAG,wCAAwC,OAAO;gBAClD,GAAG,wCAAwC,SAAS,KAAK,UAAU,CACtE,CAAC;QACJ,CAAC;QAED,OAAO,KAAK,CAAC;IACf,CAAC;IAED;;;;;OAKG;IACK,WAAW,CACjB,WAA6C;QAE7C,MAAM,GAAG,GAAG,WAAW,EAAE,WAAW,CAAC;QAErC,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,EAAE,EAAE,CAAC;YACpC,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,OAAO,uBAAuB,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC;IAC/C,CAAC;CACF"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { type BackgroundScheduler } from "../../../../util/background/background.js";
|
|
2
|
+
import type { SimAwsCaller } from "../../../aws/caller/sim-aws-caller.js";
|
|
3
|
+
import { type SimIamInterServiceAuthZ } from "../../../iam/authorize/sim-iam-inter-service-auth-z.js";
|
|
4
|
+
import type { SimLambdaFunctionLookup } from "../../function/url/sim-lambda-function-lookup.js";
|
|
5
|
+
export interface EventInvokeConfigCommandProperties {
|
|
6
|
+
readonly functions: SimLambdaFunctionLookup;
|
|
7
|
+
readonly iam?: SimIamInterServiceAuthZ;
|
|
8
|
+
readonly background?: BackgroundScheduler;
|
|
9
|
+
}
|
|
10
|
+
export interface EventInvokeConfigCommandOptions {
|
|
11
|
+
readonly caller?: SimAwsCaller;
|
|
12
|
+
}
|
|
13
|
+
interface EventInvokeConfigRequestProperties extends EventInvokeConfigCommandProperties {
|
|
14
|
+
readonly action: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* What every event invoke config command resolved from its request.
|
|
18
|
+
*/
|
|
19
|
+
export interface ResolvedEventInvokeConfigRequest {
|
|
20
|
+
readonly functionName: string;
|
|
21
|
+
readonly qualifier: string | undefined;
|
|
22
|
+
readonly functionArn: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* The opening of every event invoke config command.
|
|
26
|
+
*
|
|
27
|
+
* All five name a function the same way, authorize the same way and fail the
|
|
28
|
+
* same way when the function is missing. Only the action name differs, so the
|
|
29
|
+
* five handlers share this rather than repeating it.
|
|
30
|
+
*/
|
|
31
|
+
export declare class EventInvokeConfigRequest {
|
|
32
|
+
private readonly functions;
|
|
33
|
+
private readonly background;
|
|
34
|
+
private readonly authorizer;
|
|
35
|
+
constructor(properties: EventInvokeConfigRequestProperties);
|
|
36
|
+
/**
|
|
37
|
+
* Name the function this request is about, and check the caller may reach
|
|
38
|
+
* it.
|
|
39
|
+
*
|
|
40
|
+
* The qualifier comes from the request's own `Qualifier` or from the
|
|
41
|
+
* function name it was addressed to, as it does on Invoke.
|
|
42
|
+
*/
|
|
43
|
+
resolve(input: {
|
|
44
|
+
FunctionName?: string | undefined;
|
|
45
|
+
Qualifier?: string | undefined;
|
|
46
|
+
}, commandName: string, options?: EventInvokeConfigCommandOptions): Promise<ResolvedEventInvokeConfigRequest>;
|
|
47
|
+
}
|
|
48
|
+
export {};
|
|
49
|
+
//# sourceMappingURL=event-invoke-config-request.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-invoke-config-request.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/command/event-invoke-config/event-invoke-config-request.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,2CAA2C,CAAC;AAEnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,wDAAwD,CAAC;AAEhE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kDAAkD,CAAC;AAGhG,MAAM,WAAW,kCAAkC;IACjD,QAAQ,CAAC,SAAS,EAAE,uBAAuB,CAAC;IAC5C,QAAQ,CAAC,GAAG,CAAC,EAAE,uBAAuB,CAAC;IACvC,QAAQ,CAAC,UAAU,CAAC,EAAE,mBAAmB,CAAC;CAC3C;AAED,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC;AAED,UAAU,kCAAmC,SAAQ,kCAAkC;IACrF,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B;AAED;;;;;;GAMG;AACH,qBAAa,wBAAwB;IACnC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAA0B;IACpD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAsB;IACjD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA8B;IAEzD,YAAY,UAAU,EAAE,kCAAkC,EAYzD;IAED;;;;;;OAMG;IACG,OAAO,CACX,KAAK,EAAE;QACL,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAClC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;KAChC,EACD,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,gCAAgC,CAAC,CAkB3C;CACF"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { BackgroundTasks, } from "../../../../util/background/background.js";
|
|
2
|
+
import { assertDefined } from "../../../../util/type-guard/defined.js";
|
|
3
|
+
import { SimIamAllowAllAuth, } from "../../../iam/authorize/sim-iam-inter-service-auth-z.js";
|
|
4
|
+
import { simLambdaQualifiedFunctionOf } from "../../function/sim-lambda-function-reference.js";
|
|
5
|
+
import { EventInvokeConfigAuthorizer } from "./event-invoke-config-authorizer.js";
|
|
6
|
+
/**
|
|
7
|
+
* The opening of every event invoke config command.
|
|
8
|
+
*
|
|
9
|
+
* All five name a function the same way, authorize the same way and fail the
|
|
10
|
+
* same way when the function is missing. Only the action name differs, so the
|
|
11
|
+
* five handlers share this rather than repeating it.
|
|
12
|
+
*/
|
|
13
|
+
export class EventInvokeConfigRequest {
|
|
14
|
+
functions;
|
|
15
|
+
background;
|
|
16
|
+
authorizer;
|
|
17
|
+
constructor(properties) {
|
|
18
|
+
const { functions, iam = new SimIamAllowAllAuth(), background = new BackgroundTasks(), } = properties;
|
|
19
|
+
this.functions = functions;
|
|
20
|
+
this.background = background;
|
|
21
|
+
this.authorizer = new EventInvokeConfigAuthorizer({
|
|
22
|
+
iam,
|
|
23
|
+
action: properties.action,
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Name the function this request is about, and check the caller may reach
|
|
28
|
+
* it.
|
|
29
|
+
*
|
|
30
|
+
* The qualifier comes from the request's own `Qualifier` or from the
|
|
31
|
+
* function name it was addressed to, as it does on Invoke.
|
|
32
|
+
*/
|
|
33
|
+
async resolve(input, commandName, options) {
|
|
34
|
+
assertDefined(input.FunctionName, `${commandName}.input.FunctionName required`);
|
|
35
|
+
// Allow for potential non-deterministic sequencing of async events.
|
|
36
|
+
await this.background.sequence();
|
|
37
|
+
const { functionName, qualifier } = simLambdaQualifiedFunctionOf(input.FunctionName, input.Qualifier);
|
|
38
|
+
const functionArn = this.functions.functionArn(functionName, qualifier);
|
|
39
|
+
this.authorizer.authorize(functionArn, options?.caller);
|
|
40
|
+
this.functions.require(functionName);
|
|
41
|
+
return { functionName, qualifier, functionArn };
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=event-invoke-config-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-invoke-config-request.js","sourceRoot":"","sources":["../../../../../src/service/lambda/command/event-invoke-config/event-invoke-config-request.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,eAAe,GAChB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAEvE,OAAO,EACL,kBAAkB,GAEnB,MAAM,wDAAwD,CAAC;AAChE,OAAO,EAAE,4BAA4B,EAAE,MAAM,iDAAiD,CAAC;AAE/F,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAyBlF;;;;;;GAMG;AACH,MAAM,OAAO,wBAAwB;IAClB,SAAS,CAA0B;IACnC,UAAU,CAAsB;IAChC,UAAU,CAA8B;IAEzD,YAAY,UAA8C;QACxD,MAAM,EACJ,SAAS,EACT,GAAG,GAAG,IAAI,kBAAkB,EAAE,EAC9B,UAAU,GAAG,IAAI,eAAe,EAAE,GACnC,GAAG,UAAU,CAAC;QACf,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,UAAU,GAAG,IAAI,2BAA2B,CAAC;YAChD,GAAG;YACH,MAAM,EAAE,UAAU,CAAC,MAAM;SAC1B,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,OAAO,CACX,KAGC,EACD,WAAmB,EACnB,OAAyC;QAEzC,aAAa,CACX,KAAK,CAAC,YAAY,EAClB,GAAG,WAAW,8BAA8B,CAC7C,CAAC;QAEF,oEAAoE;QACpE,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;QAEjC,MAAM,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,4BAA4B,CAC9D,KAAK,CAAC,YAAY,EAClB,KAAK,CAAC,SAAS,CAChB,CAAC;QACF,MAAM,WAAW,GAAG,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,YAAY,EAAE,SAAS,CAAC,CAAC;QACxE,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,WAAW,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QACxD,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;QAErC,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC;IAClD,CAAC;CACF"}
|
package/dist/service/lambda/command/event-invoke-config/sim-lambda-event-invoke-config-commands.d.ts
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { BackgroundScheduler } from "../../../../util/background/background.js";
|
|
2
|
+
import type { SimIamInterServiceAuthZ } from "../../../iam/authorize/sim-iam-inter-service-auth-z.js";
|
|
3
|
+
import type { SimLambdaEventInvokeConfigStore } from "../../function/event-invoke/sim-lambda-event-invoke-config-store.js";
|
|
4
|
+
import type { SimLambdaFunctionLookup } from "../../function/url/sim-lambda-function-lookup.js";
|
|
5
|
+
import type { SimDeleteFunctionEventInvokeConfigCommand, SimDeleteFunctionEventInvokeConfigCommandOutput } from "../delete-function-event-invoke-config/delete-function-event-invoke-config.command.js";
|
|
6
|
+
import type { SimGetFunctionEventInvokeConfigCommand, SimGetFunctionEventInvokeConfigCommandOutput } from "../get-function-event-invoke-config/get-function-event-invoke-config.command.js";
|
|
7
|
+
import type { SimListFunctionEventInvokeConfigsCommand, SimListFunctionEventInvokeConfigsCommandOutput } from "../list-function-event-invoke-configs/list-function-event-invoke-configs.command.js";
|
|
8
|
+
import type { SimPutFunctionEventInvokeConfigCommand, SimPutFunctionEventInvokeConfigCommandOutput } from "../put-function-event-invoke-config/put-function-event-invoke-config.command.js";
|
|
9
|
+
import type { SimUpdateFunctionEventInvokeConfigCommand, SimUpdateFunctionEventInvokeConfigCommandOutput } from "../update-function-event-invoke-config/update-function-event-invoke-config.command.js";
|
|
10
|
+
import type { EventInvokeConfigCommandOptions } from "./event-invoke-config-request.js";
|
|
11
|
+
interface SimLambdaEventInvokeConfigCommandsProperties {
|
|
12
|
+
readonly eventInvokeConfigs: SimLambdaEventInvokeConfigStore;
|
|
13
|
+
readonly functions: SimLambdaFunctionLookup;
|
|
14
|
+
readonly iam: SimIamInterServiceAuthZ;
|
|
15
|
+
readonly background: BackgroundScheduler;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The event invoke config commands of one simulated Lambda scope.
|
|
19
|
+
*
|
|
20
|
+
* These five commands share the same collaborators and differ only in the
|
|
21
|
+
* handler they run, so grouping them here keeps the SimLambda facade a thin
|
|
22
|
+
* delegation rather than five near-identical wiring blocks.
|
|
23
|
+
*/
|
|
24
|
+
export declare class SimLambdaEventInvokeConfigCommands {
|
|
25
|
+
private readonly properties;
|
|
26
|
+
constructor(properties: SimLambdaEventInvokeConfigCommandsProperties);
|
|
27
|
+
/**
|
|
28
|
+
* Write a function's whole event invoke config.
|
|
29
|
+
*/
|
|
30
|
+
put(command: SimPutFunctionEventInvokeConfigCommand, options?: EventInvokeConfigCommandOptions): Promise<SimPutFunctionEventInvokeConfigCommandOutput>;
|
|
31
|
+
/**
|
|
32
|
+
* Read a function's event invoke config.
|
|
33
|
+
*/
|
|
34
|
+
get(command: SimGetFunctionEventInvokeConfigCommand, options?: EventInvokeConfigCommandOptions): Promise<SimGetFunctionEventInvokeConfigCommandOutput>;
|
|
35
|
+
/**
|
|
36
|
+
* Change part of a function's event invoke config.
|
|
37
|
+
*/
|
|
38
|
+
update(command: SimUpdateFunctionEventInvokeConfigCommand, options?: EventInvokeConfigCommandOptions): Promise<SimUpdateFunctionEventInvokeConfigCommandOutput>;
|
|
39
|
+
/**
|
|
40
|
+
* Delete a function's event invoke config.
|
|
41
|
+
*/
|
|
42
|
+
delete(command: SimDeleteFunctionEventInvokeConfigCommand, options?: EventInvokeConfigCommandOptions): Promise<SimDeleteFunctionEventInvokeConfigCommandOutput>;
|
|
43
|
+
/**
|
|
44
|
+
* List every event invoke config a function holds.
|
|
45
|
+
*/
|
|
46
|
+
list(command: SimListFunctionEventInvokeConfigsCommand, options?: EventInvokeConfigCommandOptions): Promise<SimListFunctionEventInvokeConfigsCommandOutput>;
|
|
47
|
+
}
|
|
48
|
+
export {};
|
|
49
|
+
//# sourceMappingURL=sim-lambda-event-invoke-config-commands.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-lambda-event-invoke-config-commands.d.ts","sourceRoot":"","sources":["../../../../../src/service/lambda/command/event-invoke-config/sim-lambda-event-invoke-config-commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wDAAwD,CAAC;AACtG,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,qEAAqE,CAAC;AAC3H,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kDAAkD,CAAC;AAEhG,OAAO,KAAK,EACV,yCAAyC,EACzC,+CAA+C,EAChD,MAAM,uFAAuF,CAAC;AAE/F,OAAO,KAAK,EACV,sCAAsC,EACtC,4CAA4C,EAC7C,MAAM,iFAAiF,CAAC;AAEzF,OAAO,KAAK,EACV,wCAAwC,EACxC,8CAA8C,EAC/C,MAAM,qFAAqF,CAAC;AAE7F,OAAO,KAAK,EACV,sCAAsC,EACtC,4CAA4C,EAC7C,MAAM,iFAAiF,CAAC;AAEzF,OAAO,KAAK,EACV,yCAAyC,EACzC,+CAA+C,EAChD,MAAM,uFAAuF,CAAC;AAC/F,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,kCAAkC,CAAC;AAExF,UAAU,4CAA4C;IACpD,QAAQ,CAAC,kBAAkB,EAAE,+BAA+B,CAAC;IAC7D,QAAQ,CAAC,SAAS,EAAE,uBAAuB,CAAC;IAC5C,QAAQ,CAAC,GAAG,EAAE,uBAAuB,CAAC;IACtC,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;CAC1C;AAED;;;;;;GAMG;AACH,qBAAa,kCAAkC;IAC7C,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA+C;IAE1E,YAAY,UAAU,EAAE,4CAA4C,EAEnE;IAED;;OAEG;IACG,GAAG,CACP,OAAO,EAAE,sCAAsC,EAC/C,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,4CAA4C,CAAC,CAIvD;IAED;;OAEG;IACG,GAAG,CACP,OAAO,EAAE,sCAAsC,EAC/C,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,4CAA4C,CAAC,CAIvD;IAED;;OAEG;IACG,MAAM,CACV,OAAO,EAAE,yCAAyC,EAClD,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,+CAA+C,CAAC,CAI1D;IAED;;OAEG;IACG,MAAM,CACV,OAAO,EAAE,yCAAyC,EAClD,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,+CAA+C,CAAC,CAI1D;IAED;;OAEG;IACG,IAAI,CACR,OAAO,EAAE,wCAAwC,EACjD,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,8CAA8C,CAAC,CAIzD;CACF"}
|
package/dist/service/lambda/command/event-invoke-config/sim-lambda-event-invoke-config-commands.js
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { DeleteFunctionEventInvokeConfigCommandHandler } from "../delete-function-event-invoke-config/delete-function-event-invoke-config.handler.js";
|
|
2
|
+
import { GetFunctionEventInvokeConfigCommandHandler } from "../get-function-event-invoke-config/get-function-event-invoke-config.handler.js";
|
|
3
|
+
import { ListFunctionEventInvokeConfigsCommandHandler } from "../list-function-event-invoke-configs/list-function-event-invoke-configs.handler.js";
|
|
4
|
+
import { PutFunctionEventInvokeConfigCommandHandler } from "../put-function-event-invoke-config/put-function-event-invoke-config.handler.js";
|
|
5
|
+
import { UpdateFunctionEventInvokeConfigCommandHandler } from "../update-function-event-invoke-config/update-function-event-invoke-config.handler.js";
|
|
6
|
+
/**
|
|
7
|
+
* The event invoke config commands of one simulated Lambda scope.
|
|
8
|
+
*
|
|
9
|
+
* These five commands share the same collaborators and differ only in the
|
|
10
|
+
* handler they run, so grouping them here keeps the SimLambda facade a thin
|
|
11
|
+
* delegation rather than five near-identical wiring blocks.
|
|
12
|
+
*/
|
|
13
|
+
export class SimLambdaEventInvokeConfigCommands {
|
|
14
|
+
properties;
|
|
15
|
+
constructor(properties) {
|
|
16
|
+
this.properties = properties;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Write a function's whole event invoke config.
|
|
20
|
+
*/
|
|
21
|
+
async put(command, options) {
|
|
22
|
+
return await new PutFunctionEventInvokeConfigCommandHandler(this.properties).handle(command, options);
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Read a function's event invoke config.
|
|
26
|
+
*/
|
|
27
|
+
async get(command, options) {
|
|
28
|
+
return await new GetFunctionEventInvokeConfigCommandHandler(this.properties).handle(command, options);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Change part of a function's event invoke config.
|
|
32
|
+
*/
|
|
33
|
+
async update(command, options) {
|
|
34
|
+
return await new UpdateFunctionEventInvokeConfigCommandHandler(this.properties).handle(command, options);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Delete a function's event invoke config.
|
|
38
|
+
*/
|
|
39
|
+
async delete(command, options) {
|
|
40
|
+
return await new DeleteFunctionEventInvokeConfigCommandHandler(this.properties).handle(command, options);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* List every event invoke config a function holds.
|
|
44
|
+
*/
|
|
45
|
+
async list(command, options) {
|
|
46
|
+
return await new ListFunctionEventInvokeConfigsCommandHandler(this.properties).handle(command, options);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=sim-lambda-event-invoke-config-commands.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-lambda-event-invoke-config-commands.js","sourceRoot":"","sources":["../../../../../src/service/lambda/command/event-invoke-config/sim-lambda-event-invoke-config-commands.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,6CAA6C,EAAE,MAAM,uFAAuF,CAAC;AAKtJ,OAAO,EAAE,0CAA0C,EAAE,MAAM,iFAAiF,CAAC;AAK7I,OAAO,EAAE,4CAA4C,EAAE,MAAM,qFAAqF,CAAC;AAKnJ,OAAO,EAAE,0CAA0C,EAAE,MAAM,iFAAiF,CAAC;AAK7I,OAAO,EAAE,6CAA6C,EAAE,MAAM,uFAAuF,CAAC;AActJ;;;;;;GAMG;AACH,MAAM,OAAO,kCAAkC;IAC5B,UAAU,CAA+C;IAE1E,YAAY,UAAwD;QAClE,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,GAAG,CACP,OAA+C,EAC/C,OAAyC;QAEzC,OAAO,MAAM,IAAI,0CAA0C,CACzD,IAAI,CAAC,UAAU,CAChB,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC7B,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,GAAG,CACP,OAA+C,EAC/C,OAAyC;QAEzC,OAAO,MAAM,IAAI,0CAA0C,CACzD,IAAI,CAAC,UAAU,CAChB,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC7B,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,MAAM,CACV,OAAkD,EAClD,OAAyC;QAEzC,OAAO,MAAM,IAAI,6CAA6C,CAC5D,IAAI,CAAC,UAAU,CAChB,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC7B,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,MAAM,CACV,OAAkD,EAClD,OAAyC;QAEzC,OAAO,MAAM,IAAI,6CAA6C,CAC5D,IAAI,CAAC,UAAU,CAChB,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC7B,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,IAAI,CACR,OAAiD,EACjD,OAAyC;QAEzC,OAAO,MAAM,IAAI,4CAA4C,CAC3D,IAAI,CAAC,UAAU,CAChB,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC7B,CAAC;CACF"}
|
|
@@ -8,7 +8,9 @@ import type { SimLambdaCodeStore } from "../../function/code/store/sim-lambda-co
|
|
|
8
8
|
import type { SimLambdaVmSdkModuleProvider } from "../../function/code/vm/sdk/sim-lambda-vm-sdk-module-provider.js";
|
|
9
9
|
import type { SimLogsServiceWriter } from "../../../logs/write/sim-logs-service-writer.js";
|
|
10
10
|
import type { SimLambdaOutboundHttp } from "../../function/outbound/sim-lambda-outbound-http.js";
|
|
11
|
+
import type { SimLambdaDestinationTargets } from "../../destination/sim-lambda-destination-targets.js";
|
|
11
12
|
import type { SimLambdaEnvironmentConflicts } from "../../function/environment/sim-lambda-environment-conflicts.js";
|
|
13
|
+
import type { SimLambdaEventInvokeConfigStore } from "../../function/event-invoke/sim-lambda-event-invoke-config-store.js";
|
|
12
14
|
import type { SimLambdaFunctionMap } from "../../function/sim-lambda-function.js";
|
|
13
15
|
import type { SimLambdaFunctionLookup } from "../../function/url/sim-lambda-function-lookup.js";
|
|
14
16
|
import type { SimLambdaFunctionUrlStore } from "../../function/url/sim-lambda-function-url-store.js";
|
|
@@ -30,6 +32,8 @@ interface SimLambdaFunctionCommandsProperties {
|
|
|
30
32
|
readonly functionUrls: SimLambdaFunctionUrlStore;
|
|
31
33
|
readonly versions: SimLambdaFunctionVersionStore;
|
|
32
34
|
readonly environmentConflicts: SimLambdaEnvironmentConflicts;
|
|
35
|
+
readonly eventInvokeConfigs: SimLambdaEventInvokeConfigStore;
|
|
36
|
+
readonly destinations: SimLambdaDestinationTargets;
|
|
33
37
|
readonly codeStore?: SimLambdaCodeStore | undefined;
|
|
34
38
|
readonly containerImages?: SimLambdaContainerImages | undefined;
|
|
35
39
|
readonly vmSdkModuleProvider?: SimLambdaVmSdkModuleProvider | undefined;
|