@kensio/yulin 1.21.0 → 1.21.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/sdk/router/resolve-sim-sdk-command-router.js +4 -0
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.js +3 -0
- package/dist/service/aws/factory/sim-aws-lambda-collaborators.d.ts +2 -0
- package/dist/service/aws/factory/sim-aws-lambda-collaborators.js +3 -0
- package/dist/service/aws/factory/sim-aws-logs-collaborators.d.ts +7 -0
- package/dist/service/aws/factory/sim-aws-logs-collaborators.js +10 -0
- package/dist/service/aws/factory/sim-aws-self-contained-service-builder.d.ts +3 -0
- package/dist/service/aws/factory/sim-aws-self-contained-service-builder.js +5 -0
- package/dist/service/aws/factory/sim-aws-service-factory.d.ts +3 -0
- package/dist/service/aws/factory/sim-aws-service-factory.js +4 -0
- package/dist/service/aws/sim-aws-account-region-scope.d.ts +3 -0
- package/dist/service/aws/sim-aws-account-region-scope.js +4 -0
- package/dist/service/aws/sim-aws-account.d.ts +3 -0
- package/dist/service/aws/sim-aws-account.js +4 -0
- package/dist/service/aws/sim-aws-region.d.ts +3 -0
- package/dist/service/aws/sim-aws-region.js +4 -0
- package/dist/service/aws/sim-aws-service-accessors.d.ts +3 -0
- package/dist/service/aws/sim-aws-service-accessors.js +4 -0
- package/dist/service/backup/cfn/sim-backup-cfn-plan-creator.d.ts +6 -0
- package/dist/service/backup/cfn/sim-backup-cfn-plan-creator.js +12 -0
- package/dist/service/backup/cfn/sim-backup-cfn-resource-deleter.d.ts +12 -0
- package/dist/service/backup/cfn/sim-backup-cfn-resource-deleter.js +31 -0
- package/dist/service/backup/cfn/sim-backup-cfn-resource-factory.d.ts +15 -0
- package/dist/service/backup/cfn/sim-backup-cfn-resource-factory.js +38 -0
- package/dist/service/backup/cfn/sim-backup-cfn-selection-creator.d.ts +6 -0
- package/dist/service/backup/cfn/sim-backup-cfn-selection-creator.js +17 -0
- package/dist/service/backup/cfn/sim-backup-cfn-vault-creator.d.ts +6 -0
- package/dist/service/backup/cfn/sim-backup-cfn-vault-creator.js +29 -0
- package/dist/service/backup/cfn/sim-cfn-backup-plan-properties.d.ts +11 -0
- package/dist/service/backup/cfn/sim-cfn-backup-plan-properties.js +37 -0
- package/dist/service/backup/cfn/sim-cfn-backup-properties.d.ts +12 -0
- package/dist/service/backup/cfn/sim-cfn-backup-properties.js +37 -0
- package/dist/service/backup/cfn/sim-cfn-backup-property-reader.d.ts +17 -0
- package/dist/service/backup/cfn/sim-cfn-backup-property-reader.js +62 -0
- package/dist/service/backup/cfn/sim-cfn-backup-resource-error.d.ts +7 -0
- package/dist/service/backup/cfn/sim-cfn-backup-resource-error.js +22 -0
- package/dist/service/backup/command/sim-backup-authorizer.d.ts +11 -0
- package/dist/service/backup/command/sim-backup-authorizer.js +24 -0
- package/dist/service/backup/command/sim-backup-command.types.d.ts +238 -0
- package/dist/service/backup/command/sim-backup-command.types.js +1 -0
- package/dist/service/backup/command/sim-backup-configuration-commands.d.ts +32 -0
- package/dist/service/backup/command/sim-backup-configuration-commands.js +138 -0
- package/dist/service/backup/command/sim-backup-job-commands.d.ts +23 -0
- package/dist/service/backup/command/sim-backup-job-commands.js +52 -0
- package/dist/service/backup/command/sim-backup-recovery-point-commands.d.ts +18 -0
- package/dist/service/backup/command/sim-backup-recovery-point-commands.js +38 -0
- package/dist/service/backup/command/sim-backup-request-options.d.ts +4 -0
- package/dist/service/backup/command/sim-backup-request-options.js +1 -0
- package/dist/service/backup/command/sim-backup-required-string.d.ts +2 -0
- package/dist/service/backup/command/sim-backup-required-string.js +8 -0
- package/dist/service/backup/error/sim-backup.error.d.ts +38 -0
- package/dist/service/backup/error/sim-backup.error.js +50 -0
- package/dist/service/backup/index.d.ts +9 -0
- package/dist/service/backup/index.js +7 -0
- package/dist/service/backup/job/sim-backup-job-input.d.ts +11 -0
- package/dist/service/backup/job/sim-backup-job-input.js +1 -0
- package/dist/service/backup/job/sim-backup-job-page.d.ts +22 -0
- package/dist/service/backup/job/sim-backup-job-page.js +54 -0
- package/dist/service/backup/job/sim-backup-job.d.ts +25 -0
- package/dist/service/backup/job/sim-backup-job.factory.d.ts +10 -0
- package/dist/service/backup/job/sim-backup-job.factory.js +24 -0
- package/dist/service/backup/job/sim-backup-job.js +54 -0
- package/dist/service/backup/job/sim-backup-jobs.d.ts +18 -0
- package/dist/service/backup/job/sim-backup-jobs.js +33 -0
- package/dist/service/backup/plan/sim-backup-plan-schedules.d.ts +21 -0
- package/dist/service/backup/plan/sim-backup-plan-schedules.js +66 -0
- package/dist/service/backup/plan/sim-backup-plan.d.ts +22 -0
- package/dist/service/backup/plan/sim-backup-plan.js +37 -0
- package/dist/service/backup/plan/sim-backup-rule.d.ts +9 -0
- package/dist/service/backup/plan/sim-backup-rule.js +71 -0
- package/dist/service/backup/recovery-point/sim-backup-recovery-point.d.ts +28 -0
- package/dist/service/backup/recovery-point/sim-backup-recovery-point.factory.d.ts +9 -0
- package/dist/service/backup/recovery-point/sim-backup-recovery-point.factory.js +23 -0
- package/dist/service/backup/recovery-point/sim-backup-recovery-point.js +62 -0
- package/dist/service/backup/sdk/sim-backup-sdk-command-router.d.ts +9 -0
- package/dist/service/backup/sdk/sim-backup-sdk-command-router.js +37 -0
- package/dist/service/backup/selection/sim-backup-selection.d.ts +22 -0
- package/dist/service/backup/selection/sim-backup-selection.js +43 -0
- package/dist/service/backup/sim-backup-arn.d.ts +7 -0
- package/dist/service/backup/sim-backup-arn.js +12 -0
- package/dist/service/backup/sim-backup-properties.d.ts +8 -0
- package/dist/service/backup/sim-backup-properties.js +1 -0
- package/dist/service/backup/sim-backup-resource-resolver.d.ts +24 -0
- package/dist/service/backup/sim-backup-resource-resolver.js +44 -0
- package/dist/service/backup/sim-backup-store.d.ts +29 -0
- package/dist/service/backup/sim-backup-store.js +80 -0
- package/dist/service/backup/sim-backup.d.ts +48 -0
- package/dist/service/backup/sim-backup.js +139 -0
- package/dist/service/backup/vault/sim-backup-vault-description.d.ts +12 -0
- package/dist/service/backup/vault/sim-backup-vault-description.js +15 -0
- package/dist/service/backup/vault/sim-backup-vault-lock-configuration.d.ts +5 -0
- package/dist/service/backup/vault/sim-backup-vault-lock-configuration.js +31 -0
- package/dist/service/backup/vault/sim-backup-vault-lock.d.ts +15 -0
- package/dist/service/backup/vault/sim-backup-vault-lock.js +23 -0
- package/dist/service/backup/vault/sim-backup-vault-recovery-points.d.ts +12 -0
- package/dist/service/backup/vault/sim-backup-vault-recovery-points.js +30 -0
- package/dist/service/backup/vault/sim-backup-vault-retention.d.ts +4 -0
- package/dist/service/backup/vault/sim-backup-vault-retention.js +20 -0
- package/dist/service/backup/vault/sim-backup-vault.d.ts +33 -0
- package/dist/service/backup/vault/sim-backup-vault.js +49 -0
- package/dist/service/cloudformation/resource/cfn/backup/sim-backup-cfn-value-adapter.d.ts +3 -0
- package/dist/service/cloudformation/resource/cfn/backup/sim-backup-cfn-value-adapter.js +66 -0
- package/dist/service/cloudformation/resource/cfn/logs/sim-logs-cfn-value-adapter.js +6 -0
- package/dist/service/cloudformation/resource/cfn/logs/sim-logs-metric-filter-cfn.d.ts +23 -0
- package/dist/service/cloudformation/resource/cfn/logs/sim-logs-metric-filter-cfn.js +22 -0
- package/dist/service/cloudformation/resource/cfn/sim-cfn-service-value-adapters.js +2 -0
- package/dist/service/cloudformation/resource/ignore/sim-cfn-skipped-properties.d.ts +49 -0
- package/dist/service/cloudformation/resource/ignore/sim-cfn-skipped-properties.js +61 -0
- package/dist/service/cloudformation/resource/ignore/sim-cfn-skipped-property.type.d.ts +51 -0
- package/dist/service/cloudformation/resource/ignore/sim-cfn-skipped-property.type.js +1 -0
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.js +4 -0
- package/dist/service/cloudwatch/index.d.ts +1 -0
- package/dist/service/cloudwatch/index.js +1 -0
- package/dist/service/cloudwatch/sim-cloudwatch-commands.d.ts +2 -0
- package/dist/service/cloudwatch/sim-cloudwatch-commands.js +6 -0
- package/dist/service/cloudwatch/sim-cloudwatch.d.ts +9 -0
- package/dist/service/cloudwatch/sim-cloudwatch.js +10 -0
- package/dist/service/cloudwatch/write/sim-cloudwatch-service-writer.d.ts +58 -0
- package/dist/service/cloudwatch/write/sim-cloudwatch-service-writer.js +53 -0
- package/dist/service/cognito/command/auth/sim-cognito-admin-respond-to-challenge.d.ts +3 -0
- package/dist/service/cognito/command/auth/sim-cognito-admin-respond-to-challenge.js +8 -2
- package/dist/service/cognito/command/auth/sim-cognito-auth-commands.d.ts +3 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-commands.js +4 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.d.ts +11 -1
- package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.js +13 -1
- package/dist/service/cognito/command/auth/sim-cognito-auth-resolver.d.ts +3 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-resolver.js +16 -4
- package/dist/service/cognito/command/auth/sim-cognito-get-tokens-from-refresh-token.d.ts +7 -0
- package/dist/service/cognito/command/auth/sim-cognito-get-tokens-from-refresh-token.js +11 -1
- package/dist/service/cognito/command/auth/sim-cognito-respond-to-challenge.d.ts +3 -0
- package/dist/service/cognito/command/auth/sim-cognito-respond-to-challenge.js +8 -2
- package/dist/service/cognito/command/hosted/hosted-auth.command.d.ts +19 -0
- package/dist/service/cognito/command/hosted/sim-cognito-authorize-endpoint.d.ts +1 -1
- package/dist/service/cognito/command/hosted/sim-cognito-authorize-endpoint.js +3 -2
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.d.ts +8 -0
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.js +11 -3
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-passkey-sign-in.d.ts +11 -1
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-passkey-sign-in.js +13 -2
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-password-sign-in.d.ts +11 -1
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-password-sign-in.js +11 -1
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-sign-in.d.ts +7 -1
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-sign-in.js +18 -7
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-signed-in.d.ts +20 -3
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-signed-in.js +19 -3
- package/dist/service/cognito/command/hosted/sim-cognito-token-endpoint.d.ts +2 -0
- package/dist/service/cognito/command/hosted/sim-cognito-token-grants.d.ts +8 -0
- package/dist/service/cognito/command/hosted/sim-cognito-token-grants.js +13 -4
- package/dist/service/cognito/command/sim-cognito-commands.d.ts +5 -0
- package/dist/service/cognito/command/sim-cognito-commands.js +22 -2
- package/dist/service/cognito/command/user/sim-cognito-confirm-sign-up-commands.d.ts +74 -0
- package/dist/service/cognito/command/user/sim-cognito-confirm-sign-up-commands.js +110 -0
- package/dist/service/cognito/command/user/sim-cognito-sign-up-commands.d.ts +5 -49
- package/dist/service/cognito/command/user/sim-cognito-sign-up-commands.js +7 -87
- package/dist/service/cognito/command/user/sim-cognito-user-commands.d.ts +4 -0
- package/dist/service/cognito/command/user/sim-cognito-user-commands.js +38 -29
- package/dist/service/cognito/error/sim-cognito-managed-login.error.d.ts +23 -0
- package/dist/service/cognito/error/sim-cognito-managed-login.error.js +36 -0
- package/dist/service/cognito/error/sim-cognito-throttle.error.d.ts +13 -0
- package/dist/service/cognito/error/sim-cognito-throttle.error.js +15 -0
- package/dist/service/cognito/index.d.ts +2 -0
- package/dist/service/cognito/index.js +2 -0
- package/dist/service/cognito/metric/sim-cognito-counted-request.d.ts +50 -0
- package/dist/service/cognito/metric/sim-cognito-counted-request.js +51 -0
- package/dist/service/cognito/metric/sim-cognito-metrics.d.ts +22 -0
- package/dist/service/cognito/metric/sim-cognito-metrics.js +26 -0
- package/dist/service/cognito/metric/sim-cognito-pool-metrics.d.ts +40 -0
- package/dist/service/cognito/metric/sim-cognito-pool-metrics.js +51 -0
- package/dist/service/cognito/metric/sim-cognito-throttled-request.d.ts +11 -0
- package/dist/service/cognito/metric/sim-cognito-throttled-request.js +15 -0
- package/dist/service/cognito/serve/page/sim-cognito-managed-login.d.ts +1 -0
- package/dist/service/cognito/serve/page/sim-cognito-managed-login.js +6 -1
- package/dist/service/cognito/serve/page/sim-cognito-page-markup.d.ts +4 -1
- package/dist/service/cognito/serve/page/sim-cognito-page-markup.js +6 -2
- package/dist/service/cognito/serve/page/sim-cognito-provider-page.d.ts +35 -0
- package/dist/service/cognito/serve/page/sim-cognito-provider-page.js +50 -0
- package/dist/service/cognito/sim-cognito-identity-provider.d.ts +6 -0
- package/dist/service/cognito/sim-cognito-identity-provider.js +1 -0
- package/dist/service/cognito/sim-cognito-user-directory.js +3 -3
- package/dist/service/cognito/user-pool/auth/sim-cognito-authorization-code.d.ts +9 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-authorization-code.js +2 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.d.ts +8 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.js +8 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-request-throttle.d.ts +36 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-request-throttle.js +45 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-federated-sign-in.d.ts +42 -9
- package/dist/service/cognito/user-pool/idp/sim-cognito-federated-sign-in.js +56 -27
- package/dist/service/cognito/user-pool/idp/sim-cognito-federated-triggers.d.ts +52 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-federated-triggers.js +49 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-presented-external-user.d.ts +48 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-presented-external-user.js +94 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-same-federated-identity.d.ts +13 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-same-federated-identity.js +19 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-user-pool-identity-provider.d.ts +7 -0
- package/dist/service/cognito/user-pool/idp/sim-cognito-user-pool-identity-provider.js +9 -0
- package/dist/service/cognito/user-pool/trigger/sim-cognito-trigger-name.d.ts +3 -2
- package/dist/service/cognito/user-pool/trigger/sim-cognito-trigger-name.js +3 -2
- package/dist/service/cognito/user-pool/trigger/sim-cognito-trigger-occasion.d.ts +18 -1
- package/dist/service/cognito/user-pool/trigger/sim-cognito-trigger-occasion.js +35 -18
- package/dist/service/lambda/command/create-function/create-function.handler.d.ts +3 -0
- package/dist/service/lambda/command/create-function/create-function.handler.js +4 -1
- package/dist/service/lambda/command/function/sim-lambda-function-commands.d.ts +2 -0
- package/dist/service/lambda/event-source/poll/kinesis/sim-lambda-kinesis-stream-delivery.js +7 -11
- package/dist/service/lambda/event-source/poll/sim-lambda-dynamodb-stream-delivery.js +7 -8
- package/dist/service/lambda/event-source/poll/sim-lambda-stream-iterator-age.d.ts +11 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-stream-iterator-age.js +31 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-stream-sequence-numbers.d.ts +10 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-stream-sequence-numbers.js +12 -0
- package/dist/service/lambda/function/sim-lambda-function.d.ts +3 -0
- package/dist/service/lambda/function/sim-lambda-function.js +6 -2
- package/dist/service/lambda/function/sim-lambda-function.type.d.ts +7 -0
- package/dist/service/lambda/metric/sim-lambda-function-metrics.d.ts +47 -0
- package/dist/service/lambda/metric/sim-lambda-function-metrics.js +83 -0
- package/dist/service/lambda/metric/sim-lambda-iterator-age.d.ts +29 -0
- package/dist/service/lambda/metric/sim-lambda-iterator-age.js +41 -0
- package/dist/service/lambda/metric/sim-lambda-metrics.d.ts +12 -0
- package/dist/service/lambda/metric/sim-lambda-metrics.js +13 -0
- package/dist/service/lambda/sim-lambda-commands.d.ts +2 -0
- package/dist/service/lambda/sim-lambda-commands.js +2 -1
- package/dist/service/logs/cfn/metric/sim-cfn-metric-dimension-values.d.ts +9 -0
- package/dist/service/logs/cfn/metric/sim-cfn-metric-dimension-values.js +25 -0
- package/dist/service/logs/cfn/metric/sim-cfn-metric-filter-creator.d.ts +30 -0
- package/dist/service/logs/cfn/metric/sim-cfn-metric-filter-creator.js +52 -0
- package/dist/service/logs/cfn/metric/sim-cfn-metric-filter-properties.d.ts +40 -0
- package/dist/service/logs/cfn/metric/sim-cfn-metric-filter-properties.js +66 -0
- package/dist/service/logs/cfn/metric/sim-cfn-metric-filter-property-rules.d.ts +19 -0
- package/dist/service/logs/cfn/metric/sim-cfn-metric-filter-property-rules.js +40 -0
- package/dist/service/logs/cfn/metric/sim-cfn-metric-filter-unsimulated-properties.d.ts +5 -0
- package/dist/service/logs/cfn/metric/sim-cfn-metric-filter-unsimulated-properties.js +23 -0
- package/dist/service/logs/cfn/metric/sim-cfn-metric-filter-value.d.ts +25 -0
- package/dist/service/logs/cfn/metric/sim-cfn-metric-filter-value.js +58 -0
- package/dist/service/logs/cfn/metric/sim-cfn-metric-transformation-values.d.ts +6 -0
- package/dist/service/logs/cfn/metric/sim-cfn-metric-transformation-values.js +19 -0
- package/dist/service/logs/cfn/sim-logs-cfn-resource-deleter.d.ts +2 -0
- package/dist/service/logs/cfn/sim-logs-cfn-resource-deleter.js +4 -0
- package/dist/service/logs/cfn/sim-logs-cfn-resource-factory.d.ts +5 -3
- package/dist/service/logs/cfn/sim-logs-cfn-resource-factory.js +12 -3
- package/dist/service/logs/command/event/sim-logs-put-log-events.d.ts +3 -0
- package/dist/service/logs/command/event/sim-logs-put-log-events.js +3 -0
- package/dist/service/logs/command/group/sim-logs-log-group-commands.js +3 -3
- package/dist/service/logs/command/metric/metric-filter.command.d.ts +79 -0
- package/dist/service/logs/command/metric/metric-filter.command.js +1 -0
- package/dist/service/logs/command/metric/sim-logs-metric-filter-commands.d.ts +48 -0
- package/dist/service/logs/command/metric/sim-logs-metric-filter-commands.js +95 -0
- package/dist/service/logs/command/metric/sim-logs-metric-filter-input.d.ts +11 -0
- package/dist/service/logs/command/metric/sim-logs-metric-filter-input.js +79 -0
- package/dist/service/logs/command/sim-logs-command.types.d.ts +1 -0
- package/dist/service/logs/group/sim-logs-log-group.d.ts +6 -0
- package/dist/service/logs/group/sim-logs-log-group.js +6 -0
- package/dist/service/logs/index.d.ts +6 -0
- package/dist/service/logs/index.js +4 -0
- package/dist/service/logs/metric/cloudwatch/sim-aws-logs-metric-filter-metrics.d.ts +40 -0
- package/dist/service/logs/metric/cloudwatch/sim-aws-logs-metric-filter-metrics.js +78 -0
- package/dist/service/logs/metric/emf/sim-logs-embedded-metric-datapoints.d.ts +25 -0
- package/dist/service/logs/metric/emf/sim-logs-embedded-metric-datapoints.js +81 -0
- package/dist/service/logs/metric/emf/sim-logs-embedded-metric-document.d.ts +57 -0
- package/dist/service/logs/metric/emf/sim-logs-embedded-metric-document.js +85 -0
- package/dist/service/logs/metric/emf/sim-logs-embedded-metric-json.d.ts +24 -0
- package/dist/service/logs/metric/emf/sim-logs-embedded-metric-json.js +41 -0
- package/dist/service/logs/metric/emf/sim-logs-embedded-metric-values.d.ts +20 -0
- package/dist/service/logs/metric/emf/sim-logs-embedded-metric-values.js +39 -0
- package/dist/service/logs/metric/sim-logs-metric-datapoint.d.ts +25 -0
- package/dist/service/logs/metric/sim-logs-metric-datapoint.js +1 -0
- package/dist/service/logs/metric/sim-logs-metric-fan-out.d.ts +62 -0
- package/dist/service/logs/metric/sim-logs-metric-fan-out.js +116 -0
- package/dist/service/logs/metric/sim-logs-metric-filter-selection.d.ts +17 -0
- package/dist/service/logs/metric/sim-logs-metric-filter-selection.js +17 -0
- package/dist/service/logs/metric/sim-logs-metric-filter-store.d.ts +35 -0
- package/dist/service/logs/metric/sim-logs-metric-filter-store.js +47 -0
- package/dist/service/logs/metric/sim-logs-metric-filter.d.ts +49 -0
- package/dist/service/logs/metric/sim-logs-metric-filter.js +95 -0
- package/dist/service/logs/metric/sim-logs-metric-publication-failure.d.ts +31 -0
- package/dist/service/logs/metric/sim-logs-metric-publication-failure.js +12 -0
- package/dist/service/logs/metric/sim-logs-metric-publications.d.ts +11 -0
- package/dist/service/logs/metric/sim-logs-metric-publications.js +1 -0
- package/dist/service/logs/metric/sim-logs-metric-transformation.d.ts +45 -0
- package/dist/service/logs/metric/sim-logs-metric-transformation.js +127 -0
- package/dist/service/logs/sdk/sim-logs-sdk-command-router.js +12 -0
- package/dist/service/logs/sim-logs-commands.d.ts +12 -0
- package/dist/service/logs/sim-logs-commands.js +17 -0
- package/dist/service/logs/sim-logs-metric-operations.d.ts +31 -0
- package/dist/service/logs/sim-logs-metric-operations.js +37 -0
- package/dist/service/logs/sim-logs.d.ts +4 -3
- package/dist/service/logs/sim-logs.js +4 -3
- package/dist/service/logs/write/sim-logs-service-writer.d.ts +3 -0
- package/dist/service/logs/write/sim-logs-service-writer.js +5 -1
- package/dist/service/s3/bucket/lifecycle/sim-s3-lifecycle-configuration.d.ts +32 -0
- package/dist/service/s3/bucket/lifecycle/sim-s3-lifecycle-configuration.js +31 -1
- package/dist/service/s3/bucket/lifecycle/sim-s3-lifecycle-expiry.d.ts +13 -2
- package/dist/service/s3/bucket/lifecycle/sim-s3-lifecycle-expiry.js +18 -1
- package/dist/service/s3/bucket/lifecycle/sim-s3-lifecycle-sweep.d.ts +17 -1
- package/dist/service/s3/bucket/lifecycle/sim-s3-lifecycle-sweep.js +27 -3
- package/dist/service/s3/bucket/lifecycle/sim-s3-noncurrent-sweep.d.ts +45 -0
- package/dist/service/s3/bucket/lifecycle/sim-s3-noncurrent-sweep.js +90 -0
- package/dist/service/s3/bucket/lock/sim-s3-bucket-object-lock.d.ts +42 -0
- package/dist/service/s3/bucket/lock/sim-s3-bucket-object-lock.js +59 -0
- package/dist/service/s3/bucket/lock/sim-s3-default-retention.d.ts +8 -0
- package/dist/service/s3/bucket/lock/sim-s3-default-retention.js +15 -0
- package/dist/service/s3/bucket/lock/sim-s3-object-lock-configuration.d.ts +49 -0
- package/dist/service/s3/bucket/lock/sim-s3-object-lock-configuration.js +102 -0
- package/dist/service/s3/bucket/lock/sim-s3-object-lock-output.d.ts +14 -0
- package/dist/service/s3/bucket/lock/sim-s3-object-lock-output.js +1 -0
- package/dist/service/s3/bucket/lock/sim-s3-object-lock.d.ts +62 -0
- package/dist/service/s3/bucket/lock/sim-s3-object-lock.js +100 -0
- package/dist/service/s3/bucket/lock/sim-s3-object-retention.d.ts +55 -0
- package/dist/service/s3/bucket/lock/sim-s3-object-retention.js +82 -0
- package/dist/service/s3/bucket/notification/sim-s3-notification-event.d.ts +1 -1
- package/dist/service/s3/bucket/notification/sim-s3-notification-event.js +9 -1
- package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.d.ts +1 -1
- package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.js +1 -2
- package/dist/service/s3/bucket/sim-s3-bucket-objects.d.ts +114 -0
- package/dist/service/s3/bucket/sim-s3-bucket-objects.js +148 -0
- package/dist/service/s3/bucket/sim-s3-bucket.d.ts +30 -29
- package/dist/service/s3/bucket/sim-s3-bucket.js +42 -45
- package/dist/service/s3/bucket/sim-s3-object-deletion.d.ts +30 -0
- package/dist/service/s3/bucket/sim-s3-object-deletion.js +29 -0
- package/dist/service/s3/bucket/versioning/sim-s3-bucket-versioning.d.ts +61 -0
- package/dist/service/s3/bucket/versioning/sim-s3-bucket-versioning.js +65 -0
- package/dist/service/s3/bucket/versioning/sim-s3-bucket-versions.d.ts +97 -0
- package/dist/service/s3/bucket/versioning/sim-s3-bucket-versions.js +176 -0
- package/dist/service/s3/bucket/versioning/sim-s3-compare-keys.d.ts +10 -0
- package/dist/service/s3/bucket/versioning/sim-s3-compare-keys.js +16 -0
- package/dist/service/s3/bucket/versioning/sim-s3-object-version.d.ts +85 -0
- package/dist/service/s3/bucket/versioning/sim-s3-object-version.js +101 -0
- package/dist/service/s3/bucket/versioning/sim-s3-object-versions.d.ts +52 -0
- package/dist/service/s3/bucket/versioning/sim-s3-object-versions.js +91 -0
- package/dist/service/s3/bucket/versioning/sim-s3-version-page.d.ts +32 -0
- package/dist/service/s3/bucket/versioning/sim-s3-version-page.js +45 -0
- package/dist/service/s3/cfn/bucket/lifecycle/sim-cfn-s3-bucket-lifecycle-configuration.d.ts +0 -5
- package/dist/service/s3/cfn/bucket/lifecycle/sim-cfn-s3-bucket-lifecycle-configuration.js +3 -14
- package/dist/service/s3/cfn/bucket/lifecycle/sim-cfn-s3-bucket-lifecycle-fields.d.ts +18 -1
- package/dist/service/s3/cfn/bucket/lifecycle/sim-cfn-s3-bucket-lifecycle-fields.js +34 -1
- package/dist/service/s3/cfn/bucket/lock/sim-cfn-s3-bucket-object-lock-configuration.d.ts +37 -0
- package/dist/service/s3/cfn/bucket/lock/sim-cfn-s3-bucket-object-lock-configuration.js +78 -0
- package/dist/service/s3/cfn/bucket/replication/sim-cfn-s3-bucket-replication-rules.d.ts +20 -0
- package/dist/service/s3/cfn/bucket/replication/sim-cfn-s3-bucket-replication-rules.js +107 -0
- package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-configurator.d.ts +14 -7
- package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-configurator.js +29 -37
- package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-declared-configurations.d.ts +62 -0
- package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-declared-configurations.js +89 -0
- package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-property-names.d.ts +9 -5
- package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-property-names.js +16 -16
- package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-property-rules.d.ts +9 -5
- package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-property-rules.js +17 -6
- package/dist/service/s3/cfn/bucket/versioning/sim-cfn-s3-bucket-versioning-configuration.d.ts +19 -0
- package/dist/service/s3/cfn/bucket/versioning/sim-cfn-s3-bucket-versioning-configuration.js +28 -0
- package/dist/service/s3/command/authorize/sim-s3-authorize-action.d.ts +24 -0
- package/dist/service/s3/command/authorize/sim-s3-authorize-action.js +30 -0
- package/dist/service/s3/command/complete-multipart-upload/complete-multipart-upload.command.d.ts +2 -0
- package/dist/service/s3/command/complete-multipart-upload/complete-multipart-upload.handler.js +3 -1
- package/dist/service/s3/command/copy-object/copy-object.command.d.ts +3 -1
- package/dist/service/s3/command/copy-object/copy-object.handler.js +3 -1
- package/dist/service/s3/command/delete-object/delete-object-version-removal.d.ts +50 -0
- package/dist/service/s3/command/delete-object/delete-object-version-removal.js +52 -0
- package/dist/service/s3/command/delete-object/delete-object.command.d.ts +19 -2
- package/dist/service/s3/command/delete-object/delete-object.handler.d.ts +7 -1
- package/dist/service/s3/command/delete-object/delete-object.handler.js +28 -16
- package/dist/service/s3/command/delete-object/sim-s3-notify-deleted.d.ts +24 -0
- package/dist/service/s3/command/delete-object/sim-s3-notify-deleted.js +32 -0
- package/dist/service/s3/command/delete-objects/delete-object-attempt.d.ts +6 -2
- package/dist/service/s3/command/delete-objects/delete-object-attempt.js +6 -2
- package/dist/service/s3/command/delete-objects/delete-objects-key-removal.js +10 -9
- package/dist/service/s3/command/delete-objects/delete-objects-outcome.js +9 -1
- package/dist/service/s3/command/delete-objects/delete-objects.command.d.ts +6 -0
- package/dist/service/s3/command/get-bucket-versioning/get-bucket-versioning.command.d.ts +23 -0
- package/dist/service/s3/command/get-bucket-versioning/get-bucket-versioning.command.js +1 -0
- package/dist/service/s3/command/get-bucket-versioning/get-bucket-versioning.handler.d.ts +31 -0
- package/dist/service/s3/command/get-bucket-versioning/get-bucket-versioning.handler.js +40 -0
- package/dist/service/s3/command/get-object/get-object-loader.d.ts +3 -2
- package/dist/service/s3/command/get-object/get-object-loader.js +9 -4
- package/dist/service/s3/command/get-object/get-object.command.d.ts +9 -1
- package/dist/service/s3/command/get-object/get-object.handler.js +1 -1
- package/dist/service/s3/command/get-object-lock-configuration/get-object-lock-configuration.command.d.ts +25 -0
- package/dist/service/s3/command/get-object-lock-configuration/get-object-lock-configuration.command.js +1 -0
- package/dist/service/s3/command/get-object-lock-configuration/get-object-lock-configuration.handler.d.ts +31 -0
- package/dist/service/s3/command/get-object-lock-configuration/get-object-lock-configuration.handler.js +41 -0
- package/dist/service/s3/command/head-object/head-object-loader.d.ts +1 -1
- package/dist/service/s3/command/head-object/head-object-loader.js +7 -3
- package/dist/service/s3/command/head-object/head-object.command.d.ts +9 -1
- package/dist/service/s3/command/head-object/head-object.handler.js +1 -1
- package/dist/service/s3/command/list-object-versions/list-object-versions-listing.d.ts +31 -0
- package/dist/service/s3/command/list-object-versions/list-object-versions-listing.js +55 -0
- package/dist/service/s3/command/list-object-versions/list-object-versions-summaries.d.ts +17 -0
- package/dist/service/s3/command/list-object-versions/list-object-versions-summaries.js +34 -0
- package/dist/service/s3/command/list-object-versions/list-object-versions.command.d.ts +59 -0
- package/dist/service/s3/command/list-object-versions/list-object-versions.command.js +1 -0
- package/dist/service/s3/command/list-object-versions/list-object-versions.handler.d.ts +34 -0
- package/dist/service/s3/command/list-object-versions/list-object-versions.handler.js +62 -0
- package/dist/service/s3/command/object/sim-s3-read-object-version.d.ts +34 -0
- package/dist/service/s3/command/object/sim-s3-read-object-version.js +52 -0
- package/dist/service/s3/command/object-lock/sim-s3-locked-version.d.ts +11 -0
- package/dist/service/s3/command/object-lock/sim-s3-locked-version.js +27 -0
- package/dist/service/s3/command/object-lock/sim-s3-object-lock-authorizer.d.ts +42 -0
- package/dist/service/s3/command/object-lock/sim-s3-object-lock-authorizer.js +66 -0
- package/dist/service/s3/command/object-lock/sim-s3-object-lock-commands.d.ts +30 -0
- package/dist/service/s3/command/object-lock/sim-s3-object-lock-commands.js +41 -0
- package/dist/service/s3/command/put-bucket-versioning/put-bucket-versioning.command.d.ts +21 -0
- package/dist/service/s3/command/put-bucket-versioning/put-bucket-versioning.command.js +1 -0
- package/dist/service/s3/command/put-bucket-versioning/put-bucket-versioning.handler.d.ts +31 -0
- package/dist/service/s3/command/put-bucket-versioning/put-bucket-versioning.handler.js +44 -0
- package/dist/service/s3/command/put-object/put-object.command.d.ts +3 -0
- package/dist/service/s3/command/put-object/put-object.handler.js +10 -10
- package/dist/service/s3/command/put-object-legal-hold/put-object-legal-hold.command.d.ts +24 -0
- package/dist/service/s3/command/put-object-legal-hold/put-object-legal-hold.command.js +1 -0
- package/dist/service/s3/command/put-object-legal-hold/put-object-legal-hold.handler.d.ts +32 -0
- package/dist/service/s3/command/put-object-legal-hold/put-object-legal-hold.handler.js +41 -0
- package/dist/service/s3/command/put-object-lock-configuration/put-object-lock-configuration.command.d.ts +21 -0
- package/dist/service/s3/command/put-object-lock-configuration/put-object-lock-configuration.command.js +1 -0
- package/dist/service/s3/command/put-object-lock-configuration/put-object-lock-configuration.handler.d.ts +32 -0
- package/dist/service/s3/command/put-object-lock-configuration/put-object-lock-configuration.handler.js +47 -0
- package/dist/service/s3/command/put-object-retention/put-object-retention.command.d.ts +29 -0
- package/dist/service/s3/command/put-object-retention/put-object-retention.command.js +1 -0
- package/dist/service/s3/command/put-object-retention/put-object-retention.handler.d.ts +31 -0
- package/dist/service/s3/command/put-object-retention/put-object-retention.handler.js +42 -0
- package/dist/service/s3/command/sim-s3-command.types.d.ts +7 -0
- package/dist/service/s3/command/versioning/sim-s3-versioning-authorizer.d.ts +35 -0
- package/dist/service/s3/command/versioning/sim-s3-versioning-authorizer.js +57 -0
- package/dist/service/s3/command/versioning/sim-s3-versioning-commands.d.ts +26 -0
- package/dist/service/s3/command/versioning/sim-s3-versioning-commands.js +34 -0
- package/dist/service/s3/command/versioning/sim-s3-versioning-configuration-validation.d.ts +13 -0
- package/dist/service/s3/command/versioning/sim-s3-versioning-configuration-validation.js +28 -0
- package/dist/service/s3/error/sim-s3-object-lock.error.d.ts +22 -0
- package/dist/service/s3/error/sim-s3-object-lock.error.js +26 -0
- package/dist/service/s3/error/sim-s3.error.d.ts +22 -0
- package/dist/service/s3/error/sim-s3.error.js +26 -0
- package/dist/service/s3/notification/event/sim-s3-event-records.js +3 -0
- package/dist/service/s3/notification/event/sim-s3-event.type.d.ts +5 -3
- package/dist/service/s3/notification/event/sim-s3-object-event-builder.d.ts +15 -0
- package/dist/service/s3/notification/event/sim-s3-object-event-builder.js +4 -1
- package/dist/service/s3/notification/event/sim-s3-object-event.d.ts +6 -0
- package/dist/service/s3/notification/event/sim-s3-object-event.js +2 -0
- package/dist/service/s3/notification/sim-s3-object-notifier.d.ts +1 -1
- package/dist/service/s3/notification/sim-s3-object-notifier.js +2 -2
- package/dist/service/s3/sdk/sim-s3-sdk-bucket-routes.d.ts +10 -0
- package/dist/service/s3/sdk/sim-s3-sdk-bucket-routes.js +84 -0
- package/dist/service/s3/sdk/sim-s3-sdk-command-router.js +6 -132
- package/dist/service/s3/sdk/sim-s3-sdk-object-lock-routes.d.ts +10 -0
- package/dist/service/s3/sdk/sim-s3-sdk-object-lock-routes.js +28 -0
- package/dist/service/s3/sdk/sim-s3-sdk-object-routes.d.ts +7 -0
- package/dist/service/s3/sdk/sim-s3-sdk-object-routes.js +80 -0
- package/dist/service/s3/sim-s3-commands.d.ts +4 -0
- package/dist/service/s3/sim-s3-commands.js +6 -0
- package/dist/service/s3/sim-s3-operations.d.ts +5 -5
- package/dist/service/s3/sim-s3-operations.js +5 -6
- package/dist/service/s3/sim-s3-version-operations.d.ts +32 -0
- package/dist/service/s3/sim-s3-version-operations.js +45 -0
- package/dist/service/scheduler/command/schedule/schedule.command.d.ts +9 -2
- package/dist/service/scheduler/command/schedule/sim-scheduler-described-schedule.js +2 -0
- package/dist/service/scheduler/command/schedule/sim-scheduler-unsimulated-target.js +0 -6
- package/dist/service/scheduler/command/sim-scheduler-command.types.d.ts +1 -1
- package/dist/service/scheduler/command/sim-scheduler-commands.js +1 -0
- package/dist/service/scheduler/delivery/sim-aws-scheduler-dead-letters.d.ts +17 -0
- package/dist/service/scheduler/delivery/sim-aws-scheduler-dead-letters.js +29 -0
- package/dist/service/scheduler/delivery/sim-aws-scheduler-delivery-targets.d.ts +6 -1
- package/dist/service/scheduler/delivery/sim-aws-scheduler-delivery-targets.js +9 -0
- package/dist/service/scheduler/delivery/sim-scheduler-dead-letter-queue.d.ts +18 -0
- package/dist/service/scheduler/delivery/sim-scheduler-dead-letter-queue.js +62 -0
- package/dist/service/scheduler/delivery/sim-scheduler-delivery-attempt.d.ts +29 -0
- package/dist/service/scheduler/delivery/sim-scheduler-delivery-attempt.js +81 -0
- package/dist/service/scheduler/delivery/sim-scheduler-delivery-function.js +9 -5
- package/dist/service/scheduler/delivery/sim-scheduler-delivery.d.ts +11 -0
- package/dist/service/scheduler/delivery/sim-scheduler-no-delivery-targets.d.ts +5 -1
- package/dist/service/scheduler/delivery/sim-scheduler-no-delivery-targets.js +8 -0
- package/dist/service/scheduler/delivery/sim-scheduler-target-delivery.d.ts +4 -1
- package/dist/service/scheduler/delivery/sim-scheduler-target-delivery.js +20 -15
- package/dist/service/scheduler/index.d.ts +1 -1
- package/dist/service/scheduler/target/sim-scheduler-dead-letter-config.d.ts +15 -0
- package/dist/service/scheduler/target/sim-scheduler-dead-letter-config.js +24 -0
- package/dist/service/scheduler/target/sim-scheduler-retry-policy.d.ts +20 -0
- package/dist/service/scheduler/target/sim-scheduler-retry-policy.js +37 -0
- package/dist/service/scheduler/target/sim-scheduler-target.d.ts +6 -0
- package/dist/service/scheduler/target/sim-scheduler-target.js +12 -0
- package/dist/service/ses/command/configuration-set/sim-ses-configuration-set-commands.js +13 -5
- package/dist/service/ses/command/configuration-set/sim-ses-configuration-set-options.d.ts +1 -1
- package/dist/service/ses/command/configuration-set/sim-ses-configuration-set-options.js +9 -9
- package/dist/service/ses/command/send/send.command.d.ts +10 -1
- package/dist/service/ses/command/send/sim-ses-read-content.d.ts +2 -1
- package/dist/service/ses/command/send/sim-ses-send-email.js +1 -0
- package/dist/service/ses/command/send/sim-ses-service-send.js +1 -0
- package/dist/service/ses/command/send/sim-ses-simple-content.js +26 -5
- package/dist/service/ses/command/send/sim-ses-template-send.js +1 -0
- package/dist/service/ses/command/suppression/suppression.command.d.ts +3 -2
- package/dist/service/ses/configuration-set/sim-ses-configuration-set.d.ts +9 -10
- package/dist/service/ses/configuration-set/sim-ses-configuration-set.js +7 -8
- package/dist/service/ses/email/sim-ses-sent-email-store.d.ts +8 -0
- package/dist/service/ses/email/sim-ses-sent-email-store.js +17 -0
- package/dist/service/ses/email/sim-ses-sent-email.d.ts +18 -0
- package/dist/service/ses/email/sim-ses-sent-email.js +3 -0
- package/dist/service/ses/error/sim-ses.error.d.ts +10 -0
- package/dist/service/ses/error/sim-ses.error.js +10 -0
- package/dist/service/ses/feedback/sim-ses-feedback-recorder.d.ts +34 -0
- package/dist/service/ses/feedback/sim-ses-feedback-recorder.js +55 -0
- package/dist/service/ses/index.d.ts +3 -2
- package/dist/service/ses/index.js +2 -1
- package/dist/service/ses/sim-ses-commands.d.ts +2 -0
- package/dist/service/ses/sim-ses-commands.js +9 -0
- package/dist/service/ses/sim-ses-configuration-sets.d.ts +4 -4
- package/dist/service/ses/sim-ses-configuration-sets.js +4 -4
- package/dist/service/ses/sim-ses-suppression.d.ts +3 -2
- package/dist/service/ses/sim-ses-suppression.js +3 -2
- package/dist/service/ses/sim-ses-v2.d.ts +13 -0
- package/dist/service/ses/sim-ses-v2.js +13 -0
- package/dist/service/ses/suppression/sim-ses-suppressed-destination.d.ts +3 -4
- package/dist/service/ses/suppression/sim-ses-suppressed-destination.js +3 -4
- package/dist/service/ses/suppression/sim-ses-suppression-list.d.ts +4 -4
- package/dist/service/ses/suppression/sim-ses-suppression-list.js +4 -4
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-encryption-rules.d.ts +15 -0
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-encryption-rules.js +33 -0
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-properties.d.ts +16 -0
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-properties.js +33 -1
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-property-names.d.ts +12 -6
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-property-names.js +18 -13
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-property-rules.d.ts +1 -0
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-property-rules.js +9 -1
- package/dist/terraform/map/sim-tf-map-sqs-redrive.d.ts +4 -3
- package/dist/terraform/map/sim-tf-map-sqs-redrive.js +4 -3
- package/docs/README.md +1 -0
- package/docs/services/backup/README.md +553 -0
- package/docs/services/cloudformation/README.md +16 -6
- package/docs/services/cloudwatch/README.md +159 -3
- package/docs/services/cognito/README.md +370 -7
- package/docs/services/lambda/README.md +28 -0
- package/docs/services/logs/README.md +284 -3
- package/docs/services/s3/README.md +463 -20
- package/docs/services/scheduler/README.md +48 -9
- package/docs/services/ses/README.md +164 -41
- package/docs/services/sqs/README.md +47 -10
- package/llms.txt +1 -0
- package/package.json +7 -2
|
@@ -14,7 +14,7 @@ SES specific types are imported from the `@kensio/yulin/ses` subpath.
|
|
|
14
14
|
## Asserting on a message that was sent
|
|
15
15
|
|
|
16
16
|
`sentEmails()` hands over the record. Each message carries who it was from, the three recipient
|
|
17
|
-
lists, the subject, the body and the message id SES answered with.
|
|
17
|
+
lists, the subject, the body, its attachments and the message id SES answered with.
|
|
18
18
|
|
|
19
19
|
```typescript sim-ses-send-and-assert
|
|
20
20
|
/**
|
|
@@ -59,6 +59,60 @@ read. The three recipient lists stay apart, leaving a test free to assert that a
|
|
|
59
59
|
`body` keeps `text` and `html` apart too. A message sent with only an HTML body reports `undefined`
|
|
60
60
|
for its text, and never the markup.
|
|
61
61
|
|
|
62
|
+
### Asserting on an attachment
|
|
63
|
+
|
|
64
|
+
A simple message may carry structured attachments. The record keeps them in request order.
|
|
65
|
+
`rawContent` contains a copy of the bytes from the request, and the other fields contain the supplied
|
|
66
|
+
SES attachment metadata.
|
|
67
|
+
|
|
68
|
+
```typescript sim-ses-attachments
|
|
69
|
+
/**
|
|
70
|
+
* Sending a generated CSV and reading it from the simulated SES record.
|
|
71
|
+
*/
|
|
72
|
+
|
|
73
|
+
import { SendEmailCommand } from "@aws-sdk/client-sesv2";
|
|
74
|
+
|
|
75
|
+
import { SimAws } from "@kensio/yulin";
|
|
76
|
+
|
|
77
|
+
const simAws = new SimAws();
|
|
78
|
+
const ses = simAws.sesV2();
|
|
79
|
+
|
|
80
|
+
ses.verifyIdentity("hello@example.com");
|
|
81
|
+
ses.verifyIdentity("someone@example.org");
|
|
82
|
+
|
|
83
|
+
const csv = new TextEncoder().encode("word,meaning\n你好,hello\n");
|
|
84
|
+
|
|
85
|
+
await ses.sendEmail(
|
|
86
|
+
new SendEmailCommand({
|
|
87
|
+
FromEmailAddress: "hello@example.com",
|
|
88
|
+
Destination: { ToAddresses: ["someone@example.org"] },
|
|
89
|
+
Content: {
|
|
90
|
+
Simple: {
|
|
91
|
+
Subject: { Data: "Your vocabulary backup" },
|
|
92
|
+
Body: { Text: { Data: "Your backup is attached." } },
|
|
93
|
+
Attachments: [
|
|
94
|
+
{
|
|
95
|
+
RawContent: csv,
|
|
96
|
+
FileName: "vocabulary.csv",
|
|
97
|
+
ContentType: "text/csv; charset=utf-8",
|
|
98
|
+
ContentDisposition: "ATTACHMENT",
|
|
99
|
+
},
|
|
100
|
+
],
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
}),
|
|
104
|
+
);
|
|
105
|
+
|
|
106
|
+
const [email] = ses.sentEmails();
|
|
107
|
+
const [attachment] = email?.attachments ?? [];
|
|
108
|
+
|
|
109
|
+
// vocabulary.csv "word,meaning\n你好,hello\n"
|
|
110
|
+
console.log(
|
|
111
|
+
attachment?.fileName,
|
|
112
|
+
new TextDecoder().decode(attachment?.rawContent),
|
|
113
|
+
);
|
|
114
|
+
```
|
|
115
|
+
|
|
62
116
|
## Verifying identities
|
|
63
117
|
|
|
64
118
|
Real SES verifies an email address by emailing it a link and a domain by looking for DNS records.
|
|
@@ -303,8 +357,9 @@ sending switch, the delivery options and the reputation switch are all declared
|
|
|
303
357
|
SES holds a set as state. A test can then assert what a stack declared, with no AWS account to read
|
|
304
358
|
it back from.
|
|
305
359
|
|
|
306
|
-
A set is attached to an identity, or named on a send. `SendingEnabled`
|
|
307
|
-
|
|
360
|
+
A set is attached to an identity, or named on a send. `SendingEnabled` acts during acceptance.
|
|
361
|
+
Suppression options decide whether explicit bounce or complaint feedback adds the recipient to the
|
|
362
|
+
account suppression list. The rest are held for a test to read back.
|
|
308
363
|
|
|
309
364
|
```typescript sim-ses-configuration-sets
|
|
310
365
|
/**
|
|
@@ -350,8 +405,13 @@ console.log(ses.allConfigurationSets().map((set) => set.configurationSetName));
|
|
|
350
405
|
```
|
|
351
406
|
|
|
352
407
|
A set declaring only its name gets the defaults real SES applies. Sending is on, TLS is optional,
|
|
353
|
-
reputation metrics are off and
|
|
354
|
-
|
|
408
|
+
reputation metrics are off and suppression falls back to the account reasons.
|
|
409
|
+
`GetConfigurationSet` reports the sending, delivery and reputation defaults. It leaves suppression
|
|
410
|
+
options absent where the set has no override.
|
|
411
|
+
|
|
412
|
+
An explicit empty override is different. `SuppressionOptions: { SuppressedReasons: [] }` disables
|
|
413
|
+
suppression for feedback on messages sent through that set. Simulated SES retains the empty list so
|
|
414
|
+
it does not fall back to the account reasons.
|
|
355
415
|
|
|
356
416
|
`findConfigurationSet` reaches one set by name and `allConfigurationSets` hands over every set in
|
|
357
417
|
the scope, oldest first.
|
|
@@ -436,9 +496,9 @@ set at a time.
|
|
|
436
496
|
domain and the events that report a click. The Virtual Deliverability Manager reports on engagement,
|
|
437
497
|
which this simulation never measures.
|
|
438
498
|
|
|
439
|
-
A set's suppression reasons
|
|
440
|
-
|
|
441
|
-
|
|
499
|
+
A set's suppression reasons override the account reasons when `recordFeedback` records a hard bounce
|
|
500
|
+
or complaint for a message sent through it. A set with no suppression options falls back to the
|
|
501
|
+
account reasons. The feedback entry goes onto the account suppression list.
|
|
442
502
|
|
|
443
503
|
`TlsPolicy` accepts `REQUIRE` and `OPTIONAL` and refuses anything else, and a `SuppressedReasons`
|
|
444
504
|
entry that is neither `BOUNCE` nor `COMPLAINT` is refused too. `MaxDeliverySeconds` takes whole
|
|
@@ -644,9 +704,9 @@ review is beyond what a test can assert on anyway.
|
|
|
644
704
|
## The suppression list
|
|
645
705
|
|
|
646
706
|
Real SES holds an account-level suppression list and fills it from hard bounces and complaints.
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
707
|
+
Tests supply that feedback explicitly with `recordFeedback`. Suppression commands manage the same
|
|
708
|
+
list. The support tool that lists suppressed addresses, the form that removes one and the script
|
|
709
|
+
that seeds the list all have somewhere to run.
|
|
650
710
|
|
|
651
711
|
`PutSuppressedDestination`, `GetSuppressedDestination`, `ListSuppressedDestinations` and
|
|
652
712
|
`DeleteSuppressedDestination` manage it.
|
|
@@ -705,6 +765,70 @@ carries the answer. `suppressedRecipients` names who was held back and why,
|
|
|
705
765
|
and `isFullySuppressed` is the narrower question of whether the message reached nobody. A message to
|
|
706
766
|
two recipients with one of them suppressed went to the other.
|
|
707
767
|
|
|
768
|
+
### Recording a hard bounce or complaint
|
|
769
|
+
|
|
770
|
+
`recordFeedback` takes the message id of an accepted message, one of its recipient addresses and a
|
|
771
|
+
`BOUNCE` or `COMPLAINT` reason. Active feedback adds or updates the account suppression entry at the
|
|
772
|
+
current simulated time. The existing suppression commands and `suppressedDestinations()` read the
|
|
773
|
+
result.
|
|
774
|
+
|
|
775
|
+
```typescript sim-ses-feedback-suppression
|
|
776
|
+
/**
|
|
777
|
+
* Recording a hard bounce and observing the next send being suppressed.
|
|
778
|
+
*/
|
|
779
|
+
|
|
780
|
+
import { SendEmailCommand } from "@aws-sdk/client-sesv2";
|
|
781
|
+
|
|
782
|
+
import { SimAws, SimFixedClock } from "@kensio/yulin";
|
|
783
|
+
|
|
784
|
+
const simAws = new SimAws({
|
|
785
|
+
clock: new SimFixedClock(new Date("2026-08-31T09:00:00.000Z")),
|
|
786
|
+
});
|
|
787
|
+
const ses = simAws.sesV2();
|
|
788
|
+
|
|
789
|
+
ses.verifyIdentity("hello@example.com");
|
|
790
|
+
ses.verifyIdentity("someone@example.org");
|
|
791
|
+
|
|
792
|
+
const message = new SendEmailCommand({
|
|
793
|
+
FromEmailAddress: "hello@example.com",
|
|
794
|
+
Destination: { ToAddresses: ["someone@example.org"] },
|
|
795
|
+
Content: {
|
|
796
|
+
Simple: {
|
|
797
|
+
Subject: { Data: "Welcome" },
|
|
798
|
+
Body: { Text: { Data: "Hi there" } },
|
|
799
|
+
},
|
|
800
|
+
},
|
|
801
|
+
});
|
|
802
|
+
|
|
803
|
+
const accepted = await ses.sendEmail(message);
|
|
804
|
+
|
|
805
|
+
ses.recordFeedback({
|
|
806
|
+
messageId: accepted.MessageId!,
|
|
807
|
+
emailAddress: "someone@example.org",
|
|
808
|
+
reason: "BOUNCE",
|
|
809
|
+
});
|
|
810
|
+
|
|
811
|
+
await ses.sendEmail(message);
|
|
812
|
+
|
|
813
|
+
const suppressed = ses.suppressedDestinations()[0];
|
|
814
|
+
const later = ses.sentEmails()[1];
|
|
815
|
+
|
|
816
|
+
// "BOUNCE" "2026-08-31T09:00:00.000Z" true
|
|
817
|
+
console.log(
|
|
818
|
+
suppressed?.reason,
|
|
819
|
+
suppressed?.lastUpdateTime.toISOString(),
|
|
820
|
+
later?.isFullySuppressed,
|
|
821
|
+
);
|
|
822
|
+
```
|
|
823
|
+
|
|
824
|
+
The operation refuses a message id this SES scope did not issue and an address that was not a
|
|
825
|
+
recipient of that message. Recipient matching ignores case and a display name, while the suppression
|
|
826
|
+
entry keeps the address spelling from the accepted message.
|
|
827
|
+
|
|
828
|
+
Without a configuration-set override, the account's `SuppressedReasons` decide whether feedback is
|
|
829
|
+
active. A configuration set with suppression options replaces those reasons for messages sent
|
|
830
|
+
through it. An empty override leaves the suppression list unchanged.
|
|
831
|
+
|
|
708
832
|
`ListSuppressedDestinations` pages with `PageSize` and `NextToken`, and narrows with `Reasons`,
|
|
709
833
|
`StartDate` and `EndDate`. Removing an address that was never on the list succeeds, so a form that
|
|
710
834
|
removes one twice has no failure to handle.
|
|
@@ -938,29 +1062,29 @@ time forward past the window sees the count fall the way an account's would.
|
|
|
938
1062
|
|
|
939
1063
|
## Simulated commands
|
|
940
1064
|
|
|
941
|
-
| Command | Notes
|
|
942
|
-
| --------------------------------- |
|
|
943
|
-
| `SendEmail` | `Content.Simple
|
|
944
|
-
| `CreateEmailIdentity` | Starts unverified. `Tags`, `DkimSigningAttributes` and `ConfigurationSetName` are held and reported back.
|
|
945
|
-
| `GetEmailIdentity` | Reports the DKIM, MAIL FROM, feedback, configuration set and tag settings the identity holds.
|
|
946
|
-
| `ListEmailIdentities` | Paged with `PageSize` and `NextToken`.
|
|
947
|
-
| `DeleteEmailIdentity` |
|
|
948
|
-
| `CreateEmailTemplate` | Substitution only. `Tags` are refused.
|
|
949
|
-
| `GetEmailTemplate` | Reports the wording with its placeholders unrendered.
|
|
950
|
-
| `UpdateEmailTemplate` | Replaces the wording outright, keeping the creation time.
|
|
951
|
-
| `ListEmailTemplates` | Names and creation times only, paged.
|
|
952
|
-
| `DeleteEmailTemplate` |
|
|
953
|
-
| `CreateConfigurationSet` | `TrackingOptions`, `VdmOptions` and `Tags` are refused.
|
|
954
|
-
| `GetConfigurationSet` | Reports
|
|
955
|
-
| `ListConfigurationSets` | Names only, paged with `PageSize` and `NextToken`.
|
|
956
|
-
| `DeleteConfigurationSet` |
|
|
957
|
-
| `GetAccount` | Reports `SuppressionAttributes` alongside the quota.
|
|
958
|
-
| `PutAccountDetails` | `MailType` and `WebsiteURL` are required, as on real SES.
|
|
959
|
-
| `PutAccountSuppressionAttributes` | No reasons at all turns the suppression list off.
|
|
960
|
-
| `PutSuppressedDestination` | Accepted in the sandbox, which real SES refuses.
|
|
961
|
-
| `GetSuppressedDestination` |
|
|
962
|
-
| `ListSuppressedDestinations` | Paged, and narrowed by `Reasons`, `StartDate` and `EndDate`.
|
|
963
|
-
| `DeleteSuppressedDestination` | Removing an address that is not on the list succeeds.
|
|
1065
|
+
| Command | Notes |
|
|
1066
|
+
| --------------------------------- | ----------------------------------------------------------------------------------------------------------- |
|
|
1067
|
+
| `SendEmail` | `Content.Simple`, including structured attachments, and `Content.Template`. Recorded rather than delivered. |
|
|
1068
|
+
| `CreateEmailIdentity` | Starts unverified. `Tags`, `DkimSigningAttributes` and `ConfigurationSetName` are held and reported back. |
|
|
1069
|
+
| `GetEmailIdentity` | Reports the DKIM, MAIL FROM, feedback, configuration set and tag settings the identity holds. |
|
|
1070
|
+
| `ListEmailIdentities` | Paged with `PageSize` and `NextToken`. |
|
|
1071
|
+
| `DeleteEmailIdentity` | |
|
|
1072
|
+
| `CreateEmailTemplate` | Substitution only. `Tags` are refused. |
|
|
1073
|
+
| `GetEmailTemplate` | Reports the wording with its placeholders unrendered. |
|
|
1074
|
+
| `UpdateEmailTemplate` | Replaces the wording outright, keeping the creation time. |
|
|
1075
|
+
| `ListEmailTemplates` | Names and creation times only, paged. |
|
|
1076
|
+
| `DeleteEmailTemplate` | |
|
|
1077
|
+
| `CreateConfigurationSet` | `TrackingOptions`, `VdmOptions` and `Tags` are refused. |
|
|
1078
|
+
| `GetConfigurationSet` | Reports applied defaults and preserves whether suppression options were absent. |
|
|
1079
|
+
| `ListConfigurationSets` | Names only, paged with `PageSize` and `NextToken`. |
|
|
1080
|
+
| `DeleteConfigurationSet` | |
|
|
1081
|
+
| `GetAccount` | Reports `SuppressionAttributes` alongside the quota. |
|
|
1082
|
+
| `PutAccountDetails` | `MailType` and `WebsiteURL` are required, as on real SES. |
|
|
1083
|
+
| `PutAccountSuppressionAttributes` | No reasons at all turns the suppression list off. |
|
|
1084
|
+
| `PutSuppressedDestination` | Accepted in the sandbox, which real SES refuses. |
|
|
1085
|
+
| `GetSuppressedDestination` | |
|
|
1086
|
+
| `ListSuppressedDestinations` | Paged, and narrowed by `Reasons`, `StartDate` and `EndDate`. |
|
|
1087
|
+
| `DeleteSuppressedDestination` | Removing an address that is not on the list succeeds. |
|
|
964
1088
|
|
|
965
1089
|
Anything else refuses on send with `SimSdkUnsupportedCommandError`.
|
|
966
1090
|
|
|
@@ -978,19 +1102,18 @@ Anything else refuses on send with `SimSdkUnsupportedCommandError`.
|
|
|
978
1102
|
the template. Template data holding an object where the template wants a value is refused too,
|
|
979
1103
|
where real Handlebars would render `[object Object]`.
|
|
980
1104
|
- **`SendBulkEmail` is absent**, along with its per-recipient replacement data.
|
|
981
|
-
- **Nothing is delivered
|
|
982
|
-
event destinations.
|
|
1105
|
+
- **Nothing is delivered.** A test supplies a hard bounce or complaint through `recordFeedback`.
|
|
1106
|
+
Feedback is never generated automatically, and there are no event destinations.
|
|
983
1107
|
- **A configuration set acts on one send.** `SendingEnabled` refuses a send made through the set.
|
|
984
|
-
|
|
985
|
-
|
|
1108
|
+
Suppression reasons act on explicit feedback. Delivery options and the reputation switch are held
|
|
1109
|
+
and read back.
|
|
986
1110
|
- **A set name nothing created is still accepted.** Real SES refuses one on an identity and on a
|
|
987
1111
|
send. Both stand here and the name is recorded, because a test failing over a set missing from a
|
|
988
1112
|
local setup fails for a reason unrelated to what it asserts.
|
|
989
1113
|
- **A configuration set holds what it was created with.** The `Put` commands that change one group
|
|
990
1114
|
of options are absent. A set cannot be changed once it exists.
|
|
991
|
-
- **
|
|
992
|
-
|
|
993
|
-
or a complaint would suppress for, and both are absent.
|
|
1115
|
+
- **Feedback is explicit.** Hard bounces and complaints update the suppression list only when a test
|
|
1116
|
+
calls `recordFeedback`. Soft bounces are absent.
|
|
994
1117
|
- **Tenant-level suppression lists are left out.** A suppression command carrying `TenantName` is
|
|
995
1118
|
refused rather than answered from the account-level list.
|
|
996
1119
|
- **`PutSuppressedDestination` works in the sandbox.** Real SES refuses it until an account has
|
|
@@ -1049,8 +1049,39 @@ console.log(stack.output("OrdersQueueArn"));
|
|
|
1049
1049
|
```
|
|
1050
1050
|
|
|
1051
1051
|
The properties applied to the queue are `VisibilityTimeout`, `DelaySeconds`,
|
|
1052
|
-
`MessageRetentionPeriod`, `MaximumMessageSize
|
|
1053
|
-
`CreateQueue`, and a value outside the range real SQS accepts
|
|
1052
|
+
`MessageRetentionPeriod`, `MaximumMessageSize`, `ReceiveMessageWaitTimeSeconds` and
|
|
1053
|
+
`RedrivePolicy`. Each is passed to `CreateQueue`, and a value outside the range real SQS accepts
|
|
1054
|
+
fails the resource.
|
|
1055
|
+
|
|
1056
|
+
`RedrivePolicy` is the same attribute [dead-letter queues](#dead-letter-queues) covers, and a
|
|
1057
|
+
template goes through the validation an SDK caller goes through. CloudFormation carries the policy
|
|
1058
|
+
as an object where SQS carries it as a JSON string, and both spellings arrive at `CreateQueue` the
|
|
1059
|
+
same way. The `deadLetterTargetArn` has to name a queue that already exists. Naming the dead-letter
|
|
1060
|
+
queue with `Fn::GetAtt` also puts the two queues in the order they have to be created in.
|
|
1061
|
+
|
|
1062
|
+
```typescript
|
|
1063
|
+
{
|
|
1064
|
+
OrdersDlq: {
|
|
1065
|
+
Type: "AWS::SQS::Queue",
|
|
1066
|
+
Properties: { QueueName: "orders-dlq" },
|
|
1067
|
+
},
|
|
1068
|
+
OrdersQueue: {
|
|
1069
|
+
Type: "AWS::SQS::Queue",
|
|
1070
|
+
Properties: {
|
|
1071
|
+
QueueName: "orders",
|
|
1072
|
+
RedrivePolicy: {
|
|
1073
|
+
deadLetterTargetArn: { "Fn::GetAtt": ["OrdersDlq", "Arn"] },
|
|
1074
|
+
maxReceiveCount: 3,
|
|
1075
|
+
},
|
|
1076
|
+
},
|
|
1077
|
+
},
|
|
1078
|
+
}
|
|
1079
|
+
```
|
|
1080
|
+
|
|
1081
|
+
A message the queue gives up on reaches `orders-dlq`, and `GetQueueAttributes` on `orders` reports
|
|
1082
|
+
the policy back. A policy real SQS would refuse fails the resource, in the words it refuses an SDK
|
|
1083
|
+
caller with. Terraform's `redrive_policy` and its `aws_sqs_queue_redrive_policy` resource both map
|
|
1084
|
+
onto this property. A plan carrying either deploys a working dead-letter queue.
|
|
1054
1085
|
|
|
1055
1086
|
A queue with no `QueueName` is named from the stack name, the logical ID and a tail derived from
|
|
1056
1087
|
both. The queue above with its name left out would be `orders-stack-OrdersQueue-` and twelve more
|
|
@@ -1065,10 +1096,16 @@ under the name the template gave it.
|
|
|
1065
1096
|
The properties this simulation has no behaviour for are a different case. The queue is created without
|
|
1066
1097
|
them and each one is recorded in
|
|
1067
1098
|
[`stack.ignoredProperties`](https://yulinsim.dev/services/cloudformation/#properties-a-resource-was-created-without).
|
|
1068
|
-
A stack full of queues still deploys. Those properties are `
|
|
1069
|
-
`
|
|
1070
|
-
`
|
|
1071
|
-
|
|
1099
|
+
A stack full of queues still deploys. Those properties are `RedriveAllowPolicy`, `KmsMasterKeyId`,
|
|
1100
|
+
`KmsDataKeyReusePeriodSeconds`, `SqsManagedSseEnabled`, `ContentBasedDeduplication`,
|
|
1101
|
+
`DeduplicationScope`, `FifoThroughputLimit` and `Tags`. A property outside the `AWS::SQS::Queue`
|
|
1102
|
+
schema is recorded the same way.
|
|
1103
|
+
|
|
1104
|
+
`KmsDataKeyReusePeriodSeconds` is read for one thing before being recorded. Real SQS takes a period
|
|
1105
|
+
between 60 seconds and 86,400, and answers anything else with `InvalidAttributeValue`, which fails
|
|
1106
|
+
the stack at `CreateQueue`. Nothing here encrypts a message either way, and a queue that deployed
|
|
1107
|
+
with a period outside that range would report a template CloudFormation rejects as working. A period
|
|
1108
|
+
inside it is recorded like any other skipped property.
|
|
1072
1109
|
|
|
1073
1110
|
`AWS::SQS::QueuePolicy` deploys the policy it names onto each queue in its `Queues` list, through
|
|
1074
1111
|
`SetQueueAttributes`. A policy declared in a template is therefore validated and enforced exactly as
|
|
@@ -1123,7 +1160,8 @@ Sim SQS currently supports:
|
|
|
1123
1160
|
- Lambda event source mappings, delivering messages to a simulated function and deleting the batches
|
|
1124
1161
|
it handles
|
|
1125
1162
|
- `AWS::SQS::Queue` and `AWS::SQS::QueuePolicy` in a CloudFormation or CDK template, with `Ref`
|
|
1126
|
-
giving the queue URL and `Fn::GetAtt` giving `Arn`, `QueueName` and `QueueUrl
|
|
1163
|
+
giving the queue URL and `Fn::GetAtt` giving `Arn`, `QueueName` and `QueueUrl`, and a
|
|
1164
|
+
`RedrivePolicy` on a queue naming its dead-letter queue
|
|
1127
1165
|
|
|
1128
1166
|
## Limitations
|
|
1129
1167
|
|
|
@@ -1152,9 +1190,6 @@ Current documented limitations:
|
|
|
1152
1190
|
reading of SQS, and AWS documents no answer either way. A receive count counts receives from one
|
|
1153
1191
|
queue, and the moved message has not been received from the dead-letter queue yet. `SentTimestamp`
|
|
1154
1192
|
being unchanged by the move is documented AWS behaviour, and is simulated as such.
|
|
1155
|
-
- The `RedrivePolicy` property on `AWS::SQS::Queue` is left out, and an SDK call is what configures a
|
|
1156
|
-
dead-letter queue. The queue is created without the property and the omission is recorded in
|
|
1157
|
-
`stack.ignoredProperties`.
|
|
1158
1193
|
- A queue policy is set through the `Policy` attribute only. `AddPermission` and `RemovePermission`,
|
|
1159
1194
|
shorthands for writing one statement of it, are absent.
|
|
1160
1195
|
- `GetQueueAttributes` reports the `Policy` string that was set. Real SQS re-serialises the document
|
|
@@ -1165,6 +1200,8 @@ Current documented limitations:
|
|
|
1165
1200
|
- Encryption is left out. `KmsMasterKeyId`, `KmsDataKeyReusePeriodSeconds` and
|
|
1166
1201
|
`SqsManagedSseEnabled` are recorded on an `AWS::SQS::Queue` and applied to nothing, and message
|
|
1167
1202
|
bodies are held in process memory as they were sent. Anything sharing the process can read them.
|
|
1203
|
+
The one thing read off them is the range on `KmsDataKeyReusePeriodSeconds`, so a template real
|
|
1204
|
+
SQS refuses does not deploy here.
|
|
1168
1205
|
- Tags are left out. `TagQueue`, `UntagQueue` and `ListQueueTags` are absent, and `CreateQueue`
|
|
1169
1206
|
refuses a `tags` parameter rather than dropping it.
|
|
1170
1207
|
- `SenderId` is left out, because a simulated caller has no user or role id to report it as.
|
package/llms.txt
CHANGED
|
@@ -14,6 +14,7 @@ The same pages are on the web at https://yulinsim.dev/ for whichever release is
|
|
|
14
14
|
- [API Gateway HTTP APIs](docs/services/apigatewayv2/README.md): Simulated API Gateway HTTP API usage docs
|
|
15
15
|
- [API Gateway REST APIs](docs/services/apigateway/README.md): Simulated API Gateway REST API usage docs
|
|
16
16
|
- [Athena](docs/services/athena/README.md): Simulated Amazon Athena usage docs
|
|
17
|
+
- [AWS Backup](docs/services/backup/README.md): Simulated AWS Backup usage docs
|
|
17
18
|
- [Bedrock](docs/services/bedrock/README.md): Simulated Amazon Bedrock usage docs
|
|
18
19
|
- [CloudFormation](docs/services/cloudformation/README.md): Simulated CloudFormation usage docs
|
|
19
20
|
- [CloudFront](docs/services/cloudfront/README.md): Simulated CloudFront usage docs
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kensio/yulin",
|
|
3
|
-
"version": "1.21.
|
|
3
|
+
"version": "1.21.2",
|
|
4
4
|
"description": "AWS system behaviour simulation for isolated unit testing",
|
|
5
5
|
"repository": "https://github.com/KensioSoftware/yulin",
|
|
6
6
|
"homepage": "https://yulinsim.dev/",
|
|
@@ -65,6 +65,10 @@
|
|
|
65
65
|
"import": "./dist/service/bedrock/index.js",
|
|
66
66
|
"types": "./dist/service/bedrock/index.d.ts"
|
|
67
67
|
},
|
|
68
|
+
"./backup": {
|
|
69
|
+
"import": "./dist/service/backup/index.js",
|
|
70
|
+
"types": "./dist/service/backup/index.d.ts"
|
|
71
|
+
},
|
|
68
72
|
"./cloudformation": {
|
|
69
73
|
"import": "./dist/service/cloudformation/index.js",
|
|
70
74
|
"types": "./dist/service/cloudformation/index.d.ts"
|
|
@@ -231,6 +235,7 @@
|
|
|
231
235
|
"@aws-sdk/client-api-gateway": "^3.1112.0",
|
|
232
236
|
"@aws-sdk/client-apigatewayv2": "^3.1101.0",
|
|
233
237
|
"@aws-sdk/client-athena": "^3.1115.0",
|
|
238
|
+
"@aws-sdk/client-backup": "^3.1121.0",
|
|
234
239
|
"@aws-sdk/client-bedrock-runtime": "^3.1115.0",
|
|
235
240
|
"@aws-sdk/client-cloudformation": "^3.1101.0",
|
|
236
241
|
"@aws-sdk/client-cloudfront": "^3.1101.0",
|
|
@@ -268,7 +273,7 @@
|
|
|
268
273
|
"@aws-sdk/lib-storage": "^3.1112.0",
|
|
269
274
|
"@aws-sdk/s3-request-presigner": "^3.1101.0",
|
|
270
275
|
"@eslint/js": "^10.0.1",
|
|
271
|
-
"@kensio/smartass": "^1.37.
|
|
276
|
+
"@kensio/smartass": "^1.37.7",
|
|
272
277
|
"@semantic-release/exec": "7.1.0",
|
|
273
278
|
"@smithy/signature-v4": "^5.6.12",
|
|
274
279
|
"@smithy/smithy-client": "^4.14.16",
|