@kensio/yulin 1.19.2 → 1.19.4
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 +33 -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-email-log-block.d.ts +35 -0
- package/dist/serve/message/sim-email-log-block.d.ts.map +1 -0
- package/dist/serve/message/sim-email-log-block.js +111 -0
- package/dist/serve/message/sim-email-log-block.js.map +1 -0
- 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 +48 -0
- package/dist/serve/message/sim-local-message-logging.js.map +1 -0
- package/dist/serve/message/sim-message-indent.d.ts +10 -0
- package/dist/serve/message/sim-message-indent.d.ts.map +1 -0
- package/dist/serve/message/sim-message-indent.js +12 -0
- package/dist/serve/message/sim-message-indent.js.map +1 -0
- package/dist/serve/message/sim-message-log-console.d.ts +59 -0
- package/dist/serve/message/sim-message-log-console.d.ts.map +1 -0
- package/dist/serve/message/sim-message-log-console.js +79 -0
- package/dist/serve/message/sim-message-log-console.js.map +1 -0
- package/dist/serve/message/sim-message-logging.d.ts +55 -0
- package/dist/serve/message/sim-message-logging.d.ts.map +1 -0
- package/dist/serve/message/sim-message-logging.js +52 -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 +13 -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 +27 -1
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.js.map +1 -1
- package/dist/service/aws/factory/sim-aws-self-contained-service-builder.d.ts +0 -9
- package/dist/service/aws/factory/sim-aws-self-contained-service-builder.d.ts.map +1 -1
- package/dist/service/aws/factory/sim-aws-self-contained-service-builder.js +0 -11
- package/dist/service/aws/factory/sim-aws-self-contained-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 +11 -1
- package/dist/service/aws/factory/sim-aws-service-factory.js.map +1 -1
- package/dist/service/aws/message/sim-aws-logged-message.d.ts +66 -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/bind/{sim-cfn-deploy-binding.d.ts → sim-cfn-binding.d.ts} +11 -4
- package/dist/service/cloudformation/bind/sim-cfn-binding.d.ts.map +1 -0
- package/dist/service/cloudformation/bind/{sim-cfn-deploy-binding.js → sim-cfn-binding.js} +1 -1
- package/dist/service/cloudformation/bind/sim-cfn-binding.js.map +1 -0
- package/dist/service/cloudformation/bind/sim-cfn-exec-binding.type.d.ts +32 -35
- package/dist/service/cloudformation/bind/sim-cfn-exec-binding.type.d.ts.map +1 -1
- package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-finder.d.ts +2 -2
- package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-finder.d.ts.map +1 -1
- package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-finder.js +1 -1
- package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-finder.js.map +1 -1
- package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-validator.d.ts +2 -2
- package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-validator.d.ts.map +1 -1
- package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-validator.js +1 -1
- package/dist/service/cloudformation/bind/validate/sim-cfn-exec-binding-validator.js.map +1 -1
- 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/command/create-stack/create-stack.handler.d.ts +2 -2
- package/dist/service/cloudformation/command/create-stack/create-stack.handler.d.ts.map +1 -1
- package/dist/service/cloudformation/command/create-stack/create-stack.handler.js.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.d.ts +2 -2
- package/dist/service/cloudformation/deploy/sim-cfn-cdk-out-stack-options.d.ts.map +1 -1
- package/dist/service/cloudformation/deploy/sim-cfn-template-deployer.d.ts +2 -2
- 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/deploy/sim-cfn-template-file-loader.d.ts +3 -3
- package/dist/service/cloudformation/deploy/sim-cfn-template-file-loader.d.ts.map +1 -1
- package/dist/service/cloudformation/index.d.ts +3 -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-resource.type.d.ts +2 -2
- package/dist/service/cloudformation/resource/sim-cfn-resource.type.d.ts.map +1 -1
- package/dist/service/cloudformation/stack/deploy/sim-cfn-stack-resource-batch-creator.d.ts +2 -2
- package/dist/service/cloudformation/stack/deploy/sim-cfn-stack-resource-batch-creator.d.ts.map +1 -1
- package/dist/service/cloudformation/stack/deploy/sim-cfn-stack-resource-batch-creator.js.map +1 -1
- package/dist/service/cloudformation/stack/deploy/sim-cfn-stack-resource-creator.d.ts +2 -2
- package/dist/service/cloudformation/stack/deploy/sim-cfn-stack-resource-creator.d.ts.map +1 -1
- package/dist/service/cloudformation/stack/sim-cfn-deployed-stack.type.d.ts +8 -0
- package/dist/service/cloudformation/stack/sim-cfn-deployed-stack.type.d.ts.map +1 -1
- package/dist/service/cloudformation/stack/sim-cfn-stack-resource-operations.d.ts +2 -2
- package/dist/service/cloudformation/stack/sim-cfn-stack-resource-operations.d.ts.map +1 -1
- package/dist/service/cloudformation/stack/sim-cfn-stack-resource-operations.js.map +1 -1
- package/dist/service/cloudformation/stack/sim-cfn-stack.d.ts +3 -10
- package/dist/service/cloudformation/stack/sim-cfn-stack.d.ts.map +1 -1
- package/dist/service/cloudformation/stack/sim-cfn-stack.js +13 -18
- package/dist/service/cloudformation/stack/sim-cfn-stack.js.map +1 -1
- package/dist/service/cloudformation/stack/sim-cfn-stack.type.d.ts +2 -2
- package/dist/service/cloudformation/stack/sim-cfn-stack.type.d.ts.map +1 -1
- package/dist/service/cloudfront/cfn/cff/sim-cfn-cff-binding-lookup.d.ts +2 -2
- package/dist/service/cloudfront/cfn/cff/sim-cfn-cff-binding-lookup.d.ts.map +1 -1
- package/dist/service/cloudfront/cfn/cff/sim-cfn-cff-create-input-builder.d.ts +2 -2
- package/dist/service/cloudfront/cfn/cff/sim-cfn-cff-create-input-builder.d.ts.map +1 -1
- package/dist/service/cloudfront/cfn/cff/sim-cfn-cff-create-input-builder.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/ecs/cfn/bind/sim-cfn-ecs-container-binding.type.d.ts +1 -1
- package/dist/service/ecs/cfn/bind/sim-cfn-ecs-container-bindings.d.ts +2 -2
- package/dist/service/ecs/cfn/bind/sim-cfn-ecs-container-bindings.d.ts.map +1 -1
- package/dist/service/ecs/cfn/bind/sim-cfn-ecs-container-bindings.js +1 -1
- package/dist/service/ecs/cfn/bind/sim-cfn-ecs-container-bindings.js.map +1 -1
- package/dist/service/ecs/cfn/task-definition/sim-cfn-ecs-task-definition-creator.d.ts +2 -2
- package/dist/service/ecs/cfn/task-definition/sim-cfn-ecs-task-definition-creator.d.ts.map +1 -1
- package/dist/service/ecs/cfn/task-definition/sim-cfn-ecs-task-definition-creator.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/lambda/cfn/function/sim-cfn-lambda-code-input.d.ts +2 -2
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-code-input.d.ts.map +1 -1
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-creator.d.ts +2 -2
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-creator.d.ts.map +1 -1
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-creator.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-configuration-set-check.d.ts +53 -0
- package/dist/service/ses/command/send/sim-ses-configuration-set-check.d.ts.map +1 -0
- package/dist/service/ses/command/send/sim-ses-configuration-set-check.js +70 -0
- package/dist/service/ses/command/send/sim-ses-configuration-set-check.js.map +1 -0
- package/dist/service/ses/command/send/sim-ses-send-email.d.ts +11 -3
- 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 +18 -4
- 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 +74 -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 +76 -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-store.d.ts +14 -0
- package/dist/service/ses/email/sim-ses-sent-email-store.d.ts.map +1 -1
- package/dist/service/ses/email/sim-ses-sent-email-store.js +21 -0
- package/dist/service/ses/email/sim-ses-sent-email-store.js.map +1 -1
- 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/error/sim-ses.error.d.ts +12 -0
- package/dist/service/ses/error/sim-ses.error.d.ts.map +1 -1
- package/dist/service/ses/error/sim-ses.error.js +14 -0
- package/dist/service/ses/error/sim-ses.error.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 +11 -4
- package/dist/service/ses/index.d.ts.map +1 -1
- package/dist/service/ses/index.js +8 -2
- 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 +19 -0
- package/dist/service/ses/sim-ses-commands.d.ts.map +1 -1
- package/dist/service/ses/sim-ses-commands.js +57 -7
- 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/{service/cloudformation/terraform/sim-tf-map-dynamodb.js → terraform/map/sim-tf-map-dynamodb-keys.js} +27 -30
- 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/{service/cloudformation/terraform/sim-tf-map-http-api-route.js → terraform/map/sim-tf-map-http-api-routes.js} +19 -3
- 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/{service/cloudformation/terraform → terraform/map}/sim-tf-map-http-api.js +3 -17
- 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/{service/cloudformation/terraform → terraform/map}/sim-tf-map-iam.d.ts +2 -4
- 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/{service/cloudformation/terraform → terraform/map}/sim-tf-map-lambda.d.ts +2 -2
- package/dist/terraform/map/sim-tf-map-lambda.d.ts.map +1 -0
- package/dist/{service/cloudformation/terraform → terraform/map}/sim-tf-map-lambda.js +19 -36
- 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/{service/cloudformation/terraform → terraform/map}/sim-tf-map-s3-folds.d.ts +1 -1
- package/dist/terraform/map/sim-tf-map-s3-folds.d.ts.map +1 -0
- package/dist/{service/cloudformation/terraform → terraform/map}/sim-tf-map-s3-folds.js +2 -3
- 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/{service/cloudformation/terraform/sim-tf-map-s3-encryption.js → terraform/map/sim-tf-map-s3-rules.js} +20 -3
- 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/{service/cloudformation/terraform → terraform/map}/sim-tf-map-s3.js +1 -1
- package/dist/terraform/map/sim-tf-map-s3.js.map +1 -0
- package/dist/{service/cloudformation/terraform/sim-tf-map-config.d.ts → terraform/map/sim-tf-map-secretsmanager.d.ts} +3 -5
- package/dist/terraform/map/sim-tf-map-secretsmanager.d.ts.map +1 -0
- package/dist/{service/cloudformation/terraform/sim-tf-map-config.js → terraform/map/sim-tf-map-secretsmanager.js} +2 -14
- package/dist/terraform/map/sim-tf-map-secretsmanager.js.map +1 -0
- package/dist/{service/cloudformation/terraform → terraform/map}/sim-tf-map-sns.d.ts +2 -2
- package/dist/terraform/map/sim-tf-map-sns.d.ts.map +1 -0
- package/dist/{service/cloudformation/terraform → terraform/map}/sim-tf-map-sns.js +1 -1
- 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-intrinsic.d.ts +13 -0
- package/dist/terraform/sim-tf-attribute-intrinsic.d.ts.map +1 -0
- package/dist/terraform/sim-tf-attribute-intrinsic.js +23 -0
- package/dist/terraform/sim-tf-attribute-intrinsic.js.map +1 -0
- package/dist/terraform/sim-tf-attribute-reads.d.ts.map +1 -0
- package/dist/terraform/sim-tf-attribute-reads.js.map +1 -0
- package/dist/{service/cloudformation/terraform → terraform}/sim-tf-attributes.d.ts +13 -4
- package/dist/terraform/sim-tf-attributes.d.ts.map +1 -0
- package/dist/{service/cloudformation/terraform → terraform}/sim-tf-attributes.js +2 -2
- package/dist/terraform/sim-tf-attributes.js.map +1 -0
- package/dist/terraform/sim-tf-declare.d.ts +17 -0
- package/dist/terraform/sim-tf-declare.d.ts.map +1 -0
- package/dist/terraform/sim-tf-declare.js +37 -0
- package/dist/terraform/sim-tf-declare.js.map +1 -0
- package/dist/{service/cloudformation/terraform/sim-tf-template-graph.d.ts → terraform/sim-tf-depends-on.d.ts} +4 -12
- package/dist/terraform/sim-tf-depends-on.d.ts.map +1 -0
- package/dist/terraform/sim-tf-depends-on.js +30 -0
- package/dist/terraform/sim-tf-depends-on.js.map +1 -0
- package/dist/terraform/sim-tf-expression-references.d.ts +11 -0
- package/dist/terraform/sim-tf-expression-references.d.ts.map +1 -0
- package/dist/terraform/sim-tf-expression-references.js +22 -0
- package/dist/terraform/sim-tf-expression-references.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.map +1 -0
- package/dist/terraform/sim-tf-module-outputs.d.ts +50 -0
- package/dist/terraform/sim-tf-module-outputs.d.ts.map +1 -0
- package/dist/terraform/sim-tf-module-outputs.js +99 -0
- package/dist/terraform/sim-tf-module-outputs.js.map +1 -0
- package/dist/terraform/sim-tf-module-variables.d.ts +16 -0
- package/dist/terraform/sim-tf-module-variables.d.ts.map +1 -0
- package/dist/terraform/sim-tf-module-variables.js +37 -0
- package/dist/terraform/sim-tf-module-variables.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 +54 -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/{service/cloudformation/terraform → terraform}/sim-tf-plan.type.d.ts +25 -4
- package/dist/terraform/sim-tf-plan.type.d.ts.map +1 -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-addresses.d.ts +45 -0
- package/dist/terraform/sim-tf-reference-addresses.d.ts.map +1 -0
- package/dist/terraform/sim-tf-reference-addresses.js +82 -0
- package/dist/terraform/sim-tf-reference-addresses.js.map +1 -0
- package/dist/terraform/sim-tf-reference-scope.d.ts +29 -0
- package/dist/terraform/sim-tf-reference-scope.d.ts.map +1 -0
- package/dist/terraform/sim-tf-reference-scope.js +71 -0
- package/dist/terraform/sim-tf-reference-scope.js.map +1 -0
- package/dist/terraform/sim-tf-reference.d.ts +84 -0
- package/dist/terraform/sim-tf-reference.d.ts.map +1 -0
- package/dist/terraform/sim-tf-reference.js +144 -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/{service/cloudformation/terraform → terraform}/sim-tf-registry.d.ts +2 -1
- 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/{service/cloudformation/terraform → terraform}/sim-tf-report.type.d.ts +10 -4
- package/dist/terraform/sim-tf-report.type.d.ts.map +1 -0
- package/dist/terraform/sim-tf-report.type.js.map +1 -0
- package/dist/{service/cloudformation/terraform/sim-tf-plan-resources.d.ts → terraform/sim-tf-resource.type.d.ts} +14 -12
- 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 +65 -0
- package/dist/terraform/sim-tf-settle.js.map +1 -0
- package/dist/util/exactly-one.type.d.ts +14 -0
- package/dist/util/exactly-one.type.d.ts.map +1 -0
- package/dist/util/exactly-one.type.js +2 -0
- package/dist/util/exactly-one.type.js.map +1 -0
- package/dist/util/filesystem/test-terraform-project.d.ts +11 -0
- package/dist/util/filesystem/test-terraform-project.d.ts.map +1 -1
- package/dist/util/filesystem/test-terraform-project.js +30 -1
- package/dist/util/filesystem/test-terraform-project.js.map +1 -1
- package/package.json +5 -1
- package/dist/service/cloudformation/bind/sim-cfn-deploy-binding.d.ts.map +0 -1
- package/dist/service/cloudformation/bind/sim-cfn-deploy-binding.js.map +0 -1
- 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/cloudformation/terraform/sim-tf-attribute-reads.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-attribute-reads.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-attributes.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-attributes.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-config.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-config.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-dynamodb.d.ts +0 -15
- package/dist/service/cloudformation/terraform/sim-tf-map-dynamodb.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-dynamodb.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-http-api-route.d.ts +0 -5
- package/dist/service/cloudformation/terraform/sim-tf-map-http-api-route.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-http-api-route.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-http-api.d.ts +0 -12
- package/dist/service/cloudformation/terraform/sim-tf-map-http-api.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-http-api.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-iam.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-iam.js +0 -80
- package/dist/service/cloudformation/terraform/sim-tf-map-iam.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-lambda.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-lambda.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-s3-cors.d.ts +0 -5
- package/dist/service/cloudformation/terraform/sim-tf-map-s3-cors.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-s3-cors.js +0 -12
- package/dist/service/cloudformation/terraform/sim-tf-map-s3-cors.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-s3-encryption.d.ts +0 -5
- package/dist/service/cloudformation/terraform/sim-tf-map-s3-encryption.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-s3-encryption.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-s3-folds.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-s3-folds.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-s3.d.ts +0 -5
- package/dist/service/cloudformation/terraform/sim-tf-map-s3.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-s3.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-sns.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-sns.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-sqs.d.ts +0 -5
- package/dist/service/cloudformation/terraform/sim-tf-map-sqs.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-sqs.js +0 -56
- package/dist/service/cloudformation/terraform/sim-tf-map-sqs.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-mapping.type.d.ts +0 -41
- package/dist/service/cloudformation/terraform/sim-tf-mapping.type.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-mapping.type.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-module-outputs.d.ts +0 -19
- package/dist/service/cloudformation/terraform/sim-tf-module-outputs.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-module-outputs.js +0 -63
- package/dist/service/cloudformation/terraform/sim-tf-module-outputs.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-plan-index.d.ts +0 -26
- package/dist/service/cloudformation/terraform/sim-tf-plan-index.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-plan-index.js +0 -45
- package/dist/service/cloudformation/terraform/sim-tf-plan-index.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-plan-resources.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-plan-resources.js +0 -44
- package/dist/service/cloudformation/terraform/sim-tf-plan-resources.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-plan.type.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-plan.type.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-reference-address.d.ts +0 -27
- package/dist/service/cloudformation/terraform/sim-tf-reference-address.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-reference-address.js +0 -58
- package/dist/service/cloudformation/terraform/sim-tf-reference-address.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-reference.d.ts +0 -64
- package/dist/service/cloudformation/terraform/sim-tf-reference.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-reference.js +0 -122
- package/dist/service/cloudformation/terraform/sim-tf-reference.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-registry.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-registry.js +0 -40
- package/dist/service/cloudformation/terraform/sim-tf-registry.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-report.type.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-report.type.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template-folds.d.ts +0 -20
- package/dist/service/cloudformation/terraform/sim-tf-template-folds.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template-folds.js +0 -28
- package/dist/service/cloudformation/terraform/sim-tf-template-folds.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template-graph.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template-graph.js +0 -71
- package/dist/service/cloudformation/terraform/sim-tf-template-graph.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template-mappings.d.ts +0 -23
- package/dist/service/cloudformation/terraform/sim-tf-template-mappings.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template-mappings.js +0 -72
- package/dist/service/cloudformation/terraform/sim-tf-template-mappings.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template-merge.d.ts +0 -21
- package/dist/service/cloudformation/terraform/sim-tf-template-merge.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template-merge.js +0 -33
- package/dist/service/cloudformation/terraform/sim-tf-template-merge.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template-prune.d.ts +0 -21
- package/dist/service/cloudformation/terraform/sim-tf-template-prune.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template-prune.js +0 -51
- package/dist/service/cloudformation/terraform/sim-tf-template-prune.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template-pruned.d.ts +0 -18
- package/dist/service/cloudformation/terraform/sim-tf-template-pruned.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template-pruned.js +0 -23
- package/dist/service/cloudformation/terraform/sim-tf-template-pruned.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template-references.d.ts +0 -10
- package/dist/service/cloudformation/terraform/sim-tf-template-references.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template-references.js +0 -39
- package/dist/service/cloudformation/terraform/sim-tf-template-references.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template-resolver.d.ts +0 -12
- package/dist/service/cloudformation/terraform/sim-tf-template-resolver.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template-resolver.js +0 -17
- package/dist/service/cloudformation/terraform/sim-tf-template-resolver.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template.d.ts +0 -26
- package/dist/service/cloudformation/terraform/sim-tf-template.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template.js +0 -54
- package/dist/service/cloudformation/terraform/sim-tf-template.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
- /package/dist/{service/cloudformation/terraform → terraform}/sim-tf-attribute-reads.d.ts +0 -0
- /package/dist/{service/cloudformation/terraform → terraform}/sim-tf-attribute-reads.js +0 -0
- /package/dist/{service/cloudformation/terraform → terraform}/sim-tf-mapping.type.js +0 -0
- /package/dist/{service/cloudformation/terraform → terraform}/sim-tf-plan.type.js +0 -0
- /package/dist/{service/cloudformation/terraform → terraform}/sim-tf-report.type.js +0 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { SimSesIdentity } from "../../identity/sim-ses-identity.js";
|
|
2
|
+
import type { SimGetEmailIdentityCommandOutput, SimSesDkimAttributes, SimSesMailFromAttributes } from "./identity.command.js";
|
|
3
|
+
/** Everything GetEmailIdentity reports, apart from the response metadata. */
|
|
4
|
+
type SimSesIdentityDetails = Omit<SimGetEmailIdentityCommandOutput, "$metadata">;
|
|
5
|
+
/**
|
|
6
|
+
* The whole of what GetEmailIdentity says about one identity.
|
|
7
|
+
*
|
|
8
|
+
* Assembled here rather than at the command, so that the command stays the
|
|
9
|
+
* three steps it is about: name the identity, authorize the caller, find it.
|
|
10
|
+
*/
|
|
11
|
+
export declare function simSesIdentityDetails(identity: SimSesIdentity): SimSesIdentityDetails;
|
|
12
|
+
/**
|
|
13
|
+
* What GetEmailIdentity reports about an identity's DKIM signing.
|
|
14
|
+
*
|
|
15
|
+
* Every field here is the configuration the identity was created with, read
|
|
16
|
+
* straight back. Nothing signs a message and nothing checks a signature on
|
|
17
|
+
* one, so what a test gets is the answer to "is the identity configured the
|
|
18
|
+
* way the stack said" and nothing about deliverability.
|
|
19
|
+
*/
|
|
20
|
+
export declare function simSesDkimAttributes(identity: SimSesIdentity): SimSesDkimAttributes;
|
|
21
|
+
/**
|
|
22
|
+
* What GetEmailIdentity reports about a custom MAIL FROM domain.
|
|
23
|
+
*
|
|
24
|
+
* Absent where the identity was configured without one, which is how real SES
|
|
25
|
+
* answers for an identity sending from the default `amazonses.com` envelope.
|
|
26
|
+
*/
|
|
27
|
+
export declare function simSesMailFromAttributes(identity: SimSesIdentity): SimSesMailFromAttributes | undefined;
|
|
28
|
+
export {};
|
|
29
|
+
//# sourceMappingURL=sim-ses-identity-attributes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-ses-identity-attributes.d.ts","sourceRoot":"","sources":["../../../../../src/service/ses/command/identity/sim-ses-identity-attributes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,KAAK,EACV,gCAAgC,EAChC,oBAAoB,EACpB,wBAAwB,EACzB,MAAM,uBAAuB,CAAC;AAE/B,6EAA6E;AAC7E,KAAK,qBAAqB,GAAG,IAAI,CAC/B,gCAAgC,EAChC,WAAW,CACZ,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,qBAAqB,CACnC,QAAQ,EAAE,cAAc,GACvB,qBAAqB,CAgBvB;AAED;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,cAAc,GACvB,oBAAoB,CAYtB;AAED;;;;;GAKG;AACH,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,cAAc,GACvB,wBAAwB,GAAG,SAAS,CAYtC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The whole of what GetEmailIdentity says about one identity.
|
|
3
|
+
*
|
|
4
|
+
* Assembled here rather than at the command, so that the command stays the
|
|
5
|
+
* three steps it is about: name the identity, authorize the caller, find it.
|
|
6
|
+
*/
|
|
7
|
+
export function simSesIdentityDetails(identity) {
|
|
8
|
+
const mailFrom = simSesMailFromAttributes(identity);
|
|
9
|
+
const settings = identity.settings;
|
|
10
|
+
return {
|
|
11
|
+
IdentityType: identity.identityType,
|
|
12
|
+
VerifiedForSendingStatus: identity.isVerified,
|
|
13
|
+
VerificationStatus: identity.verificationStatus,
|
|
14
|
+
FeedbackForwardingStatus: settings.feedbackForwardingEnabled,
|
|
15
|
+
DkimAttributes: simSesDkimAttributes(identity),
|
|
16
|
+
...(mailFrom !== undefined && { MailFromAttributes: mailFrom }),
|
|
17
|
+
...(settings.configurationSetName !== undefined && {
|
|
18
|
+
ConfigurationSetName: settings.configurationSetName,
|
|
19
|
+
}),
|
|
20
|
+
Tags: settings.tags,
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* What GetEmailIdentity reports about an identity's DKIM signing.
|
|
25
|
+
*
|
|
26
|
+
* Every field here is the configuration the identity was created with, read
|
|
27
|
+
* straight back. Nothing signs a message and nothing checks a signature on
|
|
28
|
+
* one, so what a test gets is the answer to "is the identity configured the
|
|
29
|
+
* way the stack said" and nothing about deliverability.
|
|
30
|
+
*/
|
|
31
|
+
export function simSesDkimAttributes(identity) {
|
|
32
|
+
const { dkim } = identity.settings;
|
|
33
|
+
return {
|
|
34
|
+
SigningEnabled: dkim.signingEnabled,
|
|
35
|
+
Status: identity.dkimStatus,
|
|
36
|
+
SigningAttributesOrigin: dkim.signingOrigin,
|
|
37
|
+
...(identity.dkimTokens !== undefined && { Tokens: identity.dkimTokens }),
|
|
38
|
+
...(dkim.nextSigningKeyLength !== undefined && {
|
|
39
|
+
NextSigningKeyLength: dkim.nextSigningKeyLength,
|
|
40
|
+
}),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* What GetEmailIdentity reports about a custom MAIL FROM domain.
|
|
45
|
+
*
|
|
46
|
+
* Absent where the identity was configured without one, which is how real SES
|
|
47
|
+
* answers for an identity sending from the default `amazonses.com` envelope.
|
|
48
|
+
*/
|
|
49
|
+
export function simSesMailFromAttributes(identity) {
|
|
50
|
+
const { mailFrom } = identity.settings;
|
|
51
|
+
if (mailFrom === undefined) {
|
|
52
|
+
return undefined;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
MailFromDomain: mailFrom.mailFromDomain,
|
|
56
|
+
MailFromDomainStatus: identity.verificationStatus,
|
|
57
|
+
BehaviorOnMxFailure: mailFrom.behaviourOnMxFailure,
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=sim-ses-identity-attributes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-ses-identity-attributes.js","sourceRoot":"","sources":["../../../../../src/service/ses/command/identity/sim-ses-identity-attributes.ts"],"names":[],"mappings":"AAaA;;;;;GAKG;AACH,MAAM,UAAU,qBAAqB,CACnC,QAAwB;IAExB,MAAM,QAAQ,GAAG,wBAAwB,CAAC,QAAQ,CAAC,CAAC;IACpD,MAAM,QAAQ,GAAG,QAAQ,CAAC,QAAQ,CAAC;IAEnC,OAAO;QACL,YAAY,EAAE,QAAQ,CAAC,YAAY;QACnC,wBAAwB,EAAE,QAAQ,CAAC,UAAU;QAC7C,kBAAkB,EAAE,QAAQ,CAAC,kBAAkB;QAC/C,wBAAwB,EAAE,QAAQ,CAAC,yBAAyB;QAC5D,cAAc,EAAE,oBAAoB,CAAC,QAAQ,CAAC;QAC9C,GAAG,CAAC,QAAQ,KAAK,SAAS,IAAI,EAAE,kBAAkB,EAAE,QAAQ,EAAE,CAAC;QAC/D,GAAG,CAAC,QAAQ,CAAC,oBAAoB,KAAK,SAAS,IAAI;YACjD,oBAAoB,EAAE,QAAQ,CAAC,oBAAoB;SACpD,CAAC;QACF,IAAI,EAAE,QAAQ,CAAC,IAAI;KACpB,CAAC;AACJ,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,oBAAoB,CAClC,QAAwB;IAExB,MAAM,EAAE,IAAI,EAAE,GAAG,QAAQ,CAAC,QAAQ,CAAC;IAEnC,OAAO;QACL,cAAc,EAAE,IAAI,CAAC,cAAc;QACnC,MAAM,EAAE,QAAQ,CAAC,UAAU;QAC3B,uBAAuB,EAAE,IAAI,CAAC,aAAa;QAC3C,GAAG,CAAC,QAAQ,CAAC,UAAU,KAAK,SAAS,IAAI,EAAE,MAAM,EAAE,QAAQ,CAAC,UAAU,EAAE,CAAC;QACzE,GAAG,CAAC,IAAI,CAAC,oBAAoB,KAAK,SAAS,IAAI;YAC7C,oBAAoB,EAAE,IAAI,CAAC,oBAAoB;SAChD,CAAC;KACH,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,wBAAwB,CACtC,QAAwB;IAExB,MAAM,EAAE,QAAQ,EAAE,GAAG,QAAQ,CAAC,QAAQ,CAAC;IAEvC,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;QAC3B,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO;QACL,cAAc,EAAE,QAAQ,CAAC,cAAc;QACvC,oBAAoB,EAAE,QAAQ,CAAC,kBAAkB;QACjD,mBAAmB,EAAE,QAAQ,CAAC,oBAAoB;KACnD,CAAC;AACJ,CAAC"}
|
|
@@ -24,7 +24,12 @@ export declare class SimSesIdentityCommands {
|
|
|
24
24
|
*/
|
|
25
25
|
createEmailIdentity(command: SimCreateEmailIdentityCommand, options?: SimSesRequestOptions): SimCreateEmailIdentityCommandOutput;
|
|
26
26
|
/**
|
|
27
|
-
* Read one identity
|
|
27
|
+
* Read one identity, how far its verification has got, and what it was
|
|
28
|
+
* configured with.
|
|
29
|
+
*
|
|
30
|
+
* The DKIM, MAIL FROM, configuration set and tag settings are read straight
|
|
31
|
+
* back from what created the identity. This is where a test finds out that
|
|
32
|
+
* the identity a stack deployed is the one the stack described.
|
|
28
33
|
*/
|
|
29
34
|
getEmailIdentity(command: SimGetEmailIdentityCommand, options?: SimSesRequestOptions): SimGetEmailIdentityCommandOutput;
|
|
30
35
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-ses-identity-commands.d.ts","sourceRoot":"","sources":["../../../../../src/service/ses/command/identity/sim-ses-identity-commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-ses-identity-commands.d.ts","sourceRoot":"","sources":["../../../../../src/service/ses/command/identity/sim-ses-identity-commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAMpF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAE3E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,KAAK,EACV,6BAA6B,EAC7B,mCAAmC,EACnC,6BAA6B,EAC7B,mCAAmC,EACnC,0BAA0B,EAC1B,gCAAgC,EAChC,6BAA6B,EAC7B,mCAAmC,EAEpC,MAAM,uBAAuB,CAAC;AAO/B,UAAU,gCAAgC;IACxC,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;IACzC,QAAQ,CAAC,UAAU,EAAE,gBAAgB,CAAC;IACtC,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC;CAC1B;AAED;;;;;;;GAOG;AACH,qBAAa,sBAAsB;;IAKjC,YAAY,UAAU,EAAE,gCAAgC,EAIvD;IAED;;OAEG;IACH,mBAAmB,CACjB,OAAO,EAAE,6BAA6B,EACtC,OAAO,CAAC,EAAE,oBAAoB,GAC7B,mCAAmC,CA0BrC;IAED;;;;;;;OAOG;IACH,gBAAgB,CACd,OAAO,EAAE,0BAA0B,EACnC,OAAO,CAAC,EAAE,oBAAoB,GAC7B,gCAAgC,CAclC;IAED;;;;;;OAMG;IACH,mBAAmB,CACjB,OAAO,EAAE,6BAA6B,EACtC,OAAO,CAAC,EAAE,oBAAoB,GAC7B,mCAAmC,CAiBrC;IAED;;OAEG;IACH,mBAAmB,CACjB,OAAO,EAAE,6BAA6B,EACtC,OAAO,CAAC,EAAE,oBAAoB,GAC7B,mCAAmC,CAerC;CACF"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { requiredSimSesIdentityName } from "../../identity/sim-ses-identity-name.js";
|
|
1
|
+
import { requiredSimSesIdentityName, simSesIdentityType, } from "../../identity/sim-ses-identity-name.js";
|
|
2
2
|
import { SimSesPage } from "../sim-ses-page.js";
|
|
3
|
-
import {
|
|
3
|
+
import { simSesDkimAttributes, simSesIdentityDetails, } from "./sim-ses-identity-attributes.js";
|
|
4
|
+
import { simSesIdentityInputSettings } from "./sim-ses-identity-input-settings.js";
|
|
4
5
|
/**
|
|
5
6
|
* The commands that make, read, list and remove email identities.
|
|
6
7
|
*
|
|
@@ -23,29 +24,28 @@ export class SimSesIdentityCommands {
|
|
|
23
24
|
*/
|
|
24
25
|
createEmailIdentity(command, options) {
|
|
25
26
|
const emailIdentity = requiredSimSesIdentityName(command.input.EmailIdentity);
|
|
26
|
-
refuseUnsimulatedIdentityInput(command.input);
|
|
27
27
|
this.#authorizer.authorizeIdentity("ses:CreateEmailIdentity", emailIdentity, options?.caller);
|
|
28
|
-
const identity = this.#identities.create(emailIdentity, this.#clock.now());
|
|
28
|
+
const identity = this.#identities.create(emailIdentity, this.#clock.now(), simSesIdentityInputSettings(command.input, simSesIdentityType(emailIdentity)));
|
|
29
29
|
return {
|
|
30
30
|
$metadata: {},
|
|
31
31
|
IdentityType: identity.identityType,
|
|
32
32
|
VerifiedForSendingStatus: identity.isVerified,
|
|
33
|
+
DkimAttributes: simSesDkimAttributes(identity),
|
|
33
34
|
};
|
|
34
35
|
}
|
|
35
36
|
/**
|
|
36
|
-
* Read one identity
|
|
37
|
+
* Read one identity, how far its verification has got, and what it was
|
|
38
|
+
* configured with.
|
|
39
|
+
*
|
|
40
|
+
* The DKIM, MAIL FROM, configuration set and tag settings are read straight
|
|
41
|
+
* back from what created the identity. This is where a test finds out that
|
|
42
|
+
* the identity a stack deployed is the one the stack described.
|
|
37
43
|
*/
|
|
38
44
|
getEmailIdentity(command, options) {
|
|
39
45
|
const emailIdentity = requiredSimSesIdentityName(command.input.EmailIdentity);
|
|
40
46
|
this.#authorizer.authorizeIdentity("ses:GetEmailIdentity", emailIdentity, options?.caller);
|
|
41
47
|
const identity = this.#identities.require(emailIdentity);
|
|
42
|
-
return {
|
|
43
|
-
$metadata: {},
|
|
44
|
-
IdentityType: identity.identityType,
|
|
45
|
-
VerifiedForSendingStatus: identity.isVerified,
|
|
46
|
-
VerificationStatus: identity.verificationStatus,
|
|
47
|
-
FeedbackForwardingStatus: true,
|
|
48
|
-
};
|
|
48
|
+
return { $metadata: {}, ...simSesIdentityDetails(identity) };
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
51
51
|
* List the identities in this scope, in the order they were created.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-ses-identity-commands.js","sourceRoot":"","sources":["../../../../../src/service/ses/command/identity/sim-ses-identity-commands.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"sim-ses-identity-commands.js","sourceRoot":"","sources":["../../../../../src/service/ses/command/identity/sim-ses-identity-commands.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,0BAA0B,EAC1B,kBAAkB,GACnB,MAAM,yCAAyC,CAAC;AAGjD,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAahD,OAAO,EACL,oBAAoB,EACpB,qBAAqB,GACtB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AAQnF;;;;;;;GAOG;AACH,MAAM,OAAO,sBAAsB;IACxB,WAAW,CAAsB;IACjC,WAAW,CAAmB;IAC9B,MAAM,CAAW;IAE1B,YAAY,UAA4C;QACtD,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC,UAAU,CAAC;QACzC,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC,UAAU,CAAC;QACzC,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,KAAK,CAAC;IACjC,CAAC;IAED;;OAEG;IACH,mBAAmB,CACjB,OAAsC,EACtC,OAA8B;QAE9B,MAAM,aAAa,GAAG,0BAA0B,CAC9C,OAAO,CAAC,KAAK,CAAC,aAAa,CAC5B,CAAC;QAEF,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAChC,yBAAyB,EACzB,aAAa,EACb,OAAO,EAAE,MAAM,CAChB,CAAC;QAEF,MAAM,QAAQ,GAAG,IAAI,CAAC,WAAW,CAAC,MAAM,CACtC,aAAa,EACb,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE,EACjB,2BAA2B,CACzB,OAAO,CAAC,KAAK,EACb,kBAAkB,CAAC,aAAa,CAAC,CAClC,CACF,CAAC;QAEF,OAAO;YACL,SAAS,EAAE,EAAE;YACb,YAAY,EAAE,QAAQ,CAAC,YAAY;YACnC,wBAAwB,EAAE,QAAQ,CAAC,UAAU;YAC7C,cAAc,EAAE,oBAAoB,CAAC,QAAQ,CAAC;SAC/C,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,gBAAgB,CACd,OAAmC,EACnC,OAA8B;QAE9B,MAAM,aAAa,GAAG,0BAA0B,CAC9C,OAAO,CAAC,KAAK,CAAC,aAAa,CAC5B,CAAC;QAEF,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAChC,sBAAsB,EACtB,aAAa,EACb,OAAO,EAAE,MAAM,CAChB,CAAC;QAEF,MAAM,QAAQ,GAAG,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;QAEzD,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,GAAG,qBAAqB,CAAC,QAAQ,CAAC,EAAE,CAAC;IAC/D,CAAC;IAED;;;;;;OAMG;IACH,mBAAmB,CACjB,OAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,WAAW,CAAC,mBAAmB,CAClC,yBAAyB,EACzB,OAAO,EAAE,MAAM,CAChB,CAAC;QAEF,MAAM,IAAI,GAAG,IAAI,UAAU,CAAC;YAC1B,MAAM,EAAE,IAAI,CAAC,WAAW,CAAC,GAAG;YAC5B,QAAQ,EAAE,OAAO,CAAC,KAAK,CAAC,QAAQ;YAChC,SAAS,EAAE,OAAO,CAAC,KAAK,CAAC,SAAS;SACnC,CAAC,CAAC;QAEH,OAAO;YACL,SAAS,EAAE,EAAE;YACb,eAAe,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;YACrE,SAAS,EAAE,IAAI,CAAC,SAAS;SAC1B,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,mBAAmB,CACjB,OAAsC,EACtC,OAA8B;QAE9B,MAAM,aAAa,GAAG,0BAA0B,CAC9C,OAAO,CAAC,KAAK,CAAC,aAAa,CAC5B,CAAC;QAEF,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAChC,yBAAyB,EACzB,aAAa,EACb,OAAO,EAAE,MAAM,CAChB,CAAC;QAEF,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;QACxC,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;QAEvC,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;IAC3B,CAAC;CACF;AAED;;GAEG;AACH,SAAS,YAAY,CAAC,QAAwB;IAC5C,OAAO;QACL,YAAY,EAAE,QAAQ,CAAC,YAAY;QACnC,YAAY,EAAE,QAAQ,CAAC,aAAa;QACpC,cAAc,EAAE,QAAQ,CAAC,UAAU;QACnC,kBAAkB,EAAE,QAAQ,CAAC,kBAAkB;KAChD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { SimSesIdentityType } from "../../identity/sim-ses-identity-name.js";
|
|
2
|
+
import { type SimSesIdentitySettings } from "../../identity/sim-ses-identity-settings.js";
|
|
3
|
+
import type { SimCreateEmailIdentityCommandInput } from "./identity.command.js";
|
|
4
|
+
/**
|
|
5
|
+
* Read the settings a CreateEmailIdentity request configures an identity with.
|
|
6
|
+
*
|
|
7
|
+
* The request is taken at its word. `DkimSigningAttributes`, `Tags` and
|
|
8
|
+
* `ConfigurationSetName` are all held on the identity and read back by
|
|
9
|
+
* `GetEmailIdentity`, so a caller that asks for one gets an identity that
|
|
10
|
+
* agrees with the request that made it.
|
|
11
|
+
*
|
|
12
|
+
* A private signing key is the one input dropped. Nothing here signs a
|
|
13
|
+
* message, and holding a secret for no reason is worse than forgetting it.
|
|
14
|
+
*/
|
|
15
|
+
export declare function simSesIdentityInputSettings(input: SimCreateEmailIdentityCommandInput, identityType: SimSesIdentityType): SimSesIdentitySettings;
|
|
16
|
+
//# sourceMappingURL=sim-ses-identity-input-settings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-ses-identity-input-settings.d.ts","sourceRoot":"","sources":["../../../../../src/service/ses/command/identity/sim-ses-identity-input-settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAClF,OAAO,EAGL,KAAK,sBAAsB,EAE5B,MAAM,6CAA6C,CAAC;AACrD,OAAO,KAAK,EACV,kCAAkC,EAGnC,MAAM,uBAAuB,CAAC;AAE/B;;;;;;;;;;GAUG;AACH,wBAAgB,2BAA2B,CACzC,KAAK,EAAE,kCAAkC,EACzC,YAAY,EAAE,kBAAkB,GAC/B,sBAAsB,CAexB"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { defaultSimSesIdentitySettings, } from "../../identity/sim-ses-identity-settings.js";
|
|
2
|
+
/**
|
|
3
|
+
* Read the settings a CreateEmailIdentity request configures an identity with.
|
|
4
|
+
*
|
|
5
|
+
* The request is taken at its word. `DkimSigningAttributes`, `Tags` and
|
|
6
|
+
* `ConfigurationSetName` are all held on the identity and read back by
|
|
7
|
+
* `GetEmailIdentity`, so a caller that asks for one gets an identity that
|
|
8
|
+
* agrees with the request that made it.
|
|
9
|
+
*
|
|
10
|
+
* A private signing key is the one input dropped. Nothing here signs a
|
|
11
|
+
* message, and holding a secret for no reason is worse than forgetting it.
|
|
12
|
+
*/
|
|
13
|
+
export function simSesIdentityInputSettings(input, identityType) {
|
|
14
|
+
const defaults = defaultSimSesIdentitySettings(identityType);
|
|
15
|
+
return {
|
|
16
|
+
...defaults,
|
|
17
|
+
dkim: inputDkimSettings(input.DkimSigningAttributes, defaults.dkim, identityType),
|
|
18
|
+
...(input.ConfigurationSetName !== undefined && {
|
|
19
|
+
configurationSetName: input.ConfigurationSetName,
|
|
20
|
+
}),
|
|
21
|
+
tags: inputTags(input.Tags),
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* The tags a request carries, keeping the ones that have both halves.
|
|
26
|
+
*
|
|
27
|
+
* Real SES refuses a tag with no key. Dropping it is the lesser divergence
|
|
28
|
+
* here, since the alternative is failing a request over a tag nothing in this
|
|
29
|
+
* simulation is billed or grouped by.
|
|
30
|
+
*/
|
|
31
|
+
function inputTags(tags) {
|
|
32
|
+
return (tags ?? []).flatMap((tag) => tag.Key === undefined || tag.Value === undefined
|
|
33
|
+
? []
|
|
34
|
+
: [{ Key: tag.Key, Value: tag.Value }]);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* How a request's signing attributes configure DKIM.
|
|
38
|
+
*
|
|
39
|
+
* A selector means Bring Your Own DKIM, which SES reports as an `EXTERNAL`
|
|
40
|
+
* origin with no tokens of its own. Anything else leaves Easy DKIM in place
|
|
41
|
+
* and only says which key length it rotates to next.
|
|
42
|
+
*/
|
|
43
|
+
function inputDkimSettings(signingAttributes, defaults, identityType) {
|
|
44
|
+
if (signingAttributes === undefined) {
|
|
45
|
+
return defaults;
|
|
46
|
+
}
|
|
47
|
+
const selector = signingAttributes.DomainSigningSelector;
|
|
48
|
+
return {
|
|
49
|
+
signingEnabled: identityType === "DOMAIN",
|
|
50
|
+
signingOrigin: selector === undefined ? "AWS_SES" : "EXTERNAL",
|
|
51
|
+
...(selector !== undefined && { domainSigningSelector: selector }),
|
|
52
|
+
...(signingAttributes.NextSigningKeyLength !== undefined && {
|
|
53
|
+
nextSigningKeyLength: signingAttributes.NextSigningKeyLength,
|
|
54
|
+
}),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=sim-ses-identity-input-settings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-ses-identity-input-settings.js","sourceRoot":"","sources":["../../../../../src/service/ses/command/identity/sim-ses-identity-input-settings.ts"],"names":[],"mappings":"AACA,OAAO,EACL,6BAA6B,GAI9B,MAAM,6CAA6C,CAAC;AAOrD;;;;;;;;;;GAUG;AACH,MAAM,UAAU,2BAA2B,CACzC,KAAyC,EACzC,YAAgC;IAEhC,MAAM,QAAQ,GAAG,6BAA6B,CAAC,YAAY,CAAC,CAAC;IAE7D,OAAO;QACL,GAAG,QAAQ;QACX,IAAI,EAAE,iBAAiB,CACrB,KAAK,CAAC,qBAAqB,EAC3B,QAAQ,CAAC,IAAI,EACb,YAAY,CACb;QACD,GAAG,CAAC,KAAK,CAAC,oBAAoB,KAAK,SAAS,IAAI;YAC9C,oBAAoB,EAAE,KAAK,CAAC,oBAAoB;SACjD,CAAC;QACF,IAAI,EAAE,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC;KAC5B,CAAC;AACJ,CAAC;AAED;;;;;;GAMG;AACH,SAAS,SAAS,CAChB,IAA2C;IAE3C,OAAO,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE,CAClC,GAAG,CAAC,GAAG,KAAK,SAAS,IAAI,GAAG,CAAC,KAAK,KAAK,SAAS;QAC9C,CAAC,CAAC,EAAE;QACJ,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,CAAC,GAAG,EAAE,KAAK,EAAE,GAAG,CAAC,KAAK,EAAE,CAAC,CACzC,CAAC;AACJ,CAAC;AAED;;;;;;GAMG;AACH,SAAS,iBAAiB,CACxB,iBAA0D,EAC1D,QAA4B,EAC5B,YAAgC;IAEhC,IAAI,iBAAiB,KAAK,SAAS,EAAE,CAAC;QACpC,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,MAAM,QAAQ,GAAG,iBAAiB,CAAC,qBAAqB,CAAC;IAEzD,OAAO;QACL,cAAc,EAAE,YAAY,KAAK,QAAQ;QACzC,aAAa,EAAE,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,UAAU;QAC9D,GAAG,CAAC,QAAQ,KAAK,SAAS,IAAI,EAAE,qBAAqB,EAAE,QAAQ,EAAE,CAAC;QAClE,GAAG,CAAC,iBAAiB,CAAC,oBAAoB,KAAK,SAAS,IAAI;YAC1D,oBAAoB,EAAE,iBAAiB,CAAC,oBAAoB;SAC7D,CAAC;KACH,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { SimSesConfigurationSetStore } from "../../configuration-set/sim-ses-configuration-set-store.js";
|
|
2
|
+
import type { SimSesIdentityStore } from "../../identity/sim-ses-identity-store.js";
|
|
3
|
+
interface SimSesConfigurationSetCheckProperties {
|
|
4
|
+
readonly identities: SimSesIdentityStore;
|
|
5
|
+
readonly configurationSets: SimSesConfigurationSetStore;
|
|
6
|
+
}
|
|
7
|
+
interface SimSesConfiguredSend {
|
|
8
|
+
readonly fromEmailAddress: string;
|
|
9
|
+
readonly configurationSetName: string | undefined;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Which configuration set a send goes through, and whether it may.
|
|
13
|
+
*
|
|
14
|
+
* A send names its own set, and one that names none falls back to the set the
|
|
15
|
+
* sending identity was created with. That fallback is how an application
|
|
16
|
+
* attaching a set to an identity behaves, and it lets a test assert a message
|
|
17
|
+
* went through the right set without the send naming it.
|
|
18
|
+
*
|
|
19
|
+
* A name nothing created is still accepted. Real SES refuses one, and refusing
|
|
20
|
+
* here would fail a test over a set the developer left out of their local
|
|
21
|
+
* setup. A test wanting the strict reading asks `findConfigurationSet` for the
|
|
22
|
+
* set and finds nothing.
|
|
23
|
+
*
|
|
24
|
+
* `SendingEnabled` is the one option acted on. It is a switch the caller wrote
|
|
25
|
+
* deliberately. A send through a set that has it off is refused the way SES
|
|
26
|
+
* refuses one.
|
|
27
|
+
*/
|
|
28
|
+
export declare class SimSesConfigurationSetCheck {
|
|
29
|
+
#private;
|
|
30
|
+
constructor(properties: SimSesConfigurationSetCheckProperties);
|
|
31
|
+
/**
|
|
32
|
+
* The set this send is made through, or nothing where neither the send nor
|
|
33
|
+
* the identity names one.
|
|
34
|
+
*
|
|
35
|
+
* Which identity's set counts follows the rule IAM authorizes an address
|
|
36
|
+
* against. An address identity's set wins over its domain's.
|
|
37
|
+
*/
|
|
38
|
+
applying(send: SimSesConfiguredSend): string | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* Refuse a send through a set whose sending is switched off.
|
|
41
|
+
*/
|
|
42
|
+
check(configurationSetName: string | undefined): void;
|
|
43
|
+
/**
|
|
44
|
+
* Why SES would turn this send down, or nothing where it would take it.
|
|
45
|
+
*
|
|
46
|
+
* The identity check offers a reason alongside its exception, and this
|
|
47
|
+
* offers both for the same purpose. A service sending on the account's
|
|
48
|
+
* behalf reports the refusal in its own vocabulary.
|
|
49
|
+
*/
|
|
50
|
+
refusal(configurationSetName: string | undefined): string | undefined;
|
|
51
|
+
}
|
|
52
|
+
export {};
|
|
53
|
+
//# sourceMappingURL=sim-ses-configuration-set-check.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-ses-configuration-set-check.d.ts","sourceRoot":"","sources":["../../../../../src/service/ses/command/send/sim-ses-configuration-set-check.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,4DAA4D,CAAC;AAE9G,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAEpF,UAAU,qCAAqC;IAC7C,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;IACzC,QAAQ,CAAC,iBAAiB,EAAE,2BAA2B,CAAC;CACzD;AAED,UAAU,oBAAoB;IAC5B,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,oBAAoB,EAAE,MAAM,GAAG,SAAS,CAAC;CACnD;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,qBAAa,2BAA2B;;IAItC,YAAY,UAAU,EAAE,qCAAqC,EAG5D;IAED;;;;;;OAMG;IACH,QAAQ,CAAC,IAAI,EAAE,oBAAoB,GAAG,MAAM,GAAG,SAAS,CASvD;IAED;;OAEG;IACH,KAAK,CAAC,oBAAoB,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,CAMpD;IAED;;;;;;OAMG;IACH,OAAO,CAAC,oBAAoB,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAepE;CACF"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { simSesBareAddress } from "../../email/sim-ses-address.js";
|
|
2
|
+
import { SimSesSendingPausedException } from "../../error/sim-ses.error.js";
|
|
3
|
+
/**
|
|
4
|
+
* Which configuration set a send goes through, and whether it may.
|
|
5
|
+
*
|
|
6
|
+
* A send names its own set, and one that names none falls back to the set the
|
|
7
|
+
* sending identity was created with. That fallback is how an application
|
|
8
|
+
* attaching a set to an identity behaves, and it lets a test assert a message
|
|
9
|
+
* went through the right set without the send naming it.
|
|
10
|
+
*
|
|
11
|
+
* A name nothing created is still accepted. Real SES refuses one, and refusing
|
|
12
|
+
* here would fail a test over a set the developer left out of their local
|
|
13
|
+
* setup. A test wanting the strict reading asks `findConfigurationSet` for the
|
|
14
|
+
* set and finds nothing.
|
|
15
|
+
*
|
|
16
|
+
* `SendingEnabled` is the one option acted on. It is a switch the caller wrote
|
|
17
|
+
* deliberately. A send through a set that has it off is refused the way SES
|
|
18
|
+
* refuses one.
|
|
19
|
+
*/
|
|
20
|
+
export class SimSesConfigurationSetCheck {
|
|
21
|
+
#identities;
|
|
22
|
+
#configurationSets;
|
|
23
|
+
constructor(properties) {
|
|
24
|
+
this.#identities = properties.identities;
|
|
25
|
+
this.#configurationSets = properties.configurationSets;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* The set this send is made through, or nothing where neither the send nor
|
|
29
|
+
* the identity names one.
|
|
30
|
+
*
|
|
31
|
+
* Which identity's set counts follows the rule IAM authorizes an address
|
|
32
|
+
* against. An address identity's set wins over its domain's.
|
|
33
|
+
*/
|
|
34
|
+
applying(send) {
|
|
35
|
+
if (send.configurationSetName !== undefined) {
|
|
36
|
+
return send.configurationSetName;
|
|
37
|
+
}
|
|
38
|
+
const address = simSesBareAddress(send.fromEmailAddress);
|
|
39
|
+
return this.#identities.find(this.#identities.covering(address))?.settings
|
|
40
|
+
.configurationSetName;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Refuse a send through a set whose sending is switched off.
|
|
44
|
+
*/
|
|
45
|
+
check(configurationSetName) {
|
|
46
|
+
const refusal = this.refusal(configurationSetName);
|
|
47
|
+
if (refusal !== undefined) {
|
|
48
|
+
throw new SimSesSendingPausedException(refusal);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Why SES would turn this send down, or nothing where it would take it.
|
|
53
|
+
*
|
|
54
|
+
* The identity check offers a reason alongside its exception, and this
|
|
55
|
+
* offers both for the same purpose. A service sending on the account's
|
|
56
|
+
* behalf reports the refusal in its own vocabulary.
|
|
57
|
+
*/
|
|
58
|
+
refusal(configurationSetName) {
|
|
59
|
+
if (configurationSetName === undefined) {
|
|
60
|
+
return undefined;
|
|
61
|
+
}
|
|
62
|
+
const configurationSet = this.#configurationSets.find(configurationSetName);
|
|
63
|
+
if (configurationSet === undefined || configurationSet.sendingEnabled) {
|
|
64
|
+
return undefined;
|
|
65
|
+
}
|
|
66
|
+
return (`Email sending is disabled for configuration set ` +
|
|
67
|
+
`${configurationSetName}.`);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=sim-ses-configuration-set-check.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-ses-configuration-set-check.js","sourceRoot":"","sources":["../../../../../src/service/ses/command/send/sim-ses-configuration-set-check.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAEnE,OAAO,EAAE,4BAA4B,EAAE,MAAM,8BAA8B,CAAC;AAa5E;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,OAAO,2BAA2B;IAC7B,WAAW,CAAsB;IACjC,kBAAkB,CAA8B;IAEzD,YAAY,UAAiD;QAC3D,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC,UAAU,CAAC;QACzC,IAAI,CAAC,kBAAkB,GAAG,UAAU,CAAC,iBAAiB,CAAC;IACzD,CAAC;IAED;;;;;;OAMG;IACH,QAAQ,CAAC,IAA0B;QACjC,IAAI,IAAI,CAAC,oBAAoB,KAAK,SAAS,EAAE,CAAC;YAC5C,OAAO,IAAI,CAAC,oBAAoB,CAAC;QACnC,CAAC;QAED,MAAM,OAAO,GAAG,iBAAiB,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAEzD,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,EAAE,QAAQ;aACvE,oBAAoB,CAAC;IAC1B,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,oBAAwC;QAC5C,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEnD,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;YAC1B,MAAM,IAAI,4BAA4B,CAAC,OAAO,CAAC,CAAC;QAClD,CAAC;IACH,CAAC;IAED;;;;;;OAMG;IACH,OAAO,CAAC,oBAAwC;QAC9C,IAAI,oBAAoB,KAAK,SAAS,EAAE,CAAC;YACvC,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,MAAM,gBAAgB,GAAG,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;QAE5E,IAAI,gBAAgB,KAAK,SAAS,IAAI,gBAAgB,CAAC,cAAc,EAAE,CAAC;YACtE,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,OAAO,CACL,kDAAkD;YAClD,GAAG,oBAAoB,GAAG,CAC3B,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -4,13 +4,17 @@ import type { SimSesIdentityStore } from "../../identity/sim-ses-identity-store.
|
|
|
4
4
|
import type { SimSesAuthorizer } from "../authorize/sim-ses-authorizer.js";
|
|
5
5
|
import type { SimSesRequestOptions } from "../sim-ses-request-options.js";
|
|
6
6
|
import type { SimSendEmailCommand, SimSendEmailCommandOutput } from "./send.command.js";
|
|
7
|
+
import type { SimSesConfigurationSetCheck } from "./sim-ses-configuration-set-check.js";
|
|
7
8
|
import type { SimSesContentReader } from "./sim-ses-content.js";
|
|
9
|
+
import type { SimSesSuppressionCheck } from "./sim-ses-suppression-check.js";
|
|
8
10
|
import type { SimSesVerifiedIdentityCheck } from "./sim-ses-verified-identities.js";
|
|
9
11
|
interface SimSesSendEmailProperties {
|
|
10
12
|
readonly identities: SimSesIdentityStore;
|
|
11
13
|
readonly content: SimSesContentReader;
|
|
12
14
|
readonly sent: SimSesSentEmailStore;
|
|
13
15
|
readonly identityCheck: SimSesVerifiedIdentityCheck;
|
|
16
|
+
readonly configurationSetCheck: SimSesConfigurationSetCheck;
|
|
17
|
+
readonly suppressionCheck: SimSesSuppressionCheck;
|
|
14
18
|
readonly authorizer: SimSesAuthorizer;
|
|
15
19
|
readonly clock: SimClock;
|
|
16
20
|
}
|
|
@@ -20,9 +24,13 @@ interface SimSesSendEmailProperties {
|
|
|
20
24
|
* Nothing is delivered, so what this does is decide whether SES would have
|
|
21
25
|
* accepted the message and, if it would, keep what it would have sent. The
|
|
22
26
|
* order matters and follows real SES: IAM decides the request before the
|
|
23
|
-
* service looks at it, then the identity check, then the
|
|
24
|
-
*
|
|
25
|
-
* identities are verified.
|
|
27
|
+
* service looks at it, then the identity check, then the configuration set's
|
|
28
|
+
* sending switch, then the message is recorded. A caller with no permission is
|
|
29
|
+
* therefore refused whether or not its identities are verified.
|
|
30
|
+
*
|
|
31
|
+
* The suppression list refuses nothing. SES accepts a message addressed to a
|
|
32
|
+
* suppressed recipient and holds it back from that recipient, so the check
|
|
33
|
+
* runs last and its answer goes on the record.
|
|
26
34
|
*/
|
|
27
35
|
export declare class SimSesSendEmail {
|
|
28
36
|
#private;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-ses-send-email.d.ts","sourceRoot":"","sources":["../../../../../src/service/ses/command/send/sim-ses-send-email.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAOpE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;AAEpF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AACpF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,KAAK,EACV,mBAAmB,EACnB,yBAAyB,EAE1B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-ses-send-email.d.ts","sourceRoot":"","sources":["../../../../../src/service/ses/command/send/sim-ses-send-email.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAOpE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;AAEpF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AACpF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,KAAK,EACV,mBAAmB,EACnB,yBAAyB,EAE1B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACxF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAE7E,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAEpF,UAAU,yBAAyB;IACjC,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;IACzC,QAAQ,CAAC,OAAO,EAAE,mBAAmB,CAAC;IACtC,QAAQ,CAAC,IAAI,EAAE,oBAAoB,CAAC;IACpC,QAAQ,CAAC,aAAa,EAAE,2BAA2B,CAAC;IACpD,QAAQ,CAAC,qBAAqB,EAAE,2BAA2B,CAAC;IAC5D,QAAQ,CAAC,gBAAgB,EAAE,sBAAsB,CAAC;IAClD,QAAQ,CAAC,UAAU,EAAE,gBAAgB,CAAC;IACtC,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC;CAC1B;AAED;;;;;;;;;;;;;GAaG;AACH,qBAAa,eAAe;;IAU1B,YAAY,UAAU,EAAE,yBAAyB,EAShD;IAED;;OAEG;IACH,MAAM,CACJ,OAAO,EAAE,mBAAmB,EAC5B,OAAO,CAAC,EAAE,oBAAoB,GAC7B,yBAAyB,CAoD3B;CACF"}
|
|
@@ -9,15 +9,21 @@ import { refuseUnsimulatedSendInput } from "./sim-ses-unsimulated-send-input.js"
|
|
|
9
9
|
* Nothing is delivered, so what this does is decide whether SES would have
|
|
10
10
|
* accepted the message and, if it would, keep what it would have sent. The
|
|
11
11
|
* order matters and follows real SES: IAM decides the request before the
|
|
12
|
-
* service looks at it, then the identity check, then the
|
|
13
|
-
*
|
|
14
|
-
* identities are verified.
|
|
12
|
+
* service looks at it, then the identity check, then the configuration set's
|
|
13
|
+
* sending switch, then the message is recorded. A caller with no permission is
|
|
14
|
+
* therefore refused whether or not its identities are verified.
|
|
15
|
+
*
|
|
16
|
+
* The suppression list refuses nothing. SES accepts a message addressed to a
|
|
17
|
+
* suppressed recipient and holds it back from that recipient, so the check
|
|
18
|
+
* runs last and its answer goes on the record.
|
|
15
19
|
*/
|
|
16
20
|
export class SimSesSendEmail {
|
|
17
21
|
#identities;
|
|
18
22
|
#content;
|
|
19
23
|
#sent;
|
|
20
24
|
#identityCheck;
|
|
25
|
+
#configurationSetCheck;
|
|
26
|
+
#suppressionCheck;
|
|
21
27
|
#authorizer;
|
|
22
28
|
#clock;
|
|
23
29
|
constructor(properties) {
|
|
@@ -25,6 +31,8 @@ export class SimSesSendEmail {
|
|
|
25
31
|
this.#content = properties.content;
|
|
26
32
|
this.#sent = properties.sent;
|
|
27
33
|
this.#identityCheck = properties.identityCheck;
|
|
34
|
+
this.#configurationSetCheck = properties.configurationSetCheck;
|
|
35
|
+
this.#suppressionCheck = properties.suppressionCheck;
|
|
28
36
|
this.#authorizer = properties.authorizer;
|
|
29
37
|
this.#clock = properties.clock;
|
|
30
38
|
}
|
|
@@ -44,6 +52,11 @@ export class SimSesSendEmail {
|
|
|
44
52
|
}
|
|
45
53
|
const content = this.#content.read(input.Content);
|
|
46
54
|
this.#identityCheck.check({ fromEmailAddress, recipients });
|
|
55
|
+
const configurationSetName = this.#configurationSetCheck.applying({
|
|
56
|
+
fromEmailAddress,
|
|
57
|
+
configurationSetName: input.ConfigurationSetName,
|
|
58
|
+
});
|
|
59
|
+
this.#configurationSetCheck.check(configurationSetName);
|
|
47
60
|
const messageId = randomUUID();
|
|
48
61
|
this.#sent.add(new SimSesSentEmail({
|
|
49
62
|
messageId,
|
|
@@ -54,7 +67,8 @@ export class SimSesSendEmail {
|
|
|
54
67
|
body: content.body,
|
|
55
68
|
templateName: content.templateName,
|
|
56
69
|
templateData: content.templateData,
|
|
57
|
-
configurationSetName
|
|
70
|
+
configurationSetName,
|
|
71
|
+
suppressedRecipients: this.#suppressionCheck.withheldFrom(recipients),
|
|
58
72
|
sentDate: this.#clock.now(),
|
|
59
73
|
}));
|
|
60
74
|
return { $metadata: {}, MessageId: messageId };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-ses-send-email.js","sourceRoot":"","sources":["../../../../../src/service/ses/command/send/sim-ses-send-email.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAGzC,OAAO,EACL,yBAAyB,EACzB,iBAAiB,GAClB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAGpE,OAAO,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-ses-send-email.js","sourceRoot":"","sources":["../../../../../src/service/ses/command/send/sim-ses-send-email.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAGzC,OAAO,EACL,yBAAyB,EACzB,iBAAiB,GAClB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAGpE,OAAO,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AAYzE,OAAO,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AAcjF;;;;;;;;;;;;;GAaG;AACH,MAAM,OAAO,eAAe;IACjB,WAAW,CAAsB;IACjC,QAAQ,CAAsB;IAC9B,KAAK,CAAuB;IAC5B,cAAc,CAA8B;IAC5C,sBAAsB,CAA8B;IACpD,iBAAiB,CAAyB;IAC1C,WAAW,CAAmB;IAC9B,MAAM,CAAW;IAE1B,YAAY,UAAqC;QAC/C,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC,UAAU,CAAC;QACzC,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,OAAO,CAAC;QACnC,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,IAAI,CAAC;QAC7B,IAAI,CAAC,cAAc,GAAG,UAAU,CAAC,aAAa,CAAC;QAC/C,IAAI,CAAC,sBAAsB,GAAG,UAAU,CAAC,qBAAqB,CAAC;QAC/D,IAAI,CAAC,iBAAiB,GAAG,UAAU,CAAC,gBAAgB,CAAC;QACrD,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC,UAAU,CAAC;QACzC,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,KAAK,CAAC;IACjC,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,OAA4B,EAC5B,OAA8B;QAE9B,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC;QAC5B,MAAM,gBAAgB,GAAG,yBAAyB,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;QAE3E,0BAA0B,CAAC,KAAK,CAAC,CAAC;QAElC,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAChC,eAAe,EACf,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC,EAC9D,OAAO,EAAE,MAAM,CAChB,CAAC;QAEF,MAAM,WAAW,GAAG,eAAe,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;QACvD,MAAM,UAAU,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC;QAE9C,IAAI,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC5B,MAAM,IAAI,yBAAyB,CACjC,gEAAgE;gBAC9D,6DAA6D,CAChE,CAAC;QACJ,CAAC;QAED,MAAM,OAAO,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QAElD,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,gBAAgB,EAAE,UAAU,EAAE,CAAC,CAAC;QAE5D,MAAM,oBAAoB,GAAG,IAAI,CAAC,sBAAsB,CAAC,QAAQ,CAAC;YAChE,gBAAgB;YAChB,oBAAoB,EAAE,KAAK,CAAC,oBAAoB;SACjD,CAAC,CAAC;QAEH,IAAI,CAAC,sBAAsB,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC;QAExD,MAAM,SAAS,GAAG,UAAU,EAAE,CAAC;QAE/B,IAAI,CAAC,KAAK,CAAC,GAAG,CACZ,IAAI,eAAe,CAAC;YAClB,SAAS;YACT,gBAAgB;YAChB,WAAW;YACX,gBAAgB,EAAE,CAAC,GAAG,CAAC,KAAK,CAAC,gBAAgB,IAAI,EAAE,CAAC,CAAC;YACrD,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,IAAI,EAAE,OAAO,CAAC,IAAI;YAClB,YAAY,EAAE,OAAO,CAAC,YAAY;YAClC,YAAY,EAAE,OAAO,CAAC,YAAY;YAClC,oBAAoB;YACpB,oBAAoB,EAAE,IAAI,CAAC,iBAAiB,CAAC,YAAY,CAAC,UAAU,CAAC;YACrE,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE;SAC5B,CAAC,CACH,CAAC;QAEF,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC;IACjD,CAAC;CACF;AAED;;GAEG;AACH,SAAS,eAAe,CACtB,WAA0C;IAE1C,OAAO;QACL,WAAW,EAAE,CAAC,GAAG,CAAC,WAAW,EAAE,WAAW,IAAI,EAAE,CAAC,CAAC;QAClD,WAAW,EAAE,CAAC,GAAG,CAAC,WAAW,EAAE,WAAW,IAAI,EAAE,CAAC,CAAC;QAClD,YAAY,EAAE,CAAC,GAAG,CAAC,WAAW,EAAE,YAAY,IAAI,EAAE,CAAC,CAAC;KACrD,CAAC;AACJ,CAAC;AAED,SAAS,aAAa,CACpB,WAAuC;IAEvC,OAAO;QACL,GAAG,WAAW,CAAC,WAAW;QAC1B,GAAG,WAAW,CAAC,WAAW;QAC1B,GAAG,WAAW,CAAC,YAAY;KAC5B,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import type { SimClock } from "../../../../util/clock/sim-clock.js";
|
|
2
|
+
import type { SimSesSentEmailStore } from "../../email/sim-ses-sent-email-store.js";
|
|
3
|
+
import type { SimSesConfigurationSetCheck } from "./sim-ses-configuration-set-check.js";
|
|
4
|
+
import type { SimSesSuppressionCheck } from "./sim-ses-suppression-check.js";
|
|
5
|
+
import type { SimSesVerifiedIdentityCheck } from "./sim-ses-verified-identities.js";
|
|
6
|
+
/**
|
|
7
|
+
* A message another simulated service is sending through SES on an account's
|
|
8
|
+
* behalf.
|
|
9
|
+
*
|
|
10
|
+
* One recipient, and a plain text body. That is the whole of what a service
|
|
11
|
+
* sender needs so far: a Cognito user pool writes one message to one user at a
|
|
12
|
+
* time, and writes it as text.
|
|
13
|
+
*/
|
|
14
|
+
export interface SimSesServiceSendRequest {
|
|
15
|
+
readonly fromEmailAddress: string;
|
|
16
|
+
readonly toAddress: string;
|
|
17
|
+
readonly replyToAddresses: readonly string[];
|
|
18
|
+
readonly subject: string;
|
|
19
|
+
readonly body: string;
|
|
20
|
+
readonly configurationSetName: string | undefined;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* What SES made of the message: the id it would have answered with, or why it
|
|
24
|
+
* would have turned the message down.
|
|
25
|
+
*
|
|
26
|
+
* A refusal comes back rather than being thrown. The service that asked
|
|
27
|
+
* reports it in its own vocabulary, and an SES exception crossing the boundary
|
|
28
|
+
* would leave that service repackaging one error as another.
|
|
29
|
+
*/
|
|
30
|
+
export interface SimSesServiceSendResult {
|
|
31
|
+
readonly messageId?: string | undefined;
|
|
32
|
+
readonly refusedBecause?: string | undefined;
|
|
33
|
+
}
|
|
34
|
+
interface SimSesServiceSendProperties {
|
|
35
|
+
readonly sent: SimSesSentEmailStore;
|
|
36
|
+
readonly identityCheck: SimSesVerifiedIdentityCheck;
|
|
37
|
+
readonly configurationSetCheck: SimSesConfigurationSetCheck;
|
|
38
|
+
readonly suppressionCheck: SimSesSuppressionCheck;
|
|
39
|
+
readonly clock: SimClock;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* A send that reaches SES from another simulated service rather than from a
|
|
43
|
+
* caller with an SDK client.
|
|
44
|
+
*
|
|
45
|
+
* The identity check and the recorded message are the same as `SendEmail`.
|
|
46
|
+
* IAM is the difference, and it is left out on purpose: a Cognito user pool
|
|
47
|
+
* with `EmailSendingAccount: DEVELOPER` sends as the Cognito service through a
|
|
48
|
+
* service-linked role, so the permissions of whoever called `SignUp` decide
|
|
49
|
+
* nothing about it. Simulated Lambda triggers skip the `Invoke` command for
|
|
50
|
+
* the same reason.
|
|
51
|
+
*
|
|
52
|
+
* The sandbox still applies. That is the point of routing a pool's messages
|
|
53
|
+
* through here rather than recording them and calling it a send. An account
|
|
54
|
+
* configured for SES and still in the sandbox is the way this fails in a
|
|
55
|
+
* deployment.
|
|
56
|
+
*
|
|
57
|
+
* The suppression list applies too, and refuses nothing. A pool's message to a
|
|
58
|
+
* suppressed recipient is accepted and recorded as held back, exactly as one
|
|
59
|
+
* an SDK caller sent would be.
|
|
60
|
+
*
|
|
61
|
+
* The configuration set applies as it does to any other send. A pool that
|
|
62
|
+
* names none sends through the set its identity carries, and a set with
|
|
63
|
+
* sending switched off turns the message down.
|
|
64
|
+
*/
|
|
65
|
+
export declare class SimSesServiceSend {
|
|
66
|
+
#private;
|
|
67
|
+
constructor(properties: SimSesServiceSendProperties);
|
|
68
|
+
/**
|
|
69
|
+
* Accept the message, or say why SES would have refused it.
|
|
70
|
+
*/
|
|
71
|
+
send(request: SimSesServiceSendRequest): SimSesServiceSendResult;
|
|
72
|
+
}
|
|
73
|
+
export {};
|
|
74
|
+
//# sourceMappingURL=sim-ses-service-send.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-ses-service-send.d.ts","sourceRoot":"","sources":["../../../../../src/service/ses/command/send/sim-ses-service-send.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAGpE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACxF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAEpF;;;;;;;GAOG;AACH,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,gBAAgB,EAAE,SAAS,MAAM,EAAE,CAAC;IAC7C,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,oBAAoB,EAAE,MAAM,GAAG,SAAS,CAAC;CACnD;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9C;AAED,UAAU,2BAA2B;IACnC,QAAQ,CAAC,IAAI,EAAE,oBAAoB,CAAC;IACpC,QAAQ,CAAC,aAAa,EAAE,2BAA2B,CAAC;IACpD,QAAQ,CAAC,qBAAqB,EAAE,2BAA2B,CAAC;IAC5D,QAAQ,CAAC,gBAAgB,EAAE,sBAAsB,CAAC;IAClD,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC;CAC1B;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,qBAAa,iBAAiB;;IAO5B,YAAY,UAAU,EAAE,2BAA2B,EAMlD;IAED;;OAEG;IACH,IAAI,CAAC,OAAO,EAAE,wBAAwB,GAAG,uBAAuB,CAsC/D;CACF"}
|