@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,98 @@
|
|
|
1
|
+
import { SimSqsInvalidAddress, SimSqsQueueDoesNotExist, SimSqsValidationException, } from "../../error/sim-sqs.error.js";
|
|
2
|
+
import { sqsQueueArnPrefix } from "../../queue/sim-sqs-queue-arn.js";
|
|
3
|
+
import { SimSqsQueueUrl } from "../../queue/sim-sqs-queue-url.js";
|
|
4
|
+
/**
|
|
5
|
+
* The operation an IAM action names, for a message about a missing request
|
|
6
|
+
* input.
|
|
7
|
+
*/
|
|
8
|
+
function operationName(action) {
|
|
9
|
+
return action.replace("sqs:", "");
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* How a request reaches the queue it names.
|
|
13
|
+
*
|
|
14
|
+
* Every operation but ListQueues and CreateQueue starts the same way: read the
|
|
15
|
+
* queue URL, authorize the action against the ARN that URL implies, then look the
|
|
16
|
+
* queue up. Authorization comes first because real IAM decides before the
|
|
17
|
+
* service does anything, so a caller with no permission is refused whether or not
|
|
18
|
+
* the queue exists.
|
|
19
|
+
*/
|
|
20
|
+
export class SimSqsQueueAccess {
|
|
21
|
+
queues;
|
|
22
|
+
authorizer;
|
|
23
|
+
accountRegionScope;
|
|
24
|
+
clock;
|
|
25
|
+
constructor(properties) {
|
|
26
|
+
this.queues = properties.queues;
|
|
27
|
+
this.authorizer = properties.authorizer;
|
|
28
|
+
this.accountRegionScope = properties.accountRegionScope;
|
|
29
|
+
this.clock = properties.clock;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Ensure the caller may perform an action on the queue of a given name.
|
|
33
|
+
*/
|
|
34
|
+
authorizeName(action, name, caller) {
|
|
35
|
+
this.authorizer.authorizeQueue(action, sqsQueueArnPrefix(this.accountRegionScope) + name, caller);
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Ensure the caller may perform an action naming no particular queue.
|
|
39
|
+
*/
|
|
40
|
+
authorizeAnyQueue(action, caller) {
|
|
41
|
+
this.authorizer.authorizeAnyQueue(action, caller);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Resolve the queue a request names by name, authorizing the action first.
|
|
45
|
+
*/
|
|
46
|
+
requireByName(action, name, caller) {
|
|
47
|
+
if (name === undefined || name === "") {
|
|
48
|
+
throw new SimSqsValidationException(`${operationName(action)} requires a QueueName`);
|
|
49
|
+
}
|
|
50
|
+
this.authorizeName(action, name, caller);
|
|
51
|
+
return this.upToDate(name);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Resolve the queue a request names by URL, authorizing the action first.
|
|
55
|
+
*/
|
|
56
|
+
requireByUrl(action, queueUrl, caller) {
|
|
57
|
+
const name = this.nameFromUrl(action, queueUrl);
|
|
58
|
+
this.authorizeName(action, name, caller);
|
|
59
|
+
return this.upToDate(name);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* The queue of a name, with every queue brought up to date first.
|
|
63
|
+
*
|
|
64
|
+
* Every queue and not just this one, because a message moves to a dead-letter
|
|
65
|
+
* queue when its source queue notices, and a request may be about the
|
|
66
|
+
* dead-letter queue rather than the source.
|
|
67
|
+
*/
|
|
68
|
+
upToDate(name) {
|
|
69
|
+
this.queues.applyLifecycle(this.clock.now());
|
|
70
|
+
return this.queues.require(name);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Read the queue name out of the URL a request carries.
|
|
74
|
+
*
|
|
75
|
+
* A URL naming another account or region reaches nothing, rather than having
|
|
76
|
+
* its name read out and looked up locally. A queue URL is scoped, and treating
|
|
77
|
+
* a foreign one as local would let a test pass while the real call crossed an
|
|
78
|
+
* account boundary it has no permission for.
|
|
79
|
+
*/
|
|
80
|
+
nameFromUrl(action, queueUrl) {
|
|
81
|
+
if (queueUrl === undefined || queueUrl === "") {
|
|
82
|
+
throw new SimSqsValidationException(`${operationName(action)} requires a QueueUrl`);
|
|
83
|
+
}
|
|
84
|
+
const parts = SimSqsQueueUrl.parse(queueUrl);
|
|
85
|
+
if (parts === undefined) {
|
|
86
|
+
throw new SimSqsInvalidAddress(`The address ${queueUrl} is not valid for this endpoint: a queue URL ` +
|
|
87
|
+
`is https://sqs.<region>.amazonaws.com/<account-id>/<queue-name>`);
|
|
88
|
+
}
|
|
89
|
+
const { accountId, regionName } = this.accountRegionScope;
|
|
90
|
+
if (parts.accountId !== accountId || parts.regionName !== regionName) {
|
|
91
|
+
throw new SimSqsQueueDoesNotExist(`The specified queue does not exist: ${queueUrl} names Account ` +
|
|
92
|
+
`${parts.accountId} in ${parts.regionName}, and this simulated SQS ` +
|
|
93
|
+
`is Account ${accountId} in ${regionName}`);
|
|
94
|
+
}
|
|
95
|
+
return parts.name;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
//# sourceMappingURL=sim-sqs-queue-access.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-sqs-queue-access.js","sourceRoot":"","sources":["../../../../../src/service/sqs/command/queue/sim-sqs-queue-access.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { BackgroundScheduler } from "../../../../util/background/background.js";
|
|
2
|
+
import type { SimAwsCaller } from "../../../aws/caller/sim-aws-caller.js";
|
|
3
|
+
import type { SimSqsQueueAccess } from "./sim-sqs-queue-access.js";
|
|
4
|
+
import type { SimGetQueueAttributesCommand, SimGetQueueAttributesCommandOutput, SimPurgeQueueCommand, SimPurgeQueueCommandOutput, SimSetQueueAttributesCommand, SimSetQueueAttributesCommandOutput } from "./queue.command.js";
|
|
5
|
+
interface SimSqsQueueAttributeCommandsProperties {
|
|
6
|
+
readonly access: SimSqsQueueAccess;
|
|
7
|
+
readonly clock: BackgroundScheduler;
|
|
8
|
+
}
|
|
9
|
+
interface SimSqsQueueAttributeCommandsOptions {
|
|
10
|
+
readonly caller?: SimAwsCaller;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* The commands that read and change what a queue does, rather than what is on it.
|
|
14
|
+
*/
|
|
15
|
+
export declare class SimSqsQueueAttributeCommands {
|
|
16
|
+
private readonly access;
|
|
17
|
+
private readonly clock;
|
|
18
|
+
constructor(properties: SimSqsQueueAttributeCommandsProperties);
|
|
19
|
+
/**
|
|
20
|
+
* Read the attributes a request asks for.
|
|
21
|
+
*
|
|
22
|
+
* Only the named attributes come back, as on real SQS, so a request naming
|
|
23
|
+
* none gets none. `All` names every attribute this simulation holds; an
|
|
24
|
+
* attribute real SQS has and this simulation does not is left out rather than
|
|
25
|
+
* refused, because that is what real SQS does with an attribute a queue has no
|
|
26
|
+
* value for.
|
|
27
|
+
*/
|
|
28
|
+
getQueueAttributes(command: SimGetQueueAttributesCommand, options?: SimSqsQueueAttributeCommandsOptions): SimGetQueueAttributesCommandOutput;
|
|
29
|
+
/**
|
|
30
|
+
* Change the attributes of a queue.
|
|
31
|
+
*/
|
|
32
|
+
setQueueAttributes(command: SimSetQueueAttributesCommand, options?: SimSqsQueueAttributeCommandsOptions): SimSetQueueAttributesCommandOutput;
|
|
33
|
+
/**
|
|
34
|
+
* Delete every message on a queue.
|
|
35
|
+
*
|
|
36
|
+
* Real SQS takes up to 60 seconds over a purge, during which messages sent
|
|
37
|
+
* before it may still be deleted and messages sent during it may still be
|
|
38
|
+
* purged. This purge happens at once, which is a deliberate simplification: a
|
|
39
|
+
* test can then assert on an empty queue immediately.
|
|
40
|
+
*/
|
|
41
|
+
purgeQueue(command: SimPurgeQueueCommand, options?: SimSqsQueueAttributeCommandsOptions): SimPurgeQueueCommandOutput;
|
|
42
|
+
private reportedAttributes;
|
|
43
|
+
}
|
|
44
|
+
export {};
|
|
45
|
+
//# sourceMappingURL=sim-sqs-queue-attribute-commands.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-sqs-queue-attribute-commands.d.ts","sourceRoot":"","sources":["../../../../../src/service/sqs/command/queue/sim-sqs-queue-attribute-commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAI1E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,EACV,4BAA4B,EAC5B,kCAAkC,EAClC,oBAAoB,EACpB,0BAA0B,EAC1B,4BAA4B,EAC5B,kCAAkC,EACnC,MAAM,oBAAoB,CAAC;AAE5B,UAAU,sCAAsC;IAC9C,QAAQ,CAAC,MAAM,EAAE,iBAAiB,CAAC;IACnC,QAAQ,CAAC,KAAK,EAAE,mBAAmB,CAAC;CACrC;AAED,UAAU,mCAAmC;IAC3C,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC;AAED;;GAEG;AACH,qBAAa,4BAA4B;IACvC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoB;IAC3C,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAsB;IAE5C,YAAY,UAAU,EAAE,sCAAsC,EAG7D;IAED;;;;;;;;OAQG;IACH,kBAAkB,CAChB,OAAO,EAAE,4BAA4B,EACrC,OAAO,CAAC,EAAE,mCAAmC,GAC5C,kCAAkC,CAmBpC;IAED;;OAEG;IACH,kBAAkB,CAChB,OAAO,EAAE,4BAA4B,EACrC,OAAO,CAAC,EAAE,mCAAmC,GAC5C,kCAAkC,CAiBpC;IAED;;;;;;;OAOG;IACH,UAAU,CACR,OAAO,EAAE,oBAAoB,EAC7B,OAAO,CAAC,EAAE,mCAAmC,GAC5C,0BAA0B,CAU5B;IAED,OAAO,CAAC,kBAAkB;CAoB3B"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { SimSqsValidationException } from "../../error/sim-sqs.error.js";
|
|
2
|
+
import { SimSqsQueueAttributeNames } from "../../queue/sim-sqs-queue-attribute-names.js";
|
|
3
|
+
/**
|
|
4
|
+
* The commands that read and change what a queue does, rather than what is on it.
|
|
5
|
+
*/
|
|
6
|
+
export class SimSqsQueueAttributeCommands {
|
|
7
|
+
access;
|
|
8
|
+
clock;
|
|
9
|
+
constructor(properties) {
|
|
10
|
+
this.access = properties.access;
|
|
11
|
+
this.clock = properties.clock;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Read the attributes a request asks for.
|
|
15
|
+
*
|
|
16
|
+
* Only the named attributes come back, as on real SQS, so a request naming
|
|
17
|
+
* none gets none. `All` names every attribute this simulation holds; an
|
|
18
|
+
* attribute real SQS has and this simulation does not is left out rather than
|
|
19
|
+
* refused, because that is what real SQS does with an attribute a queue has no
|
|
20
|
+
* value for.
|
|
21
|
+
*/
|
|
22
|
+
getQueueAttributes(command, options) {
|
|
23
|
+
const queue = this.access.requireByUrl("sqs:GetQueueAttributes", command.input.QueueUrl, options?.caller);
|
|
24
|
+
const requested = command.input.AttributeNames ?? [];
|
|
25
|
+
for (const name of requested) {
|
|
26
|
+
SimSqsQueueAttributeNames.assertReadable(name);
|
|
27
|
+
}
|
|
28
|
+
const reported = this.reportedAttributes(queue, requested);
|
|
29
|
+
if (reported === undefined) {
|
|
30
|
+
return { $metadata: {} };
|
|
31
|
+
}
|
|
32
|
+
return { $metadata: {}, Attributes: reported };
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Change the attributes of a queue.
|
|
36
|
+
*/
|
|
37
|
+
setQueueAttributes(command, options) {
|
|
38
|
+
const queue = this.access.requireByUrl("sqs:SetQueueAttributes", command.input.QueueUrl, options?.caller);
|
|
39
|
+
const requested = command.input.Attributes;
|
|
40
|
+
if (requested === undefined) {
|
|
41
|
+
throw new SimSqsValidationException("SetQueueAttributes requires Attributes");
|
|
42
|
+
}
|
|
43
|
+
queue.applyAttributes(requested, this.clock.now());
|
|
44
|
+
return { $metadata: {} };
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Delete every message on a queue.
|
|
48
|
+
*
|
|
49
|
+
* Real SQS takes up to 60 seconds over a purge, during which messages sent
|
|
50
|
+
* before it may still be deleted and messages sent during it may still be
|
|
51
|
+
* purged. This purge happens at once, which is a deliberate simplification: a
|
|
52
|
+
* test can then assert on an empty queue immediately.
|
|
53
|
+
*/
|
|
54
|
+
purgeQueue(command, options) {
|
|
55
|
+
const queue = this.access.requireByUrl("sqs:PurgeQueue", command.input.QueueUrl, options?.caller);
|
|
56
|
+
queue.purge(this.clock.now());
|
|
57
|
+
return { $metadata: {} };
|
|
58
|
+
}
|
|
59
|
+
reportedAttributes(queue, requested) {
|
|
60
|
+
if (requested.length === 0) {
|
|
61
|
+
return undefined;
|
|
62
|
+
}
|
|
63
|
+
const available = queue.reportedAttributes(this.clock.now());
|
|
64
|
+
const selected = available
|
|
65
|
+
.entries()
|
|
66
|
+
.filter(([name]) => requested.includes("All") || requested.includes(name))
|
|
67
|
+
.toArray();
|
|
68
|
+
if (selected.length === 0) {
|
|
69
|
+
return undefined;
|
|
70
|
+
}
|
|
71
|
+
return Object.fromEntries(selected);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
//# sourceMappingURL=sim-sqs-queue-attribute-commands.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-sqs-queue-attribute-commands.js","sourceRoot":"","sources":["../../../../../src/service/sqs/command/queue/sim-sqs-queue-attribute-commands.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AAEzE,OAAO,EAAE,yBAAyB,EAAE,MAAM,8CAA8C,CAAC;AAoBzF;;GAEG;AACH,MAAM,OAAO,4BAA4B;IACtB,MAAM,CAAoB;IAC1B,KAAK,CAAsB;IAE5C,YAAY,UAAkD;QAC5D,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;QAChC,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;IAChC,CAAC;IAED;;;;;;;;OAQG;IACH,kBAAkB,CAChB,OAAqC,EACrC,OAA6C;QAE7C,MAAM,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,YAAY,CACpC,wBAAwB,EACxB,OAAO,CAAC,KAAK,CAAC,QAAQ,EACtB,OAAO,EAAE,MAAM,CAChB,CAAC;QACF,MAAM,SAAS,GAAG,OAAO,CAAC,KAAK,CAAC,cAAc,IAAI,EAAE,CAAC;QAErD,KAAK,MAAM,IAAI,IAAI,SAAS,EAAE,CAAC;YAC7B,yBAAyB,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;QACjD,CAAC;QAED,MAAM,QAAQ,GAAG,IAAI,CAAC,kBAAkB,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;QAE3D,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;YAC3B,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;QAC3B,CAAC;QAED,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC;IACjD,CAAC;IAED;;OAEG;IACH,kBAAkB,CAChB,OAAqC,EACrC,OAA6C;QAE7C,MAAM,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,YAAY,CACpC,wBAAwB,EACxB,OAAO,CAAC,KAAK,CAAC,QAAQ,EACtB,OAAO,EAAE,MAAM,CAChB,CAAC;QACF,MAAM,SAAS,GAAG,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC;QAE3C,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;YAC5B,MAAM,IAAI,yBAAyB,CACjC,wCAAwC,CACzC,CAAC;QACJ,CAAC;QAED,KAAK,CAAC,eAAe,CAAC,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC;QAEnD,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;IAC3B,CAAC;IAED;;;;;;;OAOG;IACH,UAAU,CACR,OAA6B,EAC7B,OAA6C;QAE7C,MAAM,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,YAAY,CACpC,gBAAgB,EAChB,OAAO,CAAC,KAAK,CAAC,QAAQ,EACtB,OAAO,EAAE,MAAM,CAChB,CAAC;QAEF,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC;QAE9B,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;IAC3B,CAAC;IAEO,kBAAkB,CACxB,KAAkB,EAClB,SAA4B;QAE5B,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC3B,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,MAAM,SAAS,GAAG,KAAK,CAAC,kBAAkB,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC;QAC7D,MAAM,QAAQ,GAAG,SAAS;aACvB,OAAO,EAAE;aACT,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;aACzE,OAAO,EAAE,CAAC;QAEb,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC1B,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,OAAO,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;IACtC,CAAC;CACF"}
|
|
@@ -0,0 +1,47 @@
|
|
|
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 { SimSqsQueueStore } from "../../queue/sim-sqs-queue-store.js";
|
|
5
|
+
import type { SimSqsQueueAccess } from "./sim-sqs-queue-access.js";
|
|
6
|
+
import type { SimDeleteQueueCommand, SimDeleteQueueCommandOutput, SimGetQueueUrlCommand, SimGetQueueUrlCommandOutput, SimListQueuesCommand, SimListQueuesCommandOutput } from "./queue.command.js";
|
|
7
|
+
interface SimSqsQueueCommandsProperties {
|
|
8
|
+
readonly queues: SimSqsQueueStore;
|
|
9
|
+
readonly access: SimSqsQueueAccess;
|
|
10
|
+
readonly accountRegionScope: SimAwsAccountRegionScope;
|
|
11
|
+
readonly clock: BackgroundScheduler;
|
|
12
|
+
}
|
|
13
|
+
interface SimSqsQueueCommandsOptions {
|
|
14
|
+
readonly caller?: SimAwsCaller;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* The commands that find and delete queues.
|
|
18
|
+
*/
|
|
19
|
+
export declare class SimSqsQueueCommands {
|
|
20
|
+
private readonly queues;
|
|
21
|
+
private readonly access;
|
|
22
|
+
private readonly accountRegionScope;
|
|
23
|
+
private readonly clock;
|
|
24
|
+
constructor(properties: SimSqsQueueCommandsProperties);
|
|
25
|
+
/**
|
|
26
|
+
* Get the URL of a queue by name.
|
|
27
|
+
*/
|
|
28
|
+
getQueueUrl(command: SimGetQueueUrlCommand, options?: SimSqsQueueCommandsOptions): SimGetQueueUrlCommandOutput;
|
|
29
|
+
/**
|
|
30
|
+
* List the queues in this scope, oldest first.
|
|
31
|
+
*
|
|
32
|
+
* Real SQS gives this action no queue-level permission, so it authorizes
|
|
33
|
+
* against every queue in the account and region and does not filter the list
|
|
34
|
+
* by what the caller can reach.
|
|
35
|
+
*/
|
|
36
|
+
listQueues(command: SimListQueuesCommand, options?: SimSqsQueueCommandsOptions): SimListQueuesCommandOutput;
|
|
37
|
+
/**
|
|
38
|
+
* Delete a queue and everything on it.
|
|
39
|
+
*
|
|
40
|
+
* The queue goes at once here, where real SQS may take up to a minute over it.
|
|
41
|
+
* The name it held is not free straight away either way: real SQS refuses to
|
|
42
|
+
* reuse it for 60 seconds, and so does this.
|
|
43
|
+
*/
|
|
44
|
+
deleteQueue(command: SimDeleteQueueCommand, options?: SimSqsQueueCommandsOptions): SimDeleteQueueCommandOutput;
|
|
45
|
+
}
|
|
46
|
+
export {};
|
|
47
|
+
//# sourceMappingURL=sim-sqs-queue-commands.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-sqs-queue-commands.d.ts","sourceRoot":"","sources":["../../../../../src/service/sqs/command/queue/sim-sqs-queue-commands.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,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGnE,OAAO,KAAK,EACV,qBAAqB,EACrB,2BAA2B,EAC3B,qBAAqB,EACrB,2BAA2B,EAC3B,oBAAoB,EACpB,0BAA0B,EAC3B,MAAM,oBAAoB,CAAC;AAE5B,UAAU,6BAA6B;IACrC,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;CACrC;AAED,UAAU,0BAA0B;IAClC,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;CAChC;AAED;;GAEG;AACH,qBAAa,mBAAmB;IAC9B,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;IAE5C,YAAY,UAAU,EAAE,6BAA6B,EAKpD;IAED;;OAEG;IACH,WAAW,CACT,OAAO,EAAE,qBAAqB,EAC9B,OAAO,CAAC,EAAE,0BAA0B,GACnC,2BAA2B,CAa7B;IAED;;;;;;OAMG;IACH,UAAU,CACR,OAAO,EAAE,oBAAoB,EAC7B,OAAO,CAAC,EAAE,0BAA0B,GACnC,0BAA0B,CAe5B;IAED;;;;;;OAMG;IACH,WAAW,CACT,OAAO,EAAE,qBAAqB,EAC9B,OAAO,CAAC,EAAE,0BAA0B,GACnC,2BAA2B,CAU7B;CACF"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { SimSqsQueuePage } from "./sim-sqs-queue-page.js";
|
|
2
|
+
import { refuseForeignQueueOwner } from "./sim-sqs-unsimulated-queue-input.js";
|
|
3
|
+
/**
|
|
4
|
+
* The commands that find and delete queues.
|
|
5
|
+
*/
|
|
6
|
+
export class SimSqsQueueCommands {
|
|
7
|
+
queues;
|
|
8
|
+
access;
|
|
9
|
+
accountRegionScope;
|
|
10
|
+
clock;
|
|
11
|
+
constructor(properties) {
|
|
12
|
+
this.queues = properties.queues;
|
|
13
|
+
this.access = properties.access;
|
|
14
|
+
this.accountRegionScope = properties.accountRegionScope;
|
|
15
|
+
this.clock = properties.clock;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Get the URL of a queue by name.
|
|
19
|
+
*/
|
|
20
|
+
getQueueUrl(command, options) {
|
|
21
|
+
refuseForeignQueueOwner(command.input.QueueOwnerAWSAccountId, this.accountRegionScope.accountId);
|
|
22
|
+
const queue = this.access.requireByName("sqs:GetQueueUrl", command.input.QueueName, options?.caller);
|
|
23
|
+
return { $metadata: {}, QueueUrl: queue.url };
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* List the queues in this scope, oldest first.
|
|
27
|
+
*
|
|
28
|
+
* Real SQS gives this action no queue-level permission, so it authorizes
|
|
29
|
+
* against every queue in the account and region and does not filter the list
|
|
30
|
+
* by what the caller can reach.
|
|
31
|
+
*/
|
|
32
|
+
listQueues(command, options) {
|
|
33
|
+
const input = command.input;
|
|
34
|
+
this.access.authorizeAnyQueue("sqs:ListQueues", options?.caller);
|
|
35
|
+
const page = new SimSqsQueuePage(this.queues.withNamePrefix(input.QueueNamePrefix), input);
|
|
36
|
+
return {
|
|
37
|
+
$metadata: {},
|
|
38
|
+
QueueUrls: page.queues.map((queue) => queue.url),
|
|
39
|
+
NextToken: page.nextToken,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Delete a queue and everything on it.
|
|
44
|
+
*
|
|
45
|
+
* The queue goes at once here, where real SQS may take up to a minute over it.
|
|
46
|
+
* The name it held is not free straight away either way: real SQS refuses to
|
|
47
|
+
* reuse it for 60 seconds, and so does this.
|
|
48
|
+
*/
|
|
49
|
+
deleteQueue(command, options) {
|
|
50
|
+
const queue = this.access.requireByUrl("sqs:DeleteQueue", command.input.QueueUrl, options?.caller);
|
|
51
|
+
this.queues.remove(queue, this.clock.now());
|
|
52
|
+
return { $metadata: {} };
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=sim-sqs-queue-commands.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-sqs-queue-commands.js","sourceRoot":"","sources":["../../../../../src/service/sqs/command/queue/sim-sqs-queue-commands.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAqB/E;;GAEG;AACH,MAAM,OAAO,mBAAmB;IACb,MAAM,CAAmB;IACzB,MAAM,CAAoB;IAC1B,kBAAkB,CAA2B;IAC7C,KAAK,CAAsB;IAE5C,YAAY,UAAyC;QACnD,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;IAChC,CAAC;IAED;;OAEG;IACH,WAAW,CACT,OAA8B,EAC9B,OAAoC;QAEpC,uBAAuB,CACrB,OAAO,CAAC,KAAK,CAAC,sBAAsB,EACpC,IAAI,CAAC,kBAAkB,CAAC,SAAS,CAClC,CAAC;QAEF,MAAM,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,aAAa,CACrC,iBAAiB,EACjB,OAAO,CAAC,KAAK,CAAC,SAAS,EACvB,OAAO,EAAE,MAAM,CAChB,CAAC;QAEF,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK,CAAC,GAAG,EAAE,CAAC;IAChD,CAAC;IAED;;;;;;OAMG;IACH,UAAU,CACR,OAA6B,EAC7B,OAAoC;QAEpC,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC;QAE5B,IAAI,CAAC,MAAM,CAAC,iBAAiB,CAAC,gBAAgB,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QAEjE,MAAM,IAAI,GAAG,IAAI,eAAe,CAC9B,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,KAAK,CAAC,eAAe,CAAC,EACjD,KAAK,CACN,CAAC;QAEF,OAAO;YACL,SAAS,EAAE,EAAE;YACb,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC;YAChD,SAAS,EAAE,IAAI,CAAC,SAAS;SAC1B,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,WAAW,CACT,OAA8B,EAC9B,OAAoC;QAEpC,MAAM,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,YAAY,CACpC,iBAAiB,EACjB,OAAO,CAAC,KAAK,CAAC,QAAQ,EACtB,OAAO,EAAE,MAAM,CAChB,CAAC;QAEF,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC;QAE5C,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;IAC3B,CAAC;CACF"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { SimSqsQueue } from "../../queue/sim-sqs-queue.js";
|
|
2
|
+
/**
|
|
3
|
+
* The paging fields a ListQueues request carries.
|
|
4
|
+
*/
|
|
5
|
+
export interface SimSqsQueuePageInput {
|
|
6
|
+
readonly MaxResults?: number | undefined;
|
|
7
|
+
readonly NextToken?: string | undefined;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* One page of listed queues, and the token that reaches the next one.
|
|
11
|
+
*/
|
|
12
|
+
export declare class SimSqsQueuePage {
|
|
13
|
+
readonly queues: readonly SimSqsQueue[];
|
|
14
|
+
readonly nextToken: string | undefined;
|
|
15
|
+
constructor(listed: readonly SimSqsQueue[], input: SimSqsQueuePageInput);
|
|
16
|
+
private static maxResults;
|
|
17
|
+
/**
|
|
18
|
+
* Read a continuation token as its offset into the listed queues.
|
|
19
|
+
*
|
|
20
|
+
* Tokens are the canonical non-negative integer representation this command
|
|
21
|
+
* emits, so anything else is refused rather than silently starting again from
|
|
22
|
+
* the beginning.
|
|
23
|
+
*/
|
|
24
|
+
private static startIndex;
|
|
25
|
+
private static tokenFor;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=sim-sqs-queue-page.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-sqs-queue-page.d.ts","sourceRoot":"","sources":["../../../../../src/service/sqs/command/queue/sim-sqs-queue-page.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAKhE;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACzC;AAED;;GAEG;AACH,qBAAa,eAAe;IAC1B,SAAgB,MAAM,EAAE,SAAS,WAAW,EAAE,CAAC;IAC/C,SAAgB,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IAE9C,YAAY,MAAM,EAAE,SAAS,WAAW,EAAE,EAAE,KAAK,EAAE,oBAAoB,EAUtE;IAED,OAAO,CAAC,MAAM,CAAC,UAAU;IAiBzB;;;;;;OAMG;IACH,OAAO,CAAC,MAAM,CAAC,UAAU;IAwBzB,OAAO,CAAC,MAAM,CAAC,QAAQ;CAUxB"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { SimSqsInvalidParameterValue } from "../../error/sim-sqs.error.js";
|
|
2
|
+
const defaultMaxResults = 1000;
|
|
3
|
+
const maxMaxResults = 1000;
|
|
4
|
+
/**
|
|
5
|
+
* One page of listed queues, and the token that reaches the next one.
|
|
6
|
+
*/
|
|
7
|
+
export class SimSqsQueuePage {
|
|
8
|
+
queues;
|
|
9
|
+
nextToken;
|
|
10
|
+
constructor(listed, input) {
|
|
11
|
+
const maxResults = SimSqsQueuePage.maxResults(input.MaxResults);
|
|
12
|
+
const startIndex = SimSqsQueuePage.startIndex(input.NextToken, listed.length);
|
|
13
|
+
const nextIndex = startIndex + maxResults;
|
|
14
|
+
this.queues = listed.slice(startIndex, nextIndex);
|
|
15
|
+
this.nextToken = SimSqsQueuePage.tokenFor(nextIndex, listed.length);
|
|
16
|
+
}
|
|
17
|
+
static maxResults(requested) {
|
|
18
|
+
const maxResults = requested ?? defaultMaxResults;
|
|
19
|
+
if (!Number.isSafeInteger(maxResults) ||
|
|
20
|
+
maxResults < 1 ||
|
|
21
|
+
maxResults > maxMaxResults) {
|
|
22
|
+
throw new SimSqsInvalidParameterValue(`Value ${String(requested)} for parameter MaxResults is invalid. ` +
|
|
23
|
+
`Reason: Must be an integer from 1 to ${String(maxMaxResults)}.`);
|
|
24
|
+
}
|
|
25
|
+
return maxResults;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Read a continuation token as its offset into the listed queues.
|
|
29
|
+
*
|
|
30
|
+
* Tokens are the canonical non-negative integer representation this command
|
|
31
|
+
* emits, so anything else is refused rather than silently starting again from
|
|
32
|
+
* the beginning.
|
|
33
|
+
*/
|
|
34
|
+
static startIndex(nextToken, listedCount) {
|
|
35
|
+
if (nextToken === undefined) {
|
|
36
|
+
return 0;
|
|
37
|
+
}
|
|
38
|
+
const startIndex = Number(nextToken);
|
|
39
|
+
if (!Number.isSafeInteger(startIndex) ||
|
|
40
|
+
startIndex < 0 ||
|
|
41
|
+
startIndex >= listedCount ||
|
|
42
|
+
String(startIndex) !== nextToken) {
|
|
43
|
+
throw new SimSqsInvalidParameterValue("NextToken is not a token this simulation issued");
|
|
44
|
+
}
|
|
45
|
+
return startIndex;
|
|
46
|
+
}
|
|
47
|
+
static tokenFor(nextIndex, listedCount) {
|
|
48
|
+
if (nextIndex >= listedCount) {
|
|
49
|
+
return undefined;
|
|
50
|
+
}
|
|
51
|
+
return String(nextIndex);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=sim-sqs-queue-page.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-sqs-queue-page.js","sourceRoot":"","sources":["../../../../../src/service/sqs/command/queue/sim-sqs-queue-page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,8BAA8B,CAAC;AAG3E,MAAM,iBAAiB,GAAG,IAAI,CAAC;AAC/B,MAAM,aAAa,GAAG,IAAI,CAAC;AAU3B;;GAEG;AACH,MAAM,OAAO,eAAe;IACV,MAAM,CAAyB;IAC/B,SAAS,CAAqB;IAE9C,YAAY,MAA8B,EAAE,KAA2B;QACrE,MAAM,UAAU,GAAG,eAAe,CAAC,UAAU,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;QAChE,MAAM,UAAU,GAAG,eAAe,CAAC,UAAU,CAC3C,KAAK,CAAC,SAAS,EACf,MAAM,CAAC,MAAM,CACd,CAAC;QACF,MAAM,SAAS,GAAG,UAAU,GAAG,UAAU,CAAC;QAE1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC;QAClD,IAAI,CAAC,SAAS,GAAG,eAAe,CAAC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;IACtE,CAAC;IAEO,MAAM,CAAC,UAAU,CAAC,SAA6B;QACrD,MAAM,UAAU,GAAG,SAAS,IAAI,iBAAiB,CAAC;QAElD,IACE,CAAC,MAAM,CAAC,aAAa,CAAC,UAAU,CAAC;YACjC,UAAU,GAAG,CAAC;YACd,UAAU,GAAG,aAAa,EAC1B,CAAC;YACD,MAAM,IAAI,2BAA2B,CACnC,SAAS,MAAM,CAAC,SAAS,CAAC,wCAAwC;gBAChE,wCAAwC,MAAM,CAAC,aAAa,CAAC,GAAG,CACnE,CAAC;QACJ,CAAC;QAED,OAAO,UAAU,CAAC;IACpB,CAAC;IAED;;;;;;OAMG;IACK,MAAM,CAAC,UAAU,CACvB,SAA6B,EAC7B,WAAmB;QAEnB,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;YAC5B,OAAO,CAAC,CAAC;QACX,CAAC;QAED,MAAM,UAAU,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;QAErC,IACE,CAAC,MAAM,CAAC,aAAa,CAAC,UAAU,CAAC;YACjC,UAAU,GAAG,CAAC;YACd,UAAU,IAAI,WAAW;YACzB,MAAM,CAAC,UAAU,CAAC,KAAK,SAAS,EAChC,CAAC;YACD,MAAM,IAAI,2BAA2B,CACnC,iDAAiD,CAClD,CAAC;QACJ,CAAC;QAED,OAAO,UAAU,CAAC;IACpB,CAAC;IAEO,MAAM,CAAC,QAAQ,CACrB,SAAiB,EACjB,WAAmB;QAEnB,IAAI,SAAS,IAAI,WAAW,EAAE,CAAC;YAC7B,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,OAAO,MAAM,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;CACF"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { SimAwsAccountId } from "../../../aws/sim-aws-account.js";
|
|
2
|
+
import type { SimCreateQueueCommandInput } from "./queue.command.js";
|
|
3
|
+
/**
|
|
4
|
+
* Refuse the queue request inputs this simulation does not model.
|
|
5
|
+
*
|
|
6
|
+
* Dropping a tag would leave a queue looking tagged to the request that sent it
|
|
7
|
+
* and untagged to everything else, and answering a request for another Account's
|
|
8
|
+
* queue with a local one of the same name would let a test pass while the real
|
|
9
|
+
* call crossed a boundary it has no permission for. Both are refused instead.
|
|
10
|
+
*/
|
|
11
|
+
export declare function refuseUnsimulatedQueueInput(input: SimCreateQueueCommandInput): void;
|
|
12
|
+
/**
|
|
13
|
+
* Refuse a request for a queue owned by another Account.
|
|
14
|
+
*
|
|
15
|
+
* Cross-account access needs a queue policy, which is not simulated.
|
|
16
|
+
*/
|
|
17
|
+
export declare function refuseForeignQueueOwner(owner: string | undefined, accountId: SimAwsAccountId): void;
|
|
18
|
+
//# sourceMappingURL=sim-sqs-unsimulated-queue-input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-sqs-unsimulated-queue-input.d.ts","sourceRoot":"","sources":["../../../../../src/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAEvE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAErE;;;;;;;GAOG;AACH,wBAAgB,2BAA2B,CACzC,KAAK,EAAE,0BAA0B,GAChC,IAAI,CAON;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,MAAM,GAAG,SAAS,EACzB,SAAS,EAAE,eAAe,GACzB,IAAI,CAON"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { SimSqsUnsupportedOperation } from "../../error/sim-sqs.error.js";
|
|
2
|
+
/**
|
|
3
|
+
* Refuse the queue request inputs this simulation does not model.
|
|
4
|
+
*
|
|
5
|
+
* Dropping a tag would leave a queue looking tagged to the request that sent it
|
|
6
|
+
* and untagged to everything else, and answering a request for another Account's
|
|
7
|
+
* queue with a local one of the same name would let a test pass while the real
|
|
8
|
+
* call crossed a boundary it has no permission for. Both are refused instead.
|
|
9
|
+
*/
|
|
10
|
+
export function refuseUnsimulatedQueueInput(input) {
|
|
11
|
+
if (input.tags !== undefined) {
|
|
12
|
+
throw new SimSqsUnsupportedOperation("Queue tags are not simulated, so CreateQueue refuses them rather than " +
|
|
13
|
+
"dropping them");
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Refuse a request for a queue owned by another Account.
|
|
18
|
+
*
|
|
19
|
+
* Cross-account access needs a queue policy, which is not simulated.
|
|
20
|
+
*/
|
|
21
|
+
export function refuseForeignQueueOwner(owner, accountId) {
|
|
22
|
+
if (owner !== undefined && owner !== accountId) {
|
|
23
|
+
throw new SimSqsUnsupportedOperation(`QueueOwnerAWSAccountId ${owner} names another Account, and ` +
|
|
24
|
+
`cross-account queue access is not simulated`);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=sim-sqs-unsimulated-queue-input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-sqs-unsimulated-queue-input.js","sourceRoot":"","sources":["../../../../../src/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAG1E;;;;;;;GAOG;AACH,MAAM,UAAU,2BAA2B,CACzC,KAAiC;IAEjC,IAAI,KAAK,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;QAC7B,MAAM,IAAI,0BAA0B,CAClC,wEAAwE;YACtE,eAAe,CAClB,CAAC;IACJ,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,uBAAuB,CACrC,KAAyB,EACzB,SAA0B;IAE1B,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QAC/C,MAAM,IAAI,0BAA0B,CAClC,0BAA0B,KAAK,8BAA8B;YAC3D,6CAA6C,CAChD,CAAC;IACJ,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The sim SQS Command types, gathered for the service facade.
|
|
3
|
+
*/
|
|
4
|
+
export type { SimCreateQueueCommand, SimCreateQueueCommandInput, SimCreateQueueCommandOutput, SimDeleteQueueCommand, SimDeleteQueueCommandInput, SimDeleteQueueCommandOutput, SimGetQueueAttributesCommand, SimGetQueueAttributesCommandInput, SimGetQueueAttributesCommandOutput, SimGetQueueUrlCommand, SimGetQueueUrlCommandInput, SimGetQueueUrlCommandOutput, SimListQueuesCommand, SimListQueuesCommandInput, SimListQueuesCommandOutput, SimPurgeQueueCommand, SimPurgeQueueCommandInput, SimPurgeQueueCommandOutput, SimSetQueueAttributesCommand, SimSetQueueAttributesCommandInput, SimSetQueueAttributesCommandOutput, } from "./queue/queue.command.js";
|
|
5
|
+
export type { SimSendMessageBatchCommand, SimSendMessageBatchCommandInput, SimSendMessageBatchCommandOutput, SimSendMessageCommand, SimSendMessageCommandInput, SimSendMessageCommandOutput, SimSqsBatchResultErrorEntry, SimSqsMessageSystemAttributeInput, SimSqsSendMessageBatchEntry, SimSqsSendMessageBatchResultEntry, SimSqsSentMessage, } from "./message/send.command.js";
|
|
6
|
+
export type { SimReceiveMessageCommand, SimReceiveMessageCommandInput, SimReceiveMessageCommandOutput, SimSqsReceivedMessage, } from "./message/receive.command.js";
|
|
7
|
+
export type { SimChangeMessageVisibilityCommand, SimChangeMessageVisibilityCommandInput, SimChangeMessageVisibilityCommandOutput, SimDeleteMessageBatchCommand, SimDeleteMessageBatchCommandInput, SimDeleteMessageBatchCommandOutput, SimDeleteMessageCommand, SimDeleteMessageCommandInput, SimDeleteMessageCommandOutput, SimSqsDeleteMessageBatchEntry, SimSqsDeleteMessageBatchResultEntry, } from "./message/consume.command.js";
|
|
8
|
+
//# sourceMappingURL=sim-sqs-command.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-sqs-command.types.d.ts","sourceRoot":"","sources":["../../../../src/service/sqs/command/sim-sqs-command.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,YAAY,EACV,qBAAqB,EACrB,0BAA0B,EAC1B,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAC1B,2BAA2B,EAC3B,4BAA4B,EAC5B,iCAAiC,EACjC,kCAAkC,EAClC,qBAAqB,EACrB,0BAA0B,EAC1B,2BAA2B,EAC3B,oBAAoB,EACpB,yBAAyB,EACzB,0BAA0B,EAC1B,oBAAoB,EACpB,yBAAyB,EACzB,0BAA0B,EAC1B,4BAA4B,EAC5B,iCAAiC,EACjC,kCAAkC,GACnC,MAAM,0BAA0B,CAAC;AAClC,YAAY,EACV,0BAA0B,EAC1B,+BAA+B,EAC/B,gCAAgC,EAChC,qBAAqB,EACrB,0BAA0B,EAC1B,2BAA2B,EAC3B,2BAA2B,EAC3B,iCAAiC,EACjC,2BAA2B,EAC3B,iCAAiC,EACjC,iBAAiB,GAClB,MAAM,2BAA2B,CAAC;AACnC,YAAY,EACV,wBAAwB,EACxB,6BAA6B,EAC7B,8BAA8B,EAC9B,qBAAqB,GACtB,MAAM,8BAA8B,CAAC;AACtC,YAAY,EACV,iCAAiC,EACjC,sCAAsC,EACtC,uCAAuC,EACvC,4BAA4B,EAC5B,iCAAiC,EACjC,kCAAkC,EAClC,uBAAuB,EACvB,4BAA4B,EAC5B,6BAA6B,EAC7B,6BAA6B,EAC7B,mCAAmC,GACpC,MAAM,8BAA8B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-sqs-command.types.js","sourceRoot":"","sources":["../../../../src/service/sqs/command/sim-sqs-command.types.ts"],"names":[],"mappings":""}
|