@kensio/yulin 0.42.0 → 0.44.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/README.md +1 -0
- package/dist/sdk/router/resolve-sim-sdk-command-router.d.ts.map +1 -1
- package/dist/sdk/router/resolve-sim-sdk-command-router.js +3 -0
- package/dist/sdk/router/resolve-sim-sdk-command-router.js.map +1 -1
- package/dist/serve/controller/factory/sim-aws-service-controller-factory.d.ts.map +1 -1
- package/dist/serve/controller/factory/sim-aws-service-controller-factory.js +4 -0
- package/dist/serve/controller/factory/sim-aws-service-controller-factory.js.map +1 -1
- package/dist/serve/controller/sim-aws-service-signing-name.d.ts.map +1 -1
- package/dist/serve/controller/sim-aws-service-signing-name.js +3 -0
- package/dist/serve/controller/sim-aws-service-signing-name.js.map +1 -1
- package/dist/serve/controller/sim-service-controller.d.ts +1 -1
- package/dist/serve/controller/sim-service-controller.d.ts.map +1 -1
- package/dist/serve/controller/sim-service-controller.js.map +1 -1
- package/dist/serve/http/url/sim-aws-local-url.d.ts.map +1 -1
- package/dist/serve/http/url/sim-aws-local-url.js +1 -0
- package/dist/serve/http/url/sim-aws-local-url.js.map +1 -1
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts +112 -0
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts.map +1 -0
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.js +196 -0
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.js.map +1 -0
- package/dist/service/aws/factory/sim-aws-account-service-cache.d.ts +2 -1
- package/dist/service/aws/factory/sim-aws-account-service-cache.d.ts.map +1 -1
- package/dist/service/aws/factory/sim-aws-account-service-cache.js +2 -1
- package/dist/service/aws/factory/sim-aws-account-service-cache.js.map +1 -1
- package/dist/service/aws/factory/sim-aws-request-auth-wiring.d.ts +45 -0
- package/dist/service/aws/factory/sim-aws-request-auth-wiring.d.ts.map +1 -0
- package/dist/service/aws/factory/sim-aws-request-auth-wiring.js +51 -0
- package/dist/service/aws/factory/sim-aws-request-auth-wiring.js.map +1 -0
- package/dist/service/aws/factory/sim-aws-scoped-service-registries.d.ts +7 -0
- package/dist/service/aws/factory/sim-aws-scoped-service-registries.d.ts.map +1 -1
- package/dist/service/aws/factory/sim-aws-scoped-service-registries.js +7 -0
- package/dist/service/aws/factory/sim-aws-scoped-service-registries.js.map +1 -1
- package/dist/service/aws/factory/sim-aws-service-factory.d.ts +32 -74
- package/dist/service/aws/factory/sim-aws-service-factory.d.ts.map +1 -1
- package/dist/service/aws/factory/sim-aws-service-factory.js +46 -162
- package/dist/service/aws/factory/sim-aws-service-factory.js.map +1 -1
- package/dist/service/aws/sim-aws-account-region-scope.d.ts +5 -0
- package/dist/service/aws/sim-aws-account-region-scope.d.ts.map +1 -1
- package/dist/service/aws/sim-aws-account-region-scope.factory.d.ts +1 -1
- package/dist/service/aws/sim-aws-account-region-scope.factory.d.ts.map +1 -1
- package/dist/service/aws/sim-aws-account-region-scope.js +6 -0
- package/dist/service/aws/sim-aws-account-region-scope.js.map +1 -1
- package/dist/service/aws/sim-aws-request-authentication.d.ts +3 -3
- package/dist/service/aws/sim-aws-request-authentication.d.ts.map +1 -1
- package/dist/service/aws/sim-aws-request-authentication.js +4 -4
- package/dist/service/aws/sim-aws-request-authentication.js.map +1 -1
- package/dist/service/aws/sim-aws.d.ts +3 -0
- package/dist/service/aws/sim-aws.d.ts.map +1 -1
- package/dist/service/aws/sim-aws.js +5 -1
- package/dist/service/aws/sim-aws.js.map +1 -1
- package/dist/service/cloudformation/resource/cfn/cloudfront/sim-cff-cfn.factory.d.ts +1 -1
- package/dist/service/cloudformation/resource/cfn/cloudfront/sim-cff-cfn.factory.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-cfn-value-adapter.d.ts +6 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-cfn-value-adapter.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-cfn-value-adapter.js +25 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-cfn-value-adapter.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-cfn.d.ts +30 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-cfn.js +45 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-cfn.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-client-cfn.d.ts +30 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-client-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-client-cfn.js +32 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-client-cfn.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-group-cfn.d.ts +25 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-group-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-group-cfn.js +24 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-group-cfn.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-cfn-value-adapter.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-cfn-value-adapter.js +8 -0
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-cfn-value-adapter.js.map +1 -1
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-event-source-mapping-cfn.d.ts +28 -0
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-event-source-mapping-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-event-source-mapping-cfn.js +33 -0
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-event-source-mapping-cfn.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/sim-cfn-resource-value-adapter.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/cfn/sim-cfn-resource-value-adapter.js +4 -0
- package/dist/service/cloudformation/resource/cfn/sim-cfn-resource-value-adapter.js.map +1 -1
- package/dist/service/cloudformation/resource/cfn/sqs/sim-sqs-cfn-value-adapter.d.ts +6 -0
- package/dist/service/cloudformation/resource/cfn/sqs/sim-sqs-cfn-value-adapter.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/sqs/sim-sqs-cfn-value-adapter.js +13 -0
- package/dist/service/cloudformation/resource/cfn/sqs/sim-sqs-cfn-value-adapter.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/sqs/sim-sqs-queue-cfn.d.ts +28 -0
- package/dist/service/cloudformation/resource/cfn/sqs/sim-sqs-queue-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/sqs/sim-sqs-queue-cfn.js +40 -0
- package/dist/service/cloudformation/resource/cfn/sqs/sim-sqs-queue-cfn.js.map +1 -0
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-resolver.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-resolver.js +6 -0
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-resolver.js.map +1 -1
- package/dist/service/cloudformation/resource/sim-cfn-resource.d.ts +3 -0
- package/dist/service/cloudformation/resource/sim-cfn-resource.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/sim-cfn-resource.factory.d.ts +1 -1
- package/dist/service/cloudformation/resource/sim-cfn-resource.factory.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/sim-cfn-resource.js +4 -1
- package/dist/service/cloudformation/resource/sim-cfn-resource.js.map +1 -1
- package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-map.d.ts.map +1 -1
- package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-map.js +1 -0
- package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-map.js.map +1 -1
- package/dist/service/cloudfront/distribution/sim-cf-distro-config.factory.d.ts +1 -1
- package/dist/service/cloudfront/distribution/sim-cf-distro-config.factory.d.ts.map +1 -1
- package/dist/service/cloudfront/factory/cloudfront-functions.factory.d.ts +4 -4
- package/dist/service/cloudfront/factory/cloudfront-functions.factory.d.ts.map +1 -1
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-creator.d.ts +25 -0
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-creator.d.ts.map +1 -0
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-creator.js +36 -0
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-creator.js.map +1 -0
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.d.ts +35 -0
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.d.ts.map +1 -0
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js +88 -0
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js.map +1 -0
- package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-creator.d.ts +24 -0
- package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-creator.d.ts.map +1 -0
- package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-creator.js +34 -0
- package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-creator.js.map +1 -0
- package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-properties.d.ts +32 -0
- package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-properties.d.ts.map +1 -0
- package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-properties.js +55 -0
- package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-properties.js.map +1 -0
- package/dist/service/cognito/cfn/sim-cfn-cognito-property-parser.d.ts +52 -0
- package/dist/service/cognito/cfn/sim-cfn-cognito-property-parser.d.ts.map +1 -0
- package/dist/service/cognito/cfn/sim-cfn-cognito-property-parser.js +77 -0
- package/dist/service/cognito/cfn/sim-cfn-cognito-property-parser.js.map +1 -0
- package/dist/service/cognito/cfn/sim-cfn-cognito-resource-factory.d.ts +25 -0
- package/dist/service/cognito/cfn/sim-cfn-cognito-resource-factory.d.ts.map +1 -0
- package/dist/service/cognito/cfn/sim-cfn-cognito-resource-factory.js +42 -0
- package/dist/service/cognito/cfn/sim-cfn-cognito-resource-factory.js.map +1 -0
- package/dist/service/cognito/cfn/sim-cfn-cognito-value-parser.d.ts +51 -0
- package/dist/service/cognito/cfn/sim-cfn-cognito-value-parser.d.ts.map +1 -0
- package/dist/service/cognito/cfn/sim-cfn-cognito-value-parser.js +87 -0
- package/dist/service/cognito/cfn/sim-cfn-cognito-value-parser.js.map +1 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-password-policy.d.ts +28 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-password-policy.d.ts.map +1 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-password-policy.js +53 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-password-policy.js.map +1 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-policies.d.ts +27 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-policies.d.ts.map +1 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-policies.js +41 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-policies.js.map +1 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.d.ts +25 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.d.ts.map +1 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.js +32 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.js.map +1 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-creator.d.ts +26 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-creator.d.ts.map +1 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-creator.js +33 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-creator.js.map +1 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.d.ts +31 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.d.ts.map +1 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js +60 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js.map +1 -0
- package/dist/service/cognito/command/auth/auth.command.d.ts +162 -0
- package/dist/service/cognito/command/auth/auth.command.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/auth.command.js +2 -0
- package/dist/service/cognito/command/auth/auth.command.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-admin-initiate-auth.d.ts +32 -0
- package/dist/service/cognito/command/auth/sim-cognito-admin-initiate-auth.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-admin-initiate-auth.js +37 -0
- package/dist/service/cognito/command/auth/sim-cognito-admin-initiate-auth.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-admin-respond-to-challenge.d.ts +29 -0
- package/dist/service/cognito/command/auth/sim-cognito-admin-respond-to-challenge.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-admin-respond-to-challenge.js +34 -0
- package/dist/service/cognito/command/auth/sim-cognito-admin-respond-to-challenge.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-challenge.d.ts +12 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-challenge.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-challenge.js +20 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-challenge.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-commands.d.ts +31 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-commands.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-commands.js +63 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-commands.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.d.ts +26 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.js +25 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-flow.d.ts +42 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-flow.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-flow.js +52 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-flow.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-flows.d.ts +48 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-flows.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-flows.js +79 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-flows.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.d.ts +21 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.js +33 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-resolver.d.ts +61 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-resolver.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-resolver.js +56 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-resolver.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-authentication-result.d.ts +17 -0
- package/dist/service/cognito/command/auth/sim-cognito-authentication-result.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-authentication-result.js +26 -0
- package/dist/service/cognito/command/auth/sim-cognito-authentication-result.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-initiate-auth.d.ts +27 -0
- package/dist/service/cognito/command/auth/sim-cognito-initiate-auth.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-initiate-auth.js +36 -0
- package/dist/service/cognito/command/auth/sim-cognito-initiate-auth.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.d.ts +28 -0
- package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.js +39 -0
- package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-new-password-response.d.ts +39 -0
- package/dist/service/cognito/command/auth/sim-cognito-new-password-response.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-new-password-response.js +47 -0
- package/dist/service/cognito/command/auth/sim-cognito-new-password-response.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-password-sign-in.d.ts +42 -0
- package/dist/service/cognito/command/auth/sim-cognito-password-sign-in.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-password-sign-in.js +39 -0
- package/dist/service/cognito/command/auth/sim-cognito-password-sign-in.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-refresh-sign-in.d.ts +28 -0
- package/dist/service/cognito/command/auth/sim-cognito-refresh-sign-in.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-refresh-sign-in.js +42 -0
- package/dist/service/cognito/command/auth/sim-cognito-refresh-sign-in.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-respond-to-challenge.d.ts +26 -0
- package/dist/service/cognito/command/auth/sim-cognito-respond-to-challenge.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-respond-to-challenge.js +35 -0
- package/dist/service/cognito/command/auth/sim-cognito-respond-to-challenge.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-sign-out.d.ts +39 -0
- package/dist/service/cognito/command/auth/sim-cognito-sign-out.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-sign-out.js +42 -0
- package/dist/service/cognito/command/auth/sim-cognito-sign-out.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-unsimulated-auth-options.d.ts +37 -0
- package/dist/service/cognito/command/auth/sim-cognito-unsimulated-auth-options.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-unsimulated-auth-options.js +54 -0
- package/dist/service/cognito/command/auth/sim-cognito-unsimulated-auth-options.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-commands.d.ts.map +1 -1
- package/dist/service/cognito/command/client/sim-cognito-user-pool-client-commands.js +1 -0
- package/dist/service/cognito/command/client/sim-cognito-user-pool-client-commands.js.map +1 -1
- package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.d.ts +2 -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 +3 -1
- 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/group/group-membership.command.d.ts +70 -0
- package/dist/service/cognito/command/group/group-membership.command.d.ts.map +1 -0
- package/dist/service/cognito/command/group/group-membership.command.js +2 -0
- package/dist/service/cognito/command/group/group-membership.command.js.map +1 -0
- package/dist/service/cognito/command/group/group.command.d.ts +102 -0
- package/dist/service/cognito/command/group/group.command.d.ts.map +1 -0
- package/dist/service/cognito/command/group/group.command.js +2 -0
- package/dist/service/cognito/command/group/group.command.js.map +1 -0
- package/dist/service/cognito/command/group/sim-cognito-group-commands.d.ts +51 -0
- package/dist/service/cognito/command/group/sim-cognito-group-commands.d.ts.map +1 -0
- package/dist/service/cognito/command/group/sim-cognito-group-commands.js +67 -0
- package/dist/service/cognito/command/group/sim-cognito-group-commands.js.map +1 -0
- package/dist/service/cognito/command/group/sim-cognito-group-membership-commands.d.ts +46 -0
- package/dist/service/cognito/command/group/sim-cognito-group-membership-commands.d.ts.map +1 -0
- package/dist/service/cognito/command/group/sim-cognito-group-membership-commands.js +80 -0
- package/dist/service/cognito/command/group/sim-cognito-group-membership-commands.js.map +1 -0
- package/dist/service/cognito/command/group/sim-cognito-group-view.d.ts +18 -0
- package/dist/service/cognito/command/group/sim-cognito-group-view.d.ts.map +1 -0
- package/dist/service/cognito/command/group/sim-cognito-group-view.js +26 -0
- package/dist/service/cognito/command/group/sim-cognito-group-view.js.map +1 -0
- package/dist/service/cognito/command/group/sim-cognito-list-groups.d.ts +27 -0
- package/dist/service/cognito/command/group/sim-cognito-list-groups.d.ts.map +1 -0
- package/dist/service/cognito/command/group/sim-cognito-list-groups.js +38 -0
- package/dist/service/cognito/command/group/sim-cognito-list-groups.js.map +1 -0
- package/dist/service/cognito/command/sim-cognito-command.types.d.ts +5 -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 +44 -0
- package/dist/service/cognito/command/sim-cognito-commands.d.ts.map +1 -0
- package/dist/service/cognito/command/sim-cognito-commands.js +72 -0
- package/dist/service/cognito/command/sim-cognito-commands.js.map +1 -0
- package/dist/service/cognito/command/sim-cognito-page.d.ts +12 -2
- package/dist/service/cognito/command/sim-cognito-page.d.ts.map +1 -1
- package/dist/service/cognito/command/sim-cognito-page.js +8 -8
- package/dist/service/cognito/command/sim-cognito-page.js.map +1 -1
- package/dist/service/cognito/command/sim-cognito-request-resolver.d.ts +86 -0
- package/dist/service/cognito/command/sim-cognito-request-resolver.d.ts.map +1 -0
- package/dist/service/cognito/command/sim-cognito-request-resolver.js +74 -0
- package/dist/service/cognito/command/sim-cognito-request-resolver.js.map +1 -0
- package/dist/service/cognito/command/user/list-users.command.d.ts +30 -0
- package/dist/service/cognito/command/user/list-users.command.d.ts.map +1 -0
- package/dist/service/cognito/command/user/list-users.command.js +2 -0
- package/dist/service/cognito/command/user/list-users.command.js.map +1 -0
- package/dist/service/cognito/command/user/sim-cognito-list-users.d.ts +30 -0
- package/dist/service/cognito/command/user/sim-cognito-list-users.d.ts.map +1 -0
- package/dist/service/cognito/command/user/sim-cognito-list-users.js +46 -0
- package/dist/service/cognito/command/user/sim-cognito-list-users.js.map +1 -0
- package/dist/service/cognito/command/user/sim-cognito-unsimulated-user-options.d.ts +35 -0
- package/dist/service/cognito/command/user/sim-cognito-unsimulated-user-options.d.ts.map +1 -0
- package/dist/service/cognito/command/user/sim-cognito-unsimulated-user-options.js +45 -0
- package/dist/service/cognito/command/user/sim-cognito-unsimulated-user-options.js.map +1 -0
- package/dist/service/cognito/command/user/sim-cognito-user-commands.d.ts +53 -0
- package/dist/service/cognito/command/user/sim-cognito-user-commands.d.ts.map +1 -0
- package/dist/service/cognito/command/user/sim-cognito-user-commands.js +72 -0
- package/dist/service/cognito/command/user/sim-cognito-user-commands.js.map +1 -0
- package/dist/service/cognito/command/user/sim-cognito-user-update-commands.d.ts +47 -0
- package/dist/service/cognito/command/user/sim-cognito-user-update-commands.d.ts.map +1 -0
- package/dist/service/cognito/command/user/sim-cognito-user-update-commands.js +63 -0
- package/dist/service/cognito/command/user/sim-cognito-user-update-commands.js.map +1 -0
- package/dist/service/cognito/command/user/sim-cognito-user-view.d.ts +21 -0
- package/dist/service/cognito/command/user/sim-cognito-user-view.d.ts.map +1 -0
- package/dist/service/cognito/command/user/sim-cognito-user-view.js +37 -0
- package/dist/service/cognito/command/user/sim-cognito-user-view.js.map +1 -0
- package/dist/service/cognito/command/user/user.command.d.ts +135 -0
- package/dist/service/cognito/command/user/user.command.d.ts.map +1 -0
- package/dist/service/cognito/command/user/user.command.js +2 -0
- package/dist/service/cognito/command/user/user.command.js.map +1 -0
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.d.ts +4 -3
- 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 +5 -4
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.js.map +1 -1
- package/dist/service/cognito/error/sim-cognito.error.d.ts +51 -0
- package/dist/service/cognito/error/sim-cognito.error.d.ts.map +1 -1
- package/dist/service/cognito/error/sim-cognito.error.js +61 -0
- package/dist/service/cognito/error/sim-cognito.error.js.map +1 -1
- package/dist/service/cognito/index.d.ts +16 -1
- package/dist/service/cognito/index.d.ts.map +1 -1
- package/dist/service/cognito/index.js +14 -1
- package/dist/service/cognito/index.js.map +1 -1
- package/dist/service/cognito/registry/sim-cognito-user-pool-registry.d.ts +31 -0
- package/dist/service/cognito/registry/sim-cognito-user-pool-registry.d.ts.map +1 -0
- package/dist/service/cognito/registry/sim-cognito-user-pool-registry.js +38 -0
- package/dist/service/cognito/registry/sim-cognito-user-pool-registry.js.map +1 -0
- package/dist/service/cognito/sdk/sim-cognito-sdk-auth-routes.d.ts +11 -0
- package/dist/service/cognito/sdk/sim-cognito-sdk-auth-routes.d.ts.map +1 -0
- package/dist/service/cognito/sdk/sim-cognito-sdk-auth-routes.js +37 -0
- package/dist/service/cognito/sdk/sim-cognito-sdk-auth-routes.js.map +1 -0
- package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.d.ts +5 -1
- 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 +10 -33
- package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.js.map +1 -1
- package/dist/service/cognito/sdk/sim-cognito-sdk-directory-routes.d.ts +7 -0
- package/dist/service/cognito/sdk/sim-cognito-sdk-directory-routes.d.ts.map +1 -0
- package/dist/service/cognito/sdk/sim-cognito-sdk-directory-routes.js +77 -0
- package/dist/service/cognito/sdk/sim-cognito-sdk-directory-routes.js.map +1 -0
- package/dist/service/cognito/sdk/sim-cognito-sdk-pool-routes.d.ts +7 -0
- package/dist/service/cognito/sdk/sim-cognito-sdk-pool-routes.d.ts.map +1 -0
- package/dist/service/cognito/sdk/sim-cognito-sdk-pool-routes.js +41 -0
- package/dist/service/cognito/sdk/sim-cognito-sdk-pool-routes.js.map +1 -0
- package/dist/service/cognito/serve/sim-cognito-controller.d.ts +40 -0
- package/dist/service/cognito/serve/sim-cognito-controller.d.ts.map +1 -0
- package/dist/service/cognito/serve/sim-cognito-controller.js +91 -0
- package/dist/service/cognito/serve/sim-cognito-controller.js.map +1 -0
- package/dist/service/cognito/serve/sim-cognito-endpoint-response.d.ts +32 -0
- package/dist/service/cognito/serve/sim-cognito-endpoint-response.d.ts.map +1 -0
- package/dist/service/cognito/serve/sim-cognito-endpoint-response.js +51 -0
- package/dist/service/cognito/serve/sim-cognito-endpoint-response.js.map +1 -0
- package/dist/service/cognito/serve/sim-cognito-openid-configuration.d.ts +36 -0
- package/dist/service/cognito/serve/sim-cognito-openid-configuration.d.ts.map +1 -0
- package/dist/service/cognito/serve/sim-cognito-openid-configuration.js +36 -0
- package/dist/service/cognito/serve/sim-cognito-openid-configuration.js.map +1 -0
- package/dist/service/cognito/sim-cognito-authentication.d.ts +59 -0
- package/dist/service/cognito/sim-cognito-authentication.d.ts.map +1 -0
- package/dist/service/cognito/sim-cognito-authentication.js +68 -0
- package/dist/service/cognito/sim-cognito-authentication.js.map +1 -0
- package/dist/service/cognito/sim-cognito-identity-provider.d.ts +32 -11
- package/dist/service/cognito/sim-cognito-identity-provider.d.ts.map +1 -1
- package/dist/service/cognito/sim-cognito-identity-provider.js +57 -43
- package/dist/service/cognito/sim-cognito-identity-provider.js.map +1 -1
- package/dist/service/cognito/sim-cognito-user-directory.d.ts +91 -0
- package/dist/service/cognito/sim-cognito-user-directory.d.ts.map +1 -0
- package/dist/service/cognito/sim-cognito-user-directory.js +136 -0
- package/dist/service/cognito/sim-cognito-user-directory.js.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session-store.d.ts +45 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session-store.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session-store.js +60 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session-store.js.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.d.ts +31 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.js +45 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.js.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.d.ts +59 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.js +81 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.js.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.d.ts +37 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.js +39 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.js.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.d.ts +49 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.js +63 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.js.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-secret-hash.d.ts +17 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-secret-hash.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-secret-hash.js +34 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-secret-hash.js.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.d.ts +31 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.js +49 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.js.map +1 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-prevent-user-existence-errors.d.ts +24 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-prevent-user-existence-errors.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-prevent-user-existence-errors.js +46 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-prevent-user-existence-errors.js.map +1 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.d.ts +1 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.js +2 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.js.map +1 -1
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.d.ts +3 -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 +2 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.js.map +1 -1
- package/dist/service/cognito/user-pool/group/sim-cognito-group-factory.d.ts +26 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group-factory.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group-factory.js +22 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group-factory.js.map +1 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group-name.d.ts +10 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group-name.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group-name.js +15 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group-name.js.map +1 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group-settings.d.ts +33 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group-settings.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group-settings.js +68 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group-settings.js.map +1 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group-store.d.ts +45 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group-store.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group-store.js +77 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group-store.js.map +1 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group.d.ts +77 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group.js +90 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group.js.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-identifier.d.ts +26 -0
- package/dist/service/cognito/user-pool/sim-cognito-identifier.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-identifier.js +34 -0
- package/dist/service/cognito/user-pool/sim-cognito-identifier.js.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-password-check.d.ts +24 -0
- package/dist/service/cognito/user-pool/sim-cognito-password-check.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-password-check.js +73 -0
- package/dist/service/cognito/user-pool/sim-cognito-password-check.js.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.d.ts +50 -0
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.js +56 -2
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.js.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool.d.ts +98 -0
- 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 +132 -0
- package/dist/service/cognito/user-pool/sim-cognito-user-pool.js.map +1 -1
- package/dist/service/cognito/user-pool/token/sim-cognito-access-token.d.ts +18 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-access-token.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-access-token.js +40 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-access-token.js.map +1 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-id-token.d.ts +26 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-id-token.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-id-token.js +42 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-id-token.js.map +1 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-signing-key.d.ts +64 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-signing-key.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-signing-key.js +91 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-signing-key.js.map +1 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-token-claims.d.ts +37 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-token-claims.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-token-claims.js +41 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-token-claims.js.map +1 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.d.ts +62 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.js +95 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.js.map +1 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-attributes.d.ts +44 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-attributes.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-attributes.js +105 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-attributes.js.map +1 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-factory.d.ts +34 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-factory.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-factory.js +36 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-factory.js.map +1 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-password.d.ts +17 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-password.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-password.js +21 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-password.js.map +1 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-status.d.ts +39 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-status.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-status.js +47 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-status.js.map +1 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-store.d.ts +46 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-store.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-store.js +73 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-store.js.map +1 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user.d.ts +98 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user.js +122 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user.js.map +1 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-username.d.ts +10 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-username.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-username.js +12 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-username.js.map +1 -0
- package/dist/service/iam/policy/sim-iam-policy-document.factory.d.ts +43 -0
- package/dist/service/iam/policy/sim-iam-policy-document.factory.d.ts.map +1 -0
- package/dist/service/iam/policy/sim-iam-policy-document.factory.js +46 -0
- package/dist/service/iam/policy/sim-iam-policy-document.factory.js.map +1 -0
- package/dist/service/iam/policy/sim-iam-policy.factory.d.ts +1 -1
- package/dist/service/iam/policy/sim-iam-policy.factory.d.ts.map +1 -1
- package/dist/service/iam/role/sim-iam-role.factory.d.ts +1 -1
- package/dist/service/iam/role/sim-iam-role.factory.d.ts.map +1 -1
- package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-creator.d.ts +26 -0
- package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-creator.d.ts.map +1 -0
- package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-creator.js +33 -0
- package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-creator.js.map +1 -0
- package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-properties.d.ts +28 -0
- package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-properties.d.ts.map +1 -0
- package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-properties.js +38 -0
- package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-properties.js.map +1 -0
- package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-property-rules.d.ts +17 -0
- package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-property-rules.d.ts.map +1 -0
- package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-property-rules.js +71 -0
- package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-property-rules.js.map +1 -0
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-property-parser.d.ts +4 -0
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-property-parser.d.ts.map +1 -1
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-property-parser.js +12 -0
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-property-parser.js.map +1 -1
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-target-function.d.ts +5 -6
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-target-function.d.ts.map +1 -1
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-target-function.js +7 -13
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-target-function.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/command/event-source-mapping/create-event-source-mapping-input.d.ts +25 -0
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-input.d.ts.map +1 -0
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-input.js +55 -0
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-input.js.map +1 -0
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-refusals.d.ts +6 -0
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-refusals.d.ts.map +1 -0
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-refusals.js +64 -0
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-refusals.js.map +1 -0
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-values.d.ts +17 -0
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-values.d.ts.map +1 -0
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-values.js +47 -0
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-values.js.map +1 -0
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping.handler.d.ts +53 -0
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping.handler.d.ts.map +1 -0
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping.handler.js +77 -0
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping.handler.js.map +1 -0
- package/dist/service/lambda/command/event-source-mapping/event-source-mapping-access.d.ts +41 -0
- package/dist/service/lambda/command/event-source-mapping/event-source-mapping-access.d.ts.map +1 -0
- package/dist/service/lambda/command/event-source-mapping/event-source-mapping-access.js +51 -0
- package/dist/service/lambda/command/event-source-mapping/event-source-mapping-access.js.map +1 -0
- package/dist/service/lambda/command/event-source-mapping/event-source-mapping.command.d.ts +91 -0
- package/dist/service/lambda/command/event-source-mapping/event-source-mapping.command.d.ts.map +1 -0
- package/dist/service/lambda/command/event-source-mapping/event-source-mapping.command.js +8 -0
- package/dist/service/lambda/command/event-source-mapping/event-source-mapping.command.js.map +1 -0
- package/dist/service/lambda/command/event-source-mapping/sim-lambda-event-source-mapping-commands.d.ts +60 -0
- package/dist/service/lambda/command/event-source-mapping/sim-lambda-event-source-mapping-commands.d.ts.map +1 -0
- package/dist/service/lambda/command/event-source-mapping/sim-lambda-event-source-mapping-commands.js +89 -0
- package/dist/service/lambda/command/event-source-mapping/sim-lambda-event-source-mapping-commands.js.map +1 -0
- package/dist/service/lambda/command/sim-lambda-command.types.d.ts +1 -0
- package/dist/service/lambda/command/sim-lambda-command.types.d.ts.map +1 -1
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-delivery.d.ts +27 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-delivery.d.ts.map +1 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-delivery.js +32 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-delivery.js.map +1 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poll-schedule.d.ts +40 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poll-schedule.d.ts.map +1 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poll-schedule.js +55 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poll-schedule.js.map +1 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poller.d.ts +85 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poller.d.ts.map +1 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poller.js +136 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poller.js.map +1 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-batch-response.d.ts +49 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-batch-response.d.ts.map +1 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-batch-response.js +97 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-batch-response.js.map +1 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-event.d.ts +56 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-event.d.ts.map +1 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-event.js +55 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-event.js.map +1 -0
- package/dist/service/lambda/event-source/queue/sim-lambda-event-source-queue-service.d.ts +49 -0
- package/dist/service/lambda/event-source/queue/sim-lambda-event-source-queue-service.d.ts.map +1 -0
- package/dist/service/lambda/event-source/queue/sim-lambda-event-source-queue-service.js +2 -0
- package/dist/service/lambda/event-source/queue/sim-lambda-event-source-queue-service.js.map +1 -0
- package/dist/service/lambda/event-source/queue/sim-lambda-event-source-queues.d.ts +118 -0
- package/dist/service/lambda/event-source/queue/sim-lambda-event-source-queues.d.ts.map +1 -0
- package/dist/service/lambda/event-source/queue/sim-lambda-event-source-queues.js +49 -0
- package/dist/service/lambda/event-source/queue/sim-lambda-event-source-queues.js.map +1 -0
- package/dist/service/lambda/event-source/queue/sim-lambda-sqs-event-source-arn.d.ts +32 -0
- package/dist/service/lambda/event-source/queue/sim-lambda-sqs-event-source-arn.d.ts.map +1 -0
- package/dist/service/lambda/event-source/queue/sim-lambda-sqs-event-source-arn.js +52 -0
- package/dist/service/lambda/event-source/queue/sim-lambda-sqs-event-source-arn.js.map +1 -0
- package/dist/service/lambda/event-source/queue/sim-sqs-event-source-queue-attributes.d.ts +29 -0
- package/dist/service/lambda/event-source/queue/sim-sqs-event-source-queue-attributes.d.ts.map +1 -0
- package/dist/service/lambda/event-source/queue/sim-sqs-event-source-queue-attributes.js +49 -0
- package/dist/service/lambda/event-source/queue/sim-sqs-event-source-queue-attributes.js.map +1 -0
- package/dist/service/lambda/event-source/queue/sim-sqs-event-source-queues.d.ts +57 -0
- package/dist/service/lambda/event-source/queue/sim-sqs-event-source-queues.d.ts.map +1 -0
- package/dist/service/lambda/event-source/queue/sim-sqs-event-source-queues.js +89 -0
- package/dist/service/lambda/event-source/queue/sim-sqs-event-source-queues.js.map +1 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-mapping-store.d.ts +46 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-mapping-store.d.ts.map +1 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-mapping-store.js +57 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-mapping-store.js.map +1 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.d.ts +101 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.d.ts.map +1 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.js +93 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.js.map +1 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-pollers.d.ts +37 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-pollers.d.ts.map +1 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-pollers.js +44 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-pollers.js.map +1 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-role-permissions.d.ts +23 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-role-permissions.d.ts.map +1 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-role-permissions.js +46 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-role-permissions.js.map +1 -0
- package/dist/service/lambda/function/code/sim-lambda-vm-zip-function.factory.d.ts +31 -0
- package/dist/service/lambda/function/code/sim-lambda-vm-zip-function.factory.d.ts.map +1 -0
- package/dist/service/lambda/function/code/sim-lambda-vm-zip-function.factory.js +45 -0
- package/dist/service/lambda/function/code/sim-lambda-vm-zip-function.factory.js.map +1 -0
- package/dist/service/lambda/function/environment/sim-lambda-environment.factory.d.ts +20 -0
- package/dist/service/lambda/function/environment/sim-lambda-environment.factory.d.ts.map +1 -0
- package/dist/service/lambda/function/environment/sim-lambda-environment.factory.js +17 -0
- package/dist/service/lambda/function/environment/sim-lambda-environment.factory.js.map +1 -0
- package/dist/service/lambda/function/sim-lambda-function-name.d.ts +10 -0
- package/dist/service/lambda/function/sim-lambda-function-name.d.ts.map +1 -0
- package/dist/service/lambda/function/sim-lambda-function-name.js +18 -0
- package/dist/service/lambda/function/sim-lambda-function-name.js.map +1 -0
- package/dist/service/lambda/function/url/sim-lambda-function-lookup.d.ts +4 -0
- package/dist/service/lambda/function/url/sim-lambda-function-lookup.d.ts.map +1 -1
- package/dist/service/lambda/function/url/sim-lambda-function-lookup.js +6 -0
- package/dist/service/lambda/function/url/sim-lambda-function-lookup.js.map +1 -1
- package/dist/service/lambda/function/url/sim-lambda-function-url.factory.d.ts +20 -0
- package/dist/service/lambda/function/url/sim-lambda-function-url.factory.d.ts.map +1 -0
- package/dist/service/lambda/function/url/sim-lambda-function-url.factory.js +23 -0
- package/dist/service/lambda/function/url/sim-lambda-function-url.factory.js.map +1 -0
- package/dist/service/lambda/index.d.ts +1 -0
- package/dist/service/lambda/index.d.ts.map +1 -1
- 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 +16 -0
- package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.js.map +1 -1
- package/dist/service/lambda/sim-lambda-commands.d.ts +51 -0
- package/dist/service/lambda/sim-lambda-commands.d.ts.map +1 -0
- package/dist/service/lambda/sim-lambda-commands.js +84 -0
- package/dist/service/lambda/sim-lambda-commands.js.map +1 -0
- package/dist/service/lambda/sim-lambda.d.ts +35 -39
- package/dist/service/lambda/sim-lambda.d.ts.map +1 -1
- package/dist/service/lambda/sim-lambda.js +47 -65
- package/dist/service/lambda/sim-lambda.js.map +1 -1
- package/dist/service/route53/resolve/sim-r53-s3-service-target.d.ts +40 -0
- package/dist/service/route53/resolve/sim-r53-s3-service-target.d.ts.map +1 -0
- package/dist/service/route53/resolve/sim-r53-s3-service-target.js +85 -0
- package/dist/service/route53/resolve/sim-r53-s3-service-target.js.map +1 -0
- package/dist/service/route53/resolve/sim-r53-service-target-resolver.d.ts +14 -25
- package/dist/service/route53/resolve/sim-r53-service-target-resolver.d.ts.map +1 -1
- package/dist/service/route53/resolve/sim-r53-service-target-resolver.js +37 -72
- package/dist/service/route53/resolve/sim-r53-service-target-resolver.js.map +1 -1
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-creator.d.ts +25 -0
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-creator.d.ts.map +1 -0
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-creator.js +33 -0
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-creator.js.map +1 -0
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-name.d.ts +45 -0
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-name.d.ts.map +1 -0
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-name.js +67 -0
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-name.js.map +1 -0
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-properties.d.ts +44 -0
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-properties.d.ts.map +1 -0
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-properties.js +72 -0
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-properties.js.map +1 -0
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-property-rules.d.ts +47 -0
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-property-rules.d.ts.map +1 -0
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-property-rules.js +122 -0
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-property-rules.js.map +1 -0
- package/dist/service/sqs/cfn/sim-sqs-cfn-resource-factory.d.ts +24 -0
- package/dist/service/sqs/cfn/sim-sqs-cfn-resource-factory.d.ts.map +1 -0
- package/dist/service/sqs/cfn/sim-sqs-cfn-resource-factory.js +29 -0
- package/dist/service/sqs/cfn/sim-sqs-cfn-resource-factory.js.map +1 -0
- package/dist/service/sqs/command/authorize/sim-sqs-authorizer.d.ts +41 -0
- package/dist/service/sqs/command/authorize/sim-sqs-authorizer.d.ts.map +1 -0
- package/dist/service/sqs/command/authorize/sim-sqs-authorizer.js +51 -0
- package/dist/service/sqs/command/authorize/sim-sqs-authorizer.js.map +1 -0
- package/dist/service/sqs/command/message/consume.command.d.ts +61 -0
- package/dist/service/sqs/command/message/consume.command.d.ts.map +1 -0
- package/dist/service/sqs/command/message/consume.command.js +2 -0
- package/dist/service/sqs/command/message/consume.command.js.map +1 -0
- package/dist/service/sqs/command/message/receive.command.d.ts +40 -0
- package/dist/service/sqs/command/message/receive.command.d.ts.map +1 -0
- package/dist/service/sqs/command/message/receive.command.js +2 -0
- package/dist/service/sqs/command/message/receive.command.js.map +1 -0
- package/dist/service/sqs/command/message/send.command.d.ts +80 -0
- package/dist/service/sqs/command/message/send.command.d.ts.map +1 -0
- package/dist/service/sqs/command/message/send.command.js +2 -0
- package/dist/service/sqs/command/message/send.command.js.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-batch-entries.d.ts +39 -0
- package/dist/service/sqs/command/message/sim-sqs-batch-entries.d.ts.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-batch-entries.js +67 -0
- package/dist/service/sqs/command/message/sim-sqs-batch-entries.js.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-change-message-visibility.d.ts +31 -0
- package/dist/service/sqs/command/message/sim-sqs-change-message-visibility.d.ts.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-change-message-visibility.js +51 -0
- package/dist/service/sqs/command/message/sim-sqs-change-message-visibility.js.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-delete-message-commands.d.ts +38 -0
- package/dist/service/sqs/command/message/sim-sqs-delete-message-commands.d.ts.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-delete-message-commands.js +58 -0
- package/dist/service/sqs/command/message/sim-sqs-delete-message-commands.js.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-message-handles.d.ts +28 -0
- package/dist/service/sqs/command/message/sim-sqs-message-handles.d.ts.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-message-handles.js +36 -0
- package/dist/service/sqs/command/message/sim-sqs-message-handles.js.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-receive-limits.d.ts +27 -0
- package/dist/service/sqs/command/message/sim-sqs-receive-limits.d.ts.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-receive-limits.js +70 -0
- package/dist/service/sqs/command/message/sim-sqs-receive-limits.js.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-receive-message.d.ts +32 -0
- package/dist/service/sqs/command/message/sim-sqs-receive-message.d.ts.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-receive-message.js +33 -0
- package/dist/service/sqs/command/message/sim-sqs-receive-message.js.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-receive-request.d.ts +33 -0
- package/dist/service/sqs/command/message/sim-sqs-receive-request.d.ts.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-receive-request.js +55 -0
- package/dist/service/sqs/command/message/sim-sqs-receive-request.js.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-received-message-view.d.ts +25 -0
- package/dist/service/sqs/command/message/sim-sqs-received-message-view.d.ts.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-received-message-view.js +38 -0
- package/dist/service/sqs/command/message/sim-sqs-received-message-view.js.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-send-message-commands.d.ts +32 -0
- package/dist/service/sqs/command/message/sim-sqs-send-message-commands.d.ts.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-send-message-commands.js +56 -0
- package/dist/service/sqs/command/message/sim-sqs-send-message-commands.js.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-sent-message.d.ts +18 -0
- package/dist/service/sqs/command/message/sim-sqs-sent-message.d.ts.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-sent-message.js +37 -0
- package/dist/service/sqs/command/message/sim-sqs-sent-message.js.map +1 -0
- package/dist/service/sqs/command/queue/queue.command.d.ts +114 -0
- package/dist/service/sqs/command/queue/queue.command.d.ts.map +1 -0
- package/dist/service/sqs/command/queue/queue.command.js +2 -0
- package/dist/service/sqs/command/queue/queue.command.js.map +1 -0
- package/dist/service/sqs/command/queue/sim-sqs-create-queue.d.ts +51 -0
- package/dist/service/sqs/command/queue/sim-sqs-create-queue.d.ts.map +1 -0
- package/dist/service/sqs/command/queue/sim-sqs-create-queue.js +70 -0
- package/dist/service/sqs/command/queue/sim-sqs-create-queue.js.map +1 -0
- package/dist/service/sqs/command/queue/sim-sqs-queue-access.d.ts +63 -0
- package/dist/service/sqs/command/queue/sim-sqs-queue-access.d.ts.map +1 -0
- package/dist/service/sqs/command/queue/sim-sqs-queue-access.js +98 -0
- package/dist/service/sqs/command/queue/sim-sqs-queue-access.js.map +1 -0
- package/dist/service/sqs/command/queue/sim-sqs-queue-attribute-commands.d.ts +45 -0
- package/dist/service/sqs/command/queue/sim-sqs-queue-attribute-commands.d.ts.map +1 -0
- package/dist/service/sqs/command/queue/sim-sqs-queue-attribute-commands.js +74 -0
- package/dist/service/sqs/command/queue/sim-sqs-queue-attribute-commands.js.map +1 -0
- package/dist/service/sqs/command/queue/sim-sqs-queue-commands.d.ts +47 -0
- package/dist/service/sqs/command/queue/sim-sqs-queue-commands.d.ts.map +1 -0
- package/dist/service/sqs/command/queue/sim-sqs-queue-commands.js +55 -0
- package/dist/service/sqs/command/queue/sim-sqs-queue-commands.js.map +1 -0
- package/dist/service/sqs/command/queue/sim-sqs-queue-page.d.ts +27 -0
- package/dist/service/sqs/command/queue/sim-sqs-queue-page.d.ts.map +1 -0
- package/dist/service/sqs/command/queue/sim-sqs-queue-page.js +54 -0
- package/dist/service/sqs/command/queue/sim-sqs-queue-page.js.map +1 -0
- package/dist/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.d.ts +18 -0
- package/dist/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.d.ts.map +1 -0
- package/dist/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.js +27 -0
- package/dist/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.js.map +1 -0
- package/dist/service/sqs/command/sim-sqs-command.types.d.ts +8 -0
- package/dist/service/sqs/command/sim-sqs-command.types.d.ts.map +1 -0
- package/dist/service/sqs/command/sim-sqs-command.types.js +2 -0
- package/dist/service/sqs/command/sim-sqs-command.types.js.map +1 -0
- package/dist/service/sqs/error/sim-sqs.error.d.ts +162 -0
- package/dist/service/sqs/error/sim-sqs.error.d.ts.map +1 -0
- package/dist/service/sqs/error/sim-sqs.error.js +191 -0
- package/dist/service/sqs/error/sim-sqs.error.js.map +1 -0
- package/dist/service/sqs/index.d.ts +14 -0
- package/dist/service/sqs/index.d.ts.map +1 -0
- package/dist/service/sqs/index.js +13 -0
- package/dist/service/sqs/index.js.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-attribute-payload.d.ts +56 -0
- package/dist/service/sqs/message/sim-sqs-message-attribute-payload.d.ts.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-attribute-payload.js +42 -0
- package/dist/service/sqs/message/sim-sqs-message-attribute-payload.js.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-attribute-rules.d.ts +23 -0
- package/dist/service/sqs/message/sim-sqs-message-attribute-rules.d.ts.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-attribute-rules.js +68 -0
- package/dist/service/sqs/message/sim-sqs-message-attribute-rules.js.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-attribute-value.d.ts +17 -0
- package/dist/service/sqs/message/sim-sqs-message-attribute-value.d.ts.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-attribute-value.js +2 -0
- package/dist/service/sqs/message/sim-sqs-message-attribute-value.js.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-attribute.d.ts +29 -0
- package/dist/service/sqs/message/sim-sqs-message-attribute.d.ts.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-attribute.js +56 -0
- package/dist/service/sqs/message/sim-sqs-message-attribute.js.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-attributes.d.ts +44 -0
- package/dist/service/sqs/message/sim-sqs-message-attributes.d.ts.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-attributes.js +93 -0
- package/dist/service/sqs/message/sim-sqs-message-attributes.js.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-body.d.ts +18 -0
- package/dist/service/sqs/message/sim-sqs-message-body.d.ts.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-body.js +66 -0
- package/dist/service/sqs/message/sim-sqs-message-body.js.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-store.d.ts +74 -0
- package/dist/service/sqs/message/sim-sqs-message-store.d.ts.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-store.js +99 -0
- package/dist/service/sqs/message/sim-sqs-message-store.js.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-system-attributes.d.ts +28 -0
- package/dist/service/sqs/message/sim-sqs-message-system-attributes.d.ts.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-system-attributes.js +75 -0
- package/dist/service/sqs/message/sim-sqs-message-system-attributes.js.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-visibility.d.ts +56 -0
- package/dist/service/sqs/message/sim-sqs-message-visibility.d.ts.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-visibility.js +79 -0
- package/dist/service/sqs/message/sim-sqs-message-visibility.js.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-writer.d.ts +41 -0
- package/dist/service/sqs/message/sim-sqs-message-writer.d.ts.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-writer.js +56 -0
- package/dist/service/sqs/message/sim-sqs-message-writer.js.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message.d.ts +96 -0
- package/dist/service/sqs/message/sim-sqs-message.d.ts.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message.js +136 -0
- package/dist/service/sqs/message/sim-sqs-message.js.map +1 -0
- package/dist/service/sqs/message/sim-sqs-receipt-handle.d.ts +10 -0
- package/dist/service/sqs/message/sim-sqs-receipt-handle.d.ts.map +1 -0
- package/dist/service/sqs/message/sim-sqs-receipt-handle.js +14 -0
- package/dist/service/sqs/message/sim-sqs-receipt-handle.js.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-dead-letter-targets.d.ts +51 -0
- package/dist/service/sqs/queue/sim-sqs-dead-letter-targets.d.ts.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-dead-letter-targets.js +62 -0
- package/dist/service/sqs/queue/sim-sqs-dead-letter-targets.js.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-deleted-queue-names.d.ts +20 -0
- package/dist/service/sqs/queue/sim-sqs-deleted-queue-names.d.ts.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-deleted-queue-names.js +42 -0
- package/dist/service/sqs/queue/sim-sqs-deleted-queue-names.js.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-activity.d.ts +65 -0
- package/dist/service/sqs/queue/sim-sqs-queue-activity.d.ts.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-activity.js +57 -0
- package/dist/service/sqs/queue/sim-sqs-queue-activity.js.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-arn.d.ts +41 -0
- package/dist/service/sqs/queue/sim-sqs-queue-arn.d.ts.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-arn.js +47 -0
- package/dist/service/sqs/queue/sim-sqs-queue-arn.js.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-attribute-names.d.ts +27 -0
- package/dist/service/sqs/queue/sim-sqs-queue-attribute-names.d.ts.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-attribute-names.js +83 -0
- package/dist/service/sqs/queue/sim-sqs-queue-attribute-names.js.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-attribute-numbers.d.ts +34 -0
- package/dist/service/sqs/queue/sim-sqs-queue-attribute-numbers.d.ts.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-attribute-numbers.js +93 -0
- package/dist/service/sqs/queue/sim-sqs-queue-attribute-numbers.js.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-attribute-specs.d.ts +20 -0
- package/dist/service/sqs/queue/sim-sqs-queue-attribute-specs.d.ts.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-attribute-specs.js +37 -0
- package/dist/service/sqs/queue/sim-sqs-queue-attribute-specs.js.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-attributes.d.ts +60 -0
- package/dist/service/sqs/queue/sim-sqs-queue-attributes.d.ts.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-attributes.js +96 -0
- package/dist/service/sqs/queue/sim-sqs-queue-attributes.js.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-name.d.ts +21 -0
- package/dist/service/sqs/queue/sim-sqs-queue-name.d.ts.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-name.js +47 -0
- package/dist/service/sqs/queue/sim-sqs-queue-name.js.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-report.d.ts +22 -0
- package/dist/service/sqs/queue/sim-sqs-queue-report.d.ts.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-report.js +29 -0
- package/dist/service/sqs/queue/sim-sqs-queue-report.js.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-store.d.ts +60 -0
- package/dist/service/sqs/queue/sim-sqs-queue-store.d.ts.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-store.js +87 -0
- package/dist/service/sqs/queue/sim-sqs-queue-store.js.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-url.d.ts +24 -0
- package/dist/service/sqs/queue/sim-sqs-queue-url.d.ts.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-url.js +36 -0
- package/dist/service/sqs/queue/sim-sqs-queue-url.js.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue.d.ts +130 -0
- package/dist/service/sqs/queue/sim-sqs-queue.d.ts.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue.js +188 -0
- package/dist/service/sqs/queue/sim-sqs-queue.js.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-redrive-policy.d.ts +30 -0
- package/dist/service/sqs/queue/sim-sqs-redrive-policy.d.ts.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-redrive-policy.js +118 -0
- package/dist/service/sqs/queue/sim-sqs-redrive-policy.js.map +1 -0
- package/dist/service/sqs/sdk/sim-sqs-sdk-command-router.d.ts +18 -0
- package/dist/service/sqs/sdk/sim-sqs-sdk-command-router.d.ts.map +1 -0
- package/dist/service/sqs/sdk/sim-sqs-sdk-command-router.js +76 -0
- package/dist/service/sqs/sdk/sim-sqs-sdk-command-router.js.map +1 -0
- package/dist/service/sqs/sim-sqs.d.ts +119 -0
- package/dist/service/sqs/sim-sqs.d.ts.map +1 -0
- package/dist/service/sqs/sim-sqs.js +213 -0
- package/dist/service/sqs/sim-sqs.js.map +1 -0
- package/package.json +8 -2
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { SimCognitoAuthResolver } from "./sim-cognito-auth-resolver.js";
|
|
2
|
+
import type { SimCognitoAuthFlowRunner } from "./sim-cognito-auth-flow-runner.js";
|
|
3
|
+
import type { SimInitiateAuthCommand, SimInitiateAuthCommandOutput } from "./auth.command.js";
|
|
4
|
+
interface SimCognitoInitiateAuthProperties {
|
|
5
|
+
readonly authResolver: SimCognitoAuthResolver;
|
|
6
|
+
readonly flowRunner: SimCognitoAuthFlowRunner;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* The InitiateAuth command.
|
|
10
|
+
*
|
|
11
|
+
* This is what a browser or mobile app calls, so no IAM permission is involved
|
|
12
|
+
* and no caller is read: real Cognito evaluates no IAM policy for it. The app
|
|
13
|
+
* client id is what finds the pool, and the flows it runs are the client-side
|
|
14
|
+
* ones, `USER_PASSWORD_AUTH` and `REFRESH_TOKEN_AUTH`.
|
|
15
|
+
*/
|
|
16
|
+
export declare class SimCognitoInitiateAuth {
|
|
17
|
+
private readonly authResolver;
|
|
18
|
+
private readonly flowRunner;
|
|
19
|
+
private readonly unsimulatedOptions;
|
|
20
|
+
constructor(properties: SimCognitoInitiateAuthProperties);
|
|
21
|
+
/**
|
|
22
|
+
* Start an authentication.
|
|
23
|
+
*/
|
|
24
|
+
handle(command: SimInitiateAuthCommand): SimInitiateAuthCommandOutput;
|
|
25
|
+
}
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=sim-cognito-initiate-auth.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cognito-initiate-auth.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/command/auth/sim-cognito-initiate-auth.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAE7E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAElF,OAAO,KAAK,EACV,sBAAsB,EACtB,4BAA4B,EAC7B,MAAM,mBAAmB,CAAC;AAE3B,UAAU,gCAAgC;IACxC,QAAQ,CAAC,YAAY,EAAE,sBAAsB,CAAC;IAC9C,QAAQ,CAAC,UAAU,EAAE,wBAAwB,CAAC;CAC/C;AAED;;;;;;;GAOG;AACH,qBAAa,sBAAsB;IACjC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAyB;IACtD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA2B;IACtD,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAA0C;IAE7E,YAAY,UAAU,EAAE,gCAAgC,EAGvD;IAED;;OAEG;IACH,MAAM,CAAC,OAAO,EAAE,sBAAsB,GAAG,4BAA4B,CAkBpE;CACF"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { SimCognitoAuthParameters } from "./sim-cognito-auth-parameters.js";
|
|
2
|
+
import { clientAuthFlows } from "./sim-cognito-auth-flows.js";
|
|
3
|
+
import { SimCognitoUnsimulatedAuthOptions } from "./sim-cognito-unsimulated-auth-options.js";
|
|
4
|
+
/**
|
|
5
|
+
* The InitiateAuth command.
|
|
6
|
+
*
|
|
7
|
+
* This is what a browser or mobile app calls, so no IAM permission is involved
|
|
8
|
+
* and no caller is read: real Cognito evaluates no IAM policy for it. The app
|
|
9
|
+
* client id is what finds the pool, and the flows it runs are the client-side
|
|
10
|
+
* ones, `USER_PASSWORD_AUTH` and `REFRESH_TOKEN_AUTH`.
|
|
11
|
+
*/
|
|
12
|
+
export class SimCognitoInitiateAuth {
|
|
13
|
+
authResolver;
|
|
14
|
+
flowRunner;
|
|
15
|
+
unsimulatedOptions = new SimCognitoUnsimulatedAuthOptions();
|
|
16
|
+
constructor(properties) {
|
|
17
|
+
this.authResolver = properties.authResolver;
|
|
18
|
+
this.flowRunner = properties.flowRunner;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Start an authentication.
|
|
22
|
+
*/
|
|
23
|
+
handle(command) {
|
|
24
|
+
const { input } = command;
|
|
25
|
+
const { pool, client } = this.authResolver.client(input.ClientId);
|
|
26
|
+
this.unsimulatedOptions.refuseInInitiate(input);
|
|
27
|
+
const flow = clientAuthFlows.require(input.AuthFlow);
|
|
28
|
+
flow.requireEnabledFor(client);
|
|
29
|
+
return this.flowRunner.run(flow, {
|
|
30
|
+
pool,
|
|
31
|
+
client,
|
|
32
|
+
parameters: new SimCognitoAuthParameters("AuthParameters", input.AuthParameters),
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=sim-cognito-initiate-auth.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cognito-initiate-auth.js","sourceRoot":"","sources":["../../../../../src/service/cognito/command/auth/sim-cognito-initiate-auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAE5E,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAE9D,OAAO,EAAE,gCAAgC,EAAE,MAAM,2CAA2C,CAAC;AAW7F;;;;;;;GAOG;AACH,MAAM,OAAO,sBAAsB;IAChB,YAAY,CAAyB;IACrC,UAAU,CAA2B;IACrC,kBAAkB,GAAG,IAAI,gCAAgC,EAAE,CAAC;IAE7E,YAAY,UAA4C;QACtD,IAAI,CAAC,YAAY,GAAG,UAAU,CAAC,YAAY,CAAC;QAC5C,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;IAC1C,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAA+B;QACpC,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC;QAC1B,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QAElE,IAAI,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;QAEhD,MAAM,IAAI,GAAG,eAAe,CAAC,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QAErD,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;QAE/B,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,EAAE;YAC/B,IAAI;YACJ,MAAM;YACN,UAAU,EAAE,IAAI,wBAAwB,CACtC,gBAAgB,EAChB,KAAK,CAAC,cAAc,CACrB;SACF,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { SimClock } from "../../../../util/clock/sim-clock.js";
|
|
2
|
+
import type { SimCognitoUserPool } from "../../user-pool/sim-cognito-user-pool.js";
|
|
3
|
+
import type { SimCognitoUser } from "../../user-pool/user/sim-cognito-user.js";
|
|
4
|
+
import type { SimCognitoAuthenticationOutput } from "./auth.command.js";
|
|
5
|
+
interface SimCognitoNewPasswordChallengeProperties {
|
|
6
|
+
readonly clock: SimClock;
|
|
7
|
+
}
|
|
8
|
+
interface SimCognitoChallengeProperties {
|
|
9
|
+
readonly pool: SimCognitoUserPool;
|
|
10
|
+
readonly clientId: string;
|
|
11
|
+
readonly user: SimCognitoUser;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Issues the challenge a user has to get past before it can sign in.
|
|
15
|
+
*
|
|
16
|
+
* The session it hands back is what ties the response to this request, so it
|
|
17
|
+
* is remembered on the pool rather than only returned.
|
|
18
|
+
*/
|
|
19
|
+
export declare class SimCognitoNewPasswordChallenge {
|
|
20
|
+
private readonly clock;
|
|
21
|
+
constructor(properties: SimCognitoNewPasswordChallengeProperties);
|
|
22
|
+
/**
|
|
23
|
+
* Answer with `NEW_PASSWORD_REQUIRED` and a session.
|
|
24
|
+
*/
|
|
25
|
+
issue(properties: SimCognitoChallengeProperties): SimCognitoAuthenticationOutput;
|
|
26
|
+
}
|
|
27
|
+
export {};
|
|
28
|
+
//# sourceMappingURL=sim-cognito-new-password-challenge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cognito-new-password-challenge.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/command/auth/sim-cognito-new-password-challenge.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AACnF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAE/E,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,mBAAmB,CAAC;AAExE,UAAU,wCAAwC;IAChD,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC;CAC1B;AAED,UAAU,6BAA6B;IACrC,QAAQ,CAAC,IAAI,EAAE,kBAAkB,CAAC;IAClC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,IAAI,EAAE,cAAc,CAAC;CAC/B;AAED;;;;;GAKG;AACH,qBAAa,8BAA8B;IACzC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAW;IAEjC,YAAY,UAAU,EAAE,wCAAwC,EAE/D;IAED;;OAEG;IACH,KAAK,CACH,UAAU,EAAE,6BAA6B,GACxC,8BAA8B,CAsBhC;CACF"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { SimCognitoAuthSession } from "../../user-pool/auth/sim-cognito-auth-session.js";
|
|
2
|
+
import { newPasswordRequiredChallenge } from "./sim-cognito-auth-challenge.js";
|
|
3
|
+
/**
|
|
4
|
+
* Issues the challenge a user has to get past before it can sign in.
|
|
5
|
+
*
|
|
6
|
+
* The session it hands back is what ties the response to this request, so it
|
|
7
|
+
* is remembered on the pool rather than only returned.
|
|
8
|
+
*/
|
|
9
|
+
export class SimCognitoNewPasswordChallenge {
|
|
10
|
+
clock;
|
|
11
|
+
constructor(properties) {
|
|
12
|
+
this.clock = properties.clock;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Answer with `NEW_PASSWORD_REQUIRED` and a session.
|
|
16
|
+
*/
|
|
17
|
+
issue(properties) {
|
|
18
|
+
const { pool, clientId, user } = properties;
|
|
19
|
+
const session = new SimCognitoAuthSession({
|
|
20
|
+
username: user.username,
|
|
21
|
+
clientId,
|
|
22
|
+
challengeName: newPasswordRequiredChallenge,
|
|
23
|
+
issuedAt: this.clock.now(),
|
|
24
|
+
});
|
|
25
|
+
pool.auth.addSession(session);
|
|
26
|
+
return {
|
|
27
|
+
$metadata: {},
|
|
28
|
+
ChallengeName: newPasswordRequiredChallenge,
|
|
29
|
+
Session: session.id,
|
|
30
|
+
ChallengeParameters: {
|
|
31
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention -- the challenge parameter names are Cognito's own.
|
|
32
|
+
USER_ID_FOR_SRP: user.username,
|
|
33
|
+
requiredAttributes: "[]",
|
|
34
|
+
userAttributes: "{}",
|
|
35
|
+
},
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=sim-cognito-new-password-challenge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cognito-new-password-challenge.js","sourceRoot":"","sources":["../../../../../src/service/cognito/command/auth/sim-cognito-new-password-challenge.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,kDAAkD,CAAC;AAGzF,OAAO,EAAE,4BAA4B,EAAE,MAAM,iCAAiC,CAAC;AAa/E;;;;;GAKG;AACH,MAAM,OAAO,8BAA8B;IACxB,KAAK,CAAW;IAEjC,YAAY,UAAoD;QAC9D,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;IAChC,CAAC;IAED;;OAEG;IACH,KAAK,CACH,UAAyC;QAEzC,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,UAAU,CAAC;QAC5C,MAAM,OAAO,GAAG,IAAI,qBAAqB,CAAC;YACxC,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,QAAQ;YACR,aAAa,EAAE,4BAA4B;YAC3C,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE;SAC3B,CAAC,CAAC;QAEH,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;QAE9B,OAAO;YACL,SAAS,EAAE,EAAE;YACb,aAAa,EAAE,4BAA4B;YAC3C,OAAO,EAAE,OAAO,CAAC,EAAE;YACnB,mBAAmB,EAAE;gBACnB,oHAAoH;gBACpH,eAAe,EAAE,IAAI,CAAC,QAAQ;gBAC9B,kBAAkB,EAAE,IAAI;gBACxB,cAAc,EAAE,IAAI;aACrB;SACF,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { SimClock } from "../../../../util/clock/sim-clock.js";
|
|
2
|
+
import type { SimCognitoTokenIssuer } from "../../user-pool/token/sim-cognito-token-issuer.js";
|
|
3
|
+
import type { SimCognitoAuthResolver } from "./sim-cognito-auth-resolver.js";
|
|
4
|
+
import type { SimCognitoAuthRequest } from "./sim-cognito-password-sign-in.js";
|
|
5
|
+
import type { SimCognitoAuthenticationOutput } from "./auth.command.js";
|
|
6
|
+
interface SimCognitoNewPasswordResponseProperties {
|
|
7
|
+
readonly authResolver: SimCognitoAuthResolver;
|
|
8
|
+
readonly tokenIssuer: SimCognitoTokenIssuer;
|
|
9
|
+
readonly clock: SimClock;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* A challenge response, and the session tying it to the request that issued
|
|
13
|
+
* the challenge.
|
|
14
|
+
*/
|
|
15
|
+
export interface SimCognitoChallengeResponseRequest extends SimCognitoAuthRequest {
|
|
16
|
+
readonly session: string | undefined;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Answering the `NEW_PASSWORD_REQUIRED` challenge.
|
|
20
|
+
*
|
|
21
|
+
* The new password is checked against the pool's policy, confirms the user,
|
|
22
|
+
* and is what the user signs in with from then on. The session is single use,
|
|
23
|
+
* so a replayed one fails. This is the body of both
|
|
24
|
+
* `AdminRespondToAuthChallenge` and `RespondToAuthChallenge`, which differ only
|
|
25
|
+
* in how they reach the pool.
|
|
26
|
+
*/
|
|
27
|
+
export declare class SimCognitoNewPasswordResponse {
|
|
28
|
+
private readonly authResolver;
|
|
29
|
+
private readonly tokenIssuer;
|
|
30
|
+
private readonly clock;
|
|
31
|
+
private readonly result;
|
|
32
|
+
constructor(properties: SimCognitoNewPasswordResponseProperties);
|
|
33
|
+
/**
|
|
34
|
+
* Complete the challenge, and sign the user in.
|
|
35
|
+
*/
|
|
36
|
+
handle(request: SimCognitoChallengeResponseRequest): SimCognitoAuthenticationOutput;
|
|
37
|
+
}
|
|
38
|
+
export {};
|
|
39
|
+
//# sourceMappingURL=sim-cognito-new-password-response.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cognito-new-password-response.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/command/auth/sim-cognito-new-password-response.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAMpE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mDAAmD,CAAC;AAE/F,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC/E,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,mBAAmB,CAAC;AAExE,UAAU,uCAAuC;IAC/C,QAAQ,CAAC,YAAY,EAAE,sBAAsB,CAAC;IAC9C,QAAQ,CAAC,WAAW,EAAE,qBAAqB,CAAC;IAC5C,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC;CAC1B;AAED;;;GAGG;AACH,MAAM,WAAW,kCAAmC,SAAQ,qBAAqB;IAC/E,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;CACtC;AAED;;;;;;;;GAQG;AACH,qBAAa,6BAA6B;IACxC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAyB;IACtD,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAwB;IACpD,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAW;IACjC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAwC;IAE/D,YAAY,UAAU,EAAE,uCAAuC,EAI9D;IAED;;OAEG;IACH,MAAM,CACJ,OAAO,EAAE,kCAAkC,GAC1C,8BAA8B,CA+BhC;CACF"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { requireSimCognitoEnabled, requireSimCognitoSignInUser, } from "../../user-pool/auth/sim-cognito-sign-in.js";
|
|
2
|
+
import { SimCognitoPasswordCheck } from "../../user-pool/sim-cognito-password-check.js";
|
|
3
|
+
import { SimCognitoAuthenticationResult } from "./sim-cognito-authentication-result.js";
|
|
4
|
+
/**
|
|
5
|
+
* Answering the `NEW_PASSWORD_REQUIRED` challenge.
|
|
6
|
+
*
|
|
7
|
+
* The new password is checked against the pool's policy, confirms the user,
|
|
8
|
+
* and is what the user signs in with from then on. The session is single use,
|
|
9
|
+
* so a replayed one fails. This is the body of both
|
|
10
|
+
* `AdminRespondToAuthChallenge` and `RespondToAuthChallenge`, which differ only
|
|
11
|
+
* in how they reach the pool.
|
|
12
|
+
*/
|
|
13
|
+
export class SimCognitoNewPasswordResponse {
|
|
14
|
+
authResolver;
|
|
15
|
+
tokenIssuer;
|
|
16
|
+
clock;
|
|
17
|
+
result = new SimCognitoAuthenticationResult();
|
|
18
|
+
constructor(properties) {
|
|
19
|
+
this.authResolver = properties.authResolver;
|
|
20
|
+
this.tokenIssuer = properties.tokenIssuer;
|
|
21
|
+
this.clock = properties.clock;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Complete the challenge, and sign the user in.
|
|
25
|
+
*/
|
|
26
|
+
handle(request) {
|
|
27
|
+
const { pool, client, parameters } = request;
|
|
28
|
+
const username = this.authResolver.username(client, parameters);
|
|
29
|
+
const session = pool.auth.requireSession({
|
|
30
|
+
sessionId: request.session,
|
|
31
|
+
username,
|
|
32
|
+
clientId: client.id,
|
|
33
|
+
now: this.clock.now(),
|
|
34
|
+
});
|
|
35
|
+
const user = requireSimCognitoSignInUser(pool, client, username);
|
|
36
|
+
// A user disabled between the challenge and this response cannot finish
|
|
37
|
+
// the sign-in, as it cannot start one.
|
|
38
|
+
requireSimCognitoEnabled(user);
|
|
39
|
+
user.setPassword(new SimCognitoPasswordCheck(pool.passwordPolicy).require("NEW_PASSWORD", parameters.find("NEW_PASSWORD")), true);
|
|
40
|
+
pool.auth.removeSession(session);
|
|
41
|
+
return {
|
|
42
|
+
$metadata: {},
|
|
43
|
+
AuthenticationResult: this.result.of(this.tokenIssuer.issue({ pool, client, user })),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=sim-cognito-new-password-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cognito-new-password-response.js","sourceRoot":"","sources":["../../../../../src/service/cognito/command/auth/sim-cognito-new-password-response.ts"],"names":[],"mappings":"AACA,OAAO,EACL,wBAAwB,EACxB,2BAA2B,GAC5B,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AAExF,OAAO,EAAE,8BAA8B,EAAE,MAAM,wCAAwC,CAAC;AAmBxF;;;;;;;;GAQG;AACH,MAAM,OAAO,6BAA6B;IACvB,YAAY,CAAyB;IACrC,WAAW,CAAwB;IACnC,KAAK,CAAW;IAChB,MAAM,GAAG,IAAI,8BAA8B,EAAE,CAAC;IAE/D,YAAY,UAAmD;QAC7D,IAAI,CAAC,YAAY,GAAG,UAAU,CAAC,YAAY,CAAC;QAC5C,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC,WAAW,CAAC;QAC1C,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;IAChC,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,OAA2C;QAE3C,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,OAAO,CAAC;QAC7C,MAAM,QAAQ,GAAG,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;QAChE,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC;YACvC,SAAS,EAAE,OAAO,CAAC,OAAO;YAC1B,QAAQ;YACR,QAAQ,EAAE,MAAM,CAAC,EAAE;YACnB,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE;SACtB,CAAC,CAAC;QACH,MAAM,IAAI,GAAG,2BAA2B,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;QAEjE,wEAAwE;QACxE,uCAAuC;QACvC,wBAAwB,CAAC,IAAI,CAAC,CAAC;QAE/B,IAAI,CAAC,WAAW,CACd,IAAI,uBAAuB,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,OAAO,CACtD,cAAc,EACd,UAAU,CAAC,IAAI,CAAC,cAAc,CAAC,CAChC,EACD,IAAI,CACL,CAAC;QAEF,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QAEjC,OAAO;YACL,SAAS,EAAE,EAAE;YACb,oBAAoB,EAAE,IAAI,CAAC,MAAM,CAAC,EAAE,CAClC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAC/C;SACF,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { SimCognitoUserPoolClient } from "../../user-pool/client/sim-cognito-user-pool-client.js";
|
|
2
|
+
import type { SimCognitoUserPool } from "../../user-pool/sim-cognito-user-pool.js";
|
|
3
|
+
import type { SimCognitoTokenIssuer } from "../../user-pool/token/sim-cognito-token-issuer.js";
|
|
4
|
+
import type { SimCognitoAuthParameters } from "./sim-cognito-auth-parameters.js";
|
|
5
|
+
import type { SimCognitoAuthResolver } from "./sim-cognito-auth-resolver.js";
|
|
6
|
+
import type { SimCognitoNewPasswordChallenge } from "./sim-cognito-new-password-challenge.js";
|
|
7
|
+
import type { SimCognitoAuthenticationOutput } from "./auth.command.js";
|
|
8
|
+
interface SimCognitoPasswordSignInProperties {
|
|
9
|
+
readonly authResolver: SimCognitoAuthResolver;
|
|
10
|
+
readonly tokenIssuer: SimCognitoTokenIssuer;
|
|
11
|
+
readonly challenge: SimCognitoNewPasswordChallenge;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* What a sign-in request has resolved before the flow runs.
|
|
15
|
+
*/
|
|
16
|
+
export interface SimCognitoAuthRequest {
|
|
17
|
+
readonly pool: SimCognitoUserPool;
|
|
18
|
+
readonly client: SimCognitoUserPoolClient;
|
|
19
|
+
readonly parameters: SimCognitoAuthParameters;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Signing a user in with a username and password.
|
|
23
|
+
*
|
|
24
|
+
* This is the body of both `ADMIN_USER_PASSWORD_AUTH` and
|
|
25
|
+
* `USER_PASSWORD_AUTH`. The two differ in what the caller has to be allowed to
|
|
26
|
+
* do and which `ExplicitAuthFlows` entry opens them, both of which are settled
|
|
27
|
+
* before this runs, and in nothing after that: real Cognito signs the same
|
|
28
|
+
* user in with the same password and answers with the same tokens.
|
|
29
|
+
*/
|
|
30
|
+
export declare class SimCognitoPasswordSignIn {
|
|
31
|
+
private readonly authResolver;
|
|
32
|
+
private readonly tokenIssuer;
|
|
33
|
+
private readonly challenge;
|
|
34
|
+
private readonly result;
|
|
35
|
+
constructor(properties: SimCognitoPasswordSignInProperties);
|
|
36
|
+
/**
|
|
37
|
+
* Sign the user in, or answer with the challenge it has to get past first.
|
|
38
|
+
*/
|
|
39
|
+
handle(request: SimCognitoAuthRequest): SimCognitoAuthenticationOutput;
|
|
40
|
+
}
|
|
41
|
+
export {};
|
|
42
|
+
//# sourceMappingURL=sim-cognito-password-sign-in.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cognito-password-sign-in.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/command/auth/sim-cognito-password-sign-in.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wDAAwD,CAAC;AACvG,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AACnF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mDAAmD,CAAC;AAE/F,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,yCAAyC,CAAC;AAC9F,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,mBAAmB,CAAC;AAExE,UAAU,kCAAkC;IAC1C,QAAQ,CAAC,YAAY,EAAE,sBAAsB,CAAC;IAC9C,QAAQ,CAAC,WAAW,EAAE,qBAAqB,CAAC;IAC5C,QAAQ,CAAC,SAAS,EAAE,8BAA8B,CAAC;CACpD;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,IAAI,EAAE,kBAAkB,CAAC;IAClC,QAAQ,CAAC,MAAM,EAAE,wBAAwB,CAAC;IAC1C,QAAQ,CAAC,UAAU,EAAE,wBAAwB,CAAC;CAC/C;AAED;;;;;;;;GAQG;AACH,qBAAa,wBAAwB;IACnC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAyB;IACtD,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAwB;IACpD,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAiC;IAC3D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAwC;IAE/D,YAAY,UAAU,EAAE,kCAAkC,EAIzD;IAED;;OAEG;IACH,MAAM,CAAC,OAAO,EAAE,qBAAqB,GAAG,8BAA8B,CAiBrE;CACF"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { requireSimCognitoSignIn, requireSimCognitoSignInUser, } from "../../user-pool/auth/sim-cognito-sign-in.js";
|
|
2
|
+
import { SimCognitoAuthenticationResult } from "./sim-cognito-authentication-result.js";
|
|
3
|
+
/**
|
|
4
|
+
* Signing a user in with a username and password.
|
|
5
|
+
*
|
|
6
|
+
* This is the body of both `ADMIN_USER_PASSWORD_AUTH` and
|
|
7
|
+
* `USER_PASSWORD_AUTH`. The two differ in what the caller has to be allowed to
|
|
8
|
+
* do and which `ExplicitAuthFlows` entry opens them, both of which are settled
|
|
9
|
+
* before this runs, and in nothing after that: real Cognito signs the same
|
|
10
|
+
* user in with the same password and answers with the same tokens.
|
|
11
|
+
*/
|
|
12
|
+
export class SimCognitoPasswordSignIn {
|
|
13
|
+
authResolver;
|
|
14
|
+
tokenIssuer;
|
|
15
|
+
challenge;
|
|
16
|
+
result = new SimCognitoAuthenticationResult();
|
|
17
|
+
constructor(properties) {
|
|
18
|
+
this.authResolver = properties.authResolver;
|
|
19
|
+
this.tokenIssuer = properties.tokenIssuer;
|
|
20
|
+
this.challenge = properties.challenge;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Sign the user in, or answer with the challenge it has to get past first.
|
|
24
|
+
*/
|
|
25
|
+
handle(request) {
|
|
26
|
+
const { pool, client, parameters } = request;
|
|
27
|
+
const username = this.authResolver.username(client, parameters);
|
|
28
|
+
const user = requireSimCognitoSignInUser(pool, client, username);
|
|
29
|
+
requireSimCognitoSignIn(user, parameters.require("PASSWORD"));
|
|
30
|
+
if (user.status.mustChangePassword) {
|
|
31
|
+
return this.challenge.issue({ pool, clientId: client.id, user });
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
$metadata: {},
|
|
35
|
+
AuthenticationResult: this.result.of(this.tokenIssuer.issue({ pool, client, user })),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=sim-cognito-password-sign-in.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cognito-password-sign-in.js","sourceRoot":"","sources":["../../../../../src/service/cognito/command/auth/sim-cognito-password-sign-in.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,2BAA2B,GAC5B,MAAM,6CAA6C,CAAC;AAIrD,OAAO,EAAE,8BAA8B,EAAE,MAAM,wCAAwC,CAAC;AAqBxF;;;;;;;;GAQG;AACH,MAAM,OAAO,wBAAwB;IAClB,YAAY,CAAyB;IACrC,WAAW,CAAwB;IACnC,SAAS,CAAiC;IAC1C,MAAM,GAAG,IAAI,8BAA8B,EAAE,CAAC;IAE/D,YAAY,UAA8C;QACxD,IAAI,CAAC,YAAY,GAAG,UAAU,CAAC,YAAY,CAAC;QAC5C,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC,WAAW,CAAC;QAC1C,IAAI,CAAC,SAAS,GAAG,UAAU,CAAC,SAAS,CAAC;IACxC,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAA8B;QACnC,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,OAAO,CAAC;QAC7C,MAAM,QAAQ,GAAG,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;QAChE,MAAM,IAAI,GAAG,2BAA2B,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;QAEjE,uBAAuB,CAAC,IAAI,EAAE,UAAU,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;QAE9D,IAAI,IAAI,CAAC,MAAM,CAAC,kBAAkB,EAAE,CAAC;YACnC,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,CAAC,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC;QACnE,CAAC;QAED,OAAO;YACL,SAAS,EAAE,EAAE;YACb,oBAAoB,EAAE,IAAI,CAAC,MAAM,CAAC,EAAE,CAClC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAC/C;SACF,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { SimClock } from "../../../../util/clock/sim-clock.js";
|
|
2
|
+
import type { SimCognitoTokenIssuer } from "../../user-pool/token/sim-cognito-token-issuer.js";
|
|
3
|
+
import type { SimCognitoAuthRequest } from "./sim-cognito-password-sign-in.js";
|
|
4
|
+
import type { SimCognitoAuthenticationOutput } from "./auth.command.js";
|
|
5
|
+
interface SimCognitoRefreshSignInProperties {
|
|
6
|
+
readonly tokenIssuer: SimCognitoTokenIssuer;
|
|
7
|
+
readonly clock: SimClock;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Trading a refresh token for a new access and id token.
|
|
11
|
+
*
|
|
12
|
+
* The refresh token names no user: the pool that issued it is what knows whose
|
|
13
|
+
* it is, which is why one presented to another app client is refused. Nothing
|
|
14
|
+
* new comes back with the tokens, because real Cognito issues no new refresh
|
|
15
|
+
* token here, so a client keeps the one it has until that expires.
|
|
16
|
+
*/
|
|
17
|
+
export declare class SimCognitoRefreshSignIn {
|
|
18
|
+
private readonly tokenIssuer;
|
|
19
|
+
private readonly clock;
|
|
20
|
+
private readonly result;
|
|
21
|
+
constructor(properties: SimCognitoRefreshSignInProperties);
|
|
22
|
+
/**
|
|
23
|
+
* Refresh a session, or refuse the token it was asked for with.
|
|
24
|
+
*/
|
|
25
|
+
handle(request: SimCognitoAuthRequest): SimCognitoAuthenticationOutput;
|
|
26
|
+
}
|
|
27
|
+
export {};
|
|
28
|
+
//# sourceMappingURL=sim-cognito-refresh-sign-in.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cognito-refresh-sign-in.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/command/auth/sim-cognito-refresh-sign-in.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAGpE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mDAAmD,CAAC;AAG/F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC/E,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,mBAAmB,CAAC;AAExE,UAAU,iCAAiC;IACzC,QAAQ,CAAC,WAAW,EAAE,qBAAqB,CAAC;IAC5C,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC;CAC1B;AAED;;;;;;;GAOG;AACH,qBAAa,uBAAuB;IAClC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAwB;IACpD,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAW;IACjC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAwC;IAE/D,YAAY,UAAU,EAAE,iCAAiC,EAGxD;IAED;;OAEG;IACH,MAAM,CAAC,OAAO,EAAE,qBAAqB,GAAG,8BAA8B,CA4BrE;CACF"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { requireSimCognitoSecretHash } from "../../user-pool/auth/sim-cognito-secret-hash.js";
|
|
2
|
+
import { requireSimCognitoEnabled } from "../../user-pool/auth/sim-cognito-sign-in.js";
|
|
3
|
+
import { requireSimCognitoUsername } from "../../user-pool/user/sim-cognito-username.js";
|
|
4
|
+
import { SimCognitoAuthenticationResult } from "./sim-cognito-authentication-result.js";
|
|
5
|
+
/**
|
|
6
|
+
* Trading a refresh token for a new access and id token.
|
|
7
|
+
*
|
|
8
|
+
* The refresh token names no user: the pool that issued it is what knows whose
|
|
9
|
+
* it is, which is why one presented to another app client is refused. Nothing
|
|
10
|
+
* new comes back with the tokens, because real Cognito issues no new refresh
|
|
11
|
+
* token here, so a client keeps the one it has until that expires.
|
|
12
|
+
*/
|
|
13
|
+
export class SimCognitoRefreshSignIn {
|
|
14
|
+
tokenIssuer;
|
|
15
|
+
clock;
|
|
16
|
+
result = new SimCognitoAuthenticationResult();
|
|
17
|
+
constructor(properties) {
|
|
18
|
+
this.tokenIssuer = properties.tokenIssuer;
|
|
19
|
+
this.clock = properties.clock;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Refresh a session, or refuse the token it was asked for with.
|
|
23
|
+
*/
|
|
24
|
+
handle(request) {
|
|
25
|
+
const { pool, client, parameters } = request;
|
|
26
|
+
const refreshToken = pool.auth.requireRefreshToken({
|
|
27
|
+
value: parameters.require("REFRESH_TOKEN"),
|
|
28
|
+
clientId: client.id,
|
|
29
|
+
now: this.clock.now(),
|
|
30
|
+
});
|
|
31
|
+
// The hash covers the username, and the request carries none, so the one
|
|
32
|
+
// the token was issued to is what it has to have been computed with.
|
|
33
|
+
requireSimCognitoSecretHash(refreshToken.username, client, parameters.find("SECRET_HASH"));
|
|
34
|
+
const user = pool.requireUser(requireSimCognitoUsername(refreshToken.username));
|
|
35
|
+
requireSimCognitoEnabled(user);
|
|
36
|
+
return {
|
|
37
|
+
$metadata: {},
|
|
38
|
+
AuthenticationResult: this.result.of(this.tokenIssuer.reissue({ pool, client, user })),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=sim-cognito-refresh-sign-in.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cognito-refresh-sign-in.js","sourceRoot":"","sources":["../../../../../src/service/cognito/command/auth/sim-cognito-refresh-sign-in.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,EAAE,MAAM,iDAAiD,CAAC;AAC9F,OAAO,EAAE,wBAAwB,EAAE,MAAM,6CAA6C,CAAC;AAEvF,OAAO,EAAE,yBAAyB,EAAE,MAAM,8CAA8C,CAAC;AACzF,OAAO,EAAE,8BAA8B,EAAE,MAAM,wCAAwC,CAAC;AASxF;;;;;;;GAOG;AACH,MAAM,OAAO,uBAAuB;IACjB,WAAW,CAAwB;IACnC,KAAK,CAAW;IAChB,MAAM,GAAG,IAAI,8BAA8B,EAAE,CAAC;IAE/D,YAAY,UAA6C;QACvD,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC,WAAW,CAAC;QAC1C,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;IAChC,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAA8B;QACnC,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,OAAO,CAAC;QAC7C,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC;YACjD,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC,eAAe,CAAC;YAC1C,QAAQ,EAAE,MAAM,CAAC,EAAE;YACnB,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE;SACtB,CAAC,CAAC;QAEH,yEAAyE;QACzE,qEAAqE;QACrE,2BAA2B,CACzB,YAAY,CAAC,QAAQ,EACrB,MAAM,EACN,UAAU,CAAC,IAAI,CAAC,aAAa,CAAC,CAC/B,CAAC;QAEF,MAAM,IAAI,GAAG,IAAI,CAAC,WAAW,CAC3B,yBAAyB,CAAC,YAAY,CAAC,QAAQ,CAAC,CACjD,CAAC;QAEF,wBAAwB,CAAC,IAAI,CAAC,CAAC;QAE/B,OAAO;YACL,SAAS,EAAE,EAAE;YACb,oBAAoB,EAAE,IAAI,CAAC,MAAM,CAAC,EAAE,CAClC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CACjD;SACF,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { SimCognitoAuthResolver } from "./sim-cognito-auth-resolver.js";
|
|
2
|
+
import type { SimCognitoNewPasswordResponse } from "./sim-cognito-new-password-response.js";
|
|
3
|
+
import type { SimRespondToAuthChallengeCommand, SimRespondToAuthChallengeCommandOutput } from "./auth.command.js";
|
|
4
|
+
interface SimCognitoRespondToChallengeProperties {
|
|
5
|
+
readonly authResolver: SimCognitoAuthResolver;
|
|
6
|
+
readonly newPassword: SimCognitoNewPasswordResponse;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* The RespondToAuthChallenge command.
|
|
10
|
+
*
|
|
11
|
+
* This completes a challenge an `InitiateAuth` request was answered with, so
|
|
12
|
+
* it names the app client rather than the pool and needs no IAM permission,
|
|
13
|
+
* as real Cognito needs none for it.
|
|
14
|
+
*/
|
|
15
|
+
export declare class SimCognitoRespondToChallenge {
|
|
16
|
+
private readonly authResolver;
|
|
17
|
+
private readonly newPassword;
|
|
18
|
+
private readonly unsimulatedOptions;
|
|
19
|
+
constructor(properties: SimCognitoRespondToChallengeProperties);
|
|
20
|
+
/**
|
|
21
|
+
* Answer a challenge.
|
|
22
|
+
*/
|
|
23
|
+
handle(command: SimRespondToAuthChallengeCommand): SimRespondToAuthChallengeCommandOutput;
|
|
24
|
+
}
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=sim-cognito-respond-to-challenge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cognito-respond-to-challenge.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/command/auth/sim-cognito-respond-to-challenge.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAE7E,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,wCAAwC,CAAC;AAE5F,OAAO,KAAK,EACV,gCAAgC,EAChC,sCAAsC,EACvC,MAAM,mBAAmB,CAAC;AAE3B,UAAU,sCAAsC;IAC9C,QAAQ,CAAC,YAAY,EAAE,sBAAsB,CAAC;IAC9C,QAAQ,CAAC,WAAW,EAAE,6BAA6B,CAAC;CACrD;AAED;;;;;;GAMG;AACH,qBAAa,4BAA4B;IACvC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAyB;IACtD,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAgC;IAC5D,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAA0C;IAE7E,YAAY,UAAU,EAAE,sCAAsC,EAG7D;IAED;;OAEG;IACH,MAAM,CACJ,OAAO,EAAE,gCAAgC,GACxC,sCAAsC,CAgBxC;CACF"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { SimCognitoAuthParameters } from "./sim-cognito-auth-parameters.js";
|
|
2
|
+
import { requireSimCognitoNewPasswordChallenge } from "./sim-cognito-auth-challenge.js";
|
|
3
|
+
import { SimCognitoUnsimulatedAuthOptions } from "./sim-cognito-unsimulated-auth-options.js";
|
|
4
|
+
/**
|
|
5
|
+
* The RespondToAuthChallenge command.
|
|
6
|
+
*
|
|
7
|
+
* This completes a challenge an `InitiateAuth` request was answered with, so
|
|
8
|
+
* it names the app client rather than the pool and needs no IAM permission,
|
|
9
|
+
* as real Cognito needs none for it.
|
|
10
|
+
*/
|
|
11
|
+
export class SimCognitoRespondToChallenge {
|
|
12
|
+
authResolver;
|
|
13
|
+
newPassword;
|
|
14
|
+
unsimulatedOptions = new SimCognitoUnsimulatedAuthOptions();
|
|
15
|
+
constructor(properties) {
|
|
16
|
+
this.authResolver = properties.authResolver;
|
|
17
|
+
this.newPassword = properties.newPassword;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Answer a challenge.
|
|
21
|
+
*/
|
|
22
|
+
handle(command) {
|
|
23
|
+
const { input } = command;
|
|
24
|
+
const { pool, client } = this.authResolver.client(input.ClientId);
|
|
25
|
+
this.unsimulatedOptions.refuseInResponse(input);
|
|
26
|
+
requireSimCognitoNewPasswordChallenge(input.ChallengeName);
|
|
27
|
+
return this.newPassword.handle({
|
|
28
|
+
pool,
|
|
29
|
+
client,
|
|
30
|
+
parameters: new SimCognitoAuthParameters("ChallengeResponses", input.ChallengeResponses),
|
|
31
|
+
session: input.Session,
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=sim-cognito-respond-to-challenge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cognito-respond-to-challenge.js","sourceRoot":"","sources":["../../../../../src/service/cognito/command/auth/sim-cognito-respond-to-challenge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAE5E,OAAO,EAAE,qCAAqC,EAAE,MAAM,iCAAiC,CAAC;AAExF,OAAO,EAAE,gCAAgC,EAAE,MAAM,2CAA2C,CAAC;AAW7F;;;;;;GAMG;AACH,MAAM,OAAO,4BAA4B;IACtB,YAAY,CAAyB;IACrC,WAAW,CAAgC;IAC3C,kBAAkB,GAAG,IAAI,gCAAgC,EAAE,CAAC;IAE7E,YAAY,UAAkD;QAC5D,IAAI,CAAC,YAAY,GAAG,UAAU,CAAC,YAAY,CAAC;QAC5C,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC,WAAW,CAAC;IAC5C,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,OAAyC;QAEzC,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC;QAC1B,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QAElE,IAAI,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;QAChD,qCAAqC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;QAE3D,OAAO,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC;YAC7B,IAAI;YACJ,MAAM;YACN,UAAU,EAAE,IAAI,wBAAwB,CACtC,oBAAoB,EACpB,KAAK,CAAC,kBAAkB,CACzB;YACD,OAAO,EAAE,KAAK,CAAC,OAAO;SACvB,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { SimClock } from "../../../../util/clock/sim-clock.js";
|
|
2
|
+
import type { SimAwsCaller } from "../../../aws/caller/sim-aws-caller.js";
|
|
3
|
+
import type { SimCognitoUserPoolStore } from "../../user-pool/sim-cognito-user-pool-store.js";
|
|
4
|
+
import type { SimCognitoRequestResolver } from "../sim-cognito-request-resolver.js";
|
|
5
|
+
import type { SimAdminUserGlobalSignOutCommand, SimAdminUserGlobalSignOutCommandOutput, SimGlobalSignOutCommand, SimGlobalSignOutCommandOutput } from "./auth.command.js";
|
|
6
|
+
interface SimCognitoSignOutCommandsProperties {
|
|
7
|
+
readonly resolver: SimCognitoRequestResolver;
|
|
8
|
+
readonly pools: SimCognitoUserPoolStore;
|
|
9
|
+
readonly clock: SimClock;
|
|
10
|
+
}
|
|
11
|
+
interface SimCognitoCommandOptions {
|
|
12
|
+
readonly caller?: SimAwsCaller;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* The commands that sign a user out of every session it has.
|
|
16
|
+
*
|
|
17
|
+
* Both forget the refresh and access tokens the user holds, so a later
|
|
18
|
+
* `REFRESH_TOKEN_AUTH` fails and the access token that signed out cannot sign
|
|
19
|
+
* out again. Real Cognito revokes them the same way. Where they differ is
|
|
20
|
+
* authorization: `GlobalSignOut` is authorized by the user's own access token
|
|
21
|
+
* and evaluates no IAM policy, and `AdminUserGlobalSignOut` is an
|
|
22
|
+
* administrative call that needs the IAM permission on the pool.
|
|
23
|
+
*/
|
|
24
|
+
export declare class SimCognitoSignOutCommands {
|
|
25
|
+
private readonly resolver;
|
|
26
|
+
private readonly pools;
|
|
27
|
+
private readonly clock;
|
|
28
|
+
constructor(properties: SimCognitoSignOutCommandsProperties);
|
|
29
|
+
/**
|
|
30
|
+
* Sign out the user an access token was issued to.
|
|
31
|
+
*/
|
|
32
|
+
globalSignOut(command: SimGlobalSignOutCommand): SimGlobalSignOutCommandOutput;
|
|
33
|
+
/**
|
|
34
|
+
* Sign out a user an administrator names.
|
|
35
|
+
*/
|
|
36
|
+
adminUserGlobalSignOut(command: SimAdminUserGlobalSignOutCommand, options?: SimCognitoCommandOptions): SimAdminUserGlobalSignOutCommandOutput;
|
|
37
|
+
}
|
|
38
|
+
export {};
|
|
39
|
+
//# sourceMappingURL=sim-cognito-sign-out.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cognito-sign-out.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/command/auth/sim-cognito-sign-out.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAE1E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gDAAgD,CAAC;AAC9F,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AACpF,OAAO,KAAK,EACV,gCAAgC,EAChC,sCAAsC,EACtC,uBAAuB,EACvB,6BAA6B,EAC9B,MAAM,mBAAmB,CAAC;AAE3B,UAAU,mCAAmC;IAC3C,QAAQ,CAAC,QAAQ,EAAE,yBAAyB,CAAC;IAC7C,QAAQ,CAAC,KAAK,EAAE,uBAAuB,CAAC;IACxC,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC;CAC1B;AAED,UAAU,wBAAwB;IAChC,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC;AAED;;;;;;;;;GASG;AACH,qBAAa,yBAAyB;IACpC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA4B;IACrD,OAAO,CAAC,QAAQ,CAAC,KAAK,CAA0B;IAChD,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAW;IAEjC,YAAY,UAAU,EAAE,mCAAmC,EAI1D;IAED;;OAEG;IACH,aAAa,CACX,OAAO,EAAE,uBAAuB,GAC/B,6BAA6B,CAiB/B;IAED;;OAEG;IACH,sBAAsB,CACpB,OAAO,EAAE,gCAAgC,EACzC,OAAO,CAAC,EAAE,wBAAwB,GACjC,sCAAsC,CAUxC;CACF"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { SimCognitoInvalidParameterException } from "../../error/sim-cognito.error.js";
|
|
2
|
+
/**
|
|
3
|
+
* The commands that sign a user out of every session it has.
|
|
4
|
+
*
|
|
5
|
+
* Both forget the refresh and access tokens the user holds, so a later
|
|
6
|
+
* `REFRESH_TOKEN_AUTH` fails and the access token that signed out cannot sign
|
|
7
|
+
* out again. Real Cognito revokes them the same way. Where they differ is
|
|
8
|
+
* authorization: `GlobalSignOut` is authorized by the user's own access token
|
|
9
|
+
* and evaluates no IAM policy, and `AdminUserGlobalSignOut` is an
|
|
10
|
+
* administrative call that needs the IAM permission on the pool.
|
|
11
|
+
*/
|
|
12
|
+
export class SimCognitoSignOutCommands {
|
|
13
|
+
resolver;
|
|
14
|
+
pools;
|
|
15
|
+
clock;
|
|
16
|
+
constructor(properties) {
|
|
17
|
+
this.resolver = properties.resolver;
|
|
18
|
+
this.pools = properties.pools;
|
|
19
|
+
this.clock = properties.clock;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Sign out the user an access token was issued to.
|
|
23
|
+
*/
|
|
24
|
+
globalSignOut(command) {
|
|
25
|
+
const accessToken = command.input.AccessToken;
|
|
26
|
+
if (accessToken === undefined || accessToken === "") {
|
|
27
|
+
throw new SimCognitoInvalidParameterException("AccessToken is required: sign out the user it was issued to");
|
|
28
|
+
}
|
|
29
|
+
const { pool, token } = this.pools.requireAccessToken(accessToken, this.clock.now());
|
|
30
|
+
pool.auth.signOut(token.username);
|
|
31
|
+
return { $metadata: {} };
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Sign out a user an administrator names.
|
|
35
|
+
*/
|
|
36
|
+
adminUserGlobalSignOut(command, options) {
|
|
37
|
+
const { pool, user } = this.resolver.poolUser("cognito-idp:AdminUserGlobalSignOut", command.input, options);
|
|
38
|
+
pool.auth.signOut(user.username);
|
|
39
|
+
return { $metadata: {} };
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=sim-cognito-sign-out.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cognito-sign-out.js","sourceRoot":"","sources":["../../../../../src/service/cognito/command/auth/sim-cognito-sign-out.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mCAAmC,EAAE,MAAM,kCAAkC,CAAC;AAoBvF;;;;;;;;;GASG;AACH,MAAM,OAAO,yBAAyB;IACnB,QAAQ,CAA4B;IACpC,KAAK,CAA0B;IAC/B,KAAK,CAAW;IAEjC,YAAY,UAA+C;QACzD,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC;QACpC,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;QAC9B,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;IAChC,CAAC;IAED;;OAEG;IACH,aAAa,CACX,OAAgC;QAEhC,MAAM,WAAW,GAAG,OAAO,CAAC,KAAK,CAAC,WAAW,CAAC;QAE9C,IAAI,WAAW,KAAK,SAAS,IAAI,WAAW,KAAK,EAAE,EAAE,CAAC;YACpD,MAAM,IAAI,mCAAmC,CAC3C,6DAA6D,CAC9D,CAAC;QACJ,CAAC;QAED,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,kBAAkB,CACnD,WAAW,EACX,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,CACjB,CAAC;QAEF,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QAElC,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;IAC3B,CAAC;IAED;;OAEG;IACH,sBAAsB,CACpB,OAAyC,EACzC,OAAkC;QAElC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAC3C,oCAAoC,EACpC,OAAO,CAAC,KAAK,EACb,OAAO,CACR,CAAC;QAEF,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAEjC,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;IAC3B,CAAC;CACF"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { SimAdminInitiateAuthCommandInput, SimAdminRespondToAuthChallengeCommandInput, SimInitiateAuthCommandInput, SimRespondToAuthChallengeCommandInput } from "./auth.command.js";
|
|
2
|
+
/**
|
|
3
|
+
* Refuses the authentication inputs this simulation does not model.
|
|
4
|
+
*
|
|
5
|
+
* All of them change what real Cognito does with a sign-in, and none of them
|
|
6
|
+
* can be honoured here, so a request carrying one is refused rather than
|
|
7
|
+
* signed in as if it had not.
|
|
8
|
+
*
|
|
9
|
+
* The admin operations and the client ones name the caller's device and
|
|
10
|
+
* address differently, `ContextData` against `UserContextData`, so each
|
|
11
|
+
* refusal names the input the caller actually wrote.
|
|
12
|
+
*/
|
|
13
|
+
export declare class SimCognitoUnsimulatedAuthOptions {
|
|
14
|
+
private readonly adminInitiation;
|
|
15
|
+
private readonly adminResponse;
|
|
16
|
+
private readonly initiation;
|
|
17
|
+
private readonly response;
|
|
18
|
+
private static refuseShared;
|
|
19
|
+
/**
|
|
20
|
+
* Refuse an `AdminInitiateAuth` request this simulation cannot honour.
|
|
21
|
+
*/
|
|
22
|
+
refuseInAdminInitiate(input: SimAdminInitiateAuthCommandInput): void;
|
|
23
|
+
/**
|
|
24
|
+
* Refuse an `AdminRespondToAuthChallenge` request this simulation cannot
|
|
25
|
+
* honour.
|
|
26
|
+
*/
|
|
27
|
+
refuseInAdminResponse(input: SimAdminRespondToAuthChallengeCommandInput): void;
|
|
28
|
+
/**
|
|
29
|
+
* Refuse an `InitiateAuth` request this simulation cannot honour.
|
|
30
|
+
*/
|
|
31
|
+
refuseInInitiate(input: SimInitiateAuthCommandInput): void;
|
|
32
|
+
/**
|
|
33
|
+
* Refuse a `RespondToAuthChallenge` request this simulation cannot honour.
|
|
34
|
+
*/
|
|
35
|
+
refuseInResponse(input: SimRespondToAuthChallengeCommandInput): void;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=sim-cognito-unsimulated-auth-options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cognito-unsimulated-auth-options.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/command/auth/sim-cognito-unsimulated-auth-options.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,gCAAgC,EAChC,0CAA0C,EAC1C,2BAA2B,EAC3B,qCAAqC,EACtC,MAAM,mBAAmB,CAAC;AAW3B;;;;;;;;;;GAUG;AACH,qBAAa,gCAAgC;IAC3C,OAAO,CAAC,QAAQ,CAAC,eAAe,CAE9B;IACF,OAAO,CAAC,QAAQ,CAAC,aAAa,CAE5B;IACF,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAkD;IAC7E,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAEvB;IAEF,OAAO,CAAC,MAAM,CAAC,YAAY;IAgB3B;;OAEG;IACH,qBAAqB,CAAC,KAAK,EAAE,gCAAgC,GAAG,IAAI,CAYnE;IAED;;;OAGG;IACH,qBAAqB,CACnB,KAAK,EAAE,0CAA0C,GAChD,IAAI,CAON;IAED;;OAEG;IACH,gBAAgB,CAAC,KAAK,EAAE,2BAA2B,GAAG,IAAI,CAYzD;IAED;;OAEG;IACH,gBAAgB,CAAC,KAAK,EAAE,qCAAqC,GAAG,IAAI,CAOnE;CACF"}
|