@kensio/yulin 1.19.1 → 1.19.3
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 +12 -0
- package/dist/serve/http/local-server/sim-aws-local-server.d.ts +31 -0
- package/dist/serve/http/local-server/sim-aws-local-server.d.ts.map +1 -1
- package/dist/serve/http/local-server/sim-aws-local-server.js +15 -1
- package/dist/serve/http/local-server/sim-aws-local-server.js.map +1 -1
- package/dist/serve/index.d.ts +1 -0
- package/dist/serve/index.d.ts.map +1 -1
- package/dist/serve/index.js.map +1 -1
- package/dist/serve/message/sim-local-message-logging.d.ts +39 -0
- package/dist/serve/message/sim-local-message-logging.d.ts.map +1 -0
- package/dist/serve/message/sim-local-message-logging.js +45 -0
- package/dist/serve/message/sim-local-message-logging.js.map +1 -0
- package/dist/serve/message/sim-message-log-console.d.ts +43 -0
- package/dist/serve/message/sim-message-log-console.d.ts.map +1 -0
- package/dist/serve/message/sim-message-log-console.js +71 -0
- package/dist/serve/message/sim-message-log-console.js.map +1 -0
- package/dist/serve/message/sim-message-logging.d.ts +42 -0
- package/dist/serve/message/sim-message-logging.d.ts.map +1 -0
- package/dist/serve/message/sim-message-logging.js +31 -0
- package/dist/serve/message/sim-message-logging.js.map +1 -0
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts +3 -0
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts.map +1 -1
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.js +12 -1
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.js.map +1 -1
- package/dist/service/aws/factory/sim-aws-service-factory.d.ts +9 -0
- package/dist/service/aws/factory/sim-aws-service-factory.d.ts.map +1 -1
- package/dist/service/aws/factory/sim-aws-service-factory.js +10 -0
- package/dist/service/aws/factory/sim-aws-service-factory.js.map +1 -1
- package/dist/service/aws/message/sim-aws-logged-message.d.ts +46 -0
- package/dist/service/aws/message/sim-aws-logged-message.d.ts.map +1 -0
- package/dist/service/aws/message/sim-aws-logged-message.js +2 -0
- package/dist/service/aws/message/sim-aws-logged-message.js.map +1 -0
- package/dist/service/aws/message/sim-aws-message-log.d.ts +40 -0
- package/dist/service/aws/message/sim-aws-message-log.d.ts.map +1 -0
- package/dist/service/aws/message/sim-aws-message-log.js +40 -0
- package/dist/service/aws/message/sim-aws-message-log.js.map +1 -0
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/property/sim-cdk-bucket-notification-properties.d.ts +4 -3
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/property/sim-cdk-bucket-notification-properties.d.ts.map +1 -1
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/property/sim-cdk-bucket-notification-properties.js +4 -3
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/property/sim-cdk-bucket-notification-properties.js.map +1 -1
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications.d.ts +5 -0
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications.d.ts.map +1 -1
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications.js +5 -0
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications.js.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.d.ts +2 -2
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.d.ts.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-deployer.js.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.d.ts +3 -3
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.d.ts.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.js.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-template-deployer.d.ts +5 -4
- package/dist/service/cloudformation/deploy/sim-cfn-template-deployer.d.ts.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-template-deployer.js.map +1 -1
- package/dist/service/cloudformation/index.d.ts +7 -0
- package/dist/service/cloudformation/index.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-cfn-value-adapter.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-cfn-value-adapter.js +8 -0
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-cfn-value-adapter.js.map +1 -1
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-configuration-set-cfn.d.ts +30 -0
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-configuration-set-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-configuration-set-cfn.js +29 -0
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-configuration-set-cfn.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-identity-cfn.js +1 -1
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-identity-cfn.js.map +1 -1
- package/dist/service/cloudformation/resource/sim-cfn-deployed-resource.type.d.ts +59 -0
- package/dist/service/cloudformation/resource/sim-cfn-deployed-resource.type.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/sim-cfn-deployed-resource.type.js +2 -0
- package/dist/service/cloudformation/resource/sim-cfn-deployed-resource.type.js.map +1 -0
- package/dist/service/cloudformation/sim-cloudformation.d.ts +8 -9
- package/dist/service/cloudformation/sim-cloudformation.d.ts.map +1 -1
- package/dist/service/cloudformation/sim-cloudformation.js +1 -3
- package/dist/service/cloudformation/sim-cloudformation.js.map +1 -1
- package/dist/service/cloudformation/stack/sim-cfn-deployed-stack.type.d.ts +68 -0
- package/dist/service/cloudformation/stack/sim-cfn-deployed-stack.type.d.ts.map +1 -0
- package/dist/service/cloudformation/stack/sim-cfn-deployed-stack.type.js +2 -0
- package/dist/service/cloudformation/stack/sim-cfn-deployed-stack.type.js.map +1 -0
- package/dist/service/cloudformation/stack/sim-cfn-stack.d.ts +2 -1
- package/dist/service/cloudformation/stack/sim-cfn-stack.d.ts.map +1 -1
- package/dist/service/cloudformation/stack/sim-cfn-stack.fixture.d.ts +21 -0
- package/dist/service/cloudformation/stack/sim-cfn-stack.fixture.d.ts.map +1 -0
- package/dist/service/cloudformation/stack/sim-cfn-stack.fixture.js +21 -0
- package/dist/service/cloudformation/stack/sim-cfn-stack.fixture.js.map +1 -0
- package/dist/service/cloudformation/stack/sim-cfn-stack.js.map +1 -1
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.d.ts.map +1 -1
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js +2 -0
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js.map +1 -1
- package/dist/service/cognito/cfn/sim-cfn-cognito-property-parser.d.ts +7 -0
- package/dist/service/cognito/cfn/sim-cfn-cognito-property-parser.d.ts.map +1 -1
- package/dist/service/cognito/cfn/sim-cfn-cognito-property-parser.js +14 -0
- package/dist/service/cognito/cfn/sim-cfn-cognito-property-parser.js.map +1 -1
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.d.ts.map +1 -1
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js +10 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-available-challenges.d.ts.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-available-challenges.js +7 -6
- package/dist/service/cognito/command/auth/sim-cognito-available-challenges.js.map +1 -1
- package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.d.ts +20 -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 +24 -4
- package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.js.map +1 -1
- package/dist/service/cognito/command/sim-cognito-commands.d.ts +4 -0
- package/dist/service/cognito/command/sim-cognito-commands.d.ts.map +1 -1
- package/dist/service/cognito/command/sim-cognito-commands.js +8 -2
- package/dist/service/cognito/command/sim-cognito-commands.js.map +1 -1
- package/dist/service/cognito/command/sim-cognito-unsimulated-input.d.ts +9 -0
- package/dist/service/cognito/command/sim-cognito-unsimulated-input.d.ts.map +1 -1
- package/dist/service/cognito/command/sim-cognito-unsimulated-input.js +13 -3
- package/dist/service/cognito/command/sim-cognito-unsimulated-input.js.map +1 -1
- package/dist/service/cognito/command/user/sim-cognito-user-mfa-commands.d.ts.map +1 -1
- package/dist/service/cognito/command/user/sim-cognito-user-mfa-commands.js +2 -1
- package/dist/service/cognito/command/user/sim-cognito-user-mfa-commands.js.map +1 -1
- package/dist/service/cognito/command/user/user-mfa.command.d.ts +4 -3
- package/dist/service/cognito/command/user/user-mfa.command.d.ts.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-messaging.d.ts +22 -8
- package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-messaging.d.ts.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-messaging.js +24 -11
- package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-messaging.js.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.d.ts +3 -3
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.d.ts.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.js +5 -4
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.js.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.d.ts +6 -0
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.d.ts.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.js +7 -0
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.js.map +1 -1
- package/dist/service/cognito/command/user-pool/user-pool-mfa.command.d.ts +7 -6
- package/dist/service/cognito/command/user-pool/user-pool-mfa.command.d.ts.map +1 -1
- package/dist/service/cognito/command/user-pool/user-pool.command.d.ts +4 -2
- package/dist/service/cognito/command/user-pool/user-pool.command.d.ts.map +1 -1
- package/dist/service/cognito/error/sim-cognito.error.d.ts +23 -0
- package/dist/service/cognito/error/sim-cognito.error.d.ts.map +1 -1
- package/dist/service/cognito/error/sim-cognito.error.js +27 -0
- package/dist/service/cognito/error/sim-cognito.error.js.map +1 -1
- package/dist/service/cognito/index.d.ts +4 -0
- package/dist/service/cognito/index.d.ts.map +1 -1
- package/dist/service/cognito/index.js +4 -0
- package/dist/service/cognito/index.js.map +1 -1
- package/dist/service/cognito/sim-cognito-identity-provider.d.ts +14 -0
- package/dist/service/cognito/sim-cognito-identity-provider.d.ts.map +1 -1
- package/dist/service/cognito/sim-cognito-identity-provider.js +5 -1
- package/dist/service/cognito/sim-cognito-identity-provider.js.map +1 -1
- package/dist/service/cognito/user-pool/message/sim-aws-cognito-email-senders.d.ts +42 -0
- package/dist/service/cognito/user-pool/message/sim-aws-cognito-email-senders.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/message/sim-aws-cognito-email-senders.js +84 -0
- package/dist/service/cognito/user-pool/message/sim-aws-cognito-email-senders.js.map +1 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-email-configuration-reader.d.ts +31 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-email-configuration-reader.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-email-configuration-reader.js +72 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-email-configuration-reader.js.map +1 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-email-configuration.d.ts +85 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-email-configuration.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-email-configuration.js +117 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-email-configuration.js.map +1 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-email-senders.d.ts +73 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-email-senders.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-email-senders.js +23 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-email-senders.js.map +1 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-email-source-arn.d.ts +39 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-email-source-arn.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-email-source-arn.js +33 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-email-source-arn.js.map +1 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-pool-email-delivery.d.ts +41 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-pool-email-delivery.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-pool-email-delivery.js +66 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-pool-email-delivery.js.map +1 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-pool-messenger.d.ts +19 -4
- package/dist/service/cognito/user-pool/message/sim-cognito-pool-messenger.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/message/sim-cognito-pool-messenger.js +30 -8
- package/dist/service/cognito/user-pool/message/sim-cognito-pool-messenger.js.map +1 -1
- package/dist/service/cognito/user-pool/message/sim-cognito-sent-message.d.ts +9 -3
- package/dist/service/cognito/user-pool/message/sim-cognito-sent-message.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/message/sim-cognito-sent-message.js +9 -3
- package/dist/service/cognito/user-pool/message/sim-cognito-sent-message.js.map +1 -1
- package/dist/service/cognito/user-pool/mfa/sim-cognito-user-pool-mfa.d.ts +2 -3
- package/dist/service/cognito/user-pool/mfa/sim-cognito-user-pool-mfa.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/mfa/sim-cognito-user-pool-mfa.js.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-arn.d.ts +4 -2
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-arn.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-arn.js +2 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-arn.js.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.d.ts +13 -0
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.js +7 -0
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.js.map +1 -1
- package/dist/service/elbv2/cfn/sim-cfn-elbv2.fixture.d.ts +2 -2
- package/dist/service/elbv2/cfn/sim-cfn-elbv2.fixture.d.ts.map +1 -1
- package/dist/service/elbv2/cfn/sim-cfn-elbv2.fixture.js.map +1 -1
- package/dist/service/iam/index.d.ts +1 -0
- package/dist/service/iam/index.d.ts.map +1 -1
- package/dist/service/iam/index.js.map +1 -1
- package/dist/service/ses/account/sim-ses-account.d.ts +22 -0
- package/dist/service/ses/account/sim-ses-account.d.ts.map +1 -1
- package/dist/service/ses/account/sim-ses-account.js +31 -0
- package/dist/service/ses/account/sim-ses-account.js.map +1 -1
- package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-creator.d.ts +30 -0
- package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-creator.d.ts.map +1 -0
- package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-creator.js +47 -0
- package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-creator.js.map +1 -0
- package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-option-groups.d.ts +23 -0
- package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-option-groups.d.ts.map +1 -0
- package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-option-groups.js +52 -0
- package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-option-groups.js.map +1 -0
- package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-properties.d.ts +39 -0
- package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-properties.d.ts.map +1 -0
- package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-properties.js +71 -0
- package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-properties.js.map +1 -0
- package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-unsimulated-properties.d.ts +17 -0
- package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-unsimulated-properties.d.ts.map +1 -0
- package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-unsimulated-properties.js +34 -0
- package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-unsimulated-properties.js.map +1 -0
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-creator.d.ts +5 -0
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-creator.d.ts.map +1 -1
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-creator.js +7 -0
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-creator.js.map +1 -1
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-properties.d.ts +13 -8
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-properties.d.ts.map +1 -1
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-properties.js +29 -14
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-properties.js.map +1 -1
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-settings.d.ts +18 -0
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-settings.d.ts.map +1 -0
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-settings.js +77 -0
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-settings.js.map +1 -0
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-values.d.ts +25 -0
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-values.d.ts.map +1 -0
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-values.js +49 -0
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-values.js.map +1 -0
- package/dist/service/ses/cfn/sim-cfn-ses-property-scalars.d.ts +25 -0
- package/dist/service/ses/cfn/sim-cfn-ses-property-scalars.d.ts.map +1 -0
- package/dist/service/ses/cfn/sim-cfn-ses-property-scalars.js +69 -0
- package/dist/service/ses/cfn/sim-cfn-ses-property-scalars.js.map +1 -0
- package/dist/service/ses/cfn/sim-cfn-ses-resource-types.d.ts +2 -0
- package/dist/service/ses/cfn/sim-cfn-ses-resource-types.d.ts.map +1 -1
- package/dist/service/ses/cfn/sim-cfn-ses-resource-types.js +2 -0
- package/dist/service/ses/cfn/sim-cfn-ses-resource-types.js.map +1 -1
- package/dist/service/ses/cfn/sim-ses-cfn-resource-factory.d.ts +3 -2
- package/dist/service/ses/cfn/sim-ses-cfn-resource-factory.d.ts.map +1 -1
- package/dist/service/ses/cfn/sim-ses-cfn-resource-factory.js +43 -40
- package/dist/service/ses/cfn/sim-ses-cfn-resource-factory.js.map +1 -1
- package/dist/service/ses/command/account/account.command.d.ts +22 -0
- package/dist/service/ses/command/account/account.command.d.ts.map +1 -1
- package/dist/service/ses/command/account/sim-ses-account-commands.d.ts +12 -4
- package/dist/service/ses/command/account/sim-ses-account-commands.d.ts.map +1 -1
- package/dist/service/ses/command/account/sim-ses-account-commands.js +16 -3
- package/dist/service/ses/command/account/sim-ses-account-commands.js.map +1 -1
- package/dist/service/ses/command/account/sim-ses-account-report.d.ts +3 -0
- package/dist/service/ses/command/account/sim-ses-account-report.d.ts.map +1 -1
- package/dist/service/ses/command/account/sim-ses-account-report.js +4 -0
- package/dist/service/ses/command/account/sim-ses-account-report.js.map +1 -1
- package/dist/service/ses/command/authorize/sim-ses-authorizer.d.ts +8 -0
- package/dist/service/ses/command/authorize/sim-ses-authorizer.d.ts.map +1 -1
- package/dist/service/ses/command/authorize/sim-ses-authorizer.js +11 -1
- package/dist/service/ses/command/authorize/sim-ses-authorizer.js.map +1 -1
- package/dist/service/ses/command/configuration-set/configuration-set.command.d.ts +100 -0
- package/dist/service/ses/command/configuration-set/configuration-set.command.d.ts.map +1 -0
- package/dist/service/ses/command/configuration-set/configuration-set.command.js +2 -0
- package/dist/service/ses/command/configuration-set/configuration-set.command.js.map +1 -0
- package/dist/service/ses/command/configuration-set/sim-ses-configuration-set-commands.d.ts +55 -0
- package/dist/service/ses/command/configuration-set/sim-ses-configuration-set-commands.d.ts.map +1 -0
- package/dist/service/ses/command/configuration-set/sim-ses-configuration-set-commands.js +105 -0
- package/dist/service/ses/command/configuration-set/sim-ses-configuration-set-commands.js.map +1 -0
- package/dist/service/ses/command/configuration-set/sim-ses-configuration-set-options.d.ts +11 -0
- package/dist/service/ses/command/configuration-set/sim-ses-configuration-set-options.d.ts.map +1 -0
- package/dist/service/ses/command/configuration-set/sim-ses-configuration-set-options.js +83 -0
- package/dist/service/ses/command/configuration-set/sim-ses-configuration-set-options.js.map +1 -0
- package/dist/service/ses/command/configuration-set/sim-ses-unsimulated-configuration-set-input.d.ts +12 -0
- package/dist/service/ses/command/configuration-set/sim-ses-unsimulated-configuration-set-input.d.ts.map +1 -0
- package/dist/service/ses/command/configuration-set/sim-ses-unsimulated-configuration-set-input.js +27 -0
- package/dist/service/ses/command/configuration-set/sim-ses-unsimulated-configuration-set-input.js.map +1 -0
- package/dist/service/ses/command/identity/identity.command.d.ts +55 -2
- package/dist/service/ses/command/identity/identity.command.d.ts.map +1 -1
- package/dist/service/ses/command/identity/sim-ses-identity-attributes.d.ts +29 -0
- package/dist/service/ses/command/identity/sim-ses-identity-attributes.d.ts.map +1 -0
- package/dist/service/ses/command/identity/sim-ses-identity-attributes.js +60 -0
- package/dist/service/ses/command/identity/sim-ses-identity-attributes.js.map +1 -0
- package/dist/service/ses/command/identity/sim-ses-identity-commands.d.ts +6 -1
- package/dist/service/ses/command/identity/sim-ses-identity-commands.d.ts.map +1 -1
- package/dist/service/ses/command/identity/sim-ses-identity-commands.js +12 -12
- package/dist/service/ses/command/identity/sim-ses-identity-commands.js.map +1 -1
- package/dist/service/ses/command/identity/sim-ses-identity-input-settings.d.ts +16 -0
- package/dist/service/ses/command/identity/sim-ses-identity-input-settings.d.ts.map +1 -0
- package/dist/service/ses/command/identity/sim-ses-identity-input-settings.js +57 -0
- package/dist/service/ses/command/identity/sim-ses-identity-input-settings.js.map +1 -0
- package/dist/service/ses/command/send/sim-ses-send-email.d.ts +6 -0
- package/dist/service/ses/command/send/sim-ses-send-email.d.ts.map +1 -1
- package/dist/service/ses/command/send/sim-ses-send-email.js +7 -0
- package/dist/service/ses/command/send/sim-ses-send-email.js.map +1 -1
- package/dist/service/ses/command/send/sim-ses-service-send.d.ts +68 -0
- package/dist/service/ses/command/send/sim-ses-service-send.d.ts.map +1 -0
- package/dist/service/ses/command/send/sim-ses-service-send.js +69 -0
- package/dist/service/ses/command/send/sim-ses-service-send.js.map +1 -0
- package/dist/service/ses/command/send/sim-ses-suppression-check.d.ts +31 -0
- package/dist/service/ses/command/send/sim-ses-suppression-check.d.ts.map +1 -0
- package/dist/service/ses/command/send/sim-ses-suppression-check.js +37 -0
- package/dist/service/ses/command/send/sim-ses-suppression-check.js.map +1 -0
- package/dist/service/ses/command/send/sim-ses-verified-identities.d.ts +8 -0
- package/dist/service/ses/command/send/sim-ses-verified-identities.d.ts.map +1 -1
- package/dist/service/ses/command/send/sim-ses-verified-identities.js +15 -2
- package/dist/service/ses/command/send/sim-ses-verified-identities.js.map +1 -1
- package/dist/service/ses/command/sim-ses-command.types.d.ts +4 -2
- package/dist/service/ses/command/sim-ses-command.types.d.ts.map +1 -1
- package/dist/service/ses/command/suppression/sim-ses-suppression-commands.d.ts +44 -0
- package/dist/service/ses/command/suppression/sim-ses-suppression-commands.d.ts.map +1 -0
- package/dist/service/ses/command/suppression/sim-ses-suppression-commands.js +79 -0
- package/dist/service/ses/command/suppression/sim-ses-suppression-commands.js.map +1 -0
- package/dist/service/ses/command/suppression/sim-ses-suppression-listing.d.ts +15 -0
- package/dist/service/ses/command/suppression/sim-ses-suppression-listing.d.ts.map +1 -0
- package/dist/service/ses/command/suppression/sim-ses-suppression-listing.js +29 -0
- package/dist/service/ses/command/suppression/sim-ses-suppression-listing.js.map +1 -0
- package/dist/service/ses/command/suppression/sim-ses-unsimulated-suppression-input.d.ts +9 -0
- package/dist/service/ses/command/suppression/sim-ses-unsimulated-suppression-input.d.ts.map +1 -0
- package/dist/service/ses/command/suppression/sim-ses-unsimulated-suppression-input.js +16 -0
- package/dist/service/ses/command/suppression/sim-ses-unsimulated-suppression-input.js.map +1 -0
- package/dist/service/ses/command/suppression/suppression.command.d.ts +90 -0
- package/dist/service/ses/command/suppression/suppression.command.d.ts.map +1 -0
- package/dist/service/ses/command/suppression/suppression.command.js +2 -0
- package/dist/service/ses/command/suppression/suppression.command.js.map +1 -0
- package/dist/service/ses/configuration-set/sim-ses-configuration-set-store.d.ts +44 -0
- package/dist/service/ses/configuration-set/sim-ses-configuration-set-store.d.ts.map +1 -0
- package/dist/service/ses/configuration-set/sim-ses-configuration-set-store.js +91 -0
- package/dist/service/ses/configuration-set/sim-ses-configuration-set-store.js.map +1 -0
- package/dist/service/ses/configuration-set/sim-ses-configuration-set.d.ts +75 -0
- package/dist/service/ses/configuration-set/sim-ses-configuration-set.d.ts.map +1 -0
- package/dist/service/ses/configuration-set/sim-ses-configuration-set.js +44 -0
- package/dist/service/ses/configuration-set/sim-ses-configuration-set.js.map +1 -0
- package/dist/service/ses/email/sim-ses-sent-email.d.ts +29 -0
- package/dist/service/ses/email/sim-ses-sent-email.d.ts.map +1 -1
- package/dist/service/ses/email/sim-ses-sent-email.js +21 -0
- package/dist/service/ses/email/sim-ses-sent-email.js.map +1 -1
- package/dist/service/ses/identity/sim-ses-dkim-tokens.d.ts.map +1 -0
- package/dist/service/ses/identity/sim-ses-dkim-tokens.js.map +1 -0
- package/dist/service/ses/identity/sim-ses-identity-name.d.ts +5 -0
- package/dist/service/ses/identity/sim-ses-identity-name.d.ts.map +1 -1
- package/dist/service/ses/identity/sim-ses-identity-name.js +5 -1
- package/dist/service/ses/identity/sim-ses-identity-name.js.map +1 -1
- package/dist/service/ses/identity/sim-ses-identity-settings.d.ts +64 -0
- package/dist/service/ses/identity/sim-ses-identity-settings.d.ts.map +1 -0
- package/dist/service/ses/identity/sim-ses-identity-settings.js +21 -0
- package/dist/service/ses/identity/sim-ses-identity-settings.js.map +1 -0
- package/dist/service/ses/identity/sim-ses-identity-store.d.ts +2 -1
- package/dist/service/ses/identity/sim-ses-identity-store.d.ts.map +1 -1
- package/dist/service/ses/identity/sim-ses-identity-store.js +2 -1
- package/dist/service/ses/identity/sim-ses-identity-store.js.map +1 -1
- package/dist/service/ses/identity/sim-ses-identity.d.ts +38 -0
- package/dist/service/ses/identity/sim-ses-identity.d.ts.map +1 -1
- package/dist/service/ses/identity/sim-ses-identity.js +54 -0
- package/dist/service/ses/identity/sim-ses-identity.js.map +1 -1
- package/dist/service/ses/index.d.ts +10 -3
- package/dist/service/ses/index.d.ts.map +1 -1
- package/dist/service/ses/index.js +7 -1
- package/dist/service/ses/index.js.map +1 -1
- package/dist/service/ses/sdk/sim-ses-sdk-command-router.d.ts.map +1 -1
- package/dist/service/ses/sdk/sim-ses-sdk-command-router.js +36 -0
- package/dist/service/ses/sdk/sim-ses-sdk-command-router.js.map +1 -1
- package/dist/service/ses/sim-ses-arn.d.ts +7 -0
- package/dist/service/ses/sim-ses-arn.d.ts.map +1 -1
- package/dist/service/ses/sim-ses-arn.js +9 -0
- package/dist/service/ses/sim-ses-arn.js.map +1 -1
- package/dist/service/ses/sim-ses-commands.d.ts +14 -0
- package/dist/service/ses/sim-ses-commands.d.ts.map +1 -1
- package/dist/service/ses/sim-ses-commands.js +47 -5
- package/dist/service/ses/sim-ses-commands.js.map +1 -1
- package/dist/service/ses/sim-ses-configuration-sets.d.ts +47 -0
- package/dist/service/ses/sim-ses-configuration-sets.d.ts.map +1 -0
- package/dist/service/ses/sim-ses-configuration-sets.js +60 -0
- package/dist/service/ses/sim-ses-configuration-sets.js.map +1 -0
- package/dist/service/ses/sim-ses-suppression.d.ts +52 -0
- package/dist/service/ses/sim-ses-suppression.d.ts.map +1 -0
- package/dist/service/ses/sim-ses-suppression.js +63 -0
- package/dist/service/ses/sim-ses-suppression.js.map +1 -0
- package/dist/service/ses/sim-ses-v2.d.ts +14 -1
- package/dist/service/ses/sim-ses-v2.d.ts.map +1 -1
- package/dist/service/ses/sim-ses-v2.js +48 -35
- package/dist/service/ses/sim-ses-v2.js.map +1 -1
- package/dist/service/ses/suppression/sim-ses-suppressed-destination.d.ts +24 -0
- package/dist/service/ses/suppression/sim-ses-suppressed-destination.d.ts.map +1 -0
- package/dist/service/ses/suppression/sim-ses-suppressed-destination.js +21 -0
- package/dist/service/ses/suppression/sim-ses-suppressed-destination.js.map +1 -0
- package/dist/service/ses/suppression/sim-ses-suppression-address.d.ts +9 -0
- package/dist/service/ses/suppression/sim-ses-suppression-address.d.ts.map +1 -0
- package/dist/service/ses/suppression/sim-ses-suppression-address.js +21 -0
- package/dist/service/ses/suppression/sim-ses-suppression-address.js.map +1 -0
- package/dist/service/ses/suppression/sim-ses-suppression-list.d.ts +57 -0
- package/dist/service/ses/suppression/sim-ses-suppression-list.d.ts.map +1 -0
- package/dist/service/ses/suppression/sim-ses-suppression-list.js +82 -0
- package/dist/service/ses/suppression/sim-ses-suppression-list.js.map +1 -0
- package/dist/service/ses/suppression/sim-ses-suppression-reason.d.ts +20 -0
- package/dist/service/ses/suppression/sim-ses-suppression-reason.d.ts.map +1 -0
- package/dist/service/ses/suppression/sim-ses-suppression-reason.js +24 -0
- package/dist/service/ses/suppression/sim-ses-suppression-reason.js.map +1 -0
- package/dist/service/sns/command/sim-sns-commands.d.ts +2 -0
- package/dist/service/sns/command/sim-sns-commands.d.ts.map +1 -1
- package/dist/service/sns/command/sim-sns-commands.js +4 -1
- package/dist/service/sns/command/sim-sns-commands.js.map +1 -1
- package/dist/service/sns/sim-sns.d.ts +7 -0
- package/dist/service/sns/sim-sns.d.ts.map +1 -1
- package/dist/service/sns/sim-sns.js +3 -1
- package/dist/service/sns/sim-sns.js.map +1 -1
- package/dist/service/sns/sms/sim-sns-sent-sms-store.d.ts +13 -0
- package/dist/service/sns/sms/sim-sns-sent-sms-store.d.ts.map +1 -1
- package/dist/service/sns/sms/sim-sns-sent-sms-store.js +15 -0
- package/dist/service/sns/sms/sim-sns-sent-sms-store.js.map +1 -1
- package/dist/terraform/index.d.ts +6 -0
- package/dist/terraform/index.d.ts.map +1 -0
- package/dist/terraform/index.js +2 -0
- package/dist/terraform/index.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-cloudwatch-dimensions.d.ts +20 -0
- package/dist/terraform/map/sim-tf-map-cloudwatch-dimensions.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-cloudwatch-dimensions.js +36 -0
- package/dist/terraform/map/sim-tf-map-cloudwatch-dimensions.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-cloudwatch.d.ts +12 -0
- package/dist/terraform/map/sim-tf-map-cloudwatch.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-cloudwatch.js +69 -0
- package/dist/terraform/map/sim-tf-map-cloudwatch.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-cognito-client.d.ts +15 -0
- package/dist/terraform/map/sim-tf-map-cognito-client.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-cognito-client.js +37 -0
- package/dist/terraform/map/sim-tf-map-cognito-client.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-cognito-pool.d.ts +26 -0
- package/dist/terraform/map/sim-tf-map-cognito-pool.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-cognito-pool.js +70 -0
- package/dist/terraform/map/sim-tf-map-cognito-pool.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-cognito.d.ts +13 -0
- package/dist/terraform/map/sim-tf-map-cognito.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-cognito.js +39 -0
- package/dist/terraform/map/sim-tf-map-cognito.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-dynamodb-keys.d.ts +31 -0
- package/dist/terraform/map/sim-tf-map-dynamodb-keys.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-dynamodb-keys.js +71 -0
- package/dist/terraform/map/sim-tf-map-dynamodb-keys.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-dynamodb.d.ts +5 -0
- package/dist/terraform/map/sim-tf-map-dynamodb.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-dynamodb.js +31 -0
- package/dist/terraform/map/sim-tf-map-dynamodb.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-ecr.d.ts +12 -0
- package/dist/terraform/map/sim-tf-map-ecr.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-ecr.js +34 -0
- package/dist/terraform/map/sim-tf-map-ecr.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-events.d.ts +24 -0
- package/dist/terraform/map/sim-tf-map-events.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-events.js +151 -0
- package/dist/terraform/map/sim-tf-map-events.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-http-api-routes.d.ts +10 -0
- package/dist/terraform/map/sim-tf-map-http-api-routes.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-http-api-routes.js +48 -0
- package/dist/terraform/map/sim-tf-map-http-api-routes.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-http-api.d.ts +7 -0
- package/dist/terraform/map/sim-tf-map-http-api.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-http-api.js +38 -0
- package/dist/terraform/map/sim-tf-map-http-api.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-iam-policy.d.ts +32 -0
- package/dist/terraform/map/sim-tf-map-iam-policy.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-iam-policy.js +85 -0
- package/dist/terraform/map/sim-tf-map-iam-policy.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-iam.d.ts +7 -0
- package/dist/terraform/map/sim-tf-map-iam.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-iam.js +37 -0
- package/dist/terraform/map/sim-tf-map-iam.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-kms.d.ts +25 -0
- package/dist/terraform/map/sim-tf-map-kms.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-kms.js +75 -0
- package/dist/terraform/map/sim-tf-map-kms.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-lambda-environment.d.ts +20 -0
- package/dist/terraform/map/sim-tf-map-lambda-environment.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-lambda-environment.js +52 -0
- package/dist/terraform/map/sim-tf-map-lambda-environment.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-lambda.d.ts +19 -0
- package/dist/terraform/map/sim-tf-map-lambda.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-lambda.js +73 -0
- package/dist/terraform/map/sim-tf-map-lambda.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-logs.d.ts +12 -0
- package/dist/terraform/map/sim-tf-map-logs.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-logs.js +22 -0
- package/dist/terraform/map/sim-tf-map-logs.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-s3-folds.d.ts +9 -0
- package/dist/terraform/map/sim-tf-map-s3-folds.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-s3-folds.js +47 -0
- package/dist/terraform/map/sim-tf-map-s3-folds.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-s3-lifecycle.d.ts +4 -0
- package/dist/terraform/map/sim-tf-map-s3-lifecycle.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-s3-lifecycle.js +92 -0
- package/dist/terraform/map/sim-tf-map-s3-lifecycle.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-s3-notification-destinations.d.ts +5 -0
- package/dist/terraform/map/sim-tf-map-s3-notification-destinations.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-s3-notification-destinations.js +30 -0
- package/dist/terraform/map/sim-tf-map-s3-notification-destinations.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-s3-notification-filter.d.ts +12 -0
- package/dist/terraform/map/sim-tf-map-s3-notification-filter.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-s3-notification-filter.js +21 -0
- package/dist/terraform/map/sim-tf-map-s3-notification-filter.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-s3-notification.d.ts +50 -0
- package/dist/terraform/map/sim-tf-map-s3-notification.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-s3-notification.js +80 -0
- package/dist/terraform/map/sim-tf-map-s3-notification.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-s3-rules.d.ts +7 -0
- package/dist/terraform/map/sim-tf-map-s3-rules.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-s3-rules.js +49 -0
- package/dist/terraform/map/sim-tf-map-s3-rules.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-s3.d.ts +5 -0
- package/dist/terraform/map/sim-tf-map-s3.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-s3.js +18 -0
- package/dist/terraform/map/sim-tf-map-s3.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-secretsmanager.d.ts +12 -0
- package/dist/terraform/map/sim-tf-map-secretsmanager.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-secretsmanager.js +24 -0
- package/dist/terraform/map/sim-tf-map-secretsmanager.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-sns.d.ts +15 -0
- package/dist/terraform/map/sim-tf-map-sns.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-sns.js +40 -0
- package/dist/terraform/map/sim-tf-map-sns.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-sqs-redrive.d.ts +32 -0
- package/dist/terraform/map/sim-tf-map-sqs-redrive.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-sqs-redrive.js +68 -0
- package/dist/terraform/map/sim-tf-map-sqs-redrive.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-sqs.d.ts +11 -0
- package/dist/terraform/map/sim-tf-map-sqs.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-sqs.js +26 -0
- package/dist/terraform/map/sim-tf-map-sqs.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-ssm.d.ts +13 -0
- package/dist/terraform/map/sim-tf-map-ssm.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-ssm.js +24 -0
- package/dist/terraform/map/sim-tf-map-ssm.js.map +1 -0
- package/dist/terraform/sim-tf-adapter.d.ts +80 -0
- package/dist/terraform/sim-tf-adapter.d.ts.map +1 -0
- package/dist/terraform/sim-tf-adapter.js +44 -0
- package/dist/terraform/sim-tf-adapter.js.map +1 -0
- package/dist/terraform/sim-tf-attribute-reads.d.ts +12 -0
- package/dist/terraform/sim-tf-attribute-reads.d.ts.map +1 -0
- package/dist/terraform/sim-tf-attribute-reads.js +60 -0
- package/dist/terraform/sim-tf-attribute-reads.js.map +1 -0
- package/dist/terraform/sim-tf-attributes.d.ts +69 -0
- package/dist/terraform/sim-tf-attributes.d.ts.map +1 -0
- package/dist/terraform/sim-tf-attributes.js +121 -0
- package/dist/terraform/sim-tf-attributes.js.map +1 -0
- package/dist/terraform/sim-tf-declare.d.ts +37 -0
- package/dist/terraform/sim-tf-declare.d.ts.map +1 -0
- package/dist/terraform/sim-tf-declare.js +83 -0
- package/dist/terraform/sim-tf-declare.js.map +1 -0
- package/dist/terraform/sim-tf-fold.d.ts +26 -0
- package/dist/terraform/sim-tf-fold.d.ts.map +1 -0
- package/dist/terraform/sim-tf-fold.js +72 -0
- package/dist/terraform/sim-tf-fold.js.map +1 -0
- package/dist/terraform/sim-tf-import.d.ts +31 -0
- package/dist/terraform/sim-tf-import.d.ts.map +1 -0
- package/dist/terraform/sim-tf-import.js +38 -0
- package/dist/terraform/sim-tf-import.js.map +1 -0
- package/dist/terraform/sim-tf-logical-id.d.ts +27 -0
- package/dist/terraform/sim-tf-logical-id.d.ts.map +1 -0
- package/dist/terraform/sim-tf-logical-id.js +83 -0
- package/dist/terraform/sim-tf-logical-id.js.map +1 -0
- package/dist/terraform/sim-tf-mapping.type.d.ts +73 -0
- package/dist/terraform/sim-tf-mapping.type.d.ts.map +1 -0
- package/dist/terraform/sim-tf-mapping.type.js +2 -0
- package/dist/terraform/sim-tf-mapping.type.js.map +1 -0
- package/dist/terraform/sim-tf-module-outputs.d.ts +11 -0
- package/dist/terraform/sim-tf-module-outputs.d.ts.map +1 -0
- package/dist/terraform/sim-tf-module-outputs.js +33 -0
- package/dist/terraform/sim-tf-module-outputs.js.map +1 -0
- package/dist/terraform/sim-tf-nested-attributes.d.ts +33 -0
- package/dist/terraform/sim-tf-nested-attributes.d.ts.map +1 -0
- package/dist/terraform/sim-tf-nested-attributes.js +97 -0
- package/dist/terraform/sim-tf-nested-attributes.js.map +1 -0
- package/dist/terraform/sim-tf-override.type.d.ts +36 -0
- package/dist/terraform/sim-tf-override.type.d.ts.map +1 -0
- package/dist/terraform/sim-tf-override.type.js +2 -0
- package/dist/terraform/sim-tf-override.type.js.map +1 -0
- package/dist/terraform/sim-tf-overrides.d.ts +21 -0
- package/dist/terraform/sim-tf-overrides.d.ts.map +1 -0
- package/dist/terraform/sim-tf-overrides.js +40 -0
- package/dist/terraform/sim-tf-overrides.js.map +1 -0
- package/dist/terraform/sim-tf-plan-file.d.ts +23 -0
- package/dist/terraform/sim-tf-plan-file.d.ts.map +1 -0
- package/dist/terraform/sim-tf-plan-file.js +58 -0
- package/dist/terraform/sim-tf-plan-file.js.map +1 -0
- package/dist/terraform/sim-tf-plan-resources.d.ts +18 -0
- package/dist/terraform/sim-tf-plan-resources.d.ts.map +1 -0
- package/dist/terraform/sim-tf-plan-resources.js +52 -0
- package/dist/terraform/sim-tf-plan-resources.js.map +1 -0
- package/dist/terraform/sim-tf-plan-sections.d.ts +31 -0
- package/dist/terraform/sim-tf-plan-sections.d.ts.map +1 -0
- package/dist/terraform/sim-tf-plan-sections.js +60 -0
- package/dist/terraform/sim-tf-plan-sections.js.map +1 -0
- package/dist/terraform/sim-tf-plan.type.d.ts +98 -0
- package/dist/terraform/sim-tf-plan.type.d.ts.map +1 -0
- package/dist/terraform/sim-tf-plan.type.js +2 -0
- package/dist/terraform/sim-tf-plan.type.js.map +1 -0
- package/dist/terraform/sim-tf-reference-address.d.ts +52 -0
- package/dist/terraform/sim-tf-reference-address.d.ts.map +1 -0
- package/dist/terraform/sim-tf-reference-address.js +102 -0
- package/dist/terraform/sim-tf-reference-address.js.map +1 -0
- package/dist/terraform/sim-tf-reference.d.ts +82 -0
- package/dist/terraform/sim-tf-reference.d.ts.map +1 -0
- package/dist/terraform/sim-tf-reference.js +153 -0
- package/dist/terraform/sim-tf-reference.js.map +1 -0
- package/dist/terraform/sim-tf-referenced.d.ts +18 -0
- package/dist/terraform/sim-tf-referenced.d.ts.map +1 -0
- package/dist/terraform/sim-tf-referenced.js +40 -0
- package/dist/terraform/sim-tf-referenced.js.map +1 -0
- package/dist/terraform/sim-tf-refusal.d.ts +23 -0
- package/dist/terraform/sim-tf-refusal.d.ts.map +1 -0
- package/dist/terraform/sim-tf-refusal.js +44 -0
- package/dist/terraform/sim-tf-refusal.js.map +1 -0
- package/dist/terraform/sim-tf-registry.d.ts +15 -0
- package/dist/terraform/sim-tf-registry.d.ts.map +1 -0
- package/dist/terraform/sim-tf-registry.js +67 -0
- package/dist/terraform/sim-tf-registry.js.map +1 -0
- package/dist/terraform/sim-tf-report.d.ts +21 -0
- package/dist/terraform/sim-tf-report.d.ts.map +1 -0
- package/dist/terraform/sim-tf-report.js +57 -0
- package/dist/terraform/sim-tf-report.js.map +1 -0
- package/dist/terraform/sim-tf-report.type.d.ts +37 -0
- package/dist/terraform/sim-tf-report.type.d.ts.map +1 -0
- package/dist/terraform/sim-tf-report.type.js +2 -0
- package/dist/terraform/sim-tf-report.type.js.map +1 -0
- package/dist/terraform/sim-tf-resource.type.d.ts +33 -0
- package/dist/terraform/sim-tf-resource.type.d.ts.map +1 -0
- package/dist/terraform/sim-tf-resource.type.js +3 -0
- package/dist/terraform/sim-tf-resource.type.js.map +1 -0
- package/dist/terraform/sim-tf-settle.d.ts +36 -0
- package/dist/terraform/sim-tf-settle.d.ts.map +1 -0
- package/dist/terraform/sim-tf-settle.js +63 -0
- package/dist/terraform/sim-tf-settle.js.map +1 -0
- package/dist/util/filesystem/test-terraform-project.d.ts +67 -0
- package/dist/util/filesystem/test-terraform-project.d.ts.map +1 -0
- package/dist/util/filesystem/test-terraform-project.js +112 -0
- package/dist/util/filesystem/test-terraform-project.js.map +1 -0
- package/package.json +7 -2
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-dkim-tokens.d.ts.map +0 -1
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-dkim-tokens.js.map +0 -1
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-unsimulated-properties.d.ts +0 -17
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-unsimulated-properties.d.ts.map +0 -1
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-unsimulated-properties.js +0 -48
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-unsimulated-properties.js.map +0 -1
- package/dist/service/ses/command/identity/sim-ses-unsimulated-identity-input.d.ts +0 -12
- package/dist/service/ses/command/identity/sim-ses-unsimulated-identity-input.d.ts.map +0 -1
- package/dist/service/ses/command/identity/sim-ses-unsimulated-identity-input.js +0 -26
- package/dist/service/ses/command/identity/sim-ses-unsimulated-identity-input.js.map +0 -1
- /package/dist/service/{cloudformation/resource/cfn/ses → ses/identity}/sim-ses-dkim-tokens.d.ts +0 -0
- /package/dist/service/{cloudformation/resource/cfn/ses → ses/identity}/sim-ses-dkim-tokens.js +0 -0
|
@@ -11,8 +11,10 @@ export const simCognitoWebAuthnChallenge = "WEB_AUTHN";
|
|
|
11
11
|
* The two first factors this simulation presents.
|
|
12
12
|
*
|
|
13
13
|
* A code sent by email or by text is a `USER_AUTH` challenge too, and neither
|
|
14
|
-
* is issued here.
|
|
15
|
-
*
|
|
14
|
+
* is issued here. Signing in by one-time code is its own flow, with its own
|
|
15
|
+
* challenge, its own code and its own expiry, and none of it is built. A pool
|
|
16
|
+
* sending its messages through SES changes nothing about that: what is missing
|
|
17
|
+
* is the challenge rather than somewhere for the message to go.
|
|
16
18
|
*/
|
|
17
19
|
const presentedChallenges = [
|
|
18
20
|
simCognitoPasswordChallenge,
|
|
@@ -60,10 +62,9 @@ export function requireSimCognitoAvailableChallenge(challengeName, available, fi
|
|
|
60
62
|
`sign-in offers ${available.join(", ")}`);
|
|
61
63
|
}
|
|
62
64
|
if (!presentedChallenges.includes(challengeName)) {
|
|
63
|
-
throw new SimCognitoInvalidParameterException(`${field} '${challengeName}' is not simulated:
|
|
64
|
-
`by text
|
|
65
|
-
`
|
|
66
|
-
`${presentedChallenges.join(" or ")} instead.`);
|
|
65
|
+
throw new SimCognitoInvalidParameterException(`${field} '${challengeName}' is not simulated: signing in with a code ` +
|
|
66
|
+
`sent by email or by text is a challenge flow this simulation does ` +
|
|
67
|
+
`not run. Sign in with ${presentedChallenges.join(" or ")} instead.`);
|
|
67
68
|
}
|
|
68
69
|
}
|
|
69
70
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cognito-available-challenges.js","sourceRoot":"","sources":["../../../../../src/service/cognito/command/auth/sim-cognito-available-challenges.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mCAAmC,EAAE,MAAM,kCAAkC,CAAC;AAKvF;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,UAAU,CAAC;AAEtD;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,WAAW,CAAC;AAEvD
|
|
1
|
+
{"version":3,"file":"sim-cognito-available-challenges.js","sourceRoot":"","sources":["../../../../../src/service/cognito/command/auth/sim-cognito-available-challenges.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mCAAmC,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CAAC;IACJ,CAAC;IAED,IAAI,CAAC,mBAAmB,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE,CAAC;QACjD,MAAM,IAAI,mCAAmC,CAC3C,GAAG,KAAK,KAAK,aAAa,6CAA6C;YACrE,oEAAoE;YACpE,yBAAyB,mBAAmB,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,CACvE,CAAC;IACJ,CAAC;AACH,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,gCAAgC,CAC9C,IAAwB;IAExB,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC;IAE/C,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,2BAA2B,CAAC,EAAE,CAAC;QACnD,MAAM,IAAI,mCAAmC,CAC3C,uEAAuE;YACrE,kDAAkD,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CACzE,CAAC;IACJ,CAAC;AACH,CAAC"}
|
|
@@ -1,4 +1,24 @@
|
|
|
1
1
|
import type { SimCognitoUserPoolClientSettingsInput } from "./user-pool-client.command.js";
|
|
2
|
+
/**
|
|
3
|
+
* The app client inputs this simulation does not model, and what each of them
|
|
4
|
+
* would have done on real AWS.
|
|
5
|
+
*
|
|
6
|
+
* `AWS::Cognito::UserPoolClient` carries all four under the same names, and
|
|
7
|
+
* the CloudFormation layer reads this to say the same thing about a property
|
|
8
|
+
* it drops as this says about an input it refuses.
|
|
9
|
+
*
|
|
10
|
+
* `ClientSecret` is absent because CloudFormation has no such property. A
|
|
11
|
+
* template asks for a generated secret with `GenerateSecret` and reads the
|
|
12
|
+
* secret back out. `EnableTokenRevocation` is absent because its refusal
|
|
13
|
+
* depends on the value: `true` is what this simulation does, and only `false`
|
|
14
|
+
* is refused.
|
|
15
|
+
*/
|
|
16
|
+
export declare const simCognitoUnsimulatedClientOptions: {
|
|
17
|
+
readonly AnalyticsConfiguration: "Amazon Pinpoint analytics";
|
|
18
|
+
readonly EnablePropagateAdditionalUserContextData: "threat protection context data";
|
|
19
|
+
readonly ReadAttributes: "per-client attribute permissions";
|
|
20
|
+
readonly WriteAttributes: "per-client attribute permissions";
|
|
21
|
+
};
|
|
2
22
|
/**
|
|
3
23
|
* Refuses the app client inputs this simulation does not model.
|
|
4
24
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cognito-unsimulated-client-options.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/command/client/sim-cognito-unsimulated-client-options.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,+BAA+B,CAAC;AAE3F;;;;;;GAMG;AACH,qBAAa,0CAA0C;IACrD,OAAO,CAAC,QAAQ,CAAC,WAAW,CAA6B;IAEzD,YAAY,SAAS,EAAE,MAAM,EAE5B;IAED;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,qCAAqC,GAAG,IAAI,CAgC3D;CACF"}
|
|
1
|
+
{"version":3,"file":"sim-cognito-unsimulated-client-options.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/command/client/sim-cognito-unsimulated-client-options.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,+BAA+B,CAAC;AAE3F;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,kCAAkC;aAC7C,sBAAsB,EAAE,2BAA2B;aACnD,wCAAwC,EAAE,gCAAgC;aAC1E,cAAc,EAAE,kCAAkC;aAClD,eAAe,EAAE,kCAAkC;CAC3C,CAAC;AAEX;;;;;;GAMG;AACH,qBAAa,0CAA0C;IACrD,OAAO,CAAC,QAAQ,CAAC,WAAW,CAA6B;IAEzD,YAAY,SAAS,EAAE,MAAM,EAE5B;IAED;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,qCAAqC,GAAG,IAAI,CAgC3D;CACF"}
|
|
@@ -1,4 +1,24 @@
|
|
|
1
1
|
import { SimCognitoUnsimulatedInput } from "../sim-cognito-unsimulated-input.js";
|
|
2
|
+
/**
|
|
3
|
+
* The app client inputs this simulation does not model, and what each of them
|
|
4
|
+
* would have done on real AWS.
|
|
5
|
+
*
|
|
6
|
+
* `AWS::Cognito::UserPoolClient` carries all four under the same names, and
|
|
7
|
+
* the CloudFormation layer reads this to say the same thing about a property
|
|
8
|
+
* it drops as this says about an input it refuses.
|
|
9
|
+
*
|
|
10
|
+
* `ClientSecret` is absent because CloudFormation has no such property. A
|
|
11
|
+
* template asks for a generated secret with `GenerateSecret` and reads the
|
|
12
|
+
* secret back out. `EnableTokenRevocation` is absent because its refusal
|
|
13
|
+
* depends on the value: `true` is what this simulation does, and only `false`
|
|
14
|
+
* is refused.
|
|
15
|
+
*/
|
|
16
|
+
export const simCognitoUnsimulatedClientOptions = {
|
|
17
|
+
AnalyticsConfiguration: "Amazon Pinpoint analytics",
|
|
18
|
+
EnablePropagateAdditionalUserContextData: "threat protection context data",
|
|
19
|
+
ReadAttributes: "per-client attribute permissions",
|
|
20
|
+
WriteAttributes: "per-client attribute permissions",
|
|
21
|
+
};
|
|
2
22
|
/**
|
|
3
23
|
* Refuses the app client inputs this simulation does not model.
|
|
4
24
|
*
|
|
@@ -17,10 +37,10 @@ export class SimCognitoUnsimulatedUserPoolClientOptions {
|
|
|
17
37
|
refuseIn(input) {
|
|
18
38
|
this.unsimulated.refuseUnless("EnableTokenRevocation", input.EnableTokenRevocation, true, "token revocation");
|
|
19
39
|
this.unsimulated.refuse("ClientSecret", input.ClientSecret, "a secret of your own instead of a generated one");
|
|
20
|
-
this.unsimulated.refuse("AnalyticsConfiguration", input.AnalyticsConfiguration,
|
|
21
|
-
this.unsimulated.refuse("EnablePropagateAdditionalUserContextData", input.EnablePropagateAdditionalUserContextData,
|
|
22
|
-
this.unsimulated.refuse("ReadAttributes", input.ReadAttributes,
|
|
23
|
-
this.unsimulated.refuse("WriteAttributes", input.WriteAttributes,
|
|
40
|
+
this.unsimulated.refuse("AnalyticsConfiguration", input.AnalyticsConfiguration, simCognitoUnsimulatedClientOptions.AnalyticsConfiguration);
|
|
41
|
+
this.unsimulated.refuse("EnablePropagateAdditionalUserContextData", input.EnablePropagateAdditionalUserContextData, simCognitoUnsimulatedClientOptions.EnablePropagateAdditionalUserContextData);
|
|
42
|
+
this.unsimulated.refuse("ReadAttributes", input.ReadAttributes, simCognitoUnsimulatedClientOptions.ReadAttributes);
|
|
43
|
+
this.unsimulated.refuse("WriteAttributes", input.WriteAttributes, simCognitoUnsimulatedClientOptions.WriteAttributes);
|
|
24
44
|
}
|
|
25
45
|
}
|
|
26
46
|
//# sourceMappingURL=sim-cognito-unsimulated-client-options.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cognito-unsimulated-client-options.js","sourceRoot":"","sources":["../../../../../src/service/cognito/command/client/sim-cognito-unsimulated-client-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AAGjF;;;;;;GAMG;AACH,MAAM,OAAO,0CAA0C;IACpC,WAAW,CAA6B;IAEzD,YAAY,SAAiB;QAC3B,IAAI,CAAC,WAAW,GAAG,IAAI,0BAA0B,CAAC,SAAS,CAAC,CAAC;IAC/D,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,KAA4C;QACnD,IAAI,CAAC,WAAW,CAAC,YAAY,CAC3B,uBAAuB,EACvB,KAAK,CAAC,qBAAqB,EAC3B,IAAI,EACJ,kBAAkB,CACnB,CAAC;QACF,IAAI,CAAC,WAAW,CAAC,MAAM,CACrB,cAAc,EACd,KAAK,CAAC,YAAY,EAClB,iDAAiD,CAClD,CAAC;QACF,IAAI,CAAC,WAAW,CAAC,MAAM,CACrB,wBAAwB,EACxB,KAAK,CAAC,sBAAsB,EAC5B,
|
|
1
|
+
{"version":3,"file":"sim-cognito-unsimulated-client-options.js","sourceRoot":"","sources":["../../../../../src/service/cognito/command/client/sim-cognito-unsimulated-client-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AAGjF;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG;IAChD,sBAAsB,EAAE,2BAA2B;IACnD,wCAAwC,EAAE,gCAAgC;IAC1E,cAAc,EAAE,kCAAkC;IAClD,eAAe,EAAE,kCAAkC;CAC3C,CAAC;AAEX;;;;;;GAMG;AACH,MAAM,OAAO,0CAA0C;IACpC,WAAW,CAA6B;IAEzD,YAAY,SAAiB;QAC3B,IAAI,CAAC,WAAW,GAAG,IAAI,0BAA0B,CAAC,SAAS,CAAC,CAAC;IAC/D,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,KAA4C;QACnD,IAAI,CAAC,WAAW,CAAC,YAAY,CAC3B,uBAAuB,EACvB,KAAK,CAAC,qBAAqB,EAC3B,IAAI,EACJ,kBAAkB,CACnB,CAAC;QACF,IAAI,CAAC,WAAW,CAAC,MAAM,CACrB,cAAc,EACd,KAAK,CAAC,YAAY,EAClB,iDAAiD,CAClD,CAAC;QACF,IAAI,CAAC,WAAW,CAAC,MAAM,CACrB,wBAAwB,EACxB,KAAK,CAAC,sBAAsB,EAC5B,kCAAkC,CAAC,sBAAsB,CAC1D,CAAC;QACF,IAAI,CAAC,WAAW,CAAC,MAAM,CACrB,0CAA0C,EAC1C,KAAK,CAAC,wCAAwC,EAC9C,kCAAkC,CAAC,wCAAwC,CAC5E,CAAC;QACF,IAAI,CAAC,WAAW,CAAC,MAAM,CACrB,gBAAgB,EAChB,KAAK,CAAC,cAAc,EACpB,kCAAkC,CAAC,cAAc,CAClD,CAAC;QACF,IAAI,CAAC,WAAW,CAAC,MAAM,CACrB,iBAAiB,EACjB,KAAK,CAAC,eAAe,EACrB,kCAAkC,CAAC,eAAe,CACnD,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -3,6 +3,8 @@ import type { SimAwsAccountRegionScope } from "../../aws/sim-aws-account-region-
|
|
|
3
3
|
import type { SimIamInterServiceAuthZ } from "../../iam/authorize/sim-iam-inter-service-auth-z.js";
|
|
4
4
|
import { SimCognitoRegistrations } from "../user-pool/sim-cognito-registrations.js";
|
|
5
5
|
import type { SimCognitoUserPoolStore } from "../user-pool/sim-cognito-user-pool-store.js";
|
|
6
|
+
import type { SimAwsMessageLog } from "../../aws/message/sim-aws-message-log.js";
|
|
7
|
+
import type { SimCognitoEmailSenders } from "../user-pool/message/sim-cognito-email-senders.js";
|
|
6
8
|
import type { SimCognitoTriggerFunctions } from "../user-pool/trigger/sim-cognito-trigger-functions.js";
|
|
7
9
|
import type { SimCognitoDomainRegistry } from "../registry/sim-cognito-domain-registry.js";
|
|
8
10
|
import type { SimWafProtection } from "../../wafv2/association/sim-waf-protection.js";
|
|
@@ -32,7 +34,9 @@ interface SimCognitoCommandsProperties {
|
|
|
32
34
|
readonly pools: SimCognitoUserPoolStore;
|
|
33
35
|
readonly domains: SimCognitoDomainRegistry;
|
|
34
36
|
readonly triggerFunctions: SimCognitoTriggerFunctions;
|
|
37
|
+
readonly emailSenders: SimCognitoEmailSenders;
|
|
35
38
|
readonly webAcls: SimWafProtection;
|
|
39
|
+
readonly messageLog: SimAwsMessageLog;
|
|
36
40
|
}
|
|
37
41
|
/**
|
|
38
42
|
* The command handlers of one simulated Cognito scope.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cognito-commands.d.ts","sourceRoot":"","sources":["../../../../src/service/cognito/command/sim-cognito-commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qDAAqD,CAAC;AAGnG,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAEpF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-cognito-commands.d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AE,0BAA0B,CAAC;IACrD,SAAgB,MAAM,EAAE,wBAAwB,CAAC;IACjD,SAAgB,aAAa,EAAE,+BAA+B,CAAC;IAC/D,SAAgB,WAAW,EAAE,4BAA4B,CAAC;IAC1D,SAAgB,SAAS,EAAE,mBAAmB,CAAC;IAC/C,SAAgB,MAAM,EAAE,uBAAuB,CAAC;IAChD,SAAgB,eAAe,EAAE,iCAAiC,CAAC;IACnE,SAAgB,UAAU,EAAE,oBAAoB,CAAC;IACjD,SAAgB,IAAI,EAAE,sBAAsB,CAAC;IAC7C,SAAgB,OAAO,EAAE,wBAAwB,CAAC;IAClD,SAAgB,iBAAiB,EAAE,kCAAkC,CAAC;IACtE,SAAgB,MAAM,EAAE,wBAAwB,CAAC;IAEjD;;;OAGG;IACH,SAAgB,aAAa,EAAE,uBAAuB,CAAC;IAEvD;;;;OAIG;IACH,SAAgB,OAAO,EAAE,gBAAgB,CAAC;IAE1C,YAAY,UAAU,EAAE,4BAA4B,EAoInD;CACF"}
|
|
@@ -3,6 +3,7 @@ import { SimCognitoGroupFactory } from "../user-pool/group/sim-cognito-group-fac
|
|
|
3
3
|
import { SimCognitoRegistrations } from "../user-pool/sim-cognito-registrations.js";
|
|
4
4
|
import { SimCognitoUserPoolFactory } from "../user-pool/sim-cognito-user-pool-factory.js";
|
|
5
5
|
import { SimCognitoPoolMessenger } from "../user-pool/message/sim-cognito-pool-messenger.js";
|
|
6
|
+
import { SimCognitoPoolEmailDelivery } from "../user-pool/message/sim-cognito-pool-email-delivery.js";
|
|
6
7
|
import { SimCognitoUserPoolTriggers } from "../user-pool/trigger/sim-cognito-user-pool-triggers.js";
|
|
7
8
|
import { SimCognitoUserFactory } from "../user-pool/user/sim-cognito-user-factory.js";
|
|
8
9
|
import { SimCognitoTokenIssuer } from "../user-pool/token/sim-cognito-token-issuer.js";
|
|
@@ -69,7 +70,7 @@ export class SimCognitoCommands {
|
|
|
69
70
|
*/
|
|
70
71
|
webAcls;
|
|
71
72
|
constructor(properties) {
|
|
72
|
-
const { accountRegionScope, iam, clock, pools, domains, triggerFunctions } = properties;
|
|
73
|
+
const { accountRegionScope, iam, clock, pools, domains, triggerFunctions, emailSenders, } = properties;
|
|
73
74
|
this.webAcls = properties.webAcls;
|
|
74
75
|
const authorizer = new SimCognitoAuthorizer({ iam, accountRegionScope });
|
|
75
76
|
const resolver = new SimCognitoRequestResolver({ pools, authorizer });
|
|
@@ -82,7 +83,12 @@ export class SimCognitoCommands {
|
|
|
82
83
|
});
|
|
83
84
|
// The messages a pool would have sent are recorded by the sign-up and user
|
|
84
85
|
// commands alike, and both run the pool's CustomMessage trigger first.
|
|
85
|
-
const messenger = new SimCognitoPoolMessenger({
|
|
86
|
+
const messenger = new SimCognitoPoolMessenger({
|
|
87
|
+
triggers,
|
|
88
|
+
email: new SimCognitoPoolEmailDelivery({ senders: emailSenders }),
|
|
89
|
+
clock,
|
|
90
|
+
messageLog: properties.messageLog,
|
|
91
|
+
});
|
|
86
92
|
// One token issuer serves the API sign-ins and the hosted endpoints, so a
|
|
87
93
|
// token is the same thing however the user reached it.
|
|
88
94
|
const tokenIssuer = new SimCognitoTokenIssuer({ clock, triggers });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cognito-commands.js","sourceRoot":"","sources":["../../../../src/service/cognito/command/sim-cognito-commands.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,+BAA+B,EAAE,MAAM,6DAA6D,CAAC;AAC9G,OAAO,EAAE,sBAAsB,EAAE,MAAM,iDAAiD,CAAC;AACzF,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AACpF,OAAO,EAAE,yBAAyB,EAAE,MAAM,+CAA+C,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-cognito-commands.js","sourceRoot":"","sources":["../../../../src/service/cognito/command/sim-cognito-commands.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,+BAA+B,EAAE,MAAM,6DAA6D,CAAC;AAC9G,OAAO,EAAE,s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,GAAG,IAAI,mBAAmB,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC;QACvD,IAAI,CAAC,MAAM,GAAG,IAAI,uBAAuB,CAAC;YACxC,QAAQ;YACR,YAAY,EAAE,IAAI,sBAAsB,CAAC,EAAE,KAAK,EAAE,CAAC;SACpD,CAAC,CAAC;QACH,IAAI,CAAC,eAAe,GAAG,IAAI,iCAAiC,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC;QAC3E,IAAI,CAAC,UAAU,GAAG,IAAI,oBAAoB,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC;QACzD,IAAI,CAAC,IAAI,GAAG,IAAI,sBAAsB,CAAC;YACrC,QAAQ;YACR,YAAY;YACZ,KAAK;YACL,KAAK;YACL,QAAQ;YACR,WAAW;YACX,SAAS;YACT,WAAW;SACZ,CAAC,CAAC;QACH,IAAI,CAAC,OAAO,GAAG,IAAI,wBAAwB,CAAC;YAC1C,KAAK;YACL,OAAO;YACP,UAAU;YACV,kBAAkB;SACnB,CAAC,CAAC;QACH,IAAI,CAAC,iBAAiB,GAAG,IAAI,kCAAkC,CAAC;YAC9D,QAAQ;YACR,KAAK;SACN,CAAC,CAAC;QACH,yEAAyE;QACzE,uEAAuE;QACvE,oDAAoD;QACpD,IAAI,CAAC,MAAM,GAAG,IAAI,wBAAwB,CAAC;YACzC,WAAW;YACX,WAAW;YACX,SAAS,EAAE,WAAW;YACtB,KAAK;SACN,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Say what a request asking for an unsimulated input would have got on AWS.
|
|
3
|
+
*
|
|
4
|
+
* The CloudFormation layer records this same sentence against a property it
|
|
5
|
+
* drops, so a reader meets one wording for one limitation whichever path they
|
|
6
|
+
* came in on. It lives here because the refusal is what the wording was
|
|
7
|
+
* written for, and a second copy would drift.
|
|
8
|
+
*/
|
|
9
|
+
export declare function simCognitoUnsimulatedFeatureReason(feature: string): string;
|
|
1
10
|
/**
|
|
2
11
|
* Refuses a request input this simulation does not model.
|
|
3
12
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cognito-unsimulated-input.d.ts","sourceRoot":"","sources":["../../../../src/service/cognito/command/sim-cognito-unsimulated-input.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,qBAAa,0BAA0B;IACrC;;;OAGG;IACH,SAAgB,SAAS,EAAE,MAAM,CAAC;IAElC,YAAY,SAAS,EAAE,MAAM,EAE5B;IAED;;OAEG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"sim-cognito-unsimulated-input.d.ts","sourceRoot":"","sources":["../../../../src/service/cognito/command/sim-cognito-unsimulated-input.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,wBAAgB,kCAAkC,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAE1E;AAED;;;;;;;GAOG;AACH,qBAAa,0BAA0B;IACrC;;;OAGG;IACH,SAAgB,SAAS,EAAE,MAAM,CAAC;IAElC,YAAY,SAAS,EAAE,MAAM,EAE5B;IAED;;OAEG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,CAU5D;IAED;;OAEG;IACH,YAAY,CACV,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,EACnC,SAAS,EAAE,MAAM,GAAG,OAAO,EAC3B,OAAO,EAAE,MAAM,GACd,IAAI,CAUN;CACF"}
|
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
import { SimCognitoInvalidParameterException } from "../error/sim-cognito.error.js";
|
|
2
|
+
/**
|
|
3
|
+
* Say what a request asking for an unsimulated input would have got on AWS.
|
|
4
|
+
*
|
|
5
|
+
* The CloudFormation layer records this same sentence against a property it
|
|
6
|
+
* drops, so a reader meets one wording for one limitation whichever path they
|
|
7
|
+
* came in on. It lives here because the refusal is what the wording was
|
|
8
|
+
* written for, and a second copy would drift.
|
|
9
|
+
*/
|
|
10
|
+
export function simCognitoUnsimulatedFeatureReason(feature) {
|
|
11
|
+
return `${feature} would be ignored here and applied on real AWS`;
|
|
12
|
+
}
|
|
2
13
|
/**
|
|
3
14
|
* Refuses a request input this simulation does not model.
|
|
4
15
|
*
|
|
@@ -23,8 +34,7 @@ export class SimCognitoUnsimulatedInput {
|
|
|
23
34
|
if (value === undefined) {
|
|
24
35
|
return;
|
|
25
36
|
}
|
|
26
|
-
throw new SimCognitoInvalidParameterException(`${this.operation} ${option} is not simulated: ${feature}
|
|
27
|
-
`ignored here and applied on real AWS`);
|
|
37
|
+
throw new SimCognitoInvalidParameterException(`${this.operation} ${option} is not simulated: ${simCognitoUnsimulatedFeatureReason(feature)}`);
|
|
28
38
|
}
|
|
29
39
|
/**
|
|
30
40
|
* Refuse an input set to anything but the one value this simulation models.
|
|
@@ -34,7 +44,7 @@ export class SimCognitoUnsimulatedInput {
|
|
|
34
44
|
return;
|
|
35
45
|
}
|
|
36
46
|
throw new SimCognitoInvalidParameterException(`${this.operation} ${option} '${String(value)}' is not simulated: ` +
|
|
37
|
-
`${feature}
|
|
47
|
+
`${simCognitoUnsimulatedFeatureReason(feature)}. Only ` +
|
|
38
48
|
`'${String(simulated)}' is supported.`);
|
|
39
49
|
}
|
|
40
50
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cognito-unsimulated-input.js","sourceRoot":"","sources":["../../../../src/service/cognito/command/sim-cognito-unsimulated-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mCAAmC,EAAE,MAAM,+BAA+B,CAAC;AAEpF;;;;;;;GAOG;AACH,MAAM,OAAO,0BAA0B;IACrC;;;OAGG;IACa,SAAS,CAAS;IAElC,YAAY,SAAiB;QAC3B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC7B,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,MAAc,EAAE,KAAc,EAAE,OAAe;QACpD,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,OAAO;QACT,CAAC;QAED,MAAM,IAAI,mCAAmC,CAC3C,GAAG,IAAI,CAAC,SAAS,IAAI,MAAM,sBAAsB,OAAO,
|
|
1
|
+
{"version":3,"file":"sim-cognito-unsimulated-input.js","sourceRoot":"","sources":["../../../../src/service/cognito/command/sim-cognito-unsimulated-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mCAAmC,EAAE,MAAM,+BAA+B,CAAC;AAEpF;;;;;;;GAOG;AACH,MAAM,UAAU,kCAAkC,CAAC,OAAe;IAChE,OAAO,GAAG,OAAO,gDAAgD,CAAC;AACpE,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,OAAO,0BAA0B;IACrC;;;OAGG;IACa,SAAS,CAAS;IAElC,YAAY,SAAiB;QAC3B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC7B,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,MAAc,EAAE,KAAc,EAAE,OAAe;QACpD,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,OAAO;QACT,CAAC;QAED,MAAM,IAAI,mCAAmC,CAC3C,GAAG,IAAI,CAAC,SAAS,IAAI,MAAM,sBAAsB,kCAAkC,CACjF,OAAO,CACR,EAAE,CACJ,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,YAAY,CACV,MAAc,EACd,KAAmC,EACnC,SAA2B,EAC3B,OAAe;QAEf,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YAC/C,OAAO;QACT,CAAC;QAED,MAAM,IAAI,mCAAmC,CAC3C,GAAG,IAAI,CAAC,SAAS,IAAI,MAAM,KAAK,MAAM,CAAC,KAAK,CAAC,sBAAsB;YACjE,GAAG,kCAAkC,CAAC,OAAO,CAAC,SAAS;YACvD,IAAI,MAAM,CAAC,SAAS,CAAC,iBAAiB,CACzC,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cognito-user-mfa-commands.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/command/user/sim-cognito-user-mfa-commands.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,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AACpF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,KAAK,EACV,mCAAmC,EACnC,yCAAyC,EACzC,gCAAgC,EAChC,sCAAsC,EACtC,8BAA8B,EAC9B,oCAAoC,EACpC,6BAA6B,EAC7B,mCAAmC,EACpC,MAAM,uBAAuB,CAAC;AAE/B,UAAU,mCAAmC;IAC3C,QAAQ,CAAC,QAAQ,EAAE,yBAAyB,CAAC;IAC7C,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;IACxC,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC;CAC1B;AAED,UAAU,wBAAwB;IAChC,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC;
|
|
1
|
+
{"version":3,"file":"sim-cognito-user-mfa-commands.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/command/user/sim-cognito-user-mfa-commands.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,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AACpF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,KAAK,EACV,mCAAmC,EACnC,yCAAyC,EACzC,gCAAgC,EAChC,sCAAsC,EACtC,8BAA8B,EAC9B,oCAAoC,EACpC,6BAA6B,EAC7B,mCAAmC,EACpC,MAAM,uBAAuB,CAAC;AAE/B,UAAU,mCAAmC;IAC3C,QAAQ,CAAC,QAAQ,EAAE,yBAAyB,CAAC;IAC7C,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;IACxC,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC;CAC1B;AAED,UAAU,wBAAwB;IAChC,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC;AAyDD;;;;;;;;;;;;GAYG;AACH,qBAAa,yBAAyB;IACpC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA4B;IACrD,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAsB;IAChD,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAW;IAEjC,YAAY,UAAU,EAAE,mCAAmC,EAI1D;IAED;;;;;;;OAOG;IACH,sBAAsB,CACpB,OAAO,EAAE,gCAAgC,GACxC,sCAAsC,CAWxC;IAED;;OAEG;IACH,mBAAmB,CACjB,OAAO,EAAE,6BAA6B,GACrC,mCAAmC,CAarC;IAED;;OAEG;IACH,oBAAoB,CAClB,OAAO,EAAE,8BAA8B,GACtC,oCAAoC,CAatC;IAED;;OAEG;IACH,yBAAyB,CACvB,OAAO,EAAE,mCAAmC,EAC5C,OAAO,CAAC,EAAE,wBAAwB,GACjC,yCAAyC,CAc3C;CACF"}
|
|
@@ -21,7 +21,8 @@ function refuseUnsimulatedToken(operation, input) {
|
|
|
21
21
|
* Refuse the factor sent by email, which no pool here could deliver.
|
|
22
22
|
*/
|
|
23
23
|
function refuseEmailFactor(operation, settings) {
|
|
24
|
-
new SimCognitoUnsimulatedInput(operation).refuse("EmailMfaSettings", settings, "a second factor sent by email, which
|
|
24
|
+
new SimCognitoUnsimulatedInput(operation).refuse("EmailMfaSettings", settings, "a second factor sent by email, which is a challenge flow this " +
|
|
25
|
+
"simulation does not run");
|
|
25
26
|
}
|
|
26
27
|
/**
|
|
27
28
|
* The commands that register a second factor for a user.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cognito-user-mfa-commands.js","sourceRoot":"","sources":["../../../../../src/service/cognito/command/user/sim-cognito-user-mfa-commands.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AAgCjF;;GAEG;AACH,MAAM,cAAc,GAAG,SAAS,CAAC;AAEjC;;;;;;GAMG;AACH,SAAS,sBAAsB,CAC7B,SAAiB,EACjB,KAAsC;IAEtC,MAAM,WAAW,GAAG,IAAI,0BAA0B,CAAC,SAAS,CAAC,CAAC;IAE9D,WAAW,CAAC,MAAM,CAChB,SAAS,EACT,KAAK,CAAC,OAAO,EACb,sEAAsE;QACpE,gCAAgC,CACnC,CAAC;IACF,WAAW,CAAC,MAAM,CAChB,oBAAoB,EACpB,KAAK,CAAC,kBAAkB,EACxB,sEAAsE;QACpE,yCAAyC,CAC5C,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAS,iBAAiB,CACxB,SAAiB,EACjB,QAA4B;IAE5B,IAAI,0BAA0B,CAAC,SAAS,CAAC,CAAC,MAAM,CAC9C,kBAAkB,EAClB,QAAQ,EACR,
|
|
1
|
+
{"version":3,"file":"sim-cognito-user-mfa-commands.js","sourceRoot":"","sources":["../../../../../src/service/cognito/command/user/sim-cognito-user-mfa-commands.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AAgCjF;;GAEG;AACH,MAAM,cAAc,GAAG,SAAS,CAAC;AAEjC;;;;;;GAMG;AACH,SAAS,sBAAsB,CAC7B,SAAiB,EACjB,KAAsC;IAEtC,MAAM,WAAW,GAAG,IAAI,0BAA0B,CAAC,SAAS,CAAC,CAAC;IAE9D,WAAW,CAAC,MAAM,CAChB,SAAS,EACT,K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AAI,CAAC,SAAS,CAAC,OAAO,CACrC,KAAK,CAAC,WAAW,EACjB,qBAAqB,CACtB,CAAC;QAEF,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC;QAElD,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC;IACnD,CAAC;IAED;;OAEG;IACH,oBAAoB,CAClB,OAAuC;QAEvC,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC;QAE1B,iBAAiB,CAAC,sBAAsB,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;QAElE,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CACrC,KAAK,CAAC,WAAW,EACjB,sBAAsB,CACvB,CAAC;QAEF,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QAEpB,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;IAC3B,CAAC;IAED;;OAEG;IACH,yBAAyB,CACvB,OAA4C,EAC5C,OAAkC;QAElC,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC;QAE1B,iBAAiB,CAAC,2BAA2B,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;QAEvE,MAAM,IAAI,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAC7B,uCAAuC,EACvC,KAAK,EACL,OAAO,CACR,CAAC;QAEF,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QAEpB,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;IAC3B,CAAC;CACF"}
|
|
@@ -52,10 +52,11 @@ export interface SimVerifySoftwareTokenCommandOutput {
|
|
|
52
52
|
* The SetUserMFAPreference inputs this simulation reads, and the one it
|
|
53
53
|
* refuses.
|
|
54
54
|
*
|
|
55
|
-
* `EmailMfaSettings` is refused because
|
|
56
|
-
*
|
|
55
|
+
* `EmailMfaSettings` is refused because the email one-time code challenge is
|
|
56
|
+
* not simulated: nothing here issues one, checks one or expires one.
|
|
57
57
|
* `SetUserPoolMfaConfig` refuses the matching `EmailMfaConfiguration` for the
|
|
58
|
-
* same reason.
|
|
58
|
+
* same reason. A pool that sends through SES still gets no such challenge,
|
|
59
|
+
* because what is missing is the challenge rather than the delivery.
|
|
59
60
|
*/
|
|
60
61
|
export interface SimSetUserMFAPreferenceCommandInput extends SimCognitoMfaPreferenceType {
|
|
61
62
|
readonly AccessToken?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-mfa.command.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/command/user/user-mfa.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,qDAAqD,CAAC;AACvG,OAAO,KAAK,EACV,+BAA+B,EAC/B,kBAAkB,EACnB,MAAM,mBAAmB,CAAC;AAE3B;;;;;;;;;GASG;AACH,MAAM,WAAW,qCAAqC;IACpD,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACvC;AAED;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,CAAC,KAAK,EAAE,qCAAqC,CAAC;CACvD;AAED,MAAM,WAAW,sCAAsC;IACrD,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC;AAED;;;;;;GAMG;AACH,MAAM,WAAW,kCAAkC;IACjD,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClD;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,KAAK,EAAE,kCAAkC,CAAC;CACpD;AAED,MAAM,WAAW,mCAAmC;IAClD,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC;AAED
|
|
1
|
+
{"version":3,"file":"user-mfa.command.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/command/user/user-mfa.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,qDAAqD,CAAC;AACvG,OAAO,KAAK,EACV,+BAA+B,EAC/B,kBAAkB,EACnB,MAAM,mBAAmB,CAAC;AAE3B;;;;;;;;;GASG;AACH,MAAM,WAAW,qCAAqC;IACpD,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACvC;AAED;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,CAAC,KAAK,EAAE,qCAAqC,CAAC;CACvD;AAED,MAAM,WAAW,sCAAsC;IACrD,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC;AAED;;;;;;GAMG;AACH,MAAM,WAAW,kCAAkC;IACjD,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C,QAAQ,CAAC,OAAO,C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,sBAAsB,CAAC;CACxC;AAED;;;;;;GAMG;AACH,MAAM,WAAW,uBAAwB,SAAQ,kBAAkB;IACjE,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC"}
|
|
@@ -1,16 +1,30 @@
|
|
|
1
1
|
import type { SimCognitoUserPoolCommandInput } from "./user-pool.command.js";
|
|
2
|
+
/**
|
|
3
|
+
* The pool creation inputs nothing here delivers a message through, and what
|
|
4
|
+
* each of them would have done on real AWS.
|
|
5
|
+
*
|
|
6
|
+
* `AWS::Cognito::UserPool` carries both under the same names, and the
|
|
7
|
+
* CloudFormation layer reads this to say the same thing about a property it
|
|
8
|
+
* drops as this says about an input it refuses.
|
|
9
|
+
*
|
|
10
|
+
* `EmailConfiguration` used to be here. It is simulated now, and a pool that
|
|
11
|
+
* names `DEVELOPER` sends through the account's SES.
|
|
12
|
+
*/
|
|
13
|
+
export declare const simCognitoUnsimulatedPoolMessaging: {
|
|
14
|
+
readonly SmsConfiguration: "SMS delivery";
|
|
15
|
+
readonly SmsAuthenticationMessage: "multi-factor authentication messages";
|
|
16
|
+
};
|
|
2
17
|
/**
|
|
3
18
|
* Refuses the message delivery inputs this simulation does not model.
|
|
4
19
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
20
|
+
* `SmsConfiguration` names the IAM role Cognito assumes to publish a text
|
|
21
|
+
* message through SNS. Nothing here delivers one: the pool records what it
|
|
22
|
+
* would have sent, which is where a test reads it, so a role recorded here
|
|
23
|
+
* would name a permission nothing ever exercises.
|
|
9
24
|
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* configuration at all records them.
|
|
25
|
+
* `EmailConfiguration` is simulated rather than refused. A pool that named
|
|
26
|
+
* `DEVELOPER` sends through the account's SES, where the message is recorded
|
|
27
|
+
* a second time and the SES sandbox decides whether it goes at all.
|
|
14
28
|
*
|
|
15
29
|
* The wording of the messages is a different matter and is simulated. It is
|
|
16
30
|
* read by SimCognitoVerificationMessages, which is what a recorded message
|
package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-messaging.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cognito-unsimulated-pool-messaging.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-messaging.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAO7E
|
|
1
|
+
{"version":3,"file":"sim-cognito-unsimulated-pool-messaging.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-messaging.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAO7E;;;;;;;;;;GAUG;AACH,eAAO,MAAM,kCAAkC;aAC7C,gBAAgB,EAAE,cAAc;aAChC,wBAAwB,EAAE,sCAAsC;CACxD,CAAC;AAEX;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBAAa,sCAAsC;IACjD,OAAO,CAAC,QAAQ,CAAC,WAAW,CAA6B;IAEzD,YAAY,SAAS,EAAE,MAAM,EAE5B;IAED;;;OAGG;IACH,QAAQ,CAAC,KAAK,EAAE,8BAA8B,GAAG,IAAI,CAapD;IAED;;;OAGG;IACH,OAAO,CAAC,sBAAsB;CAoB/B"}
|
|
@@ -3,18 +3,32 @@ import { SimCognitoUnsimulatedInput } from "../sim-cognito-unsimulated-input.js"
|
|
|
3
3
|
* What a refusal of the link options says would be lost.
|
|
4
4
|
*/
|
|
5
5
|
const linkVerification = "confirming a sign-up by following a link";
|
|
6
|
+
/**
|
|
7
|
+
* The pool creation inputs nothing here delivers a message through, and what
|
|
8
|
+
* each of them would have done on real AWS.
|
|
9
|
+
*
|
|
10
|
+
* `AWS::Cognito::UserPool` carries both under the same names, and the
|
|
11
|
+
* CloudFormation layer reads this to say the same thing about a property it
|
|
12
|
+
* drops as this says about an input it refuses.
|
|
13
|
+
*
|
|
14
|
+
* `EmailConfiguration` used to be here. It is simulated now, and a pool that
|
|
15
|
+
* names `DEVELOPER` sends through the account's SES.
|
|
16
|
+
*/
|
|
17
|
+
export const simCognitoUnsimulatedPoolMessaging = {
|
|
18
|
+
SmsConfiguration: "SMS delivery",
|
|
19
|
+
SmsAuthenticationMessage: "multi-factor authentication messages",
|
|
20
|
+
};
|
|
6
21
|
/**
|
|
7
22
|
* Refuses the message delivery inputs this simulation does not model.
|
|
8
23
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
24
|
+
* `SmsConfiguration` names the IAM role Cognito assumes to publish a text
|
|
25
|
+
* message through SNS. Nothing here delivers one: the pool records what it
|
|
26
|
+
* would have sent, which is where a test reads it, so a role recorded here
|
|
27
|
+
* would name a permission nothing ever exercises.
|
|
13
28
|
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* configuration at all records them.
|
|
29
|
+
* `EmailConfiguration` is simulated rather than refused. A pool that named
|
|
30
|
+
* `DEVELOPER` sends through the account's SES, where the message is recorded
|
|
31
|
+
* a second time and the SES sandbox decides whether it goes at all.
|
|
18
32
|
*
|
|
19
33
|
* The wording of the messages is a different matter and is simulated. It is
|
|
20
34
|
* read by SimCognitoVerificationMessages, which is what a recorded message
|
|
@@ -33,9 +47,8 @@ export class SimCognitoUnsimulatedUserPoolMessaging {
|
|
|
33
47
|
* honour.
|
|
34
48
|
*/
|
|
35
49
|
refuseIn(input) {
|
|
36
|
-
this.unsimulated.refuse("
|
|
37
|
-
this.unsimulated.refuse("
|
|
38
|
-
this.unsimulated.refuse("SmsAuthenticationMessage", input.SmsAuthenticationMessage, "multi-factor authentication messages");
|
|
50
|
+
this.unsimulated.refuse("SmsConfiguration", input.SmsConfiguration, simCognitoUnsimulatedPoolMessaging.SmsConfiguration);
|
|
51
|
+
this.unsimulated.refuse("SmsAuthenticationMessage", input.SmsAuthenticationMessage, simCognitoUnsimulatedPoolMessaging.SmsAuthenticationMessage);
|
|
39
52
|
this.refuseLinkVerification(input.VerificationMessageTemplate);
|
|
40
53
|
}
|
|
41
54
|
/**
|
package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-messaging.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cognito-unsimulated-pool-messaging.js","sourceRoot":"","sources":["../../../../../src/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-messaging.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AAGjF;;GAEG;AACH,MAAM,gBAAgB,GAAG,0CAA0C,CAAC;AAEpE
|
|
1
|
+
{"version":3,"file":"sim-cognito-unsimulated-pool-messaging.js","sourceRoot":"","sources":["../../../../../src/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-messaging.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AAGjF;;GAEG;AACH,MAAM,gBAAgB,GAAG,0CAA0C,CAAC;AAEpE;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG;IAChD,gBAAgB,EAAE,cAAc;IAChC,wBAAwB,EAAE,sCAAsC;CACxD,CAAC;AAEX;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,OAAO,sCAAsC;IAChC,WAAW,CAA6B;IAEzD,YAAY,SAAiB;QAC3B,IAAI,CAAC,WAAW,GAAG,IAAI,0BAA0B,CAAC,SAAS,CAAC,CAAC;IAC/D,CAAC;IAED;;;OAGG;IACH,QAAQ,CAAC,KAAqC;QAC5C,IAAI,CAAC,WAAW,CAAC,MAAM,CACrB,kBAAkB,EAClB,KAAK,CAAC,gBAAgB,EACtB,kCAAkC,CAAC,gBAAgB,CACpD,CAAC;QACF,IAAI,CAAC,WAAW,CAAC,MAAM,CACrB,0BAA0B,EAC1B,KAAK,CAAC,wBAAwB,EAC9B,kCAAkC,CAAC,wBAAwB,CAC5D,CAAC;QAEF,IAAI,CAAC,sBAAsB,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAAC;IACjE,CAAC;IAED;;;OAGG;IACK,sBAAsB,CAC5B,QAA+D;QAE/D,IAAI,CAAC,WAAW,CAAC,YAAY,CAC3B,gDAAgD,EAChD,QAAQ,EAAE,kBAAkB,EAC5B,mBAAmB,EACnB,gBAAgB,CACjB,CAAC;QACF,IAAI,CAAC,WAAW,CAAC,MAAM,CACrB,gDAAgD,EAChD,QAAQ,EAAE,kBAAkB,EAC5B,gBAAgB,CACjB,CAAC;QACF,IAAI,CAAC,WAAW,CAAC,MAAM,CACrB,gDAAgD,EAChD,QAAQ,EAAE,kBAAkB,EAC5B,gBAAgB,CACjB,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -46,9 +46,9 @@ export declare class SimCognitoUserPoolMfaCommands {
|
|
|
46
46
|
* The factor itself is accepted without one, and the pool records the
|
|
47
47
|
* message it would have sent in the way it records every other one.
|
|
48
48
|
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
49
|
+
* `EmailMfaConfiguration` is refused because the challenge behind it is not
|
|
50
|
+
* simulated. A pool sending through SES has somewhere to deliver such a code
|
|
51
|
+
* and still no sign-in that asks for one.
|
|
52
52
|
*
|
|
53
53
|
* A `WebAuthnConfiguration` is accepted and recorded rather than refused.
|
|
54
54
|
* The two values in it are what `StartWebAuthnRegistration` registers a
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cognito-user-pool-mfa-commands.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAE1E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gDAAgD,CAAC;AAC9F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAEnF,OAAO,KAAK,EACV,8BAA8B,EAC9B,oCAAoC,EACpC,8BAA8B,EAE9B,oCAAoC,EACrC,MAAM,4BAA4B,CAAC;AAEpC,UAAU,uCAAuC;IAC/C,QAAQ,CAAC,KAAK,EAAE,uBAAuB,CAAC;IACxC,QAAQ,CAAC,UAAU,EAAE,oBAAoB,CAAC;CAC3C;AAED,UAAU,wBAAwB;IAChC,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC;AAED;;;;;;;;;;;GAWG;AACH,qBAAa,6BAA6B;IACxC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAA0B;IAChD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAuB;IAClD,OAAO,CAAC,QAAQ,CAAC,WAAW,CAE1B;IAEF,YAAY,UAAU,EAAE,uCAAuC,EAG9D;IAED;;;;;OAKG;IACH,GAAG,CACD,OAAO,EAAE,8BAA8B,EACvC,OAAO,CAAC,EAAE,wBAAwB,GACjC,oCAAoC,CAgBtC;IAED;;OAEG;IACH,GAAG,CACD,OAAO,EAAE,8BAA8B,EACvC,OAAO,CAAC,EAAE,wBAAwB,GACjC,oCAAoC,CAatC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,OAAO,CAAC,wBAAwB;
|
|
1
|
+
{"version":3,"file":"sim-cognito-user-pool-mfa-commands.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAE1E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gDAAgD,CAAC;AAC9F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAEnF,OAAO,KAAK,EACV,8BAA8B,EAC9B,oCAAoC,EACpC,8BAA8B,EAE9B,oCAAoC,EACrC,MAAM,4BAA4B,CAAC;AAEpC,UAAU,uCAAuC;IAC/C,QAAQ,CAAC,KAAK,EAAE,uBAAuB,CAAC;IACxC,QAAQ,CAAC,UAAU,EAAE,oBAAoB,CAAC;CAC3C;AAED,UAAU,wBAAwB;IAChC,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC;AAED;;;;;;;;;;;GAWG;AACH,qBAAa,6BAA6B;IACxC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAA0B;IAChD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAuB;IAClD,OAAO,CAAC,QAAQ,CAAC,WAAW,CAE1B;IAEF,YAAY,UAAU,EAAE,uCAAuC,EAG9D;IAED;;;;;OAKG;IACH,GAAG,CACD,OAAO,EAAE,8BAA8B,EACvC,OAAO,CAAC,EAAE,wBAAwB,GACjC,oCAAoC,CAgBtC;IAED;;OAEG;IACH,GAAG,CACD,OAAO,EAAE,8BAA8B,EACvC,OAAO,CAAC,EAAE,wBAAwB,GACjC,oCAAoC,CAatC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,OAAO,CAAC,wBAAwB;CAgBjC"}
|
|
@@ -55,9 +55,9 @@ export class SimCognitoUserPoolMfaCommands {
|
|
|
55
55
|
* The factor itself is accepted without one, and the pool records the
|
|
56
56
|
* message it would have sent in the way it records every other one.
|
|
57
57
|
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
58
|
+
* `EmailMfaConfiguration` is refused because the challenge behind it is not
|
|
59
|
+
* simulated. A pool sending through SES has somewhere to deliver such a code
|
|
60
|
+
* and still no sign-in that asks for one.
|
|
61
61
|
*
|
|
62
62
|
* A `WebAuthnConfiguration` is accepted and recorded rather than refused.
|
|
63
63
|
* The two values in it are what `StartWebAuthnRegistration` registers a
|
|
@@ -66,7 +66,8 @@ export class SimCognitoUserPoolMfaCommands {
|
|
|
66
66
|
refuseUnsimulatedFactors(input) {
|
|
67
67
|
this.unsimulated.refuse("SmsMfaConfiguration.SmsConfiguration", input.SmsMfaConfiguration?.SmsConfiguration, "the IAM role Cognito assumes to send a text message, which no pool " +
|
|
68
68
|
"here needs because no message is delivered");
|
|
69
|
-
this.unsimulated.refuse("EmailMfaConfiguration", input.EmailMfaConfiguration, "a second factor sent by email, which
|
|
69
|
+
this.unsimulated.refuse("EmailMfaConfiguration", input.EmailMfaConfiguration, "a second factor sent by email, which is a challenge flow this " +
|
|
70
|
+
"simulation does not run");
|
|
70
71
|
}
|
|
71
72
|
}
|
|
72
73
|
//# sourceMappingURL=sim-cognito-user-pool-mfa-commands.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cognito-user-pool-mfa-commands.js","sourceRoot":"","sources":["../../../../../src/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,EAAE,MAAM,6CAA6C,CAAC;AAG1F,OAAO,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AAkBjF;;;;;;;;;;;GAWG;AACH,MAAM,OAAO,6BAA6B;IACvB,KAAK,CAA0B;IAC/B,UAAU,CAAuB;IACjC,WAAW,GAAG,IAAI,0BAA0B,CAC3D,sBAAsB,CACvB,CAAC;IAEF,YAAY,UAAmD;QAC7D,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;QAC9B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;IAC1C,CAAC;IAED;;;;;OAKG;IACH,GAAG,CACD,OAAuC,EACvC,OAAkC;QAElC,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC;QAC1B,MAAM,UAAU,GAAG,2BAA2B,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;QAEjE,IAAI,CAAC,UAAU,CAAC,iBAAiB,CAC/B,kCAAkC,EAClC,UAAU,EACV,OAAO,EAAE,MAAM,CAChB,CAAC;QACF,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC;QAErC,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;QAE5C,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QAE7B,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,QAAQ,EAAE,EAAE,CAAC;IAC5D,CAAC;IAED;;OAEG;IACH,GAAG,CACD,OAAuC,EACvC,OAAkC;QAElC,MAAM,UAAU,GAAG,2BAA2B,CAAC,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;QAEzE,IAAI,CAAC,UAAU,CAAC,iBAAiB,CAC/B,kCAAkC,EAClC,UAAU,EACV,OAAO,EAAE,MAAM,CAChB,CAAC;QAEF,OAAO;YACL,SAAS,EAAE,EAAE;YACb,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,QAAQ,EAAE;SAC1D,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACK,wBAAwB,CAC9B,KAA0C;QAE1C,IAAI,CAAC,WAAW,CAAC,MAAM,CACrB,sCAAsC,EACtC,KAAK,CAAC,mBAAmB,EAAE,gBAAgB,EAC3C,qEAAqE;YACnE,4CAA4C,CAC/C,CAAC;QACF,IAAI,CAAC,WAAW,CAAC,MAAM,CACrB,uBAAuB,EACvB,KAAK,CAAC,qBAAqB,EAC3B,
|
|
1
|
+
{"version":3,"file":"sim-cognito-user-pool-mfa-commands.js","sourceRoot":"","sources":["../../../../../src/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,EAAE,MAAM,6CAA6C,CAAC;AAG1F,OAAO,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AAkBjF;;;;;;;;;;;GAWG;AACH,MAAM,OAAO,6BA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J,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACK,wBAAwB,CAC9B,KAA0C;QAE1C,IAAI,CAAC,WAAW,CAAC,MAAM,CACrB,sCAAsC,EACtC,KAAK,CAAC,mBAAmB,EAAE,gBAAgB,EAC3C,qEAAqE;YACnE,4CAA4C,CAC/C,CAAC;QACF,IAAI,CAAC,WAAW,CAAC,MAAM,CACrB,uBAAuB,EACvB,KAAK,CAAC,qBAAqB,EAC3B,gEAAgE;YAC9D,yBAAyB,CAC5B,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -43,6 +43,12 @@ export declare class SimCognitoUserPoolView {
|
|
|
43
43
|
* `AdminCreateUserConfig` is reported whether or not the request named it,
|
|
44
44
|
* as real Cognito reports it, because the pool acts on it either way:
|
|
45
45
|
* it is what decides whether `SignUp` is allowed at all.
|
|
46
|
+
*
|
|
47
|
+
* `EmailConfiguration` is reported as the request set it, whether that was
|
|
48
|
+
* the creation or a later `UpdateUserPool`, and only where one of them set
|
|
49
|
+
* it. Real Cognito reports it the same way, so a pool that named none
|
|
50
|
+
* describes itself without one even though it sends from Cognito's own
|
|
51
|
+
* address.
|
|
46
52
|
*/
|
|
47
53
|
describe(pool: SimCognitoUserPool): SimCognitoUserPoolType;
|
|
48
54
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cognito-user-pool-view.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/command/user-pool/sim-cognito-user-pool-view.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AACnF,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AACtF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAErE;;;;;GAKG;AACH,qBAAa,sBAAsB;IACjC
|
|
1
|
+
{"version":3,"file":"sim-cognito-user-pool-view.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/command/user-pool/sim-cognito-user-pool-view.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AACnF,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AACtF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAErE;;;;;GAKG;AACH,qBAAa,sBAAsB;IACjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAyCG;IACH,QAAQ,CAAC,IAAI,EAAE,kBAAkB,GAAG,sBAAsB,CAyBzD;IAED;;;OAGG;IACH,SAAS,CAAC,IAAI,EAAE,kBAAkB,GAAG,iCAAiC,CAOrE;CACF"}
|
|
@@ -40,6 +40,12 @@ export class SimCognitoUserPoolView {
|
|
|
40
40
|
* `AdminCreateUserConfig` is reported whether or not the request named it,
|
|
41
41
|
* as real Cognito reports it, because the pool acts on it either way:
|
|
42
42
|
* it is what decides whether `SignUp` is allowed at all.
|
|
43
|
+
*
|
|
44
|
+
* `EmailConfiguration` is reported as the request set it, whether that was
|
|
45
|
+
* the creation or a later `UpdateUserPool`, and only where one of them set
|
|
46
|
+
* it. Real Cognito reports it the same way, so a pool that named none
|
|
47
|
+
* describes itself without one even though it sends from Cognito's own
|
|
48
|
+
* address.
|
|
43
49
|
*/
|
|
44
50
|
describe(pool) {
|
|
45
51
|
const signInPolicy = pool.settings.signInPolicy.toOutput();
|
|
@@ -59,6 +65,7 @@ export class SimCognitoUserPoolView {
|
|
|
59
65
|
AutoVerifiedAttributes: pool.settings.autoVerifiedAttributes.toOutput(),
|
|
60
66
|
UsernameAttributes: pool.settings.usernameAttributes.toOutput(),
|
|
61
67
|
SchemaAttributes: pool.settings.schema.toOutput(),
|
|
68
|
+
EmailConfiguration: pool.settings.emailConfiguration.toOutput(),
|
|
62
69
|
EstimatedNumberOfUsers: pool.userCount,
|
|
63
70
|
CreationDate: pool.creationDate,
|
|
64
71
|
LastModifiedDate: pool.lastModifiedDate,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cognito-user-pool-view.js","sourceRoot":"","sources":["../../../../../src/service/cognito/command/user-pool/sim-cognito-user-pool-view.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,MAAM,OAAO,sBAAsB;IACjC
|
|
1
|
+
{"version":3,"file":"sim-cognito-user-pool-view.js","sourceRoot":"","sources":["../../../../../src/service/cognito/command/user-pool/sim-cognito-user-pool-view.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,MAAM,OAAO,sBAAsB;IACjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAyCG;IACH,QAAQ,CAAC,IAAwB;QAC/B,MAAM,YAAY,GAAG,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC;QAE3D,OAAO;YACL,EAAE,EAAE,IAAI,CAAC,EAAE;YACX,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,KAAK;YACnB,sBAAsB,EAAE,IAAI,CAAC,QAAQ,CAAC,eAAe,CAAC,QAAQ,EAAE;YAChE,QAAQ,EAAE;gBACR,cAAc,EAAE,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,QAAQ,EAAE;gBACvD,GAAG,CAAC,YAAY,KAAK,SAAS,IAAI,EAAE,YAAY,EAAE,YAAY,EAAE,CAAC;aAClE;YACD,kBAAkB,EAAE,IAAI,CAAC,QAAQ,CAAC,kBAAkB,CAAC,KAAK;YAC1D,YAAY,EAAE,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,QAAQ,EAAE;YACnD,gBAAgB,EAAE,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,KAAK;YACvD,qBAAqB,EAAE,IAAI,CAAC,QAAQ,CAAC,qBAAqB,CAAC,QAAQ,EAAE;YACrE,sBAAsB,EAAE,IAAI,CAAC,QAAQ,CAAC,sBAAsB,CAAC,QAAQ,EAAE;YACvE,kBAAkB,EAAE,IAAI,CAAC,QAAQ,CAAC,kBAAkB,CAAC,QAAQ,EAAE;YAC/D,gBAAgB,EAAE,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,EAAE;YACjD,kBAAkB,EAAE,IAAI,CAAC,QAAQ,CAAC,kBAAkB,CAAC,QAAQ,EAAE;YAC/D,sBAAsB,EAAE,IAAI,CAAC,SAAS;YACtC,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;YACvC,GAAG,IAAI,CAAC,QAAQ,CAAC,oBAAoB,CAAC,QAAQ,EAAE;SACjD,CAAC;IACJ,CAAC;IAED;;;OAGG;IACH,SAAS,CAAC,IAAwB;QAChC,OAAO;YACL,EAAE,EAAE,IAAI,CAAC,EAAE;YACX,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;SACxC,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -4,12 +4,13 @@ import type { SimCognitoUserPoolMfaType } from "../../user-pool/mfa/sim-cognito-
|
|
|
4
4
|
* The SetUserPoolMfaConfig inputs this simulation reads, and the ones it
|
|
5
5
|
* refuses.
|
|
6
6
|
*
|
|
7
|
-
* `EmailMfaConfiguration` is refused because
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
7
|
+
* `EmailMfaConfiguration` is refused because the email one-time code challenge
|
|
8
|
+
* is not simulated: nothing here issues one, checks one or expires one. A pool
|
|
9
|
+
* whose `EmailConfiguration` sends through SES is no different, since what is
|
|
10
|
+
* missing is the challenge rather than somewhere for the message to go. The
|
|
11
|
+
* `SmsConfiguration` inside an `SmsMfaConfiguration` is refused for the reason
|
|
12
|
+
* the pool's own is: no text message is delivered here, so the IAM role that
|
|
13
|
+
* would send one is never assumed.
|
|
13
14
|
*
|
|
14
15
|
* `WebAuthnConfiguration` is read and recorded. It is what a passkey is
|
|
15
16
|
* registered against, and what one is presented to at a sign-in.
|