@kensio/yulin 0.42.0 → 0.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/sdk/router/resolve-sim-sdk-command-router.d.ts.map +1 -1
- package/dist/sdk/router/resolve-sim-sdk-command-router.js +3 -0
- package/dist/sdk/router/resolve-sim-sdk-command-router.js.map +1 -1
- package/dist/serve/controller/factory/sim-aws-service-controller-factory.d.ts.map +1 -1
- package/dist/serve/controller/factory/sim-aws-service-controller-factory.js +4 -0
- package/dist/serve/controller/factory/sim-aws-service-controller-factory.js.map +1 -1
- package/dist/serve/controller/sim-aws-service-signing-name.d.ts.map +1 -1
- package/dist/serve/controller/sim-aws-service-signing-name.js +3 -0
- package/dist/serve/controller/sim-aws-service-signing-name.js.map +1 -1
- package/dist/serve/controller/sim-service-controller.d.ts +1 -1
- package/dist/serve/controller/sim-service-controller.d.ts.map +1 -1
- package/dist/serve/controller/sim-service-controller.js.map +1 -1
- package/dist/serve/http/url/sim-aws-local-url.d.ts.map +1 -1
- package/dist/serve/http/url/sim-aws-local-url.js +1 -0
- package/dist/serve/http/url/sim-aws-local-url.js.map +1 -1
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts +112 -0
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts.map +1 -0
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.js +196 -0
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.js.map +1 -0
- package/dist/service/aws/factory/sim-aws-account-service-cache.d.ts +2 -1
- package/dist/service/aws/factory/sim-aws-account-service-cache.d.ts.map +1 -1
- package/dist/service/aws/factory/sim-aws-account-service-cache.js +2 -1
- package/dist/service/aws/factory/sim-aws-account-service-cache.js.map +1 -1
- package/dist/service/aws/factory/sim-aws-request-auth-wiring.d.ts +45 -0
- package/dist/service/aws/factory/sim-aws-request-auth-wiring.d.ts.map +1 -0
- package/dist/service/aws/factory/sim-aws-request-auth-wiring.js +51 -0
- package/dist/service/aws/factory/sim-aws-request-auth-wiring.js.map +1 -0
- package/dist/service/aws/factory/sim-aws-scoped-service-registries.d.ts +7 -0
- package/dist/service/aws/factory/sim-aws-scoped-service-registries.d.ts.map +1 -1
- package/dist/service/aws/factory/sim-aws-scoped-service-registries.js +7 -0
- package/dist/service/aws/factory/sim-aws-scoped-service-registries.js.map +1 -1
- package/dist/service/aws/factory/sim-aws-service-factory.d.ts +32 -74
- package/dist/service/aws/factory/sim-aws-service-factory.d.ts.map +1 -1
- package/dist/service/aws/factory/sim-aws-service-factory.js +46 -162
- package/dist/service/aws/factory/sim-aws-service-factory.js.map +1 -1
- package/dist/service/aws/sim-aws-account-region-scope.d.ts +5 -0
- package/dist/service/aws/sim-aws-account-region-scope.d.ts.map +1 -1
- package/dist/service/aws/sim-aws-account-region-scope.factory.d.ts +1 -1
- package/dist/service/aws/sim-aws-account-region-scope.factory.d.ts.map +1 -1
- package/dist/service/aws/sim-aws-account-region-scope.js +6 -0
- package/dist/service/aws/sim-aws-account-region-scope.js.map +1 -1
- package/dist/service/aws/sim-aws-request-authentication.d.ts +3 -3
- package/dist/service/aws/sim-aws-request-authentication.d.ts.map +1 -1
- package/dist/service/aws/sim-aws-request-authentication.js +4 -4
- package/dist/service/aws/sim-aws-request-authentication.js.map +1 -1
- package/dist/service/aws/sim-aws.d.ts +3 -0
- package/dist/service/aws/sim-aws.d.ts.map +1 -1
- package/dist/service/aws/sim-aws.js +5 -1
- package/dist/service/aws/sim-aws.js.map +1 -1
- package/dist/service/cloudformation/resource/cfn/cloudfront/sim-cff-cfn.factory.d.ts +1 -1
- package/dist/service/cloudformation/resource/cfn/cloudfront/sim-cff-cfn.factory.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-cfn-value-adapter.d.ts +6 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-cfn-value-adapter.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-cfn-value-adapter.js +25 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-cfn-value-adapter.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-cfn.d.ts +30 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-cfn.js +45 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-cfn.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-client-cfn.d.ts +30 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-client-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-client-cfn.js +32 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-client-cfn.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-group-cfn.d.ts +25 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-group-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-group-cfn.js +24 -0
- package/dist/service/cloudformation/resource/cfn/cognito/sim-cognito-user-pool-group-cfn.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-cfn-value-adapter.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-cfn-value-adapter.js +8 -0
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-cfn-value-adapter.js.map +1 -1
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-event-source-mapping-cfn.d.ts +28 -0
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-event-source-mapping-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-event-source-mapping-cfn.js +33 -0
- package/dist/service/cloudformation/resource/cfn/lambda/sim-lambda-event-source-mapping-cfn.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/sim-cfn-resource-value-adapter.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/cfn/sim-cfn-resource-value-adapter.js +4 -0
- package/dist/service/cloudformation/resource/cfn/sim-cfn-resource-value-adapter.js.map +1 -1
- package/dist/service/cloudformation/resource/cfn/sqs/sim-sqs-cfn-value-adapter.d.ts +6 -0
- package/dist/service/cloudformation/resource/cfn/sqs/sim-sqs-cfn-value-adapter.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/sqs/sim-sqs-cfn-value-adapter.js +13 -0
- package/dist/service/cloudformation/resource/cfn/sqs/sim-sqs-cfn-value-adapter.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/sqs/sim-sqs-queue-cfn.d.ts +28 -0
- package/dist/service/cloudformation/resource/cfn/sqs/sim-sqs-queue-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/sqs/sim-sqs-queue-cfn.js +40 -0
- package/dist/service/cloudformation/resource/cfn/sqs/sim-sqs-queue-cfn.js.map +1 -0
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-resolver.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-resolver.js +6 -0
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-resolver.js.map +1 -1
- package/dist/service/cloudformation/resource/sim-cfn-resource.d.ts +3 -0
- package/dist/service/cloudformation/resource/sim-cfn-resource.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/sim-cfn-resource.factory.d.ts +1 -1
- package/dist/service/cloudformation/resource/sim-cfn-resource.factory.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/sim-cfn-resource.js +4 -1
- package/dist/service/cloudformation/resource/sim-cfn-resource.js.map +1 -1
- package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-map.d.ts.map +1 -1
- package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-map.js +1 -0
- package/dist/service/cloudformation/stack/resource-map/sim-cfn-stack-resource-map.js.map +1 -1
- package/dist/service/cloudfront/distribution/sim-cf-distro-config.factory.d.ts +1 -1
- package/dist/service/cloudfront/distribution/sim-cf-distro-config.factory.d.ts.map +1 -1
- package/dist/service/cloudfront/factory/cloudfront-functions.factory.d.ts +4 -4
- package/dist/service/cloudfront/factory/cloudfront-functions.factory.d.ts.map +1 -1
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-creator.d.ts +25 -0
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-creator.d.ts.map +1 -0
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-creator.js +36 -0
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-creator.js.map +1 -0
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.d.ts +35 -0
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.d.ts.map +1 -0
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js +88 -0
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js.map +1 -0
- package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-creator.d.ts +24 -0
- package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-creator.d.ts.map +1 -0
- package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-creator.js +34 -0
- package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-creator.js.map +1 -0
- package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-properties.d.ts +32 -0
- package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-properties.d.ts.map +1 -0
- package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-properties.js +55 -0
- package/dist/service/cognito/cfn/group/sim-cfn-cognito-group-properties.js.map +1 -0
- package/dist/service/cognito/cfn/sim-cfn-cognito-property-parser.d.ts +52 -0
- package/dist/service/cognito/cfn/sim-cfn-cognito-property-parser.d.ts.map +1 -0
- package/dist/service/cognito/cfn/sim-cfn-cognito-property-parser.js +77 -0
- package/dist/service/cognito/cfn/sim-cfn-cognito-property-parser.js.map +1 -0
- package/dist/service/cognito/cfn/sim-cfn-cognito-resource-factory.d.ts +25 -0
- package/dist/service/cognito/cfn/sim-cfn-cognito-resource-factory.d.ts.map +1 -0
- package/dist/service/cognito/cfn/sim-cfn-cognito-resource-factory.js +42 -0
- package/dist/service/cognito/cfn/sim-cfn-cognito-resource-factory.js.map +1 -0
- package/dist/service/cognito/cfn/sim-cfn-cognito-value-parser.d.ts +51 -0
- package/dist/service/cognito/cfn/sim-cfn-cognito-value-parser.d.ts.map +1 -0
- package/dist/service/cognito/cfn/sim-cfn-cognito-value-parser.js +87 -0
- package/dist/service/cognito/cfn/sim-cfn-cognito-value-parser.js.map +1 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-password-policy.d.ts +28 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-password-policy.d.ts.map +1 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-password-policy.js +53 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-password-policy.js.map +1 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-policies.d.ts +27 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-policies.d.ts.map +1 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-policies.js +41 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-policies.js.map +1 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.d.ts +25 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.d.ts.map +1 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.js +32 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.js.map +1 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-creator.d.ts +26 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-creator.d.ts.map +1 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-creator.js +33 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-creator.js.map +1 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.d.ts +31 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.d.ts.map +1 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js +60 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js.map +1 -0
- package/dist/service/cognito/command/auth/auth.command.d.ts +162 -0
- package/dist/service/cognito/command/auth/auth.command.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/auth.command.js +2 -0
- package/dist/service/cognito/command/auth/auth.command.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-admin-initiate-auth.d.ts +32 -0
- package/dist/service/cognito/command/auth/sim-cognito-admin-initiate-auth.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-admin-initiate-auth.js +37 -0
- package/dist/service/cognito/command/auth/sim-cognito-admin-initiate-auth.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-admin-respond-to-challenge.d.ts +29 -0
- package/dist/service/cognito/command/auth/sim-cognito-admin-respond-to-challenge.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-admin-respond-to-challenge.js +34 -0
- package/dist/service/cognito/command/auth/sim-cognito-admin-respond-to-challenge.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-challenge.d.ts +12 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-challenge.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-challenge.js +20 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-challenge.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-commands.d.ts +31 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-commands.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-commands.js +63 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-commands.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.d.ts +26 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.js +25 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-flow.d.ts +42 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-flow.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-flow.js +52 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-flow.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-flows.d.ts +48 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-flows.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-flows.js +79 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-flows.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.d.ts +21 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.js +33 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-resolver.d.ts +61 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-resolver.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-resolver.js +56 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-resolver.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-authentication-result.d.ts +17 -0
- package/dist/service/cognito/command/auth/sim-cognito-authentication-result.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-authentication-result.js +26 -0
- package/dist/service/cognito/command/auth/sim-cognito-authentication-result.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-initiate-auth.d.ts +27 -0
- package/dist/service/cognito/command/auth/sim-cognito-initiate-auth.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-initiate-auth.js +36 -0
- package/dist/service/cognito/command/auth/sim-cognito-initiate-auth.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.d.ts +28 -0
- package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.js +39 -0
- package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-new-password-response.d.ts +39 -0
- package/dist/service/cognito/command/auth/sim-cognito-new-password-response.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-new-password-response.js +47 -0
- package/dist/service/cognito/command/auth/sim-cognito-new-password-response.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-password-sign-in.d.ts +42 -0
- package/dist/service/cognito/command/auth/sim-cognito-password-sign-in.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-password-sign-in.js +39 -0
- package/dist/service/cognito/command/auth/sim-cognito-password-sign-in.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-refresh-sign-in.d.ts +28 -0
- package/dist/service/cognito/command/auth/sim-cognito-refresh-sign-in.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-refresh-sign-in.js +42 -0
- package/dist/service/cognito/command/auth/sim-cognito-refresh-sign-in.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-respond-to-challenge.d.ts +26 -0
- package/dist/service/cognito/command/auth/sim-cognito-respond-to-challenge.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-respond-to-challenge.js +35 -0
- package/dist/service/cognito/command/auth/sim-cognito-respond-to-challenge.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-sign-out.d.ts +39 -0
- package/dist/service/cognito/command/auth/sim-cognito-sign-out.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-sign-out.js +42 -0
- package/dist/service/cognito/command/auth/sim-cognito-sign-out.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-unsimulated-auth-options.d.ts +37 -0
- package/dist/service/cognito/command/auth/sim-cognito-unsimulated-auth-options.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-unsimulated-auth-options.js +54 -0
- package/dist/service/cognito/command/auth/sim-cognito-unsimulated-auth-options.js.map +1 -0
- package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.d.ts.map +1 -1
- package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.js +0 -1
- package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.js.map +1 -1
- package/dist/service/cognito/command/client/sim-cognito-user-pool-client-commands.d.ts.map +1 -1
- package/dist/service/cognito/command/client/sim-cognito-user-pool-client-commands.js +1 -0
- package/dist/service/cognito/command/client/sim-cognito-user-pool-client-commands.js.map +1 -1
- package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.d.ts +2 -1
- package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.d.ts.map +1 -1
- package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.js +3 -1
- package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.js.map +1 -1
- package/dist/service/cognito/command/client/user-pool-client.command.d.ts +1 -0
- package/dist/service/cognito/command/client/user-pool-client.command.d.ts.map +1 -1
- package/dist/service/cognito/command/group/group-membership.command.d.ts +70 -0
- package/dist/service/cognito/command/group/group-membership.command.d.ts.map +1 -0
- package/dist/service/cognito/command/group/group-membership.command.js +2 -0
- package/dist/service/cognito/command/group/group-membership.command.js.map +1 -0
- package/dist/service/cognito/command/group/group.command.d.ts +102 -0
- package/dist/service/cognito/command/group/group.command.d.ts.map +1 -0
- package/dist/service/cognito/command/group/group.command.js +2 -0
- package/dist/service/cognito/command/group/group.command.js.map +1 -0
- package/dist/service/cognito/command/group/sim-cognito-group-commands.d.ts +51 -0
- package/dist/service/cognito/command/group/sim-cognito-group-commands.d.ts.map +1 -0
- package/dist/service/cognito/command/group/sim-cognito-group-commands.js +67 -0
- package/dist/service/cognito/command/group/sim-cognito-group-commands.js.map +1 -0
- package/dist/service/cognito/command/group/sim-cognito-group-membership-commands.d.ts +46 -0
- package/dist/service/cognito/command/group/sim-cognito-group-membership-commands.d.ts.map +1 -0
- package/dist/service/cognito/command/group/sim-cognito-group-membership-commands.js +80 -0
- package/dist/service/cognito/command/group/sim-cognito-group-membership-commands.js.map +1 -0
- package/dist/service/cognito/command/group/sim-cognito-group-view.d.ts +18 -0
- package/dist/service/cognito/command/group/sim-cognito-group-view.d.ts.map +1 -0
- package/dist/service/cognito/command/group/sim-cognito-group-view.js +26 -0
- package/dist/service/cognito/command/group/sim-cognito-group-view.js.map +1 -0
- package/dist/service/cognito/command/group/sim-cognito-list-groups.d.ts +27 -0
- package/dist/service/cognito/command/group/sim-cognito-list-groups.d.ts.map +1 -0
- package/dist/service/cognito/command/group/sim-cognito-list-groups.js +38 -0
- package/dist/service/cognito/command/group/sim-cognito-list-groups.js.map +1 -0
- package/dist/service/cognito/command/sim-cognito-command.types.d.ts +5 -0
- package/dist/service/cognito/command/sim-cognito-command.types.d.ts.map +1 -1
- package/dist/service/cognito/command/sim-cognito-commands.d.ts +44 -0
- package/dist/service/cognito/command/sim-cognito-commands.d.ts.map +1 -0
- package/dist/service/cognito/command/sim-cognito-commands.js +72 -0
- package/dist/service/cognito/command/sim-cognito-commands.js.map +1 -0
- package/dist/service/cognito/command/sim-cognito-page.d.ts +12 -2
- package/dist/service/cognito/command/sim-cognito-page.d.ts.map +1 -1
- package/dist/service/cognito/command/sim-cognito-page.js +8 -8
- package/dist/service/cognito/command/sim-cognito-page.js.map +1 -1
- package/dist/service/cognito/command/sim-cognito-request-resolver.d.ts +86 -0
- package/dist/service/cognito/command/sim-cognito-request-resolver.d.ts.map +1 -0
- package/dist/service/cognito/command/sim-cognito-request-resolver.js +74 -0
- package/dist/service/cognito/command/sim-cognito-request-resolver.js.map +1 -0
- package/dist/service/cognito/command/user/list-users.command.d.ts +30 -0
- package/dist/service/cognito/command/user/list-users.command.d.ts.map +1 -0
- package/dist/service/cognito/command/user/list-users.command.js +2 -0
- package/dist/service/cognito/command/user/list-users.command.js.map +1 -0
- package/dist/service/cognito/command/user/sim-cognito-list-users.d.ts +30 -0
- package/dist/service/cognito/command/user/sim-cognito-list-users.d.ts.map +1 -0
- package/dist/service/cognito/command/user/sim-cognito-list-users.js +46 -0
- package/dist/service/cognito/command/user/sim-cognito-list-users.js.map +1 -0
- package/dist/service/cognito/command/user/sim-cognito-unsimulated-user-options.d.ts +35 -0
- package/dist/service/cognito/command/user/sim-cognito-unsimulated-user-options.d.ts.map +1 -0
- package/dist/service/cognito/command/user/sim-cognito-unsimulated-user-options.js +45 -0
- package/dist/service/cognito/command/user/sim-cognito-unsimulated-user-options.js.map +1 -0
- package/dist/service/cognito/command/user/sim-cognito-user-commands.d.ts +53 -0
- package/dist/service/cognito/command/user/sim-cognito-user-commands.d.ts.map +1 -0
- package/dist/service/cognito/command/user/sim-cognito-user-commands.js +72 -0
- package/dist/service/cognito/command/user/sim-cognito-user-commands.js.map +1 -0
- package/dist/service/cognito/command/user/sim-cognito-user-update-commands.d.ts +47 -0
- package/dist/service/cognito/command/user/sim-cognito-user-update-commands.d.ts.map +1 -0
- package/dist/service/cognito/command/user/sim-cognito-user-update-commands.js +63 -0
- package/dist/service/cognito/command/user/sim-cognito-user-update-commands.js.map +1 -0
- package/dist/service/cognito/command/user/sim-cognito-user-view.d.ts +21 -0
- package/dist/service/cognito/command/user/sim-cognito-user-view.d.ts.map +1 -0
- package/dist/service/cognito/command/user/sim-cognito-user-view.js +37 -0
- package/dist/service/cognito/command/user/sim-cognito-user-view.js.map +1 -0
- package/dist/service/cognito/command/user/user.command.d.ts +135 -0
- package/dist/service/cognito/command/user/user.command.d.ts.map +1 -0
- package/dist/service/cognito/command/user/user.command.js +2 -0
- package/dist/service/cognito/command/user/user.command.js.map +1 -0
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.d.ts +4 -3
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.d.ts.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.js +5 -4
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.js.map +1 -1
- package/dist/service/cognito/error/sim-cognito.error.d.ts +51 -0
- package/dist/service/cognito/error/sim-cognito.error.d.ts.map +1 -1
- package/dist/service/cognito/error/sim-cognito.error.js +61 -0
- package/dist/service/cognito/error/sim-cognito.error.js.map +1 -1
- package/dist/service/cognito/index.d.ts +16 -1
- package/dist/service/cognito/index.d.ts.map +1 -1
- package/dist/service/cognito/index.js +14 -1
- package/dist/service/cognito/index.js.map +1 -1
- package/dist/service/cognito/registry/sim-cognito-user-pool-registry.d.ts +31 -0
- package/dist/service/cognito/registry/sim-cognito-user-pool-registry.d.ts.map +1 -0
- package/dist/service/cognito/registry/sim-cognito-user-pool-registry.js +38 -0
- package/dist/service/cognito/registry/sim-cognito-user-pool-registry.js.map +1 -0
- package/dist/service/cognito/sdk/sim-cognito-sdk-auth-routes.d.ts +11 -0
- package/dist/service/cognito/sdk/sim-cognito-sdk-auth-routes.d.ts.map +1 -0
- package/dist/service/cognito/sdk/sim-cognito-sdk-auth-routes.js +37 -0
- package/dist/service/cognito/sdk/sim-cognito-sdk-auth-routes.js.map +1 -0
- package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.d.ts +5 -1
- package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.d.ts.map +1 -1
- package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.js +10 -33
- package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.js.map +1 -1
- package/dist/service/cognito/sdk/sim-cognito-sdk-directory-routes.d.ts +7 -0
- package/dist/service/cognito/sdk/sim-cognito-sdk-directory-routes.d.ts.map +1 -0
- package/dist/service/cognito/sdk/sim-cognito-sdk-directory-routes.js +77 -0
- package/dist/service/cognito/sdk/sim-cognito-sdk-directory-routes.js.map +1 -0
- package/dist/service/cognito/sdk/sim-cognito-sdk-pool-routes.d.ts +7 -0
- package/dist/service/cognito/sdk/sim-cognito-sdk-pool-routes.d.ts.map +1 -0
- package/dist/service/cognito/sdk/sim-cognito-sdk-pool-routes.js +41 -0
- package/dist/service/cognito/sdk/sim-cognito-sdk-pool-routes.js.map +1 -0
- package/dist/service/cognito/serve/sim-cognito-controller.d.ts +40 -0
- package/dist/service/cognito/serve/sim-cognito-controller.d.ts.map +1 -0
- package/dist/service/cognito/serve/sim-cognito-controller.js +91 -0
- package/dist/service/cognito/serve/sim-cognito-controller.js.map +1 -0
- package/dist/service/cognito/serve/sim-cognito-endpoint-response.d.ts +32 -0
- package/dist/service/cognito/serve/sim-cognito-endpoint-response.d.ts.map +1 -0
- package/dist/service/cognito/serve/sim-cognito-endpoint-response.js +51 -0
- package/dist/service/cognito/serve/sim-cognito-endpoint-response.js.map +1 -0
- package/dist/service/cognito/serve/sim-cognito-openid-configuration.d.ts +36 -0
- package/dist/service/cognito/serve/sim-cognito-openid-configuration.d.ts.map +1 -0
- package/dist/service/cognito/serve/sim-cognito-openid-configuration.js +36 -0
- package/dist/service/cognito/serve/sim-cognito-openid-configuration.js.map +1 -0
- package/dist/service/cognito/sim-cognito-authentication.d.ts +59 -0
- package/dist/service/cognito/sim-cognito-authentication.d.ts.map +1 -0
- package/dist/service/cognito/sim-cognito-authentication.js +68 -0
- package/dist/service/cognito/sim-cognito-authentication.js.map +1 -0
- package/dist/service/cognito/sim-cognito-identity-provider.d.ts +32 -11
- package/dist/service/cognito/sim-cognito-identity-provider.d.ts.map +1 -1
- package/dist/service/cognito/sim-cognito-identity-provider.js +57 -43
- package/dist/service/cognito/sim-cognito-identity-provider.js.map +1 -1
- package/dist/service/cognito/sim-cognito-user-directory.d.ts +91 -0
- package/dist/service/cognito/sim-cognito-user-directory.d.ts.map +1 -0
- package/dist/service/cognito/sim-cognito-user-directory.js +136 -0
- package/dist/service/cognito/sim-cognito-user-directory.js.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session-store.d.ts +45 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session-store.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session-store.js +60 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session-store.js.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.d.ts +31 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.js +45 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.js.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.d.ts +59 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.js +81 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token-store.js.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.d.ts +37 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.js +39 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-issued-token.js.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.d.ts +49 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.js +63 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.js.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-secret-hash.d.ts +17 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-secret-hash.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-secret-hash.js +34 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-secret-hash.js.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.d.ts +31 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.js +49 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.js.map +1 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-prevent-user-existence-errors.d.ts +24 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-prevent-user-existence-errors.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-prevent-user-existence-errors.js +46 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-prevent-user-existence-errors.js.map +1 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.d.ts +1 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.js +2 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.js.map +1 -1
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.d.ts +3 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.js +2 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.js.map +1 -1
- package/dist/service/cognito/user-pool/group/sim-cognito-group-factory.d.ts +26 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group-factory.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group-factory.js +22 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group-factory.js.map +1 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group-name.d.ts +10 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group-name.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group-name.js +15 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group-name.js.map +1 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group-settings.d.ts +33 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group-settings.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group-settings.js +68 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group-settings.js.map +1 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group-store.d.ts +45 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group-store.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group-store.js +77 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group-store.js.map +1 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group.d.ts +77 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group.js +90 -0
- package/dist/service/cognito/user-pool/group/sim-cognito-group.js.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-identifier.d.ts +26 -0
- package/dist/service/cognito/user-pool/sim-cognito-identifier.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-identifier.js +34 -0
- package/dist/service/cognito/user-pool/sim-cognito-identifier.js.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-password-check.d.ts +24 -0
- package/dist/service/cognito/user-pool/sim-cognito-password-check.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-password-check.js +73 -0
- package/dist/service/cognito/user-pool/sim-cognito-password-check.js.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.d.ts +50 -0
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.js +56 -2
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-store.js.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool.d.ts +98 -0
- package/dist/service/cognito/user-pool/sim-cognito-user-pool.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool.js +132 -0
- package/dist/service/cognito/user-pool/sim-cognito-user-pool.js.map +1 -1
- package/dist/service/cognito/user-pool/token/sim-cognito-access-token.d.ts +18 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-access-token.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-access-token.js +40 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-access-token.js.map +1 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-id-token.d.ts +26 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-id-token.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-id-token.js +42 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-id-token.js.map +1 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-signing-key.d.ts +64 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-signing-key.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-signing-key.js +91 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-signing-key.js.map +1 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-token-claims.d.ts +37 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-token-claims.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-token-claims.js +41 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-token-claims.js.map +1 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.d.ts +62 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.js +95 -0
- package/dist/service/cognito/user-pool/token/sim-cognito-token-issuer.js.map +1 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-attributes.d.ts +44 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-attributes.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-attributes.js +105 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-attributes.js.map +1 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-factory.d.ts +34 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-factory.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-factory.js +36 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-factory.js.map +1 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-password.d.ts +17 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-password.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-password.js +21 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-password.js.map +1 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-status.d.ts +39 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-status.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-status.js +47 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-status.js.map +1 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-store.d.ts +46 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-store.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-store.js +73 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user-store.js.map +1 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user.d.ts +98 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user.js +122 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-user.js.map +1 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-username.d.ts +10 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-username.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-username.js +12 -0
- package/dist/service/cognito/user-pool/user/sim-cognito-username.js.map +1 -0
- package/dist/service/iam/policy/sim-iam-policy-document.factory.d.ts +43 -0
- package/dist/service/iam/policy/sim-iam-policy-document.factory.d.ts.map +1 -0
- package/dist/service/iam/policy/sim-iam-policy-document.factory.js +46 -0
- package/dist/service/iam/policy/sim-iam-policy-document.factory.js.map +1 -0
- package/dist/service/iam/policy/sim-iam-policy.factory.d.ts +1 -1
- package/dist/service/iam/policy/sim-iam-policy.factory.d.ts.map +1 -1
- package/dist/service/iam/role/sim-iam-role.factory.d.ts +1 -1
- package/dist/service/iam/role/sim-iam-role.factory.d.ts.map +1 -1
- package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-creator.d.ts +26 -0
- package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-creator.d.ts.map +1 -0
- package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-creator.js +33 -0
- package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-creator.js.map +1 -0
- package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-properties.d.ts +28 -0
- package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-properties.d.ts.map +1 -0
- package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-properties.js +38 -0
- package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-properties.js.map +1 -0
- package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-property-rules.d.ts +17 -0
- package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-property-rules.d.ts.map +1 -0
- package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-property-rules.js +71 -0
- package/dist/service/lambda/cfn/event-source-mapping/sim-cfn-lambda-event-source-mapping-property-rules.js.map +1 -0
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-property-parser.d.ts +4 -0
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-property-parser.d.ts.map +1 -1
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-property-parser.js +12 -0
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-property-parser.js.map +1 -1
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-target-function.d.ts +5 -6
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-target-function.d.ts.map +1 -1
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-target-function.js +7 -13
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-target-function.js.map +1 -1
- package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.d.ts +1 -0
- package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.d.ts.map +1 -1
- package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.js +8 -0
- package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.js.map +1 -1
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-input.d.ts +25 -0
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-input.d.ts.map +1 -0
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-input.js +55 -0
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-input.js.map +1 -0
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-refusals.d.ts +6 -0
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-refusals.d.ts.map +1 -0
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-refusals.js +64 -0
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-refusals.js.map +1 -0
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-values.d.ts +17 -0
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-values.d.ts.map +1 -0
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-values.js +47 -0
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-values.js.map +1 -0
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping.handler.d.ts +53 -0
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping.handler.d.ts.map +1 -0
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping.handler.js +77 -0
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping.handler.js.map +1 -0
- package/dist/service/lambda/command/event-source-mapping/event-source-mapping-access.d.ts +41 -0
- package/dist/service/lambda/command/event-source-mapping/event-source-mapping-access.d.ts.map +1 -0
- package/dist/service/lambda/command/event-source-mapping/event-source-mapping-access.js +51 -0
- package/dist/service/lambda/command/event-source-mapping/event-source-mapping-access.js.map +1 -0
- package/dist/service/lambda/command/event-source-mapping/event-source-mapping.command.d.ts +91 -0
- package/dist/service/lambda/command/event-source-mapping/event-source-mapping.command.d.ts.map +1 -0
- package/dist/service/lambda/command/event-source-mapping/event-source-mapping.command.js +8 -0
- package/dist/service/lambda/command/event-source-mapping/event-source-mapping.command.js.map +1 -0
- package/dist/service/lambda/command/event-source-mapping/sim-lambda-event-source-mapping-commands.d.ts +60 -0
- package/dist/service/lambda/command/event-source-mapping/sim-lambda-event-source-mapping-commands.d.ts.map +1 -0
- package/dist/service/lambda/command/event-source-mapping/sim-lambda-event-source-mapping-commands.js +89 -0
- package/dist/service/lambda/command/event-source-mapping/sim-lambda-event-source-mapping-commands.js.map +1 -0
- package/dist/service/lambda/command/sim-lambda-command.types.d.ts +1 -0
- package/dist/service/lambda/command/sim-lambda-command.types.d.ts.map +1 -1
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-delivery.d.ts +27 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-delivery.d.ts.map +1 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-delivery.js +32 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-delivery.js.map +1 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poll-schedule.d.ts +40 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poll-schedule.d.ts.map +1 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poll-schedule.js +55 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poll-schedule.js.map +1 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poller.d.ts +85 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poller.d.ts.map +1 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poller.js +136 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poller.js.map +1 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-batch-response.d.ts +49 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-batch-response.d.ts.map +1 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-batch-response.js +97 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-batch-response.js.map +1 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-event.d.ts +56 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-event.d.ts.map +1 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-event.js +55 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-event.js.map +1 -0
- package/dist/service/lambda/event-source/queue/sim-lambda-event-source-queue-service.d.ts +49 -0
- package/dist/service/lambda/event-source/queue/sim-lambda-event-source-queue-service.d.ts.map +1 -0
- package/dist/service/lambda/event-source/queue/sim-lambda-event-source-queue-service.js +2 -0
- package/dist/service/lambda/event-source/queue/sim-lambda-event-source-queue-service.js.map +1 -0
- package/dist/service/lambda/event-source/queue/sim-lambda-event-source-queues.d.ts +118 -0
- package/dist/service/lambda/event-source/queue/sim-lambda-event-source-queues.d.ts.map +1 -0
- package/dist/service/lambda/event-source/queue/sim-lambda-event-source-queues.js +49 -0
- package/dist/service/lambda/event-source/queue/sim-lambda-event-source-queues.js.map +1 -0
- package/dist/service/lambda/event-source/queue/sim-lambda-sqs-event-source-arn.d.ts +32 -0
- package/dist/service/lambda/event-source/queue/sim-lambda-sqs-event-source-arn.d.ts.map +1 -0
- package/dist/service/lambda/event-source/queue/sim-lambda-sqs-event-source-arn.js +52 -0
- package/dist/service/lambda/event-source/queue/sim-lambda-sqs-event-source-arn.js.map +1 -0
- package/dist/service/lambda/event-source/queue/sim-sqs-event-source-queue-attributes.d.ts +29 -0
- package/dist/service/lambda/event-source/queue/sim-sqs-event-source-queue-attributes.d.ts.map +1 -0
- package/dist/service/lambda/event-source/queue/sim-sqs-event-source-queue-attributes.js +49 -0
- package/dist/service/lambda/event-source/queue/sim-sqs-event-source-queue-attributes.js.map +1 -0
- package/dist/service/lambda/event-source/queue/sim-sqs-event-source-queues.d.ts +57 -0
- package/dist/service/lambda/event-source/queue/sim-sqs-event-source-queues.d.ts.map +1 -0
- package/dist/service/lambda/event-source/queue/sim-sqs-event-source-queues.js +89 -0
- package/dist/service/lambda/event-source/queue/sim-sqs-event-source-queues.js.map +1 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-mapping-store.d.ts +46 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-mapping-store.d.ts.map +1 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-mapping-store.js +57 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-mapping-store.js.map +1 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.d.ts +101 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.d.ts.map +1 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.js +93 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.js.map +1 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-pollers.d.ts +37 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-pollers.d.ts.map +1 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-pollers.js +44 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-pollers.js.map +1 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-role-permissions.d.ts +23 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-role-permissions.d.ts.map +1 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-role-permissions.js +46 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-role-permissions.js.map +1 -0
- package/dist/service/lambda/function/code/sim-lambda-vm-zip-function.factory.d.ts +31 -0
- package/dist/service/lambda/function/code/sim-lambda-vm-zip-function.factory.d.ts.map +1 -0
- package/dist/service/lambda/function/code/sim-lambda-vm-zip-function.factory.js +45 -0
- package/dist/service/lambda/function/code/sim-lambda-vm-zip-function.factory.js.map +1 -0
- package/dist/service/lambda/function/environment/sim-lambda-environment.factory.d.ts +20 -0
- package/dist/service/lambda/function/environment/sim-lambda-environment.factory.d.ts.map +1 -0
- package/dist/service/lambda/function/environment/sim-lambda-environment.factory.js +17 -0
- package/dist/service/lambda/function/environment/sim-lambda-environment.factory.js.map +1 -0
- package/dist/service/lambda/function/sim-lambda-function-name.d.ts +10 -0
- package/dist/service/lambda/function/sim-lambda-function-name.d.ts.map +1 -0
- package/dist/service/lambda/function/sim-lambda-function-name.js +18 -0
- package/dist/service/lambda/function/sim-lambda-function-name.js.map +1 -0
- package/dist/service/lambda/function/url/sim-lambda-function-lookup.d.ts +4 -0
- package/dist/service/lambda/function/url/sim-lambda-function-lookup.d.ts.map +1 -1
- package/dist/service/lambda/function/url/sim-lambda-function-lookup.js +6 -0
- package/dist/service/lambda/function/url/sim-lambda-function-lookup.js.map +1 -1
- package/dist/service/lambda/function/url/sim-lambda-function-url.factory.d.ts +20 -0
- package/dist/service/lambda/function/url/sim-lambda-function-url.factory.d.ts.map +1 -0
- package/dist/service/lambda/function/url/sim-lambda-function-url.factory.js +23 -0
- package/dist/service/lambda/function/url/sim-lambda-function-url.factory.js.map +1 -0
- package/dist/service/lambda/index.d.ts +1 -0
- package/dist/service/lambda/index.d.ts.map +1 -1
- package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.d.ts.map +1 -1
- package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.js +16 -0
- package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.js.map +1 -1
- package/dist/service/lambda/sim-lambda-commands.d.ts +51 -0
- package/dist/service/lambda/sim-lambda-commands.d.ts.map +1 -0
- package/dist/service/lambda/sim-lambda-commands.js +84 -0
- package/dist/service/lambda/sim-lambda-commands.js.map +1 -0
- package/dist/service/lambda/sim-lambda.d.ts +35 -39
- package/dist/service/lambda/sim-lambda.d.ts.map +1 -1
- package/dist/service/lambda/sim-lambda.js +47 -65
- package/dist/service/lambda/sim-lambda.js.map +1 -1
- package/dist/service/route53/resolve/sim-r53-s3-service-target.d.ts +40 -0
- package/dist/service/route53/resolve/sim-r53-s3-service-target.d.ts.map +1 -0
- package/dist/service/route53/resolve/sim-r53-s3-service-target.js +85 -0
- package/dist/service/route53/resolve/sim-r53-s3-service-target.js.map +1 -0
- package/dist/service/route53/resolve/sim-r53-service-target-resolver.d.ts +14 -25
- package/dist/service/route53/resolve/sim-r53-service-target-resolver.d.ts.map +1 -1
- package/dist/service/route53/resolve/sim-r53-service-target-resolver.js +37 -72
- package/dist/service/route53/resolve/sim-r53-service-target-resolver.js.map +1 -1
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-creator.d.ts +25 -0
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-creator.d.ts.map +1 -0
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-creator.js +33 -0
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-creator.js.map +1 -0
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-name.d.ts +45 -0
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-name.d.ts.map +1 -0
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-name.js +67 -0
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-name.js.map +1 -0
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-properties.d.ts +44 -0
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-properties.d.ts.map +1 -0
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-properties.js +72 -0
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-properties.js.map +1 -0
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-property-rules.d.ts +47 -0
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-property-rules.d.ts.map +1 -0
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-property-rules.js +122 -0
- package/dist/service/sqs/cfn/queue/sim-cfn-sqs-queue-property-rules.js.map +1 -0
- package/dist/service/sqs/cfn/sim-sqs-cfn-resource-factory.d.ts +24 -0
- package/dist/service/sqs/cfn/sim-sqs-cfn-resource-factory.d.ts.map +1 -0
- package/dist/service/sqs/cfn/sim-sqs-cfn-resource-factory.js +29 -0
- package/dist/service/sqs/cfn/sim-sqs-cfn-resource-factory.js.map +1 -0
- package/dist/service/sqs/command/authorize/sim-sqs-authorizer.d.ts +41 -0
- package/dist/service/sqs/command/authorize/sim-sqs-authorizer.d.ts.map +1 -0
- package/dist/service/sqs/command/authorize/sim-sqs-authorizer.js +51 -0
- package/dist/service/sqs/command/authorize/sim-sqs-authorizer.js.map +1 -0
- package/dist/service/sqs/command/message/consume.command.d.ts +61 -0
- package/dist/service/sqs/command/message/consume.command.d.ts.map +1 -0
- package/dist/service/sqs/command/message/consume.command.js +2 -0
- package/dist/service/sqs/command/message/consume.command.js.map +1 -0
- package/dist/service/sqs/command/message/receive.command.d.ts +40 -0
- package/dist/service/sqs/command/message/receive.command.d.ts.map +1 -0
- package/dist/service/sqs/command/message/receive.command.js +2 -0
- package/dist/service/sqs/command/message/receive.command.js.map +1 -0
- package/dist/service/sqs/command/message/send.command.d.ts +80 -0
- package/dist/service/sqs/command/message/send.command.d.ts.map +1 -0
- package/dist/service/sqs/command/message/send.command.js +2 -0
- package/dist/service/sqs/command/message/send.command.js.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-batch-entries.d.ts +39 -0
- package/dist/service/sqs/command/message/sim-sqs-batch-entries.d.ts.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-batch-entries.js +67 -0
- package/dist/service/sqs/command/message/sim-sqs-batch-entries.js.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-change-message-visibility.d.ts +31 -0
- package/dist/service/sqs/command/message/sim-sqs-change-message-visibility.d.ts.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-change-message-visibility.js +51 -0
- package/dist/service/sqs/command/message/sim-sqs-change-message-visibility.js.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-delete-message-commands.d.ts +38 -0
- package/dist/service/sqs/command/message/sim-sqs-delete-message-commands.d.ts.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-delete-message-commands.js +58 -0
- package/dist/service/sqs/command/message/sim-sqs-delete-message-commands.js.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-message-handles.d.ts +28 -0
- package/dist/service/sqs/command/message/sim-sqs-message-handles.d.ts.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-message-handles.js +36 -0
- package/dist/service/sqs/command/message/sim-sqs-message-handles.js.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-receive-limits.d.ts +27 -0
- package/dist/service/sqs/command/message/sim-sqs-receive-limits.d.ts.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-receive-limits.js +70 -0
- package/dist/service/sqs/command/message/sim-sqs-receive-limits.js.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-receive-message.d.ts +32 -0
- package/dist/service/sqs/command/message/sim-sqs-receive-message.d.ts.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-receive-message.js +33 -0
- package/dist/service/sqs/command/message/sim-sqs-receive-message.js.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-receive-request.d.ts +33 -0
- package/dist/service/sqs/command/message/sim-sqs-receive-request.d.ts.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-receive-request.js +55 -0
- package/dist/service/sqs/command/message/sim-sqs-receive-request.js.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-received-message-view.d.ts +25 -0
- package/dist/service/sqs/command/message/sim-sqs-received-message-view.d.ts.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-received-message-view.js +38 -0
- package/dist/service/sqs/command/message/sim-sqs-received-message-view.js.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-send-message-commands.d.ts +32 -0
- package/dist/service/sqs/command/message/sim-sqs-send-message-commands.d.ts.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-send-message-commands.js +56 -0
- package/dist/service/sqs/command/message/sim-sqs-send-message-commands.js.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-sent-message.d.ts +18 -0
- package/dist/service/sqs/command/message/sim-sqs-sent-message.d.ts.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-sent-message.js +37 -0
- package/dist/service/sqs/command/message/sim-sqs-sent-message.js.map +1 -0
- package/dist/service/sqs/command/queue/queue.command.d.ts +114 -0
- package/dist/service/sqs/command/queue/queue.command.d.ts.map +1 -0
- package/dist/service/sqs/command/queue/queue.command.js +2 -0
- package/dist/service/sqs/command/queue/queue.command.js.map +1 -0
- package/dist/service/sqs/command/queue/sim-sqs-create-queue.d.ts +51 -0
- package/dist/service/sqs/command/queue/sim-sqs-create-queue.d.ts.map +1 -0
- package/dist/service/sqs/command/queue/sim-sqs-create-queue.js +70 -0
- package/dist/service/sqs/command/queue/sim-sqs-create-queue.js.map +1 -0
- package/dist/service/sqs/command/queue/sim-sqs-queue-access.d.ts +63 -0
- package/dist/service/sqs/command/queue/sim-sqs-queue-access.d.ts.map +1 -0
- package/dist/service/sqs/command/queue/sim-sqs-queue-access.js +98 -0
- package/dist/service/sqs/command/queue/sim-sqs-queue-access.js.map +1 -0
- package/dist/service/sqs/command/queue/sim-sqs-queue-attribute-commands.d.ts +45 -0
- package/dist/service/sqs/command/queue/sim-sqs-queue-attribute-commands.d.ts.map +1 -0
- package/dist/service/sqs/command/queue/sim-sqs-queue-attribute-commands.js +74 -0
- package/dist/service/sqs/command/queue/sim-sqs-queue-attribute-commands.js.map +1 -0
- package/dist/service/sqs/command/queue/sim-sqs-queue-commands.d.ts +47 -0
- package/dist/service/sqs/command/queue/sim-sqs-queue-commands.d.ts.map +1 -0
- package/dist/service/sqs/command/queue/sim-sqs-queue-commands.js +55 -0
- package/dist/service/sqs/command/queue/sim-sqs-queue-commands.js.map +1 -0
- package/dist/service/sqs/command/queue/sim-sqs-queue-page.d.ts +27 -0
- package/dist/service/sqs/command/queue/sim-sqs-queue-page.d.ts.map +1 -0
- package/dist/service/sqs/command/queue/sim-sqs-queue-page.js +54 -0
- package/dist/service/sqs/command/queue/sim-sqs-queue-page.js.map +1 -0
- package/dist/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.d.ts +18 -0
- package/dist/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.d.ts.map +1 -0
- package/dist/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.js +27 -0
- package/dist/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.js.map +1 -0
- package/dist/service/sqs/command/sim-sqs-command.types.d.ts +8 -0
- package/dist/service/sqs/command/sim-sqs-command.types.d.ts.map +1 -0
- package/dist/service/sqs/command/sim-sqs-command.types.js +2 -0
- package/dist/service/sqs/command/sim-sqs-command.types.js.map +1 -0
- package/dist/service/sqs/error/sim-sqs.error.d.ts +162 -0
- package/dist/service/sqs/error/sim-sqs.error.d.ts.map +1 -0
- package/dist/service/sqs/error/sim-sqs.error.js +191 -0
- package/dist/service/sqs/error/sim-sqs.error.js.map +1 -0
- package/dist/service/sqs/index.d.ts +14 -0
- package/dist/service/sqs/index.d.ts.map +1 -0
- package/dist/service/sqs/index.js +13 -0
- package/dist/service/sqs/index.js.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-attribute-payload.d.ts +56 -0
- package/dist/service/sqs/message/sim-sqs-message-attribute-payload.d.ts.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-attribute-payload.js +42 -0
- package/dist/service/sqs/message/sim-sqs-message-attribute-payload.js.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-attribute-rules.d.ts +23 -0
- package/dist/service/sqs/message/sim-sqs-message-attribute-rules.d.ts.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-attribute-rules.js +68 -0
- package/dist/service/sqs/message/sim-sqs-message-attribute-rules.js.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-attribute-value.d.ts +17 -0
- package/dist/service/sqs/message/sim-sqs-message-attribute-value.d.ts.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-attribute-value.js +2 -0
- package/dist/service/sqs/message/sim-sqs-message-attribute-value.js.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-attribute.d.ts +29 -0
- package/dist/service/sqs/message/sim-sqs-message-attribute.d.ts.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-attribute.js +56 -0
- package/dist/service/sqs/message/sim-sqs-message-attribute.js.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-attributes.d.ts +44 -0
- package/dist/service/sqs/message/sim-sqs-message-attributes.d.ts.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-attributes.js +93 -0
- package/dist/service/sqs/message/sim-sqs-message-attributes.js.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-body.d.ts +18 -0
- package/dist/service/sqs/message/sim-sqs-message-body.d.ts.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-body.js +66 -0
- package/dist/service/sqs/message/sim-sqs-message-body.js.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-store.d.ts +74 -0
- package/dist/service/sqs/message/sim-sqs-message-store.d.ts.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-store.js +99 -0
- package/dist/service/sqs/message/sim-sqs-message-store.js.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-system-attributes.d.ts +28 -0
- package/dist/service/sqs/message/sim-sqs-message-system-attributes.d.ts.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-system-attributes.js +75 -0
- package/dist/service/sqs/message/sim-sqs-message-system-attributes.js.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-visibility.d.ts +56 -0
- package/dist/service/sqs/message/sim-sqs-message-visibility.d.ts.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-visibility.js +79 -0
- package/dist/service/sqs/message/sim-sqs-message-visibility.js.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-writer.d.ts +41 -0
- package/dist/service/sqs/message/sim-sqs-message-writer.d.ts.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message-writer.js +56 -0
- package/dist/service/sqs/message/sim-sqs-message-writer.js.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message.d.ts +96 -0
- package/dist/service/sqs/message/sim-sqs-message.d.ts.map +1 -0
- package/dist/service/sqs/message/sim-sqs-message.js +136 -0
- package/dist/service/sqs/message/sim-sqs-message.js.map +1 -0
- package/dist/service/sqs/message/sim-sqs-receipt-handle.d.ts +10 -0
- package/dist/service/sqs/message/sim-sqs-receipt-handle.d.ts.map +1 -0
- package/dist/service/sqs/message/sim-sqs-receipt-handle.js +14 -0
- package/dist/service/sqs/message/sim-sqs-receipt-handle.js.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-dead-letter-targets.d.ts +51 -0
- package/dist/service/sqs/queue/sim-sqs-dead-letter-targets.d.ts.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-dead-letter-targets.js +62 -0
- package/dist/service/sqs/queue/sim-sqs-dead-letter-targets.js.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-deleted-queue-names.d.ts +20 -0
- package/dist/service/sqs/queue/sim-sqs-deleted-queue-names.d.ts.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-deleted-queue-names.js +42 -0
- package/dist/service/sqs/queue/sim-sqs-deleted-queue-names.js.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-activity.d.ts +65 -0
- package/dist/service/sqs/queue/sim-sqs-queue-activity.d.ts.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-activity.js +57 -0
- package/dist/service/sqs/queue/sim-sqs-queue-activity.js.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-arn.d.ts +41 -0
- package/dist/service/sqs/queue/sim-sqs-queue-arn.d.ts.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-arn.js +47 -0
- package/dist/service/sqs/queue/sim-sqs-queue-arn.js.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-attribute-names.d.ts +27 -0
- package/dist/service/sqs/queue/sim-sqs-queue-attribute-names.d.ts.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-attribute-names.js +83 -0
- package/dist/service/sqs/queue/sim-sqs-queue-attribute-names.js.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-attribute-numbers.d.ts +34 -0
- package/dist/service/sqs/queue/sim-sqs-queue-attribute-numbers.d.ts.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-attribute-numbers.js +93 -0
- package/dist/service/sqs/queue/sim-sqs-queue-attribute-numbers.js.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-attribute-specs.d.ts +20 -0
- package/dist/service/sqs/queue/sim-sqs-queue-attribute-specs.d.ts.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-attribute-specs.js +37 -0
- package/dist/service/sqs/queue/sim-sqs-queue-attribute-specs.js.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-attributes.d.ts +60 -0
- package/dist/service/sqs/queue/sim-sqs-queue-attributes.d.ts.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-attributes.js +96 -0
- package/dist/service/sqs/queue/sim-sqs-queue-attributes.js.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-name.d.ts +21 -0
- package/dist/service/sqs/queue/sim-sqs-queue-name.d.ts.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-name.js +47 -0
- package/dist/service/sqs/queue/sim-sqs-queue-name.js.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-report.d.ts +22 -0
- package/dist/service/sqs/queue/sim-sqs-queue-report.d.ts.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-report.js +29 -0
- package/dist/service/sqs/queue/sim-sqs-queue-report.js.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-store.d.ts +60 -0
- package/dist/service/sqs/queue/sim-sqs-queue-store.d.ts.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-store.js +87 -0
- package/dist/service/sqs/queue/sim-sqs-queue-store.js.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-url.d.ts +24 -0
- package/dist/service/sqs/queue/sim-sqs-queue-url.d.ts.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-url.js +36 -0
- package/dist/service/sqs/queue/sim-sqs-queue-url.js.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue.d.ts +130 -0
- package/dist/service/sqs/queue/sim-sqs-queue.d.ts.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue.js +188 -0
- package/dist/service/sqs/queue/sim-sqs-queue.js.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-redrive-policy.d.ts +30 -0
- package/dist/service/sqs/queue/sim-sqs-redrive-policy.d.ts.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-redrive-policy.js +118 -0
- package/dist/service/sqs/queue/sim-sqs-redrive-policy.js.map +1 -0
- package/dist/service/sqs/sdk/sim-sqs-sdk-command-router.d.ts +18 -0
- package/dist/service/sqs/sdk/sim-sqs-sdk-command-router.d.ts.map +1 -0
- package/dist/service/sqs/sdk/sim-sqs-sdk-command-router.js +76 -0
- package/dist/service/sqs/sdk/sim-sqs-sdk-command-router.js.map +1 -0
- package/dist/service/sqs/sim-sqs.d.ts +119 -0
- package/dist/service/sqs/sim-sqs.d.ts.map +1 -0
- package/dist/service/sqs/sim-sqs.js +213 -0
- package/dist/service/sqs/sim-sqs.js.map +1 -0
- package/package.json +8 -2
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { SimSqsRequestedSystemAttributes } from "../../message/sim-sqs-message-system-attributes.js";
|
|
2
|
+
import { makeSimSqsReceiptHandle } from "../../message/sim-sqs-receipt-handle.js";
|
|
3
|
+
import { assertWaitTime, refuseUnsimulatedReceiveInput, requestedMessageCount, visibilityTimeoutFor, } from "./sim-sqs-receive-limits.js";
|
|
4
|
+
import { SimSqsReceivedMessageView } from "./sim-sqs-received-message-view.js";
|
|
5
|
+
/**
|
|
6
|
+
* One checked receive request.
|
|
7
|
+
*
|
|
8
|
+
* Everything a receive decides before it hands anything out lives here: how many
|
|
9
|
+
* messages it may take, how long they stay hidden, and how they are reported. The
|
|
10
|
+
* whole request is checked before the first message is touched, so an invalid
|
|
11
|
+
* request never half-receives one.
|
|
12
|
+
*/
|
|
13
|
+
export class SimSqsReceiveRequest {
|
|
14
|
+
messageCount;
|
|
15
|
+
visibilityTimeoutSeconds;
|
|
16
|
+
view;
|
|
17
|
+
constructor(input, queue) {
|
|
18
|
+
this.messageCount = requestedMessageCount(input.MaxNumberOfMessages);
|
|
19
|
+
this.visibilityTimeoutSeconds = visibilityTimeoutFor(queue, input);
|
|
20
|
+
this.view = new SimSqsReceivedMessageView({
|
|
21
|
+
systemAttributes: SimSqsRequestedSystemAttributes.of(input.MessageSystemAttributeNames, input.AttributeNames),
|
|
22
|
+
messageAttributeNames: input.MessageAttributeNames,
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Read a receive request, refusing one real SQS would refuse.
|
|
27
|
+
*/
|
|
28
|
+
static of(input, queue) {
|
|
29
|
+
refuseUnsimulatedReceiveInput(input);
|
|
30
|
+
assertWaitTime(input.WaitTimeSeconds);
|
|
31
|
+
return new this(input, queue);
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Take the messages this request found, or nothing at all.
|
|
35
|
+
*
|
|
36
|
+
* Real SQS sends no `Messages` field rather than an empty list when there is
|
|
37
|
+
* nothing to hand out, so an empty receive is reported as absence.
|
|
38
|
+
*/
|
|
39
|
+
taken(queue, found, receivedAt) {
|
|
40
|
+
if (found.length === 0) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
return found.map((message) => this.take(queue, message, receivedAt));
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Take one message: hide it, record the handle it went out under, and report it.
|
|
47
|
+
*/
|
|
48
|
+
take(queue, message, receivedAt) {
|
|
49
|
+
const receiptHandle = makeSimSqsReceiptHandle();
|
|
50
|
+
message.receiveAt(receivedAt, this.visibilityTimeoutSeconds, receiptHandle);
|
|
51
|
+
queue.recordHandle(receiptHandle, message);
|
|
52
|
+
return this.view.of(message, receiptHandle);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=sim-sqs-receive-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-sqs-receive-request.js","sourceRoot":"","sources":["../../../../../src/service/sqs/command/message/sim-sqs-receive-request.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,+BAA+B,EAAE,MAAM,oDAAoD,CAAC;AACrG,OAAO,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AAMlF,OAAO,EACL,cAAc,EACd,6BAA6B,EAC7B,qBAAqB,EACrB,oBAAoB,GACrB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAE/E;;;;;;;GAOG;AACH,MAAM,OAAO,oBAAoB;IACf,YAAY,CAAS;IAEpB,wBAAwB,CAAS;IACjC,IAAI,CAA4B;IAEjD,YACE,KAAoC,EACpC,KAAkB;QAElB,IAAI,CAAC,YAAY,GAAG,qBAAqB,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;QACrE,IAAI,CAAC,wBAAwB,GAAG,oBAAoB,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;QACnE,IAAI,CAAC,IAAI,GAAG,IAAI,yBAAyB,CAAC;YACxC,gBAAgB,EAAE,+BAA+B,CAAC,EAAE,CAClD,KAAK,CAAC,2BAA2B,EACjC,KAAK,CAAC,cAAc,CACrB;YACD,qBAAqB,EAAE,KAAK,CAAC,qBAAqB;SACnD,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAE,CACP,KAAoC,EACpC,KAAkB;QAElB,6BAA6B,CAAC,KAAK,CAAC,CAAC;QACrC,cAAc,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;QAEtC,OAAO,IAAI,IAAI,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IAChC,CAAC;IAED;;;;;OAKG;IACH,KAAK,CACH,KAAkB,EAClB,KAA+B,EAC/B,UAAgB;QAEhB,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACvB,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC;IACvE,CAAC;IAED;;OAEG;IACK,IAAI,CACV,KAAkB,EAClB,OAAsB,EACtB,UAAgB;QAEhB,MAAM,aAAa,GAAG,uBAAuB,EAAE,CAAC;QAEhD,OAAO,CAAC,SAAS,CAAC,UAAU,EAAE,IAAI,CAAC,wBAAwB,EAAE,aAAa,CAAC,CAAC;QAC5E,KAAK,CAAC,YAAY,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;QAE3C,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;IAC9C,CAAC;CACF"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { SimSqsMessage } from "../../message/sim-sqs-message.js";
|
|
2
|
+
import type { SimSqsRequestedSystemAttributes } from "../../message/sim-sqs-message-system-attributes.js";
|
|
3
|
+
import type { SimSqsReceivedMessage } from "./receive.command.js";
|
|
4
|
+
interface SimSqsReceivedMessageViewProperties {
|
|
5
|
+
readonly systemAttributes: SimSqsRequestedSystemAttributes;
|
|
6
|
+
readonly messageAttributeNames: readonly string[] | undefined;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* How one receive request reports the messages it takes.
|
|
10
|
+
*
|
|
11
|
+
* Both attribute kinds are reported only when the request named them, which is
|
|
12
|
+
* what real SQS does. A consumer that never named an attribute gets a message
|
|
13
|
+
* without it here, rather than one that would lose the attribute on AWS.
|
|
14
|
+
*/
|
|
15
|
+
export declare class SimSqsReceivedMessageView {
|
|
16
|
+
private readonly systemAttributes;
|
|
17
|
+
private readonly messageAttributeNames;
|
|
18
|
+
constructor(properties: SimSqsReceivedMessageViewProperties);
|
|
19
|
+
/**
|
|
20
|
+
* One received message as SQS reports it.
|
|
21
|
+
*/
|
|
22
|
+
of(message: SimSqsMessage, receiptHandle: string): SimSqsReceivedMessage;
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=sim-sqs-received-message-view.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-sqs-received-message-view.d.ts","sourceRoot":"","sources":["../../../../../src/service/sqs/command/message/sim-sqs-received-message-view.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEtE,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,oDAAoD,CAAC;AAC1G,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAElE,UAAU,mCAAmC;IAC3C,QAAQ,CAAC,gBAAgB,EAAE,+BAA+B,CAAC;IAC3D,QAAQ,CAAC,qBAAqB,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;CAC/D;AAED;;;;;;GAMG;AACH,qBAAa,yBAAyB;IACpC,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAkC;IACnE,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAgC;IAEtE,YAAY,UAAU,EAAE,mCAAmC,EAG1D;IAED;;OAEG;IACH,EAAE,CAAC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,GAAG,qBAAqB,CAWvE;CACF"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How one receive request reports the messages it takes.
|
|
3
|
+
*
|
|
4
|
+
* Both attribute kinds are reported only when the request named them, which is
|
|
5
|
+
* what real SQS does. A consumer that never named an attribute gets a message
|
|
6
|
+
* without it here, rather than one that would lose the attribute on AWS.
|
|
7
|
+
*/
|
|
8
|
+
export class SimSqsReceivedMessageView {
|
|
9
|
+
systemAttributes;
|
|
10
|
+
messageAttributeNames;
|
|
11
|
+
constructor(properties) {
|
|
12
|
+
this.systemAttributes = properties.systemAttributes;
|
|
13
|
+
this.messageAttributeNames = properties.messageAttributeNames;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* One received message as SQS reports it.
|
|
17
|
+
*/
|
|
18
|
+
of(message, receiptHandle) {
|
|
19
|
+
return {
|
|
20
|
+
MessageId: message.messageId,
|
|
21
|
+
ReceiptHandle: receiptHandle,
|
|
22
|
+
MD5OfBody: message.body.digest,
|
|
23
|
+
Body: message.body.value,
|
|
24
|
+
Attributes: this.systemAttributes.from(message.systemAttributeValues()),
|
|
25
|
+
...reportedMessageAttributes(message.attributes.selected(this.messageAttributeNames)),
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
function reportedMessageAttributes(selected) {
|
|
30
|
+
if (selected.isEmpty) {
|
|
31
|
+
return {};
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
MessageAttributes: selected.reported(),
|
|
35
|
+
MD5OfMessageAttributes: selected.digest(),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=sim-sqs-received-message-view.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-sqs-received-message-view.js","sourceRoot":"","sources":["../../../../../src/service/sqs/command/message/sim-sqs-received-message-view.ts"],"names":[],"mappings":"AAUA;;;;;;GAMG;AACH,MAAM,OAAO,yBAAyB;IACnB,gBAAgB,CAAkC;IAClD,qBAAqB,CAAgC;IAEtE,YAAY,UAA+C;QACzD,IAAI,CAAC,gBAAgB,GAAG,UAAU,CAAC,gBAAgB,CAAC;QACpD,IAAI,CAAC,qBAAqB,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAChE,CAAC;IAED;;OAEG;IACH,EAAE,CAAC,OAAsB,EAAE,aAAqB;QAC9C,OAAO;YACL,SAAS,EAAE,OAAO,CAAC,SAAS;YAC5B,aAAa,EAAE,aAAa;YAC5B,SAAS,EAAE,OAAO,CAAC,IAAI,CAAC,MAAM;YAC9B,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,KAAK;YACxB,UAAU,EAAE,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,OAAO,CAAC,qBAAqB,EAAE,CAAC;YACvE,GAAG,yBAAyB,CAC1B,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,qBAAqB,CAAC,CACxD;SACF,CAAC;IACJ,CAAC;CACF;AAED,SAAS,yBAAyB,CAChC,QAAiC;IAEjC,IAAI,QAAQ,CAAC,OAAO,EAAE,CAAC;QACrB,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,OAAO;QACL,iBAAiB,EAAE,QAAQ,CAAC,QAAQ,EAAE;QACtC,sBAAsB,EAAE,QAAQ,CAAC,MAAM,EAAE;KAC1C,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { SimAwsCaller } from "../../../aws/caller/sim-aws-caller.js";
|
|
2
|
+
import type { SimSqsMessageWriter } from "../../message/sim-sqs-message-writer.js";
|
|
3
|
+
import type { SimSqsQueueAccess } from "../queue/sim-sqs-queue-access.js";
|
|
4
|
+
import type { SimSendMessageBatchCommand, SimSendMessageBatchCommandOutput, SimSendMessageCommand, SimSendMessageCommandOutput } from "./send.command.js";
|
|
5
|
+
interface SimSqsSendMessageCommandsProperties {
|
|
6
|
+
readonly access: SimSqsQueueAccess;
|
|
7
|
+
readonly writer: SimSqsMessageWriter;
|
|
8
|
+
}
|
|
9
|
+
interface SimSqsSendMessageCommandsOptions {
|
|
10
|
+
readonly caller?: SimAwsCaller;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* The commands that put messages on a queue.
|
|
14
|
+
*/
|
|
15
|
+
export declare class SimSqsSendMessageCommands {
|
|
16
|
+
private readonly access;
|
|
17
|
+
private readonly writer;
|
|
18
|
+
constructor(properties: SimSqsSendMessageCommandsProperties);
|
|
19
|
+
/**
|
|
20
|
+
* Send one message.
|
|
21
|
+
*/
|
|
22
|
+
send(command: SimSendMessageCommand, options?: SimSqsSendMessageCommandsOptions): SimSendMessageCommandOutput;
|
|
23
|
+
/**
|
|
24
|
+
* Send up to ten messages at once.
|
|
25
|
+
*
|
|
26
|
+
* A message one entry cannot send is reported in `Failed` while the rest of the
|
|
27
|
+
* batch goes through, as real SQS reports it.
|
|
28
|
+
*/
|
|
29
|
+
sendBatch(command: SimSendMessageBatchCommand, options?: SimSqsSendMessageCommandsOptions): SimSendMessageBatchCommandOutput;
|
|
30
|
+
}
|
|
31
|
+
export {};
|
|
32
|
+
//# sourceMappingURL=sim-sqs-send-message-commands.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-sqs-send-message-commands.d.ts","sourceRoot":"","sources":["../../../../../src/service/sqs/command/message/sim-sqs-send-message-commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAM1E,OAAO,KAAK,EACV,0BAA0B,EAC1B,gCAAgC,EAChC,qBAAqB,EACrB,2BAA2B,EAE5B,MAAM,mBAAmB,CAAC;AAQ3B,UAAU,mCAAmC;IAC3C,QAAQ,CAAC,MAAM,EAAE,iBAAiB,CAAC;IACnC,QAAQ,CAAC,MAAM,EAAE,mBAAmB,CAAC;CACtC;AAED,UAAU,gCAAgC;IACxC,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC;AAED;;GAEG;AACH,qBAAa,yBAAyB;IACpC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoB;IAC3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAsB;IAE7C,YAAY,UAAU,EAAE,mCAAmC,EAG1D;IAED;;OAEG;IACH,IAAI,CACF,OAAO,EAAE,qBAAqB,EAC9B,OAAO,CAAC,EAAE,gCAAgC,GACzC,2BAA2B,CAc7B;IAED;;;;;OAKG;IACH,SAAS,CACP,OAAO,EAAE,0BAA0B,EACnC,OAAO,CAAC,EAAE,gCAAgC,GACzC,gCAAgC,CA2BlC;CACF"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { requireBatchEntries, runBatch } from "./sim-sqs-batch-entries.js";
|
|
2
|
+
import { sentMessageAttributesDigest, sentMessageWrite, } from "./sim-sqs-sent-message.js";
|
|
3
|
+
/**
|
|
4
|
+
* Real SQS authorizes a batch send as `sqs:SendMessage`. There is no
|
|
5
|
+
* `sqs:SendMessageBatch` action, so a policy naming one grants nothing.
|
|
6
|
+
*/
|
|
7
|
+
const messageSendAction = "sqs:SendMessage";
|
|
8
|
+
/**
|
|
9
|
+
* The commands that put messages on a queue.
|
|
10
|
+
*/
|
|
11
|
+
export class SimSqsSendMessageCommands {
|
|
12
|
+
access;
|
|
13
|
+
writer;
|
|
14
|
+
constructor(properties) {
|
|
15
|
+
this.access = properties.access;
|
|
16
|
+
this.writer = properties.writer;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Send one message.
|
|
20
|
+
*/
|
|
21
|
+
send(command, options) {
|
|
22
|
+
const queue = this.access.requireByUrl(messageSendAction, command.input.QueueUrl, options?.caller);
|
|
23
|
+
const message = this.writer.write(queue, sentMessageWrite(command.input));
|
|
24
|
+
return {
|
|
25
|
+
$metadata: {},
|
|
26
|
+
MessageId: message.messageId,
|
|
27
|
+
MD5OfMessageBody: message.body.digest,
|
|
28
|
+
MD5OfMessageAttributes: sentMessageAttributesDigest(message),
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Send up to ten messages at once.
|
|
33
|
+
*
|
|
34
|
+
* A message one entry cannot send is reported in `Failed` while the rest of the
|
|
35
|
+
* batch goes through, as real SQS reports it.
|
|
36
|
+
*/
|
|
37
|
+
sendBatch(command, options) {
|
|
38
|
+
const queue = this.access.requireByUrl(messageSendAction, command.input.QueueUrl, options?.caller);
|
|
39
|
+
const entries = requireBatchEntries(command.input.Entries, "SendMessage");
|
|
40
|
+
const outcome = runBatch(entries, (entry, id) => {
|
|
41
|
+
const message = this.writer.write(queue, sentMessageWrite(entry));
|
|
42
|
+
return {
|
|
43
|
+
Id: id,
|
|
44
|
+
MessageId: message.messageId,
|
|
45
|
+
MD5OfMessageBody: message.body.digest,
|
|
46
|
+
MD5OfMessageAttributes: sentMessageAttributesDigest(message),
|
|
47
|
+
};
|
|
48
|
+
});
|
|
49
|
+
return {
|
|
50
|
+
$metadata: {},
|
|
51
|
+
Successful: outcome.successful,
|
|
52
|
+
Failed: outcome.failed,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=sim-sqs-send-message-commands.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-sqs-send-message-commands.js","sourceRoot":"","sources":["../../../../../src/service/sqs/command/message/sim-sqs-send-message-commands.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAC3E,OAAO,EACL,2BAA2B,EAC3B,gBAAgB,GACjB,MAAM,2BAA2B,CAAC;AASnC;;;GAGG;AACH,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;AAW5C;;GAEG;AACH,MAAM,OAAO,yBAAyB;IACnB,MAAM,CAAoB;IAC1B,MAAM,CAAsB;IAE7C,YAAY,UAA+C;QACzD,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;QAChC,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAClC,CAAC;IAED;;OAEG;IACH,IAAI,CACF,OAA8B,EAC9B,OAA0C;QAE1C,MAAM,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,YAAY,CACpC,iBAAiB,EACjB,OAAO,CAAC,KAAK,CAAC,QAAQ,EACtB,OAAO,EAAE,MAAM,CAChB,CAAC;QACF,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,EAAE,gBAAgB,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC;QAE1E,OAAO;YACL,SAAS,EAAE,EAAE;YACb,SAAS,EAAE,OAAO,CAAC,SAAS;YAC5B,gBAAgB,EAAE,OAAO,CAAC,IAAI,CAAC,MAAM;YACrC,sBAAsB,EAAE,2BAA2B,CAAC,OAAO,CAAC;SAC7D,CAAC;IACJ,CAAC;IAED;;;;;OAKG;IACH,SAAS,CACP,OAAmC,EACnC,OAA0C;QAE1C,MAAM,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,YAAY,CACpC,iBAAiB,EACjB,OAAO,CAAC,KAAK,CAAC,QAAQ,EACtB,OAAO,EAAE,MAAM,CAChB,CAAC;QACF,MAAM,OAAO,GAAG,mBAAmB,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;QAE1E,MAAM,OAAO,GAAG,QAAQ,CACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,EAAqC,EAAE;YAC/C,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,EAAE,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAC;YAElE,OAAO;gBACL,EAAE,EAAE,EAAE;gBACN,SAAS,EAAE,OAAO,CAAC,SAAS;gBAC5B,gBAAgB,EAAE,OAAO,CAAC,IAAI,CAAC,MAAM;gBACrC,sBAAsB,EAAE,2BAA2B,CAAC,OAAO,CAAC;aAC7D,CAAC;QACJ,CAAC,CACF,CAAC;QAEF,OAAO;YACL,SAAS,EAAE,EAAE;YACb,UAAU,EAAE,OAAO,CAAC,UAAU;YAC9B,MAAM,EAAE,OAAO,CAAC,MAAM;SACvB,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { SimSqsMessage } from "../../message/sim-sqs-message.js";
|
|
2
|
+
import type { SimSqsMessageWrite } from "../../message/sim-sqs-message-writer.js";
|
|
3
|
+
import type { SimSqsSentMessage } from "./send.command.js";
|
|
4
|
+
/**
|
|
5
|
+
* Read the message a send request describes, refusing the fields this simulation
|
|
6
|
+
* does not model.
|
|
7
|
+
*
|
|
8
|
+
* The FIFO fields are refused because there are no FIFO queues here to give them
|
|
9
|
+
* meaning, and a message accepted with a `MessageGroupId` that ordered nothing
|
|
10
|
+
* would be a message a test believed was ordered.
|
|
11
|
+
*/
|
|
12
|
+
export declare function sentMessageWrite(sent: SimSqsSentMessage): SimSqsMessageWrite;
|
|
13
|
+
/**
|
|
14
|
+
* The digest of a message's attributes, which SQS reports only when there are
|
|
15
|
+
* some.
|
|
16
|
+
*/
|
|
17
|
+
export declare function sentMessageAttributesDigest(message: SimSqsMessage): string | undefined;
|
|
18
|
+
//# sourceMappingURL=sim-sqs-sent-message.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-sqs-sent-message.d.ts","sourceRoot":"","sources":["../../../../../src/service/sqs/command/message/sim-sqs-sent-message.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEtE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAClF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE3D;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,iBAAiB,GAAG,kBAAkB,CAuB5E;AAED;;;GAGG;AACH,wBAAgB,2BAA2B,CACzC,OAAO,EAAE,aAAa,GACrB,MAAM,GAAG,SAAS,CAMpB"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { SimSqsUnsupportedOperation } from "../../error/sim-sqs.error.js";
|
|
2
|
+
import { SimSqsMessageAttributes } from "../../message/sim-sqs-message-attributes.js";
|
|
3
|
+
/**
|
|
4
|
+
* Read the message a send request describes, refusing the fields this simulation
|
|
5
|
+
* does not model.
|
|
6
|
+
*
|
|
7
|
+
* The FIFO fields are refused because there are no FIFO queues here to give them
|
|
8
|
+
* meaning, and a message accepted with a `MessageGroupId` that ordered nothing
|
|
9
|
+
* would be a message a test believed was ordered.
|
|
10
|
+
*/
|
|
11
|
+
export function sentMessageWrite(sent) {
|
|
12
|
+
if (sent.MessageDeduplicationId !== undefined ||
|
|
13
|
+
sent.MessageGroupId !== undefined) {
|
|
14
|
+
throw new SimSqsUnsupportedOperation("MessageDeduplicationId and MessageGroupId apply to FIFO queues, which " +
|
|
15
|
+
"simulated SQS does not support");
|
|
16
|
+
}
|
|
17
|
+
if (sent.MessageSystemAttributes !== undefined) {
|
|
18
|
+
throw new SimSqsUnsupportedOperation("MessageSystemAttributes carry the X-Ray trace header, which simulated " +
|
|
19
|
+
"SQS does not model");
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
body: sent.MessageBody,
|
|
23
|
+
attributes: SimSqsMessageAttributes.of(sent.MessageAttributes),
|
|
24
|
+
delaySeconds: sent.DelaySeconds,
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* The digest of a message's attributes, which SQS reports only when there are
|
|
29
|
+
* some.
|
|
30
|
+
*/
|
|
31
|
+
export function sentMessageAttributesDigest(message) {
|
|
32
|
+
if (message.attributes.isEmpty) {
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
return message.attributes.digest();
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=sim-sqs-sent-message.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-sqs-sent-message.js","sourceRoot":"","sources":["../../../../../src/service/sqs/command/message/sim-sqs-sent-message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAE1E,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AAItF;;;;;;;GAOG;AACH,MAAM,UAAU,gBAAgB,CAAC,IAAuB;IACtD,IACE,IAAI,CAAC,sBAAsB,KAAK,SAAS;QACzC,IAAI,CAAC,cAAc,KAAK,SAAS,EACjC,CAAC;QACD,MAAM,IAAI,0BAA0B,CAClC,wEAAwE;YACtE,gCAAgC,CACnC,CAAC;IACJ,CAAC;IAED,IAAI,IAAI,CAAC,uBAAuB,KAAK,SAAS,EAAE,CAAC;QAC/C,MAAM,IAAI,0BAA0B,CAClC,wEAAwE;YACtE,oBAAoB,CACvB,CAAC;IACJ,CAAC;IAED,OAAO;QACL,IAAI,EAAE,IAAI,CAAC,WAAW;QACtB,UAAU,EAAE,uBAAuB,CAAC,EAAE,CAAC,IAAI,CAAC,iBAAiB,CAAC;QAC9D,YAAY,EAAE,IAAI,CAAC,YAAY;KAChC,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,2BAA2B,CACzC,OAAsB;IAEtB,IAAI,OAAO,CAAC,UAAU,CAAC,OAAO,EAAE,CAAC;QAC/B,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO,OAAO,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC;AACrC,CAAC"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import type { SimResponseMetadata } from "../../../aws/metadata/response-metadata.type.js";
|
|
2
|
+
import type { SimSqsQueueAttributeInput } from "../../queue/sim-sqs-queue-attributes.js";
|
|
3
|
+
/**
|
|
4
|
+
* Minimal structural sim SQS CreateQueue command.
|
|
5
|
+
*
|
|
6
|
+
* https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sqs/command/CreateQueueCommand/
|
|
7
|
+
*/
|
|
8
|
+
export interface SimCreateQueueCommand {
|
|
9
|
+
readonly input: SimCreateQueueCommandInput;
|
|
10
|
+
}
|
|
11
|
+
export interface SimCreateQueueCommandInput {
|
|
12
|
+
readonly QueueName?: string | undefined;
|
|
13
|
+
readonly Attributes?: SimSqsQueueAttributeInput | undefined;
|
|
14
|
+
/** The SQS API names this parameter in lower case, unlike every other one. */
|
|
15
|
+
readonly tags?: Readonly<Record<string, string>> | undefined;
|
|
16
|
+
}
|
|
17
|
+
export interface SimCreateQueueCommandOutput {
|
|
18
|
+
readonly QueueUrl?: string | undefined;
|
|
19
|
+
readonly $metadata: SimResponseMetadata;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Minimal structural sim SQS GetQueueUrl command.
|
|
23
|
+
*
|
|
24
|
+
* https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sqs/command/GetQueueUrlCommand/
|
|
25
|
+
*/
|
|
26
|
+
export interface SimGetQueueUrlCommand {
|
|
27
|
+
readonly input: SimGetQueueUrlCommandInput;
|
|
28
|
+
}
|
|
29
|
+
export interface SimGetQueueUrlCommandInput {
|
|
30
|
+
readonly QueueName?: string | undefined;
|
|
31
|
+
readonly QueueOwnerAWSAccountId?: string | undefined;
|
|
32
|
+
}
|
|
33
|
+
export interface SimGetQueueUrlCommandOutput {
|
|
34
|
+
readonly QueueUrl?: string | undefined;
|
|
35
|
+
readonly $metadata: SimResponseMetadata;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Minimal structural sim SQS ListQueues command.
|
|
39
|
+
*
|
|
40
|
+
* https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sqs/command/ListQueuesCommand/
|
|
41
|
+
*/
|
|
42
|
+
export interface SimListQueuesCommand {
|
|
43
|
+
readonly input: SimListQueuesCommandInput;
|
|
44
|
+
}
|
|
45
|
+
export interface SimListQueuesCommandInput {
|
|
46
|
+
readonly QueueNamePrefix?: string | undefined;
|
|
47
|
+
readonly MaxResults?: number | undefined;
|
|
48
|
+
readonly NextToken?: string | undefined;
|
|
49
|
+
}
|
|
50
|
+
export interface SimListQueuesCommandOutput {
|
|
51
|
+
readonly QueueUrls?: readonly string[] | undefined;
|
|
52
|
+
readonly NextToken?: string | undefined;
|
|
53
|
+
readonly $metadata: SimResponseMetadata;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Minimal structural sim SQS DeleteQueue command.
|
|
57
|
+
*
|
|
58
|
+
* https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sqs/command/DeleteQueueCommand/
|
|
59
|
+
*/
|
|
60
|
+
export interface SimDeleteQueueCommand {
|
|
61
|
+
readonly input: SimDeleteQueueCommandInput;
|
|
62
|
+
}
|
|
63
|
+
export interface SimDeleteQueueCommandInput {
|
|
64
|
+
readonly QueueUrl?: string | undefined;
|
|
65
|
+
}
|
|
66
|
+
export interface SimDeleteQueueCommandOutput {
|
|
67
|
+
readonly $metadata: SimResponseMetadata;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Minimal structural sim SQS GetQueueAttributes command.
|
|
71
|
+
*
|
|
72
|
+
* https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sqs/command/GetQueueAttributesCommand/
|
|
73
|
+
*/
|
|
74
|
+
export interface SimGetQueueAttributesCommand {
|
|
75
|
+
readonly input: SimGetQueueAttributesCommandInput;
|
|
76
|
+
}
|
|
77
|
+
export interface SimGetQueueAttributesCommandInput {
|
|
78
|
+
readonly QueueUrl?: string | undefined;
|
|
79
|
+
readonly AttributeNames?: readonly string[] | undefined;
|
|
80
|
+
}
|
|
81
|
+
export interface SimGetQueueAttributesCommandOutput {
|
|
82
|
+
readonly Attributes?: Record<string, string> | undefined;
|
|
83
|
+
readonly $metadata: SimResponseMetadata;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Minimal structural sim SQS SetQueueAttributes command.
|
|
87
|
+
*
|
|
88
|
+
* https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sqs/command/SetQueueAttributesCommand/
|
|
89
|
+
*/
|
|
90
|
+
export interface SimSetQueueAttributesCommand {
|
|
91
|
+
readonly input: SimSetQueueAttributesCommandInput;
|
|
92
|
+
}
|
|
93
|
+
export interface SimSetQueueAttributesCommandInput {
|
|
94
|
+
readonly QueueUrl?: string | undefined;
|
|
95
|
+
readonly Attributes?: SimSqsQueueAttributeInput | undefined;
|
|
96
|
+
}
|
|
97
|
+
export interface SimSetQueueAttributesCommandOutput {
|
|
98
|
+
readonly $metadata: SimResponseMetadata;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Minimal structural sim SQS PurgeQueue command.
|
|
102
|
+
*
|
|
103
|
+
* https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sqs/command/PurgeQueueCommand/
|
|
104
|
+
*/
|
|
105
|
+
export interface SimPurgeQueueCommand {
|
|
106
|
+
readonly input: SimPurgeQueueCommandInput;
|
|
107
|
+
}
|
|
108
|
+
export interface SimPurgeQueueCommandInput {
|
|
109
|
+
readonly QueueUrl?: string | undefined;
|
|
110
|
+
}
|
|
111
|
+
export interface SimPurgeQueueCommandOutput {
|
|
112
|
+
readonly $metadata: SimResponseMetadata;
|
|
113
|
+
}
|
|
114
|
+
//# sourceMappingURL=queue.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"queue.command.d.ts","sourceRoot":"","sources":["../../../../../src/service/sqs/command/queue/queue.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AAEzF;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,KAAK,EAAE,0BAA0B,CAAC;CAC5C;AAED,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,QAAQ,CAAC,UAAU,CAAC,EAAE,yBAAyB,GAAG,SAAS,CAAC;IAC5D,8EAA8E;IAC9E,QAAQ,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,SAAS,CAAC;CAC9D;AAED,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC;AAED;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,KAAK,EAAE,0BAA0B,CAAC;CAC5C;AAED,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,QAAQ,CAAC,sBAAsB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACtD;AAED,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC;AAED;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,KAAK,EAAE,yBAAyB,CAAC;CAC3C;AAED,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9C,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACzC;AAED,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;IACnD,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC;AAED;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,KAAK,EAAE,0BAA0B,CAAC;CAC5C;AAED,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACxC;AAED,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC;AAED;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,KAAK,EAAE,iCAAiC,CAAC;CACnD;AAED,MAAM,WAAW,iCAAiC;IAChD,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,QAAQ,CAAC,cAAc,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;CACzD;AAED,MAAM,WAAW,kCAAkC;IACjD,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAAC;IACzD,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC;AAED;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,KAAK,EAAE,iCAAiC,CAAC;CACnD;AAED,MAAM,WAAW,iCAAiC;IAChD,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,QAAQ,CAAC,UAAU,CAAC,EAAE,yBAAyB,GAAG,SAAS,CAAC;CAC7D;AAED,MAAM,WAAW,kCAAkC;IACjD,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC;AAED;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,KAAK,EAAE,yBAAyB,CAAC;CAC3C;AAED,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACxC;AAED,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"queue.command.js","sourceRoot":"","sources":["../../../../../src/service/sqs/command/queue/queue.command.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { BackgroundScheduler } from "../../../../util/background/background.js";
|
|
2
|
+
import type { SimAwsCaller } from "../../../aws/caller/sim-aws-caller.js";
|
|
3
|
+
import type { SimAwsAccountRegionScope } from "../../../aws/sim-aws-account-region-scope.js";
|
|
4
|
+
import type { SimSqsDeadLetterTargets } from "../../queue/sim-sqs-dead-letter-targets.js";
|
|
5
|
+
import type { SimSqsQueueActivity } from "../../queue/sim-sqs-queue-activity.js";
|
|
6
|
+
import type { SimSqsQueueStore } from "../../queue/sim-sqs-queue-store.js";
|
|
7
|
+
import type { SimSqsQueueAccess } from "./sim-sqs-queue-access.js";
|
|
8
|
+
import type { SimCreateQueueCommand, SimCreateQueueCommandOutput } from "./queue.command.js";
|
|
9
|
+
interface SimSqsCreateQueueProperties {
|
|
10
|
+
readonly queues: SimSqsQueueStore;
|
|
11
|
+
readonly access: SimSqsQueueAccess;
|
|
12
|
+
readonly accountRegionScope: SimAwsAccountRegionScope;
|
|
13
|
+
readonly clock: BackgroundScheduler;
|
|
14
|
+
readonly deadLetterTargets: SimSqsDeadLetterTargets;
|
|
15
|
+
readonly activity: SimSqsQueueActivity;
|
|
16
|
+
}
|
|
17
|
+
interface SimSqsCreateQueueOptions {
|
|
18
|
+
readonly caller?: SimAwsCaller;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* The CreateQueue command.
|
|
22
|
+
*
|
|
23
|
+
* Real SQS treats it as idempotent: a request for a name that is already taken
|
|
24
|
+
* returns the existing queue's URL when the attributes it names match, and fails
|
|
25
|
+
* when they differ. That is what makes a deployment which creates its own queue
|
|
26
|
+
* safe to run twice.
|
|
27
|
+
*/
|
|
28
|
+
export declare class SimSqsCreateQueue {
|
|
29
|
+
private readonly queues;
|
|
30
|
+
private readonly access;
|
|
31
|
+
private readonly accountRegionScope;
|
|
32
|
+
private readonly clock;
|
|
33
|
+
private readonly deadLetterTargets;
|
|
34
|
+
private readonly activity;
|
|
35
|
+
constructor(properties: SimSqsCreateQueueProperties);
|
|
36
|
+
/**
|
|
37
|
+
* Create a queue, or answer with the existing one of that name.
|
|
38
|
+
*/
|
|
39
|
+
handle(command: SimCreateQueueCommand, options?: SimSqsCreateQueueOptions): SimCreateQueueCommandOutput;
|
|
40
|
+
/**
|
|
41
|
+
* Create the queue itself, once the name is known to be free.
|
|
42
|
+
*
|
|
43
|
+
* The requested attributes are applied to the new queue rather than folded
|
|
44
|
+
* into its defaults, so a queue created with a redrive policy has that policy
|
|
45
|
+
* checked the same way SetQueueAttributes checks one. The queue is only
|
|
46
|
+
* stored once the attributes have been accepted.
|
|
47
|
+
*/
|
|
48
|
+
private created;
|
|
49
|
+
}
|
|
50
|
+
export {};
|
|
51
|
+
//# sourceMappingURL=sim-sqs-create-queue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-sqs-create-queue.d.ts","sourceRoot":"","sources":["../../../../../src/service/sqs/command/queue/sim-sqs-create-queue.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AAC7F,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AAM1F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAEjF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAEnE,OAAO,KAAK,EACV,qBAAqB,EACrB,2BAA2B,EAC5B,MAAM,oBAAoB,CAAC;AAE5B,UAAU,2BAA2B;IACnC,QAAQ,CAAC,MAAM,EAAE,gBAAgB,CAAC;IAClC,QAAQ,CAAC,MAAM,EAAE,iBAAiB,CAAC;IACnC,QAAQ,CAAC,kBAAkB,EAAE,wBAAwB,CAAC;IACtD,QAAQ,CAAC,KAAK,EAAE,mBAAmB,CAAC;IACpC,QAAQ,CAAC,iBAAiB,EAAE,uBAAuB,CAAC;IACpD,QAAQ,CAAC,QAAQ,EAAE,mBAAmB,CAAC;CACxC;AAED,UAAU,wBAAwB;IAChC,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC;AAED;;;;;;;GAOG;AACH,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmB;IAC1C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoB;IAC3C,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAA2B;IAC9D,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAsB;IAC5C,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAA0B;IAC5D,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAsB;IAE/C,YAAY,UAAU,EAAE,2BAA2B,EAOlD;IAED;;OAEG;IACH,MAAM,CACJ,OAAO,EAAE,qBAAqB,EAC9B,OAAO,CAAC,EAAE,wBAAwB,GACjC,2BAA2B,CAoB7B;IAED;;;;;;;OAOG;IACH,OAAO,CAAC,OAAO;CAsBhB"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { SimSqsQueue } from "../../queue/sim-sqs-queue.js";
|
|
2
|
+
import { SimSqsQueueAttributes, } from "../../queue/sim-sqs-queue-attributes.js";
|
|
3
|
+
import { SimSqsQueueName } from "../../queue/sim-sqs-queue-name.js";
|
|
4
|
+
import { refuseUnsimulatedQueueInput } from "./sim-sqs-unsimulated-queue-input.js";
|
|
5
|
+
/**
|
|
6
|
+
* The CreateQueue command.
|
|
7
|
+
*
|
|
8
|
+
* Real SQS treats it as idempotent: a request for a name that is already taken
|
|
9
|
+
* returns the existing queue's URL when the attributes it names match, and fails
|
|
10
|
+
* when they differ. That is what makes a deployment which creates its own queue
|
|
11
|
+
* safe to run twice.
|
|
12
|
+
*/
|
|
13
|
+
export class SimSqsCreateQueue {
|
|
14
|
+
queues;
|
|
15
|
+
access;
|
|
16
|
+
accountRegionScope;
|
|
17
|
+
clock;
|
|
18
|
+
deadLetterTargets;
|
|
19
|
+
activity;
|
|
20
|
+
constructor(properties) {
|
|
21
|
+
this.queues = properties.queues;
|
|
22
|
+
this.access = properties.access;
|
|
23
|
+
this.accountRegionScope = properties.accountRegionScope;
|
|
24
|
+
this.clock = properties.clock;
|
|
25
|
+
this.deadLetterTargets = properties.deadLetterTargets;
|
|
26
|
+
this.activity = properties.activity;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Create a queue, or answer with the existing one of that name.
|
|
30
|
+
*/
|
|
31
|
+
handle(command, options) {
|
|
32
|
+
const input = command.input;
|
|
33
|
+
refuseUnsimulatedQueueInput(input);
|
|
34
|
+
const name = SimSqsQueueName.required(input.QueueName);
|
|
35
|
+
const requested = input.Attributes ?? {};
|
|
36
|
+
this.access.authorizeName("sqs:CreateQueue", name.value, options?.caller);
|
|
37
|
+
const existing = this.queues.find(name.value);
|
|
38
|
+
if (existing !== undefined) {
|
|
39
|
+
return {
|
|
40
|
+
$metadata: {},
|
|
41
|
+
QueueUrl: existing.urlWhenAttributesMatch(requested),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
return { $metadata: {}, QueueUrl: this.created(name, requested).url };
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Create the queue itself, once the name is known to be free.
|
|
48
|
+
*
|
|
49
|
+
* The requested attributes are applied to the new queue rather than folded
|
|
50
|
+
* into its defaults, so a queue created with a redrive policy has that policy
|
|
51
|
+
* checked the same way SetQueueAttributes checks one. The queue is only
|
|
52
|
+
* stored once the attributes have been accepted.
|
|
53
|
+
*/
|
|
54
|
+
created(name, requested) {
|
|
55
|
+
const createdAt = this.clock.now();
|
|
56
|
+
this.queues.assertNameAvailable(name.value, createdAt);
|
|
57
|
+
const queue = new SimSqsQueue({
|
|
58
|
+
name,
|
|
59
|
+
accountRegionScope: this.accountRegionScope,
|
|
60
|
+
attributes: SimSqsQueueAttributes.defaults(),
|
|
61
|
+
createdAt,
|
|
62
|
+
deadLetterTargets: this.deadLetterTargets,
|
|
63
|
+
activity: this.activity,
|
|
64
|
+
});
|
|
65
|
+
queue.applyAttributes(requested, createdAt);
|
|
66
|
+
this.queues.add(queue);
|
|
67
|
+
return queue;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=sim-sqs-create-queue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-sqs-create-queue.js","sourceRoot":"","sources":["../../../../../src/service/sqs/command/queue/sim-sqs-create-queue.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAEL,qBAAqB,GACtB,MAAM,yCAAyC,CAAC;AAEjD,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAGpE,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AAmBnF;;;;;;;GAOG;AACH,MAAM,OAAO,iBAAiB;IACX,MAAM,CAAmB;IACzB,MAAM,CAAoB;IAC1B,kBAAkB,CAA2B;IAC7C,KAAK,CAAsB;IAC3B,iBAAiB,CAA0B;IAC3C,QAAQ,CAAsB;IAE/C,YAAY,UAAuC;QACjD,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;QAChC,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;QAChC,IAAI,CAAC,kBAAkB,GAAG,UAAU,CAAC,kBAAkB,CAAC;QACxD,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;QAC9B,IAAI,CAAC,iBAAiB,GAAG,UAAU,CAAC,iBAAiB,CAAC;QACtD,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC;IACtC,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,OAA8B,EAC9B,OAAkC;QAElC,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC;QAE5B,2BAA2B,CAAC,KAAK,CAAC,CAAC;QAEnC,MAAM,IAAI,GAAG,eAAe,CAAC,QAAQ,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QACvD,MAAM,SAAS,GAAG,KAAK,CAAC,UAAU,IAAI,EAAE,CAAC;QAEzC,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,iBAAiB,EAAE,IAAI,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QAE1E,MAAM,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAE9C,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;YAC3B,OAAO;gBACL,SAAS,EAAE,EAAE;gBACb,QAAQ,EAAE,QAAQ,CAAC,sBAAsB,CAAC,SAAS,CAAC;aACrD,CAAC;QACJ,CAAC;QAED,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC,GAAG,EAAE,CAAC;IACxE,CAAC;IAED;;;;;;;OAOG;IACK,OAAO,CACb,IAAqB,EACrB,SAAoC;QAEpC,MAAM,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC;QAEnC,IAAI,CAAC,MAAM,CAAC,mBAAmB,CAAC,IAAI,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;QAEvD,MAAM,KAAK,GAAG,IAAI,WAAW,CAAC;YAC5B,IAAI;YACJ,kBAAkB,EAAE,IAAI,CAAC,kBAAkB;YAC3C,UAAU,EAAE,qBAAqB,CAAC,QAAQ,EAAE;YAC5C,SAAS;YACT,iBAAiB,EAAE,IAAI,CAAC,iBAAiB;YACzC,QAAQ,EAAE,IAAI,CAAC,QAAQ;SACxB,CAAC,CAAC;QAEH,KAAK,CAAC,eAAe,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;QAC5C,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QAEvB,OAAO,KAAK,CAAC;IACf,CAAC;CACF"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import type { BackgroundScheduler } from "../../../../util/background/background.js";
|
|
2
|
+
import type { SimAwsCaller } from "../../../aws/caller/sim-aws-caller.js";
|
|
3
|
+
import type { SimAwsAccountRegionScope } from "../../../aws/sim-aws-account-region-scope.js";
|
|
4
|
+
import type { SimSqsQueue } from "../../queue/sim-sqs-queue.js";
|
|
5
|
+
import type { SimSqsQueueStore } from "../../queue/sim-sqs-queue-store.js";
|
|
6
|
+
import type { SimSqsAuthorizer } from "../authorize/sim-sqs-authorizer.js";
|
|
7
|
+
interface SimSqsQueueAccessProperties {
|
|
8
|
+
readonly queues: SimSqsQueueStore;
|
|
9
|
+
readonly authorizer: SimSqsAuthorizer;
|
|
10
|
+
readonly accountRegionScope: SimAwsAccountRegionScope;
|
|
11
|
+
readonly clock: BackgroundScheduler;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* How a request reaches the queue it names.
|
|
15
|
+
*
|
|
16
|
+
* Every operation but ListQueues and CreateQueue starts the same way: read the
|
|
17
|
+
* queue URL, authorize the action against the ARN that URL implies, then look the
|
|
18
|
+
* queue up. Authorization comes first because real IAM decides before the
|
|
19
|
+
* service does anything, so a caller with no permission is refused whether or not
|
|
20
|
+
* the queue exists.
|
|
21
|
+
*/
|
|
22
|
+
export declare class SimSqsQueueAccess {
|
|
23
|
+
private readonly queues;
|
|
24
|
+
private readonly authorizer;
|
|
25
|
+
private readonly accountRegionScope;
|
|
26
|
+
private readonly clock;
|
|
27
|
+
constructor(properties: SimSqsQueueAccessProperties);
|
|
28
|
+
/**
|
|
29
|
+
* Ensure the caller may perform an action on the queue of a given name.
|
|
30
|
+
*/
|
|
31
|
+
authorizeName(action: string, name: string, caller?: SimAwsCaller): void;
|
|
32
|
+
/**
|
|
33
|
+
* Ensure the caller may perform an action naming no particular queue.
|
|
34
|
+
*/
|
|
35
|
+
authorizeAnyQueue(action: string, caller?: SimAwsCaller): void;
|
|
36
|
+
/**
|
|
37
|
+
* Resolve the queue a request names by name, authorizing the action first.
|
|
38
|
+
*/
|
|
39
|
+
requireByName(action: string, name: string | undefined, caller?: SimAwsCaller): SimSqsQueue;
|
|
40
|
+
/**
|
|
41
|
+
* Resolve the queue a request names by URL, authorizing the action first.
|
|
42
|
+
*/
|
|
43
|
+
requireByUrl(action: string, queueUrl: string | undefined, caller?: SimAwsCaller): SimSqsQueue;
|
|
44
|
+
/**
|
|
45
|
+
* The queue of a name, with every queue brought up to date first.
|
|
46
|
+
*
|
|
47
|
+
* Every queue and not just this one, because a message moves to a dead-letter
|
|
48
|
+
* queue when its source queue notices, and a request may be about the
|
|
49
|
+
* dead-letter queue rather than the source.
|
|
50
|
+
*/
|
|
51
|
+
private upToDate;
|
|
52
|
+
/**
|
|
53
|
+
* Read the queue name out of the URL a request carries.
|
|
54
|
+
*
|
|
55
|
+
* A URL naming another account or region reaches nothing, rather than having
|
|
56
|
+
* its name read out and looked up locally. A queue URL is scoped, and treating
|
|
57
|
+
* a foreign one as local would let a test pass while the real call crossed an
|
|
58
|
+
* account boundary it has no permission for.
|
|
59
|
+
*/
|
|
60
|
+
private nameFromUrl;
|
|
61
|
+
}
|
|
62
|
+
export {};
|
|
63
|
+
//# sourceMappingURL=sim-sqs-queue-access.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-sqs-queue-access.d.ts","sourceRoot":"","sources":["../../../../../src/service/sqs/command/queue/sim-sqs-queue-access.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AAM7F,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAEhE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAE3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAU3E,UAAU,2BAA2B;IACnC,QAAQ,CAAC,MAAM,EAAE,gBAAgB,CAAC;IAClC,QAAQ,CAAC,UAAU,EAAE,gBAAgB,CAAC;IACtC,QAAQ,CAAC,kBAAkB,EAAE,wBAAwB,CAAC;IACtD,QAAQ,CAAC,KAAK,EAAE,mBAAmB,CAAC;CACrC;AAED;;;;;;;;GAQG;AACH,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmB;IAC1C,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAmB;IAC9C,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAA2B;IAC9D,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAsB;IAE5C,YAAY,UAAU,EAAE,2BAA2B,EAKlD;IAED;;OAEG;IACH,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,YAAY,GAAG,IAAI,CAMvE;IAED;;OAEG;IACH,iBAAiB,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,YAAY,GAAG,IAAI,CAE7D;IAED;;OAEG;IACH,aAAa,CACX,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,MAAM,CAAC,EAAE,YAAY,GACpB,WAAW,CAUb;IAED;;OAEG;IACH,YAAY,CACV,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,GAAG,SAAS,EAC5B,MAAM,CAAC,EAAE,YAAY,GACpB,WAAW,CAMb;IAED;;;;;;OAMG;IACH,OAAO,CAAC,QAAQ;IAMhB;;;;;;;OAOG;IACH,OAAO,CAAC,WAAW;CA4BpB"}
|