@kensio/yulin 1.0.0 → 1.1.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/dist/serve/payload-2/sim-payload-2-event.type.d.ts +14 -1
- package/dist/serve/payload-2/sim-payload-2-event.type.d.ts.map +1 -1
- package/dist/serve/payload-2/sim-payload-2-request-context.d.ts +6 -1
- package/dist/serve/payload-2/sim-payload-2-request-context.d.ts.map +1 -1
- package/dist/serve/payload-2/sim-payload-2-request-context.js +4 -0
- package/dist/serve/payload-2/sim-payload-2-request-context.js.map +1 -1
- package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-header-identity-source.d.ts +22 -0
- package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-header-identity-source.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-header-identity-source.js +27 -0
- package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-header-identity-source.js.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-source-parser.d.ts +47 -0
- package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-source-parser.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-source-parser.js +92 -0
- package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-source-parser.js.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-source.d.ts +47 -0
- package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-source.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-source.js +16 -0
- package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-source.js.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-sources.d.ts +29 -0
- package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-sources.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-sources.js +42 -0
- package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-sources.js.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-query-string-identity-source.d.ts +19 -0
- package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-query-string-identity-source.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-query-string-identity-source.js +24 -0
- package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-query-string-identity-source.js.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-route-key-identity-source.d.ts +25 -0
- package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-route-key-identity-source.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-route-key-identity-source.js +26 -0
- package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-route-key-identity-source.js.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorization.d.ts +24 -8
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorization.d.ts.map +1 -1
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorization.js +17 -4
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorization.js.map +1 -1
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer-result-cache.d.ts +49 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer-result-cache.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer-result-cache.js +74 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer-result-cache.js.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer.d.ts +27 -21
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer.d.ts.map +1 -1
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer.js +5 -23
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer.js.map +1 -1
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-bearer-token.d.ts +9 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-bearer-token.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-bearer-token.js +23 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-bearer-token.js.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-authorizer.d.ts +29 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-authorizer.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-authorizer.js +32 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-authorizer.js.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-verification.d.ts +2 -2
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-verification.d.ts.map +1 -1
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-verification.js.map +1 -1
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-request-authorizer.d.ts +56 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-request-authorizer.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-request-authorizer.js +63 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-request-authorizer.js.map +1 -0
- package/dist/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.d.ts +8 -2
- package/dist/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.d.ts.map +1 -1
- package/dist/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.js +16 -5
- package/dist/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.js.map +1 -1
- package/dist/service/apigatewayv2/api/route/sim-http-api-route.d.ts +8 -10
- package/dist/service/apigatewayv2/api/route/sim-http-api-route.d.ts.map +1 -1
- package/dist/service/apigatewayv2/api/route/sim-http-api-route.js +3 -3
- package/dist/service/apigatewayv2/api/route/sim-http-api-route.js.map +1 -1
- package/dist/service/apigatewayv2/api/sim-http-api-execute-api-arn.d.ts +29 -2
- package/dist/service/apigatewayv2/api/sim-http-api-execute-api-arn.d.ts.map +1 -1
- package/dist/service/apigatewayv2/api/sim-http-api-execute-api-arn.js +40 -2
- package/dist/service/apigatewayv2/api/sim-http-api-execute-api-arn.js.map +1 -1
- package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.d.ts +6 -0
- package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.d.ts.map +1 -1
- package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.js +5 -1
- package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.js.map +1 -1
- package/dist/service/apigatewayv2/api/sim-http-api-proxy-authorization.d.ts +7 -0
- package/dist/service/apigatewayv2/api/sim-http-api-proxy-authorization.d.ts.map +1 -1
- package/dist/service/apigatewayv2/api/sim-http-api-proxy-authorization.js +10 -1
- package/dist/service/apigatewayv2/api/sim-http-api-proxy-authorization.js.map +1 -1
- package/dist/service/apigatewayv2/api/sim-http-api-proxy-request-authorizer.d.ts +45 -0
- package/dist/service/apigatewayv2/api/sim-http-api-proxy-request-authorizer.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/sim-http-api-proxy-request-authorizer.js +55 -0
- package/dist/service/apigatewayv2/api/sim-http-api-proxy-request-authorizer.js.map +1 -0
- package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-creator.d.ts +4 -5
- package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-creator.d.ts.map +1 -1
- package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-creator.js +4 -5
- package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-creator.js.map +1 -1
- package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-properties.d.ts +6 -4
- package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-properties.d.ts.map +1 -1
- package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-properties.js +29 -15
- package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-properties.js.map +1 -1
- package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-jwt-configuration-properties.d.ts +30 -0
- package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-jwt-configuration-properties.d.ts.map +1 -0
- package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-jwt-configuration-properties.js +33 -0
- package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-jwt-configuration-properties.js.map +1 -0
- package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-request-authorizer-properties.d.ts +36 -0
- package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-request-authorizer-properties.d.ts.map +1 -0
- package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-request-authorizer-properties.js +32 -0
- package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-request-authorizer-properties.js.map +1 -0
- package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-values.d.ts +4 -25
- package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-values.d.ts.map +1 -1
- package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-values.js +4 -55
- package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-values.js.map +1 -1
- package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-scalar-values.d.ts +49 -0
- package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-scalar-values.d.ts.map +1 -0
- package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-scalar-values.js +98 -0
- package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-scalar-values.js.map +1 -0
- package/dist/service/apigatewayv2/command/authorizer/authorizer.command.d.ts +7 -2
- package/dist/service/apigatewayv2/command/authorizer/authorizer.command.d.ts.map +1 -1
- package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-commands.d.ts +9 -10
- package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-commands.d.ts.map +1 -1
- package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-commands.js +22 -24
- package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-commands.js.map +1 -1
- package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-input.d.ts +20 -0
- package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-input.d.ts.map +1 -0
- package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-input.js +15 -0
- package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-input.js.map +1 -0
- package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-options.d.ts +22 -0
- package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-options.d.ts.map +1 -0
- package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-options.js +26 -0
- package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-options.js.map +1 -0
- package/dist/service/apigatewayv2/command/authorizer/sim-http-api-jwt-authorizer-input.d.ts +23 -5
- package/dist/service/apigatewayv2/command/authorizer/sim-http-api-jwt-authorizer-input.d.ts.map +1 -1
- package/dist/service/apigatewayv2/command/authorizer/sim-http-api-jwt-authorizer-input.js +41 -4
- package/dist/service/apigatewayv2/command/authorizer/sim-http-api-jwt-authorizer-input.js.map +1 -1
- package/dist/service/apigatewayv2/command/authorizer/sim-http-api-request-authorizer-input.d.ts +58 -0
- package/dist/service/apigatewayv2/command/authorizer/sim-http-api-request-authorizer-input.d.ts.map +1 -0
- package/dist/service/apigatewayv2/command/authorizer/sim-http-api-request-authorizer-input.js +120 -0
- package/dist/service/apigatewayv2/command/authorizer/sim-http-api-request-authorizer-input.js.map +1 -0
- package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorization-options.d.ts +30 -0
- package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorization-options.d.ts.map +1 -0
- package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorization-options.js +55 -0
- package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorization-options.js.map +1 -0
- package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorization.d.ts +11 -12
- package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorization.d.ts.map +1 -1
- package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorization.js +36 -45
- package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorization.js.map +1 -1
- package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorizer-input.d.ts +26 -0
- package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorizer-input.d.ts.map +1 -0
- package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorizer-input.js +40 -0
- package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorizer-input.js.map +1 -0
- package/dist/service/apigatewayv2/command/route/sim-http-api-route-commands.d.ts.map +1 -1
- package/dist/service/apigatewayv2/command/route/sim-http-api-route-commands.js +4 -6
- package/dist/service/apigatewayv2/command/route/sim-http-api-route-commands.js.map +1 -1
- package/dist/service/apigatewayv2/index.d.ts +11 -2
- package/dist/service/apigatewayv2/index.d.ts.map +1 -1
- package/dist/service/apigatewayv2/index.js +8 -1
- package/dist/service/apigatewayv2/index.js.map +1 -1
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-identity-source.d.ts +25 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-identity-source.d.ts.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-identity-source.js +41 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-identity-source.js.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-jwt-authorizer-scheme.d.ts +19 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-jwt-authorizer-scheme.d.ts.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-jwt-authorizer-scheme.js +32 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-jwt-authorizer-scheme.js.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-request-authorizer-scheme.d.ts +21 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-request-authorizer-scheme.d.ts.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-request-authorizer-scheme.js +51 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-request-authorizer-scheme.js.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-route-authorization.d.ts +11 -2
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-route-authorization.d.ts.map +1 -1
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-route-authorization.js +26 -7
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-route-authorization.js.map +1 -1
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-scheme.d.ts +9 -9
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-scheme.d.ts.map +1 -1
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-scheme.js +42 -45
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-scheme.js.map +1 -1
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-schemes.d.ts +3 -2
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-schemes.d.ts.map +1 -1
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-schemes.js +3 -3
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-schemes.js.map +1 -1
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-value.d.ts +10 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-value.d.ts.map +1 -1
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-value.js +26 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-value.js.map +1 -1
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-decisions.d.ts +36 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-decisions.d.ts.map +1 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-decisions.js +39 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-decisions.js.map +1 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-event.d.ts +58 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-event.d.ts.map +1 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-event.js +58 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-event.js.map +1 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-invocation.d.ts +36 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-invocation.d.ts.map +1 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-invocation.js +52 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-invocation.js.map +1 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-policy.d.ts +27 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-policy.d.ts.map +1 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-policy.js +56 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-policy.js.map +1 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-response.d.ts +52 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-response.d.ts.map +1 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-response.js +112 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-authorizer-response.js.map +1 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-invoke-authorizer.d.ts +60 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-invoke-authorizer.d.ts.map +1 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-invoke-authorizer.js +64 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-invoke-authorizer.js.map +1 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-jwt-route-authorizer.d.ts.map +1 -1
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-jwt-route-authorizer.js +10 -5
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-jwt-route-authorizer.js.map +1 -1
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-request-route-authorizer.d.ts +42 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-request-route-authorizer.d.ts.map +1 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-request-route-authorizer.js +57 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-request-route-authorizer.js.map +1 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-route-authorizer.d.ts +10 -2
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-route-authorizer.d.ts.map +1 -1
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-route-authorizer.js +10 -1
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-route-authorizer.js.map +1 -1
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.d.ts +7 -14
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.d.ts.map +1 -1
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.js +23 -63
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.js.map +1 -1
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-router.d.ts +14 -7
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-router.d.ts.map +1 -1
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-router.js +12 -4
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-router.js.map +1 -1
- package/dist/service/apigatewayv2/serve/sim-http-api-integration-invocation.d.ts +46 -0
- package/dist/service/apigatewayv2/serve/sim-http-api-integration-invocation.d.ts.map +1 -0
- package/dist/service/apigatewayv2/serve/sim-http-api-integration-invocation.js +70 -0
- package/dist/service/apigatewayv2/serve/sim-http-api-integration-invocation.js.map +1 -0
- package/dist/service/apigatewayv2/serve/sim-http-api-refusal-response.d.ts +18 -0
- package/dist/service/apigatewayv2/serve/sim-http-api-refusal-response.d.ts.map +1 -0
- package/dist/service/apigatewayv2/serve/sim-http-api-refusal-response.js +30 -0
- package/dist/service/apigatewayv2/serve/sim-http-api-refusal-response.js.map +1 -0
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts +19 -1
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts.map +1 -1
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.js +30 -1
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.js.map +1 -1
- package/dist/service/aws/sim-aws-service-accessors.d.ts +61 -0
- package/dist/service/aws/sim-aws-service-accessors.d.ts.map +1 -0
- package/dist/service/aws/sim-aws-service-accessors.js +71 -0
- package/dist/service/aws/sim-aws-service-accessors.js.map +1 -0
- package/dist/service/aws/sim-aws.d.ts +10 -46
- package/dist/service/aws/sim-aws.d.ts.map +1 -1
- package/dist/service/aws/sim-aws.js +12 -60
- package/dist/service/aws/sim-aws.js.map +1 -1
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-configuration.d.ts +29 -0
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-configuration.d.ts.map +1 -0
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-configuration.js +57 -0
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-configuration.js.map +1 -0
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-filter.d.ts +21 -0
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-filter.d.ts.map +1 -0
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-filter.js +38 -0
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/configuration/sim-cdk-bucket-notification-filter.js.map +1 -0
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/error/sim-cdk-bucket-notification-error.d.ts +11 -0
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/error/sim-cdk-bucket-notification-error.d.ts.map +1 -0
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/error/sim-cdk-bucket-notification-error.js +13 -0
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/error/sim-cdk-bucket-notification-error.js.map +1 -0
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/property/sim-cdk-bucket-notification-properties.d.ts +48 -0
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/property/sim-cdk-bucket-notification-properties.d.ts.map +1 -0
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/property/sim-cdk-bucket-notification-properties.js +105 -0
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/property/sim-cdk-bucket-notification-properties.js.map +1 -0
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications-template.factory.d.ts +45 -0
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications-template.factory.d.ts.map +1 -0
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications-template.factory.js +109 -0
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications-template.factory.js.map +1 -0
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications.d.ts +27 -0
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications.d.ts.map +1 -0
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications.js +47 -0
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications.js.map +1 -0
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-custom-resource-factories.d.ts +23 -0
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-custom-resource-factories.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-custom-resource-factories.js +24 -0
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-custom-resource-factories.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 +18 -7
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-resolver.js.map +1 -1
- package/dist/service/cloudformation/template/value/sim-cfn-value-shape.d.ts +45 -0
- package/dist/service/cloudformation/template/value/sim-cfn-value-shape.d.ts.map +1 -0
- package/dist/service/cloudformation/template/value/sim-cfn-value-shape.js +73 -0
- package/dist/service/cloudformation/template/value/sim-cfn-value-shape.js.map +1 -0
- package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-cancellation.d.ts +12 -0
- package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-cancellation.d.ts.map +1 -1
- package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-cancellation.js +15 -2
- package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-cancellation.js.map +1 -1
- package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-key-actions.d.ts.map +1 -1
- package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-key-actions.js +15 -3
- package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-key-actions.js.map +1 -1
- package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-put-action.d.ts.map +1 -1
- package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-put-action.js +2 -2
- package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-put-action.js.map +1 -1
- package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-update-action.d.ts.map +1 -1
- package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-update-action.js +6 -2
- package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-update-action.js.map +1 -1
- package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-write.d.ts +6 -2
- package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-write.d.ts.map +1 -1
- package/dist/service/dynamodb/command/transact/sim-dynamodb-transact-write.js.map +1 -1
- package/dist/service/dynamodb/table/sim-dynamodb-table-writes.d.ts +57 -0
- package/dist/service/dynamodb/table/sim-dynamodb-table-writes.d.ts.map +1 -0
- package/dist/service/dynamodb/table/sim-dynamodb-table-writes.js +72 -0
- package/dist/service/dynamodb/table/sim-dynamodb-table-writes.js.map +1 -0
- package/dist/service/dynamodb/table/sim-dynamodb-table.d.ts +9 -4
- package/dist/service/dynamodb/table/sim-dynamodb-table.d.ts.map +1 -1
- package/dist/service/dynamodb/table/sim-dynamodb-table.js +17 -13
- package/dist/service/dynamodb/table/sim-dynamodb-table.js.map +1 -1
- package/dist/service/lambda/command/authorize/sim-lambda-service-invoke-authorizer.d.ts +56 -0
- package/dist/service/lambda/command/authorize/sim-lambda-service-invoke-authorizer.d.ts.map +1 -0
- package/dist/service/lambda/command/authorize/sim-lambda-service-invoke-authorizer.js +59 -0
- package/dist/service/lambda/command/authorize/sim-lambda-service-invoke-authorizer.js.map +1 -0
- package/dist/service/lambda/function/policy/sim-lambda-permission.d.ts +13 -2
- package/dist/service/lambda/function/policy/sim-lambda-permission.d.ts.map +1 -1
- package/dist/service/lambda/function/policy/sim-lambda-permission.js +17 -4
- package/dist/service/lambda/function/policy/sim-lambda-permission.js.map +1 -1
- package/dist/service/s3/bucket/notification/sim-s3-lambda-notification.d.ts +39 -0
- package/dist/service/s3/bucket/notification/sim-s3-lambda-notification.d.ts.map +1 -0
- package/dist/service/s3/bucket/notification/sim-s3-lambda-notification.js +46 -0
- package/dist/service/s3/bucket/notification/sim-s3-lambda-notification.js.map +1 -0
- package/dist/service/s3/bucket/notification/sim-s3-notification-configuration-reader.d.ts +27 -0
- package/dist/service/s3/bucket/notification/sim-s3-notification-configuration-reader.d.ts.map +1 -0
- package/dist/service/s3/bucket/notification/sim-s3-notification-configuration-reader.js +88 -0
- package/dist/service/s3/bucket/notification/sim-s3-notification-configuration-reader.js.map +1 -0
- package/dist/service/s3/bucket/notification/sim-s3-notification-configuration.d.ts +34 -0
- package/dist/service/s3/bucket/notification/sim-s3-notification-configuration.d.ts.map +1 -0
- package/dist/service/s3/bucket/notification/sim-s3-notification-configuration.js +46 -0
- package/dist/service/s3/bucket/notification/sim-s3-notification-configuration.js.map +1 -0
- package/dist/service/s3/bucket/notification/sim-s3-notification-event.d.ts +18 -0
- package/dist/service/s3/bucket/notification/sim-s3-notification-event.d.ts.map +1 -0
- package/dist/service/s3/bucket/notification/sim-s3-notification-event.js +50 -0
- package/dist/service/s3/bucket/notification/sim-s3-notification-event.js.map +1 -0
- package/dist/service/s3/bucket/notification/sim-s3-notification-filter.d.ts +42 -0
- package/dist/service/s3/bucket/notification/sim-s3-notification-filter.d.ts.map +1 -0
- package/dist/service/s3/bucket/notification/sim-s3-notification-filter.js +91 -0
- package/dist/service/s3/bucket/notification/sim-s3-notification-filter.js.map +1 -0
- package/dist/service/s3/bucket/notification/sim-s3-notification-overlap.d.ts +16 -0
- package/dist/service/s3/bucket/notification/sim-s3-notification-overlap.d.ts.map +1 -0
- package/dist/service/s3/bucket/notification/sim-s3-notification-overlap.js +28 -0
- package/dist/service/s3/bucket/notification/sim-s3-notification-overlap.js.map +1 -0
- package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.d.ts +13 -0
- package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.d.ts.map +1 -0
- package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.js +37 -0
- package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-events.js.map +1 -0
- package/dist/service/s3/bucket/sim-s3-bucket.d.ts +24 -0
- package/dist/service/s3/bucket/sim-s3-bucket.d.ts.map +1 -1
- package/dist/service/s3/bucket/sim-s3-bucket.js +31 -1
- package/dist/service/s3/bucket/sim-s3-bucket.js.map +1 -1
- package/dist/service/s3/cfn/bucket/error/sim-cfn-s3-bucket-error.d.ts +20 -0
- package/dist/service/s3/cfn/bucket/error/sim-cfn-s3-bucket-error.d.ts.map +1 -0
- package/dist/service/s3/cfn/bucket/error/sim-cfn-s3-bucket-error.js +24 -0
- package/dist/service/s3/cfn/bucket/error/sim-cfn-s3-bucket-error.js.map +1 -0
- package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-configuration.d.ts +33 -0
- package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-configuration.d.ts.map +1 -0
- package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-configuration.js +82 -0
- package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-configuration.js.map +1 -0
- package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-filter.d.ts +22 -0
- package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-filter.d.ts.map +1 -0
- package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-filter.js +54 -0
- package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-filter.js.map +1 -0
- package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-handler.resources.d.ts +26 -0
- package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-handler.resources.d.ts.map +1 -0
- package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-handler.resources.js +60 -0
- package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-handler.resources.js.map +1 -0
- package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-template.factory.d.ts +44 -0
- package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-template.factory.d.ts.map +1 -0
- package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-template.factory.js +67 -0
- package/dist/service/s3/cfn/bucket/notification/sim-cfn-s3-bucket-notification-template.factory.js.map +1 -0
- package/dist/service/s3/cfn/bucket/public-access/sim-cfn-s3-bucket-public-access-configuration.d.ts +24 -0
- package/dist/service/s3/cfn/bucket/public-access/sim-cfn-s3-bucket-public-access-configuration.d.ts.map +1 -0
- package/dist/service/s3/cfn/bucket/public-access/sim-cfn-s3-bucket-public-access-configuration.js +33 -0
- package/dist/service/s3/cfn/bucket/public-access/sim-cfn-s3-bucket-public-access-configuration.js.map +1 -0
- package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-configurator.d.ts +36 -0
- package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-configurator.d.ts.map +1 -0
- package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-configurator.js +69 -0
- package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-configurator.js.map +1 -0
- package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-creator.d.ts +9 -5
- package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-creator.d.ts.map +1 -1
- package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-creator.js +22 -62
- package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-creator.js.map +1 -1
- package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-property-rules.d.ts +33 -0
- package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-property-rules.d.ts.map +1 -0
- package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-property-rules.js +105 -0
- package/dist/service/s3/cfn/bucket/sim-cfn-s3-bucket-property-rules.js.map +1 -0
- package/dist/service/s3/cfn/bucket/website/sim-cfn-s3-bucket-website-configuration.d.ts +29 -0
- package/dist/service/s3/cfn/bucket/website/sim-cfn-s3-bucket-website-configuration.d.ts.map +1 -0
- package/dist/service/s3/cfn/bucket/website/sim-cfn-s3-bucket-website-configuration.js +59 -0
- package/dist/service/s3/cfn/bucket/website/sim-cfn-s3-bucket-website-configuration.js.map +1 -0
- package/dist/service/s3/command/bucket/sim-s3-bucket-commands.d.ts +34 -0
- package/dist/service/s3/command/bucket/sim-s3-bucket-commands.d.ts.map +1 -0
- package/dist/service/s3/command/bucket/sim-s3-bucket-commands.js +35 -0
- package/dist/service/s3/command/bucket/sim-s3-bucket-commands.js.map +1 -0
- package/dist/service/s3/command/bucket-policy/sim-s3-bucket-policy-commands.d.ts +23 -0
- package/dist/service/s3/command/bucket-policy/sim-s3-bucket-policy-commands.d.ts.map +1 -0
- package/dist/service/s3/command/bucket-policy/sim-s3-bucket-policy-commands.js +31 -0
- package/dist/service/s3/command/bucket-policy/sim-s3-bucket-policy-commands.js.map +1 -0
- package/dist/service/s3/command/delete-object/delete-object-authorizer.d.ts +33 -0
- package/dist/service/s3/command/delete-object/delete-object-authorizer.d.ts.map +1 -0
- package/dist/service/s3/command/delete-object/delete-object-authorizer.js +46 -0
- package/dist/service/s3/command/delete-object/delete-object-authorizer.js.map +1 -0
- package/dist/service/s3/command/delete-object/delete-object.command.d.ts +24 -0
- package/dist/service/s3/command/delete-object/delete-object.command.d.ts.map +1 -0
- package/dist/service/s3/command/delete-object/delete-object.command.js +2 -0
- package/dist/service/s3/command/delete-object/delete-object.command.js.map +1 -0
- package/dist/service/s3/command/delete-object/delete-object.handler.d.ts +38 -0
- package/dist/service/s3/command/delete-object/delete-object.handler.d.ts.map +1 -0
- package/dist/service/s3/command/delete-object/delete-object.handler.js +53 -0
- package/dist/service/s3/command/delete-object/delete-object.handler.js.map +1 -0
- package/dist/service/s3/command/delete-objects/delete-object-attempt.d.ts +12 -0
- package/dist/service/s3/command/delete-objects/delete-object-attempt.d.ts.map +1 -0
- package/dist/service/s3/command/delete-objects/delete-object-attempt.js +15 -0
- package/dist/service/s3/command/delete-objects/delete-object-attempt.js.map +1 -0
- package/dist/service/s3/command/delete-objects/delete-objects-key-removal.d.ts +28 -0
- package/dist/service/s3/command/delete-objects/delete-objects-key-removal.d.ts.map +1 -0
- package/dist/service/s3/command/delete-objects/delete-objects-key-removal.js +39 -0
- package/dist/service/s3/command/delete-objects/delete-objects-key-removal.js.map +1 -0
- package/dist/service/s3/command/delete-objects/delete-objects-outcome.d.ts +34 -0
- package/dist/service/s3/command/delete-objects/delete-objects-outcome.d.ts.map +1 -0
- package/dist/service/s3/command/delete-objects/delete-objects-outcome.js +64 -0
- package/dist/service/s3/command/delete-objects/delete-objects-outcome.js.map +1 -0
- package/dist/service/s3/command/delete-objects/delete-objects-request.d.ts +14 -0
- package/dist/service/s3/command/delete-objects/delete-objects-request.d.ts.map +1 -0
- package/dist/service/s3/command/delete-objects/delete-objects-request.js +34 -0
- package/dist/service/s3/command/delete-objects/delete-objects-request.js.map +1 -0
- package/dist/service/s3/command/delete-objects/delete-objects.command.d.ts +53 -0
- package/dist/service/s3/command/delete-objects/delete-objects.command.d.ts.map +1 -0
- package/dist/service/s3/command/delete-objects/delete-objects.command.js +2 -0
- package/dist/service/s3/command/delete-objects/delete-objects.command.js.map +1 -0
- package/dist/service/s3/command/delete-objects/delete-objects.handler.d.ts +36 -0
- package/dist/service/s3/command/delete-objects/delete-objects.handler.d.ts.map +1 -0
- package/dist/service/s3/command/delete-objects/delete-objects.handler.js +43 -0
- package/dist/service/s3/command/delete-objects/delete-objects.handler.js.map +1 -0
- package/dist/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.command.d.ts +34 -0
- package/dist/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.command.d.ts.map +1 -0
- package/dist/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.command.js +2 -0
- package/dist/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.command.js.map +1 -0
- package/dist/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.handler.d.ts +35 -0
- package/dist/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.handler.d.ts.map +1 -0
- package/dist/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.handler.js +40 -0
- package/dist/service/s3/command/get-bucket-notification-configuration/get-bucket-notification-configuration.handler.js.map +1 -0
- package/dist/service/s3/command/notification/sim-s3-notification-authorizer.d.ts +33 -0
- package/dist/service/s3/command/notification/sim-s3-notification-authorizer.d.ts.map +1 -0
- package/dist/service/s3/command/notification/sim-s3-notification-authorizer.js +50 -0
- package/dist/service/s3/command/notification/sim-s3-notification-authorizer.js.map +1 -0
- package/dist/service/s3/command/notification/sim-s3-notification-commands.d.ts +19 -0
- package/dist/service/s3/command/notification/sim-s3-notification-commands.d.ts.map +1 -0
- package/dist/service/s3/command/notification/sim-s3-notification-commands.js +24 -0
- package/dist/service/s3/command/notification/sim-s3-notification-commands.js.map +1 -0
- package/dist/service/s3/command/object/sim-s3-object-commands.d.ts +31 -0
- package/dist/service/s3/command/object/sim-s3-object-commands.d.ts.map +1 -0
- package/dist/service/s3/command/object/sim-s3-object-commands.js +45 -0
- package/dist/service/s3/command/object/sim-s3-object-commands.js.map +1 -0
- package/dist/service/s3/command/public-access-block/sim-s3-public-access-block-commands.d.ts +23 -0
- package/dist/service/s3/command/public-access-block/sim-s3-public-access-block-commands.d.ts.map +1 -0
- package/dist/service/s3/command/public-access-block/sim-s3-public-access-block-commands.js +31 -0
- package/dist/service/s3/command/public-access-block/sim-s3-public-access-block-commands.js.map +1 -0
- package/dist/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.command.d.ts +64 -0
- package/dist/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.command.d.ts.map +1 -0
- package/dist/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.command.js +2 -0
- package/dist/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.command.js.map +1 -0
- package/dist/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.handler.d.ts +39 -0
- package/dist/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.handler.d.ts.map +1 -0
- package/dist/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.handler.js +50 -0
- package/dist/service/s3/command/put-bucket-notification-configuration/put-bucket-notification-configuration.handler.js.map +1 -0
- package/dist/service/s3/command/put-object/put-object-authorizer.d.ts +6 -1
- package/dist/service/s3/command/put-object/put-object-authorizer.d.ts.map +1 -1
- package/dist/service/s3/command/put-object/put-object-authorizer.js +5 -0
- package/dist/service/s3/command/put-object/put-object-authorizer.js.map +1 -1
- package/dist/service/s3/command/put-object/put-object.handler.d.ts +3 -0
- package/dist/service/s3/command/put-object/put-object.handler.d.ts.map +1 -1
- package/dist/service/s3/command/put-object/put-object.handler.js +6 -1
- package/dist/service/s3/command/put-object/put-object.handler.js.map +1 -1
- package/dist/service/s3/command/sim-s3-bucket-command-state.d.ts +23 -0
- package/dist/service/s3/command/sim-s3-bucket-command-state.d.ts.map +1 -0
- package/dist/service/s3/command/sim-s3-bucket-command-state.js +2 -0
- package/dist/service/s3/command/sim-s3-bucket-command-state.js.map +1 -0
- package/dist/service/s3/command/sim-s3-command.types.d.ts +4 -0
- package/dist/service/s3/command/sim-s3-command.types.d.ts.map +1 -1
- package/dist/service/s3/command/sim-s3-request-options.d.ts +11 -0
- package/dist/service/s3/command/sim-s3-request-options.d.ts.map +1 -0
- package/dist/service/s3/command/sim-s3-request-options.js +2 -0
- package/dist/service/s3/command/sim-s3-request-options.js.map +1 -0
- package/dist/service/s3/error/sim-s3-notification.error.d.ts +24 -0
- package/dist/service/s3/error/sim-s3-notification.error.d.ts.map +1 -0
- package/dist/service/s3/error/sim-s3-notification.error.js +24 -0
- package/dist/service/s3/error/sim-s3-notification.error.js.map +1 -0
- package/dist/service/s3/error/sim-s3.error.d.ts +32 -0
- package/dist/service/s3/error/sim-s3.error.d.ts.map +1 -1
- package/dist/service/s3/error/sim-s3.error.js +38 -0
- package/dist/service/s3/error/sim-s3.error.js.map +1 -1
- package/dist/service/s3/index.d.ts +1 -0
- package/dist/service/s3/index.d.ts.map +1 -1
- package/dist/service/s3/notification/destination/lambda/sim-aws-s3-notification-functions.d.ts +48 -0
- package/dist/service/s3/notification/destination/lambda/sim-aws-s3-notification-functions.d.ts.map +1 -0
- package/dist/service/s3/notification/destination/lambda/sim-aws-s3-notification-functions.js +78 -0
- package/dist/service/s3/notification/destination/lambda/sim-aws-s3-notification-functions.js.map +1 -0
- package/dist/service/s3/notification/destination/lambda/sim-s3-lambda-notification-destination.d.ts +30 -0
- package/dist/service/s3/notification/destination/lambda/sim-s3-lambda-notification-destination.d.ts.map +1 -0
- package/dist/service/s3/notification/destination/lambda/sim-s3-lambda-notification-destination.js +40 -0
- package/dist/service/s3/notification/destination/lambda/sim-s3-lambda-notification-destination.js.map +1 -0
- package/dist/service/s3/notification/destination/lambda/sim-s3-notification-function-arn.d.ts +24 -0
- package/dist/service/s3/notification/destination/lambda/sim-s3-notification-function-arn.d.ts.map +1 -0
- package/dist/service/s3/notification/destination/lambda/sim-s3-notification-function-arn.js +45 -0
- package/dist/service/s3/notification/destination/lambda/sim-s3-notification-function-arn.js.map +1 -0
- package/dist/service/s3/notification/destination/lambda/sim-s3-notification-functions.d.ts +23 -0
- package/dist/service/s3/notification/destination/lambda/sim-s3-notification-functions.d.ts.map +1 -0
- package/dist/service/s3/notification/destination/lambda/sim-s3-notification-functions.js +2 -0
- package/dist/service/s3/notification/destination/lambda/sim-s3-notification-functions.js.map +1 -0
- package/dist/service/s3/notification/destination/sim-s3-notification-destination-check.d.ts +20 -0
- package/dist/service/s3/notification/destination/sim-s3-notification-destination-check.d.ts.map +1 -0
- package/dist/service/s3/notification/destination/sim-s3-notification-destination-check.js +30 -0
- package/dist/service/s3/notification/destination/sim-s3-notification-destination-check.js.map +1 -0
- package/dist/service/s3/notification/destination/sim-s3-notification-destination.d.ts +50 -0
- package/dist/service/s3/notification/destination/sim-s3-notification-destination.d.ts.map +1 -0
- package/dist/service/s3/notification/destination/sim-s3-notification-destination.js +2 -0
- package/dist/service/s3/notification/destination/sim-s3-notification-destination.js.map +1 -0
- package/dist/service/s3/notification/destination/sim-s3-service-notification-destinations.d.ts +36 -0
- package/dist/service/s3/notification/destination/sim-s3-service-notification-destinations.d.ts.map +1 -0
- package/dist/service/s3/notification/destination/sim-s3-service-notification-destinations.js +48 -0
- package/dist/service/s3/notification/destination/sim-s3-service-notification-destinations.js.map +1 -0
- package/dist/service/s3/notification/event/sim-s3-event-principal.d.ts +13 -0
- package/dist/service/s3/notification/event/sim-s3-event-principal.d.ts.map +1 -0
- package/dist/service/s3/notification/event/sim-s3-event-principal.js +20 -0
- package/dist/service/s3/notification/event/sim-s3-event-principal.js.map +1 -0
- package/dist/service/s3/notification/event/sim-s3-event-records.d.ts +21 -0
- package/dist/service/s3/notification/event/sim-s3-event-records.d.ts.map +1 -0
- package/dist/service/s3/notification/event/sim-s3-event-records.js +90 -0
- package/dist/service/s3/notification/event/sim-s3-event-records.js.map +1 -0
- package/dist/service/s3/notification/event/sim-s3-object-etag.d.ts +8 -0
- package/dist/service/s3/notification/event/sim-s3-object-etag.d.ts.map +1 -0
- package/dist/service/s3/notification/event/sim-s3-object-etag.js +11 -0
- package/dist/service/s3/notification/event/sim-s3-object-etag.js.map +1 -0
- package/dist/service/s3/notification/event/sim-s3-object-event-builder.d.ts +63 -0
- package/dist/service/s3/notification/event/sim-s3-object-event-builder.d.ts.map +1 -0
- package/dist/service/s3/notification/event/sim-s3-object-event-builder.js +65 -0
- package/dist/service/s3/notification/event/sim-s3-object-event-builder.js.map +1 -0
- package/dist/service/s3/notification/event/sim-s3-object-event.d.ts +42 -0
- package/dist/service/s3/notification/event/sim-s3-object-event.d.ts.map +1 -0
- package/dist/service/s3/notification/event/sim-s3-object-event.js +38 -0
- package/dist/service/s3/notification/event/sim-s3-object-event.js.map +1 -0
- package/dist/service/s3/notification/sim-s3-notification-ceiling.d.ts +26 -0
- package/dist/service/s3/notification/sim-s3-notification-ceiling.d.ts.map +1 -0
- package/dist/service/s3/notification/sim-s3-notification-ceiling.js +39 -0
- package/dist/service/s3/notification/sim-s3-notification-ceiling.js.map +1 -0
- package/dist/service/s3/notification/sim-s3-notification-dispatcher.d.ts +33 -0
- package/dist/service/s3/notification/sim-s3-notification-dispatcher.d.ts.map +1 -0
- package/dist/service/s3/notification/sim-s3-notification-dispatcher.js +50 -0
- package/dist/service/s3/notification/sim-s3-notification-dispatcher.js.map +1 -0
- package/dist/service/s3/notification/sim-s3-notification-failures.d.ts +56 -0
- package/dist/service/s3/notification/sim-s3-notification-failures.d.ts.map +1 -0
- package/dist/service/s3/notification/sim-s3-notification-failures.js +80 -0
- package/dist/service/s3/notification/sim-s3-notification-failures.js.map +1 -0
- package/dist/service/s3/notification/sim-s3-notification-schedule.d.ts +31 -0
- package/dist/service/s3/notification/sim-s3-notification-schedule.d.ts.map +1 -0
- package/dist/service/s3/notification/sim-s3-notification-schedule.js +35 -0
- package/dist/service/s3/notification/sim-s3-notification-schedule.js.map +1 -0
- package/dist/service/s3/notification/sim-s3-object-notifier.d.ts +38 -0
- package/dist/service/s3/notification/sim-s3-object-notifier.d.ts.map +1 -0
- package/dist/service/s3/notification/sim-s3-object-notifier.js +46 -0
- package/dist/service/s3/notification/sim-s3-object-notifier.js.map +1 -0
- package/dist/service/s3/notification/sim-s3-object-sequencers.d.ts +19 -0
- package/dist/service/s3/notification/sim-s3-object-sequencers.d.ts.map +1 -0
- package/dist/service/s3/notification/sim-s3-object-sequencers.js +24 -0
- package/dist/service/s3/notification/sim-s3-object-sequencers.js.map +1 -0
- package/dist/service/s3/sdk/sim-s3-sdk-command-router.d.ts.map +1 -1
- package/dist/service/s3/sdk/sim-s3-sdk-command-router.js +16 -0
- package/dist/service/s3/sdk/sim-s3-sdk-command-router.js.map +1 -1
- package/dist/service/s3/serve/sim-s3-rest-controller.d.ts +8 -1
- package/dist/service/s3/serve/sim-s3-rest-controller.d.ts.map +1 -1
- package/dist/service/s3/serve/sim-s3-rest-controller.js +15 -27
- package/dist/service/s3/serve/sim-s3-rest-controller.js.map +1 -1
- package/dist/service/s3/serve/sim-s3-rest-object-reader.d.ts +17 -0
- package/dist/service/s3/serve/sim-s3-rest-object-reader.d.ts.map +1 -0
- package/dist/service/s3/serve/sim-s3-rest-object-reader.js +40 -0
- package/dist/service/s3/serve/sim-s3-rest-object-reader.js.map +1 -0
- package/dist/service/s3/serve/sim-s3-rest-refusal.js +2 -2
- package/dist/service/s3/serve/sim-s3-rest-refusal.js.map +1 -1
- package/dist/service/s3/sim-s3-commands.d.ts +51 -0
- package/dist/service/s3/sim-s3-commands.d.ts.map +1 -0
- package/dist/service/s3/sim-s3-commands.js +49 -0
- package/dist/service/s3/sim-s3-commands.js.map +1 -0
- package/dist/service/s3/sim-s3.d.ts +39 -27
- package/dist/service/s3/sim-s3.d.ts.map +1 -1
- package/dist/service/s3/sim-s3.js +50 -20
- package/dist/service/s3/sim-s3.js.map +1 -1
- package/dist/service/s3/storage/filesystem/s3-filesystem-object-keys.d.ts +27 -0
- package/dist/service/s3/storage/filesystem/s3-filesystem-object-keys.d.ts.map +1 -0
- package/dist/service/s3/storage/filesystem/s3-filesystem-object-keys.js +55 -0
- package/dist/service/s3/storage/filesystem/s3-filesystem-object-keys.js.map +1 -0
- package/dist/service/s3/storage/filesystem/s3-filesystem-storage.d.ts +11 -2
- package/dist/service/s3/storage/filesystem/s3-filesystem-storage.d.ts.map +1 -1
- package/dist/service/s3/storage/filesystem/s3-filesystem-storage.js +23 -33
- package/dist/service/s3/storage/filesystem/s3-filesystem-storage.js.map +1 -1
- package/dist/service/s3/storage/s3-bucket-storage.d.ts +8 -0
- package/dist/service/s3/storage/s3-bucket-storage.d.ts.map +1 -1
- package/dist/service/s3/storage/s3-memory-storage.d.ts +7 -0
- package/dist/service/s3/storage/s3-memory-storage.d.ts.map +1 -1
- package/dist/service/s3/storage/s3-memory-storage.js +9 -0
- package/dist/service/s3/storage/s3-memory-storage.js.map +1 -1
- package/dist/service/sqs/cfn/queue-policy/sim-cfn-sqs-queue-policy-creator.d.ts +42 -0
- package/dist/service/sqs/cfn/queue-policy/sim-cfn-sqs-queue-policy-creator.d.ts.map +1 -0
- package/dist/service/sqs/cfn/queue-policy/sim-cfn-sqs-queue-policy-creator.js +79 -0
- package/dist/service/sqs/cfn/queue-policy/sim-cfn-sqs-queue-policy-creator.js.map +1 -0
- package/dist/service/sqs/cfn/sim-sqs-cfn-resource-factory.d.ts +3 -3
- package/dist/service/sqs/cfn/sim-sqs-cfn-resource-factory.d.ts.map +1 -1
- package/dist/service/sqs/cfn/sim-sqs-cfn-resource-factory.js +10 -3
- package/dist/service/sqs/cfn/sim-sqs-cfn-resource-factory.js.map +1 -1
- package/dist/service/sqs/command/authorize/sim-sqs-authorizer.d.ts +23 -8
- package/dist/service/sqs/command/authorize/sim-sqs-authorizer.d.ts.map +1 -1
- package/dist/service/sqs/command/authorize/sim-sqs-authorizer.js +35 -13
- package/dist/service/sqs/command/authorize/sim-sqs-authorizer.js.map +1 -1
- package/dist/service/sqs/command/authorize/sim-sqs-condition-context.d.ts +13 -0
- package/dist/service/sqs/command/authorize/sim-sqs-condition-context.d.ts.map +1 -0
- package/dist/service/sqs/command/authorize/sim-sqs-condition-context.js +17 -0
- package/dist/service/sqs/command/authorize/sim-sqs-condition-context.js.map +1 -0
- package/dist/service/sqs/command/authorize/sim-sqs-queue-resource-policies.d.ts +12 -0
- package/dist/service/sqs/command/authorize/sim-sqs-queue-resource-policies.d.ts.map +1 -0
- package/dist/service/sqs/command/authorize/sim-sqs-queue-resource-policies.js +25 -0
- package/dist/service/sqs/command/authorize/sim-sqs-queue-resource-policies.js.map +1 -0
- package/dist/service/sqs/command/message/sim-sqs-change-message-visibility.d.ts +2 -5
- package/dist/service/sqs/command/message/sim-sqs-change-message-visibility.d.ts.map +1 -1
- package/dist/service/sqs/command/message/sim-sqs-change-message-visibility.js +1 -1
- package/dist/service/sqs/command/message/sim-sqs-change-message-visibility.js.map +1 -1
- package/dist/service/sqs/command/message/sim-sqs-delete-message-commands.d.ts +3 -6
- package/dist/service/sqs/command/message/sim-sqs-delete-message-commands.d.ts.map +1 -1
- package/dist/service/sqs/command/message/sim-sqs-delete-message-commands.js +2 -2
- package/dist/service/sqs/command/message/sim-sqs-delete-message-commands.js.map +1 -1
- package/dist/service/sqs/command/message/sim-sqs-receive-message.d.ts +2 -5
- package/dist/service/sqs/command/message/sim-sqs-receive-message.d.ts.map +1 -1
- package/dist/service/sqs/command/message/sim-sqs-receive-message.js +1 -1
- package/dist/service/sqs/command/message/sim-sqs-receive-message.js.map +1 -1
- package/dist/service/sqs/command/message/sim-sqs-send-message-commands.d.ts +3 -6
- package/dist/service/sqs/command/message/sim-sqs-send-message-commands.d.ts.map +1 -1
- package/dist/service/sqs/command/message/sim-sqs-send-message-commands.js +2 -2
- package/dist/service/sqs/command/message/sim-sqs-send-message-commands.js.map +1 -1
- package/dist/service/sqs/command/queue/sim-sqs-create-queue.d.ts +2 -5
- package/dist/service/sqs/command/queue/sim-sqs-create-queue.d.ts.map +1 -1
- package/dist/service/sqs/command/queue/sim-sqs-create-queue.js +1 -1
- package/dist/service/sqs/command/queue/sim-sqs-create-queue.js.map +1 -1
- package/dist/service/sqs/command/queue/sim-sqs-queue-access.d.ts +22 -14
- package/dist/service/sqs/command/queue/sim-sqs-queue-access.d.ts.map +1 -1
- package/dist/service/sqs/command/queue/sim-sqs-queue-access.js +31 -20
- package/dist/service/sqs/command/queue/sim-sqs-queue-access.js.map +1 -1
- package/dist/service/sqs/command/queue/sim-sqs-queue-attribute-commands.d.ts +4 -7
- package/dist/service/sqs/command/queue/sim-sqs-queue-attribute-commands.d.ts.map +1 -1
- package/dist/service/sqs/command/queue/sim-sqs-queue-attribute-commands.js +3 -3
- package/dist/service/sqs/command/queue/sim-sqs-queue-attribute-commands.js.map +1 -1
- package/dist/service/sqs/command/queue/sim-sqs-queue-commands.d.ts +4 -7
- package/dist/service/sqs/command/queue/sim-sqs-queue-commands.d.ts.map +1 -1
- package/dist/service/sqs/command/queue/sim-sqs-queue-commands.js +3 -3
- package/dist/service/sqs/command/queue/sim-sqs-queue-commands.js.map +1 -1
- package/dist/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.d.ts +4 -1
- package/dist/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.d.ts.map +1 -1
- package/dist/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.js +4 -1
- package/dist/service/sqs/command/queue/sim-sqs-unsimulated-queue-input.js.map +1 -1
- package/dist/service/sqs/command/sim-sqs-request-options.d.ts +31 -0
- package/dist/service/sqs/command/sim-sqs-request-options.d.ts.map +1 -0
- package/dist/service/sqs/command/sim-sqs-request-options.js +10 -0
- package/dist/service/sqs/command/sim-sqs-request-options.js.map +1 -0
- package/dist/service/sqs/index.d.ts +3 -1
- package/dist/service/sqs/index.d.ts.map +1 -1
- package/dist/service/sqs/index.js +2 -0
- package/dist/service/sqs/index.js.map +1 -1
- package/dist/service/sqs/queue/sim-sqs-queue-attribute-names.js +4 -4
- package/dist/service/sqs/queue/sim-sqs-queue-attribute-names.js.map +1 -1
- package/dist/service/sqs/queue/sim-sqs-queue-attribute-numbers.d.ts +8 -0
- package/dist/service/sqs/queue/sim-sqs-queue-attribute-numbers.d.ts.map +1 -1
- package/dist/service/sqs/queue/sim-sqs-queue-attribute-numbers.js +21 -5
- package/dist/service/sqs/queue/sim-sqs-queue-attribute-numbers.js.map +1 -1
- package/dist/service/sqs/queue/sim-sqs-queue-attribute-specs.d.ts +14 -2
- package/dist/service/sqs/queue/sim-sqs-queue-attribute-specs.d.ts.map +1 -1
- package/dist/service/sqs/queue/sim-sqs-queue-attribute-specs.js +17 -2
- package/dist/service/sqs/queue/sim-sqs-queue-attribute-specs.js.map +1 -1
- package/dist/service/sqs/queue/sim-sqs-queue-attributes.d.ts +12 -14
- package/dist/service/sqs/queue/sim-sqs-queue-attributes.d.ts.map +1 -1
- package/dist/service/sqs/queue/sim-sqs-queue-attributes.js +24 -42
- package/dist/service/sqs/queue/sim-sqs-queue-attributes.js.map +1 -1
- package/dist/service/sqs/queue/sim-sqs-queue-json-attribute.d.ts +53 -0
- package/dist/service/sqs/queue/sim-sqs-queue-json-attribute.d.ts.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-json-attribute.js +66 -0
- package/dist/service/sqs/queue/sim-sqs-queue-json-attribute.js.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-json-attributes.d.ts +40 -0
- package/dist/service/sqs/queue/sim-sqs-queue-json-attributes.d.ts.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-json-attributes.js +65 -0
- package/dist/service/sqs/queue/sim-sqs-queue-json-attributes.js.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-policy.d.ts +33 -0
- package/dist/service/sqs/queue/sim-sqs-queue-policy.d.ts.map +1 -0
- package/dist/service/sqs/queue/sim-sqs-queue-policy.js +84 -0
- package/dist/service/sqs/queue/sim-sqs-queue-policy.js.map +1 -0
- package/dist/service/sqs/sim-sqs.d.ts +1 -4
- package/dist/service/sqs/sim-sqs.d.ts.map +1 -1
- package/dist/service/sqs/sim-sqs.js.map +1 -1
- package/package.json +1 -1
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-identity-source.d.ts +0 -31
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-identity-source.d.ts.map +0 -1
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-identity-source.js +0 -78
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-identity-source.js.map +0 -1
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-integration-authorizer.d.ts +0 -42
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-integration-authorizer.d.ts.map +0 -1
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-integration-authorizer.js +0 -49
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-integration-authorizer.js.map +0 -1
- package/dist/service/s3/command/sim-s3-command-handlers.d.ts +0 -91
- package/dist/service/s3/command/sim-s3-command-handlers.d.ts.map +0 -1
- package/dist/service/s3/command/sim-s3-command-handlers.js +0 -115
- package/dist/service/s3/command/sim-s3-command-handlers.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-sqs-queue-attribute-specs.js","sourceRoot":"","sources":["../../../../src/service/sqs/queue/sim-sqs-queue-attribute-specs.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-sqs-queue-attribute-specs.js","sourceRoot":"","sources":["../../../../src/service/sqs/queue/sim-sqs-queue-attribute-specs.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,eAAe,CAAC;AAEhE;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,QAAQ,CAAC;AAEvD;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAwB,IAAI,GAAG,CAAC;IACxE,gCAAgC;IAChC,8BAA8B;CAC/B,CAAC,CAAC;AAYH;;;GAGG;AACH,MAAM,CAAC,MAAM,6BAA6B,GACxC;IACE,EAAE,IAAI,EAAE,cAAc,EAAE,YAAY,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE;IACnE;QACE,IAAI,EAAE,oBAAoB;QAC1B,YAAY,EAAE,OAAO;QACrB,OAAO,EAAE,IAAI;QACb,OAAO,EAAE,OAAO;KACjB;IACD;QACE,IAAI,EAAE,wBAAwB;QAC9B,YAAY,EAAE,OAAO;QACrB,OAAO,EAAE,EAAE;QACX,OAAO,EAAE,SAAS;KACnB;IACD;QACE,IAAI,EAAE,+BAA+B;QACrC,YAAY,EAAE,CAAC;QACf,OAAO,EAAE,CAAC;QACV,OAAO,EAAE,EAAE;KACZ;IACD;QACE,IAAI,EAAE,mBAAmB;QACzB,YAAY,EAAE,EAAE;QAChB,OAAO,EAAE,CAAC;QACV,OAAO,EAAE,MAAM;KAChB;CACF,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { SimSqsQueuePolicy } from "./sim-sqs-queue-policy.js";
|
|
2
|
+
import type { SimSqsRedrivePolicy } from "./sim-sqs-redrive-policy.js";
|
|
2
3
|
/**
|
|
3
4
|
* Queue attributes as a request carries them: SQS passes every attribute value
|
|
4
5
|
* as a string, whatever the attribute means.
|
|
@@ -8,13 +9,13 @@ export type SimSqsQueueAttributeInput = Readonly<Record<string, string | undefin
|
|
|
8
9
|
* The attribute values held by one simulated queue.
|
|
9
10
|
*
|
|
10
11
|
* They come in two kinds. Most are amounts, held as numbers because that is
|
|
11
|
-
* what the queue's behaviour is expressed in. The redrive policy
|
|
12
|
-
*
|
|
13
|
-
* rest rather than squeezed into the same map.
|
|
12
|
+
* what the queue's behaviour is expressed in. The redrive policy and the queue
|
|
13
|
+
* policy are JSON documents, and a queue has neither until one is set, so they
|
|
14
|
+
* are held apart from the rest rather than squeezed into the same map.
|
|
14
15
|
*/
|
|
15
16
|
export declare class SimSqsQueueAttributes {
|
|
16
17
|
private readonly numbers;
|
|
17
|
-
private readonly
|
|
18
|
+
private readonly documents;
|
|
18
19
|
private constructor();
|
|
19
20
|
/**
|
|
20
21
|
* The attribute values a queue created with no attributes has.
|
|
@@ -30,6 +31,8 @@ export declare class SimSqsQueueAttributes {
|
|
|
30
31
|
get visibilityTimeoutSeconds(): number;
|
|
31
32
|
/** Where failed messages go, and after how many receives, if anywhere. */
|
|
32
33
|
get redrivePolicy(): SimSqsRedrivePolicy | undefined;
|
|
34
|
+
/** Who the queue itself admits, if anyone. */
|
|
35
|
+
get queuePolicy(): SimSqsQueuePolicy | undefined;
|
|
33
36
|
/**
|
|
34
37
|
* Apply the attribute values a request asks for, leaving the rest as they are.
|
|
35
38
|
*/
|
|
@@ -45,16 +48,11 @@ export declare class SimSqsQueueAttributes {
|
|
|
45
48
|
/**
|
|
46
49
|
* The attributes as SQS reports them, back in their string form.
|
|
47
50
|
*
|
|
48
|
-
* The
|
|
49
|
-
* the
|
|
50
|
-
* reports
|
|
51
|
+
* The JSON documents are reported as the strings they were set with, since
|
|
52
|
+
* those are the strings SQS holds the attributes as. A queue with no redrive
|
|
53
|
+
* policy or no queue policy reports neither, as real SQS leaves out an
|
|
54
|
+
* attribute a queue has no value for.
|
|
51
55
|
*/
|
|
52
56
|
reported(): ReadonlyMap<string, string>;
|
|
53
|
-
/**
|
|
54
|
-
* The redrive policy after a request, which is the one it sets or the one
|
|
55
|
-
* already there.
|
|
56
|
-
*/
|
|
57
|
-
private redriveIn;
|
|
58
|
-
private redriveMatches;
|
|
59
57
|
}
|
|
60
58
|
//# sourceMappingURL=sim-sqs-queue-attributes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-sqs-queue-attributes.d.ts","sourceRoot":"","sources":["../../../../src/service/sqs/queue/sim-sqs-queue-attributes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-sqs-queue-attributes.d.ts","sourceRoot":"","sources":["../../../../src/service/sqs/queue/sim-sqs-queue-attributes.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAEvE;;;GAGG;AACH,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAC9C,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CACnC,CAAC;AAEF;;;;;;;GAOG;AACH,qBAAa,qBAAqB;IAChC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA8B;IACtD,OAAO,CAAC,QAAQ,CAAC,SAAS,CAA4B;IAEtD,OAAO,eAMN;IAED;;OAEG;IACH,MAAM,CAAC,QAAQ,IAAI,qBAAqB,CAKvC;IAED,kEAAkE;IAClE,IAAI,YAAY,IAAI,MAAM,CAEzB;IAED,4DAA4D;IAC5D,IAAI,uBAAuB,IAAI,MAAM,CAEpC;IAED,iEAAiE;IACjE,IAAI,uBAAuB,IAAI,MAAM,CAEpC;IAED,kEAAkE;IAClE,IAAI,wBAAwB,IAAI,MAAM,CAErC;IAED,0EAA0E;IAC1E,IAAI,aAAa,IAAI,mBAAmB,GAAG,SAAS,CAEnD;IAED,8CAA8C;IAC9C,IAAI,WAAW,IAAI,iBAAiB,GAAG,SAAS,CAE/C;IAED;;OAEG;IACH,IAAI,CAAC,SAAS,EAAE,yBAAyB,GAAG,qBAAqB,CAKhE;IAED;;;;;;OAMG;IACH,OAAO,CAAC,SAAS,EAAE,yBAAyB,GAAG,OAAO,CAErD;IAED;;;;;;;OAOG;IACH,QAAQ,IAAI,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAMtC;CACF"}
|
|
@@ -1,52 +1,55 @@
|
|
|
1
1
|
import { SimSqsQueueAttributeNumbers } from "./sim-sqs-queue-attribute-numbers.js";
|
|
2
|
-
import {
|
|
3
|
-
import { SimSqsRedrivePolicy } from "./sim-sqs-redrive-policy.js";
|
|
2
|
+
import { SimSqsQueueJsonAttributes } from "./sim-sqs-queue-json-attributes.js";
|
|
4
3
|
/**
|
|
5
4
|
* The attribute values held by one simulated queue.
|
|
6
5
|
*
|
|
7
6
|
* They come in two kinds. Most are amounts, held as numbers because that is
|
|
8
|
-
* what the queue's behaviour is expressed in. The redrive policy
|
|
9
|
-
*
|
|
10
|
-
* rest rather than squeezed into the same map.
|
|
7
|
+
* what the queue's behaviour is expressed in. The redrive policy and the queue
|
|
8
|
+
* policy are JSON documents, and a queue has neither until one is set, so they
|
|
9
|
+
* are held apart from the rest rather than squeezed into the same map.
|
|
11
10
|
*/
|
|
12
11
|
export class SimSqsQueueAttributes {
|
|
13
12
|
numbers;
|
|
14
|
-
|
|
15
|
-
constructor(numbers,
|
|
13
|
+
documents;
|
|
14
|
+
constructor(numbers, documents) {
|
|
16
15
|
this.numbers = numbers;
|
|
17
|
-
this.
|
|
16
|
+
this.documents = documents;
|
|
18
17
|
}
|
|
19
18
|
/**
|
|
20
19
|
* The attribute values a queue created with no attributes has.
|
|
21
20
|
*/
|
|
22
21
|
static defaults() {
|
|
23
|
-
return new this(SimSqsQueueAttributeNumbers.defaults(),
|
|
22
|
+
return new this(SimSqsQueueAttributeNumbers.defaults(), SimSqsQueueJsonAttributes.defaults());
|
|
24
23
|
}
|
|
25
24
|
/** The delay a new message with no delay of its own waits out. */
|
|
26
25
|
get delaySeconds() {
|
|
27
|
-
return this.numbers.
|
|
26
|
+
return this.numbers.delaySeconds;
|
|
28
27
|
}
|
|
29
28
|
/** The longest message body the queue accepts, in bytes. */
|
|
30
29
|
get maximumMessageSizeBytes() {
|
|
31
|
-
return this.numbers.
|
|
30
|
+
return this.numbers.maximumMessageSizeBytes;
|
|
32
31
|
}
|
|
33
32
|
/** How long a message stays on the queue before SQS drops it. */
|
|
34
33
|
get messageRetentionSeconds() {
|
|
35
|
-
return this.numbers.
|
|
34
|
+
return this.numbers.messageRetentionSeconds;
|
|
36
35
|
}
|
|
37
36
|
/** How long a received message is hidden from other consumers. */
|
|
38
37
|
get visibilityTimeoutSeconds() {
|
|
39
|
-
return this.numbers.
|
|
38
|
+
return this.numbers.visibilityTimeoutSeconds;
|
|
40
39
|
}
|
|
41
40
|
/** Where failed messages go, and after how many receives, if anywhere. */
|
|
42
41
|
get redrivePolicy() {
|
|
43
|
-
return this.
|
|
42
|
+
return this.documents.redrivePolicy;
|
|
43
|
+
}
|
|
44
|
+
/** Who the queue itself admits, if anyone. */
|
|
45
|
+
get queuePolicy() {
|
|
46
|
+
return this.documents.queuePolicy;
|
|
44
47
|
}
|
|
45
48
|
/**
|
|
46
49
|
* Apply the attribute values a request asks for, leaving the rest as they are.
|
|
47
50
|
*/
|
|
48
51
|
with(requested) {
|
|
49
|
-
return new SimSqsQueueAttributes(this.numbers.with(requested), this.
|
|
52
|
+
return new SimSqsQueueAttributes(this.numbers.with(requested), this.documents.with(requested));
|
|
50
53
|
}
|
|
51
54
|
/**
|
|
52
55
|
* Whether every attribute a request names already holds the value it asks for.
|
|
@@ -56,41 +59,20 @@ export class SimSqsQueueAttributes {
|
|
|
56
59
|
* request carrying none matches any existing queue.
|
|
57
60
|
*/
|
|
58
61
|
matches(requested) {
|
|
59
|
-
return this.
|
|
62
|
+
return this.documents.matches(requested) && this.numbers.matches(requested);
|
|
60
63
|
}
|
|
61
64
|
/**
|
|
62
65
|
* The attributes as SQS reports them, back in their string form.
|
|
63
66
|
*
|
|
64
|
-
* The
|
|
65
|
-
* the
|
|
66
|
-
* reports
|
|
67
|
+
* The JSON documents are reported as the strings they were set with, since
|
|
68
|
+
* those are the strings SQS holds the attributes as. A queue with no redrive
|
|
69
|
+
* policy or no queue policy reports neither, as real SQS leaves out an
|
|
70
|
+
* attribute a queue has no value for.
|
|
67
71
|
*/
|
|
68
72
|
reported() {
|
|
69
73
|
const reported = new Map(this.numbers.reported());
|
|
70
|
-
|
|
71
|
-
reported.set(simSqsRedrivePolicyAttributeName, this.redrive.value);
|
|
72
|
-
}
|
|
74
|
+
this.documents.reportInto(reported);
|
|
73
75
|
return reported;
|
|
74
76
|
}
|
|
75
|
-
/**
|
|
76
|
-
* The redrive policy after a request, which is the one it sets or the one
|
|
77
|
-
* already there.
|
|
78
|
-
*/
|
|
79
|
-
redriveIn(requested) {
|
|
80
|
-
// eslint-disable-next-line security/detect-object-injection -- a fixed key.
|
|
81
|
-
const value = requested[simSqsRedrivePolicyAttributeName];
|
|
82
|
-
if (value === undefined) {
|
|
83
|
-
return this.redrive;
|
|
84
|
-
}
|
|
85
|
-
return SimSqsRedrivePolicy.parse(value);
|
|
86
|
-
}
|
|
87
|
-
redriveMatches(requested) {
|
|
88
|
-
// eslint-disable-next-line security/detect-object-injection -- a fixed key.
|
|
89
|
-
const value = requested[simSqsRedrivePolicyAttributeName];
|
|
90
|
-
if (value === undefined) {
|
|
91
|
-
return true;
|
|
92
|
-
}
|
|
93
|
-
return this.redrive?.matches(SimSqsRedrivePolicy.parse(value)) === true;
|
|
94
|
-
}
|
|
95
77
|
}
|
|
96
78
|
//# sourceMappingURL=sim-sqs-queue-attributes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-sqs-queue-attributes.js","sourceRoot":"","sources":["../../../../src/service/sqs/queue/sim-sqs-queue-attributes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACnF,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"sim-sqs-queue-attributes.js","sourceRoot":"","sources":["../../../../src/service/sqs/queue/sim-sqs-queue-attributes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACnF,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAY/E;;;;;;;GAOG;AACH,MAAM,OAAO,qBAAqB;IACf,OAAO,CAA8B;IACrC,SAAS,CAA4B;IAEtD,YACE,OAAoC,EACpC,SAAoC;QAEpC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC7B,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,QAAQ;QACb,OAAO,IAAI,IAAI,CACb,2BAA2B,CAAC,QAAQ,EAAE,EACtC,yBAAyB,CAAC,QAAQ,EAAE,CACrC,CAAC;IACJ,CAAC;IAED,kEAAkE;IAClE,IAAI,YAAY;QACd,OAAO,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC;IACnC,CAAC;IAED,4DAA4D;IAC5D,IAAI,uBAAuB;QACzB,OAAO,IAAI,CAAC,OAAO,CAAC,uBAAuB,CAAC;IAC9C,CAAC;IAED,iEAAiE;IACjE,IAAI,uBAAuB;QACzB,OAAO,IAAI,CAAC,OAAO,CAAC,uBAAuB,CAAC;IAC9C,CAAC;IAED,kEAAkE;IAClE,IAAI,wBAAwB;QAC1B,OAAO,IAAI,CAAC,OAAO,CAAC,wBAAwB,CAAC;IAC/C,CAAC;IAED,0EAA0E;IAC1E,IAAI,aAAa;QACf,OAAO,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC;IACtC,CAAC;IAED,8CAA8C;IAC9C,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC;IACpC,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,SAAoC;QACvC,OAAO,IAAI,qBAAqB,CAC9B,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,EAC5B,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC,CAC/B,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,OAAO,CAAC,SAAoC;QAC1C,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IAC9E,CAAC;IAED;;;;;;;OAOG;IACH,QAAQ;QACN,MAAM,QAAQ,GAAG,IAAI,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC;QAElD,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;QAEpC,OAAO,QAAQ,CAAC;IAClB,CAAC;CACF"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { SimSqsQueueAttributeInput } from "./sim-sqs-queue-attributes.js";
|
|
2
|
+
/**
|
|
3
|
+
* What a queue attribute holding a JSON document has to be able to do: report
|
|
4
|
+
* the string it was set with, and say whether another one says the same thing.
|
|
5
|
+
*/
|
|
6
|
+
export interface SimSqsQueueJsonAttributeValue<T> {
|
|
7
|
+
readonly value: string;
|
|
8
|
+
matches(other: T): boolean;
|
|
9
|
+
}
|
|
10
|
+
interface SimSqsQueueJsonAttributeProperties<T> {
|
|
11
|
+
readonly name: string;
|
|
12
|
+
readonly parse: (value: string) => T;
|
|
13
|
+
readonly held: T | undefined;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* One queue attribute that is a JSON document rather than an amount.
|
|
17
|
+
*
|
|
18
|
+
* The redrive policy and the queue policy are both this: parsed and validated
|
|
19
|
+
* when they are set, absent until then, and reported back as the string they
|
|
20
|
+
* were set with rather than as a re-serialised version of it. Only the parsing
|
|
21
|
+
* differs, so it is the one thing this is given.
|
|
22
|
+
*/
|
|
23
|
+
export declare class SimSqsQueueJsonAttribute<T extends SimSqsQueueJsonAttributeValue<T>> {
|
|
24
|
+
private readonly name;
|
|
25
|
+
private readonly parse;
|
|
26
|
+
private readonly held;
|
|
27
|
+
constructor(properties: SimSqsQueueJsonAttributeProperties<T>);
|
|
28
|
+
/**
|
|
29
|
+
* The document the queue holds, or nothing when none has been set.
|
|
30
|
+
*/
|
|
31
|
+
get document(): T | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* This attribute after a request, which holds the document the request sets
|
|
34
|
+
* or the one already there.
|
|
35
|
+
*/
|
|
36
|
+
with(requested: SimSqsQueueAttributeInput): SimSqsQueueJsonAttribute<T>;
|
|
37
|
+
/**
|
|
38
|
+
* Whether the document a request names is the one already held, which is the
|
|
39
|
+
* question a repeated CreateQueue asks. A request naming none matches.
|
|
40
|
+
*/
|
|
41
|
+
matches(requested: SimSqsQueueAttributeInput): boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Add this attribute to what SQS reports about the queue, leaving it out when
|
|
44
|
+
* the queue has no value for it.
|
|
45
|
+
*/
|
|
46
|
+
reportInto(reported: Map<string, string>): void;
|
|
47
|
+
/**
|
|
48
|
+
* The value a request carries for this attribute, if it carries one.
|
|
49
|
+
*/
|
|
50
|
+
private valueIn;
|
|
51
|
+
}
|
|
52
|
+
export {};
|
|
53
|
+
//# sourceMappingURL=sim-sqs-queue-json-attribute.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-sqs-queue-json-attribute.d.ts","sourceRoot":"","sources":["../../../../src/service/sqs/queue/sim-sqs-queue-json-attribute.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAE/E;;;GAGG;AACH,MAAM,WAAW,6BAA6B,CAAC,CAAC;IAC9C,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,KAAK,EAAE,CAAC,GAAG,OAAO,CAAC;CAC5B;AAED,UAAU,kCAAkC,CAAC,CAAC;IAC5C,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,CAAC,CAAC;IACrC,QAAQ,CAAC,IAAI,EAAE,CAAC,GAAG,SAAS,CAAC;CAC9B;AAED;;;;;;;GAOG;AACH,qBAAa,wBAAwB,CACnC,CAAC,SAAS,6BAA6B,CAAC,CAAC,CAAC;IAE1C,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAS;IAC9B,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAuB;IAC7C,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAgB;IAErC,YAAY,UAAU,EAAE,kCAAkC,CAAC,CAAC,CAAC,EAI5D;IAED;;OAEG;IACH,IAAI,QAAQ,IAAI,CAAC,GAAG,SAAS,CAE5B;IAED;;;OAGG;IACH,IAAI,CAAC,SAAS,EAAE,yBAAyB,GAAG,wBAAwB,CAAC,CAAC,CAAC,CAYtE;IAED;;;OAGG;IACH,OAAO,CAAC,SAAS,EAAE,yBAAyB,GAAG,OAAO,CAQrD;IAED;;;OAGG;IACH,UAAU,CAAC,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAI9C;IAED;;OAEG;IACH,OAAO,CAAC,OAAO;CAGhB"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One queue attribute that is a JSON document rather than an amount.
|
|
3
|
+
*
|
|
4
|
+
* The redrive policy and the queue policy are both this: parsed and validated
|
|
5
|
+
* when they are set, absent until then, and reported back as the string they
|
|
6
|
+
* were set with rather than as a re-serialised version of it. Only the parsing
|
|
7
|
+
* differs, so it is the one thing this is given.
|
|
8
|
+
*/
|
|
9
|
+
export class SimSqsQueueJsonAttribute {
|
|
10
|
+
name;
|
|
11
|
+
parse;
|
|
12
|
+
held;
|
|
13
|
+
constructor(properties) {
|
|
14
|
+
this.name = properties.name;
|
|
15
|
+
this.parse = properties.parse;
|
|
16
|
+
this.held = properties.held;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* The document the queue holds, or nothing when none has been set.
|
|
20
|
+
*/
|
|
21
|
+
get document() {
|
|
22
|
+
return this.held;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* This attribute after a request, which holds the document the request sets
|
|
26
|
+
* or the one already there.
|
|
27
|
+
*/
|
|
28
|
+
with(requested) {
|
|
29
|
+
const value = this.valueIn(requested);
|
|
30
|
+
if (value === undefined) {
|
|
31
|
+
return this;
|
|
32
|
+
}
|
|
33
|
+
return new SimSqsQueueJsonAttribute({
|
|
34
|
+
name: this.name,
|
|
35
|
+
parse: this.parse,
|
|
36
|
+
held: this.parse(value),
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Whether the document a request names is the one already held, which is the
|
|
41
|
+
* question a repeated CreateQueue asks. A request naming none matches.
|
|
42
|
+
*/
|
|
43
|
+
matches(requested) {
|
|
44
|
+
const value = this.valueIn(requested);
|
|
45
|
+
if (value === undefined) {
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
return this.held?.matches(this.parse(value)) === true;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Add this attribute to what SQS reports about the queue, leaving it out when
|
|
52
|
+
* the queue has no value for it.
|
|
53
|
+
*/
|
|
54
|
+
reportInto(reported) {
|
|
55
|
+
if (this.held !== undefined) {
|
|
56
|
+
reported.set(this.name, this.held.value);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* The value a request carries for this attribute, if it carries one.
|
|
61
|
+
*/
|
|
62
|
+
valueIn(requested) {
|
|
63
|
+
return Object.entries(requested).find(([key]) => key === this.name)?.[1];
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=sim-sqs-queue-json-attribute.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-sqs-queue-json-attribute.js","sourceRoot":"","sources":["../../../../src/service/sqs/queue/sim-sqs-queue-json-attribute.ts"],"names":[],"mappings":"AAiBA;;;;;;;GAOG;AACH,MAAM,OAAO,wBAAwB;IAGlB,IAAI,CAAS;IACb,KAAK,CAAuB;IAC5B,IAAI,CAAgB;IAErC,YAAY,UAAiD;QAC3D,IAAI,CAAC,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC;QAC5B,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;QAC9B,IAAI,CAAC,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC;IAC9B,CAAC;IAED;;OAEG;IACH,IAAI,QAAQ;QACV,OAAO,IAAI,CAAC,IAAI,CAAC;IACnB,CAAC;IAED;;;OAGG;IACH,IAAI,CAAC,SAAoC;QACvC,MAAM,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QAEtC,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,OAAO,IAAI,CAAC;QACd,CAAC;QAED,OAAO,IAAI,wBAAwB,CAAC;YAClC,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC;SACxB,CAAC,CAAC;IACL,CAAC;IAED;;;OAGG;IACH,OAAO,CAAC,SAAoC;QAC1C,MAAM,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QAEtC,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,OAAO,IAAI,CAAC;QACd,CAAC;QAED,OAAO,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,KAAK,IAAI,CAAC;IACxD,CAAC;IAED;;;OAGG;IACH,UAAU,CAAC,QAA6B;QACtC,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;YAC5B,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC3C,CAAC;IACH,CAAC;IAED;;OAEG;IACK,OAAO,CAAC,SAAoC;QAClD,OAAO,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,GAAG,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IAC3E,CAAC;CACF"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { SimSqsQueueAttributeInput } from "./sim-sqs-queue-attributes.js";
|
|
2
|
+
import { SimSqsQueuePolicy } from "./sim-sqs-queue-policy.js";
|
|
3
|
+
import { SimSqsRedrivePolicy } from "./sim-sqs-redrive-policy.js";
|
|
4
|
+
/**
|
|
5
|
+
* The JSON documents one queue holds: its redrive policy and its own policy.
|
|
6
|
+
*
|
|
7
|
+
* They are kept together and apart from the numeric attributes because they
|
|
8
|
+
* behave the same way as each other and differently from an amount. Each is
|
|
9
|
+
* absent until it is set, parsed and validated when it is set, and reported
|
|
10
|
+
* back as the string it was set with.
|
|
11
|
+
*/
|
|
12
|
+
export declare class SimSqsQueueJsonAttributes {
|
|
13
|
+
private readonly redrive;
|
|
14
|
+
private readonly policy;
|
|
15
|
+
private constructor();
|
|
16
|
+
/**
|
|
17
|
+
* The documents a queue created with no attributes holds, which is neither
|
|
18
|
+
* of them.
|
|
19
|
+
*/
|
|
20
|
+
static defaults(): SimSqsQueueJsonAttributes;
|
|
21
|
+
/** Where failed messages go, and after how many receives, if anywhere. */
|
|
22
|
+
get redrivePolicy(): SimSqsRedrivePolicy | undefined;
|
|
23
|
+
/** Who the queue itself admits, if anyone. */
|
|
24
|
+
get queuePolicy(): SimSqsQueuePolicy | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* These attributes after a request, holding what it sets and keeping what it
|
|
27
|
+
* does not mention.
|
|
28
|
+
*/
|
|
29
|
+
with(requested: SimSqsQueueAttributeInput): SimSqsQueueJsonAttributes;
|
|
30
|
+
/**
|
|
31
|
+
* Whether every document a request names is the one already held.
|
|
32
|
+
*/
|
|
33
|
+
matches(requested: SimSqsQueueAttributeInput): boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Add these attributes to what SQS reports about the queue, leaving out
|
|
36
|
+
* whichever of them the queue has no value for.
|
|
37
|
+
*/
|
|
38
|
+
reportInto(reported: Map<string, string>): void;
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=sim-sqs-queue-json-attributes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-sqs-queue-json-attributes.d.ts","sourceRoot":"","sources":["../../../../src/service/sqs/queue/sim-sqs-queue-json-attributes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAM/E,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAElE;;;;;;;GAOG;AACH,qBAAa,yBAAyB;IACpC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAgD;IACxE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA8C;IAErE,OAAO,eAMN;IAED;;;OAGG;IACH,MAAM,CAAC,QAAQ,IAAI,yBAAyB,CAa3C;IAED,0EAA0E;IAC1E,IAAI,aAAa,IAAI,mBAAmB,GAAG,SAAS,CAEnD;IAED,8CAA8C;IAC9C,IAAI,WAAW,IAAI,iBAAiB,GAAG,SAAS,CAE/C;IAED;;;OAGG;IACH,IAAI,CAAC,SAAS,EAAE,yBAAyB,GAAG,yBAAyB,CAKpE;IAED;;OAEG;IACH,OAAO,CAAC,SAAS,EAAE,yBAAyB,GAAG,OAAO,CAErD;IAED;;;OAGG;IACH,UAAU,CAAC,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAG9C;CACF"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { simSqsQueuePolicyAttributeName, simSqsRedrivePolicyAttributeName, } from "./sim-sqs-queue-attribute-specs.js";
|
|
2
|
+
import { SimSqsQueueJsonAttribute } from "./sim-sqs-queue-json-attribute.js";
|
|
3
|
+
import { SimSqsQueuePolicy } from "./sim-sqs-queue-policy.js";
|
|
4
|
+
import { SimSqsRedrivePolicy } from "./sim-sqs-redrive-policy.js";
|
|
5
|
+
/**
|
|
6
|
+
* The JSON documents one queue holds: its redrive policy and its own policy.
|
|
7
|
+
*
|
|
8
|
+
* They are kept together and apart from the numeric attributes because they
|
|
9
|
+
* behave the same way as each other and differently from an amount. Each is
|
|
10
|
+
* absent until it is set, parsed and validated when it is set, and reported
|
|
11
|
+
* back as the string it was set with.
|
|
12
|
+
*/
|
|
13
|
+
export class SimSqsQueueJsonAttributes {
|
|
14
|
+
redrive;
|
|
15
|
+
policy;
|
|
16
|
+
constructor(redrive, policy) {
|
|
17
|
+
this.redrive = redrive;
|
|
18
|
+
this.policy = policy;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* The documents a queue created with no attributes holds, which is neither
|
|
22
|
+
* of them.
|
|
23
|
+
*/
|
|
24
|
+
static defaults() {
|
|
25
|
+
return new this(new SimSqsQueueJsonAttribute({
|
|
26
|
+
name: simSqsRedrivePolicyAttributeName,
|
|
27
|
+
parse: (value) => SimSqsRedrivePolicy.parse(value),
|
|
28
|
+
held: undefined,
|
|
29
|
+
}), new SimSqsQueueJsonAttribute({
|
|
30
|
+
name: simSqsQueuePolicyAttributeName,
|
|
31
|
+
parse: (value) => SimSqsQueuePolicy.parse(value),
|
|
32
|
+
held: undefined,
|
|
33
|
+
}));
|
|
34
|
+
}
|
|
35
|
+
/** Where failed messages go, and after how many receives, if anywhere. */
|
|
36
|
+
get redrivePolicy() {
|
|
37
|
+
return this.redrive.document;
|
|
38
|
+
}
|
|
39
|
+
/** Who the queue itself admits, if anyone. */
|
|
40
|
+
get queuePolicy() {
|
|
41
|
+
return this.policy.document;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* These attributes after a request, holding what it sets and keeping what it
|
|
45
|
+
* does not mention.
|
|
46
|
+
*/
|
|
47
|
+
with(requested) {
|
|
48
|
+
return new SimSqsQueueJsonAttributes(this.redrive.with(requested), this.policy.with(requested));
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Whether every document a request names is the one already held.
|
|
52
|
+
*/
|
|
53
|
+
matches(requested) {
|
|
54
|
+
return this.redrive.matches(requested) && this.policy.matches(requested);
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Add these attributes to what SQS reports about the queue, leaving out
|
|
58
|
+
* whichever of them the queue has no value for.
|
|
59
|
+
*/
|
|
60
|
+
reportInto(reported) {
|
|
61
|
+
this.redrive.reportInto(reported);
|
|
62
|
+
this.policy.reportInto(reported);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=sim-sqs-queue-json-attributes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-sqs-queue-json-attributes.js","sourceRoot":"","sources":["../../../../src/service/sqs/queue/sim-sqs-queue-json-attributes.ts"],"names":[],"mappings":"AACA,OAAO,EACL,8BAA8B,EAC9B,gCAAgC,GACjC,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAA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S,CAAC,IAAI,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IAC3E,CAAC;IAED;;;OAGG;IACH,UAAU,CAAC,QAA6B;QACtC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;QAClC,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;IACnC,CAAC;CACF"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { SimIamPolicyDocument } from "../../iam/policy/sim-iam-policy.js";
|
|
2
|
+
/**
|
|
3
|
+
* The resource policy of one simulated queue.
|
|
4
|
+
*
|
|
5
|
+
* It is what admits a caller with no identity policy of its own: another
|
|
6
|
+
* Account's principal, or a service principal such as `s3.amazonaws.com`, which
|
|
7
|
+
* owns no identity policies anywhere. Sim IAM evaluates it as the queue's
|
|
8
|
+
* resource policy, so the rules about who it lets in are IAM's rather than SQS's.
|
|
9
|
+
*
|
|
10
|
+
* The string the policy was set with is kept, so `GetQueueAttributes` reports
|
|
11
|
+
* back what was set rather than a re-serialised version of it.
|
|
12
|
+
*/
|
|
13
|
+
export declare class SimSqsQueuePolicy {
|
|
14
|
+
readonly value: string;
|
|
15
|
+
readonly document: SimIamPolicyDocument;
|
|
16
|
+
private constructor();
|
|
17
|
+
/**
|
|
18
|
+
* Read a queue policy attribute value, refusing one real SQS would refuse.
|
|
19
|
+
*/
|
|
20
|
+
static parse(value: string): SimSqsQueuePolicy;
|
|
21
|
+
/**
|
|
22
|
+
* Whether another policy says the same thing, which is the question a
|
|
23
|
+
* repeated `CreateQueue` asks.
|
|
24
|
+
*
|
|
25
|
+
* The parsed documents are compared rather than the strings they were set
|
|
26
|
+
* with, so the same policy written out with different whitespace is the same
|
|
27
|
+
* policy. Written out with its keys in a different order it is not, which is
|
|
28
|
+
* stricter than AWS and is the safe direction for an idempotency check.
|
|
29
|
+
*/
|
|
30
|
+
matches(other: SimSqsQueuePolicy): boolean;
|
|
31
|
+
private serialized;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=sim-sqs-queue-policy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-sqs-queue-policy.d.ts","sourceRoot":"","sources":["../../../../src/service/sqs/queue/sim-sqs-queue-policy.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAyD/E;;;;;;;;;;GAUG;AACH,qBAAa,iBAAiB;IAC5B,SAAgB,KAAK,EAAE,MAAM,CAAC;IAC9B,SAAgB,QAAQ,EAAE,oBAAoB,CAAC;IAE/C,OAAO,eAGN;IAED;;OAEG;IACH,MAAM,CAAC,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,iBAAiB,CAE7C;IAED;;;;;;;;OAQG;IACH,OAAO,CAAC,KAAK,EAAE,iBAAiB,GAAG,OAAO,CAEzC;IAED,OAAO,CAAC,UAAU;CAGnB"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { jsonParse, jsonStringify } from "../../../util/type-guard/json.js";
|
|
2
|
+
import { SimIamPolicyDocumentValidator } from "../../iam/validate/sim-iam-policy-document-validator.js";
|
|
3
|
+
import { SimSqsInvalidAttributeValue } from "../error/sim-sqs.error.js";
|
|
4
|
+
import { simSqsQueuePolicyAttributeName } from "./sim-sqs-queue-attribute-specs.js";
|
|
5
|
+
const policyValidator = new SimIamPolicyDocumentValidator();
|
|
6
|
+
/**
|
|
7
|
+
* The error real SQS refuses a queue policy with.
|
|
8
|
+
*
|
|
9
|
+
* A queue policy is one of the queue's attributes, so a policy it will not take
|
|
10
|
+
* is an invalid attribute value rather than a malformed policy document.
|
|
11
|
+
*/
|
|
12
|
+
function invalidPolicy(value, reason) {
|
|
13
|
+
return new SimSqsInvalidAttributeValue(`Value ${value} for parameter ${simSqsQueuePolicyAttributeName} is ` +
|
|
14
|
+
`invalid. Reason: ${reason}.`);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* What a rejected policy document was rejected for.
|
|
18
|
+
*/
|
|
19
|
+
function reasonFor(error) {
|
|
20
|
+
/* v8 ignore next 3 -- unreachable: JSON parsing and policy validation both
|
|
21
|
+
throw Errors, so nothing else reaches this. */
|
|
22
|
+
if (!(error instanceof Error)) {
|
|
23
|
+
return String(error);
|
|
24
|
+
}
|
|
25
|
+
return error.message;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Read a queue policy attribute value as the IAM policy document it has to be.
|
|
29
|
+
*
|
|
30
|
+
* The document goes through sim IAM's own policy document validator, so a queue
|
|
31
|
+
* policy is held to the same rules as any other policy document, and it is held
|
|
32
|
+
* to them when the attribute is set rather than when the policy is first
|
|
33
|
+
* evaluated.
|
|
34
|
+
*/
|
|
35
|
+
function parsedDocument(value) {
|
|
36
|
+
try {
|
|
37
|
+
policyValidator.validateRequired(value);
|
|
38
|
+
return jsonParse(value);
|
|
39
|
+
}
|
|
40
|
+
catch (error) {
|
|
41
|
+
throw invalidPolicy(value, reasonFor(error));
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* The resource policy of one simulated queue.
|
|
46
|
+
*
|
|
47
|
+
* It is what admits a caller with no identity policy of its own: another
|
|
48
|
+
* Account's principal, or a service principal such as `s3.amazonaws.com`, which
|
|
49
|
+
* owns no identity policies anywhere. Sim IAM evaluates it as the queue's
|
|
50
|
+
* resource policy, so the rules about who it lets in are IAM's rather than SQS's.
|
|
51
|
+
*
|
|
52
|
+
* The string the policy was set with is kept, so `GetQueueAttributes` reports
|
|
53
|
+
* back what was set rather than a re-serialised version of it.
|
|
54
|
+
*/
|
|
55
|
+
export class SimSqsQueuePolicy {
|
|
56
|
+
value;
|
|
57
|
+
document;
|
|
58
|
+
constructor(properties) {
|
|
59
|
+
this.value = properties.value;
|
|
60
|
+
this.document = properties.document;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Read a queue policy attribute value, refusing one real SQS would refuse.
|
|
64
|
+
*/
|
|
65
|
+
static parse(value) {
|
|
66
|
+
return new this({ value, document: parsedDocument(value) });
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Whether another policy says the same thing, which is the question a
|
|
70
|
+
* repeated `CreateQueue` asks.
|
|
71
|
+
*
|
|
72
|
+
* The parsed documents are compared rather than the strings they were set
|
|
73
|
+
* with, so the same policy written out with different whitespace is the same
|
|
74
|
+
* policy. Written out with its keys in a different order it is not, which is
|
|
75
|
+
* stricter than AWS and is the safe direction for an idempotency check.
|
|
76
|
+
*/
|
|
77
|
+
matches(other) {
|
|
78
|
+
return this.serialized() === other.serialized();
|
|
79
|
+
}
|
|
80
|
+
serialized() {
|
|
81
|
+
return jsonStringify(this.document);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
//# sourceMappingURL=sim-sqs-queue-policy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-sqs-queue-policy.js","sourceRoot":"","sources":["../../../../src/service/sqs/queue/sim-sqs-queue-policy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAE5E,OAAO,EAAE,6BAA6B,EAAE,MAAM,yDAAyD,CAAC;AACxG,OAAO,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAEpF,MAAM,eAAe,GACnB,IAAI,6BAA6B,EAAE,CAAC;AAEtC;;;;;GAKG;AACH,SAAS,aAAa,CAAC,KAAa,EAAE,MAAc;IAClD,OAAO,IAAI,2BAA2B,CACpC,SAAS,KAAK,kBAAkB,8BAA8B,MAAM;QAClE,oBAAoB,MAAM,GAAG,CAChC,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAS,SAAS,CAAC,KAAc;IAC/B;qDACiD;IACjD,IAAI,CAAC,CAAC,KAAK,YAAY,KAAK,CAAC,EAAE,CAAC;QAC9B,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC;IACvB,CAAC;IAED,OAAO,KAAK,CAAC,OAAO,CAAC;AACvB,CAAC;AAED;;;;;;;GAOG;AACH,SAAS,cAAc,CAAC,KAAa;IACnC,IAAI,CAAC;QACH,eAAe,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;QAExC,OAAO,SAAS,CAAC,KAAK,CAAC,CAAC;IAC1B,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,aAAa,CAAC,KAAK,EAAE,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;IAC/C,CAAC;AACH,CAAC;AAOD;;;;;;;;;;GAUG;AACH,MAAM,OAAO,iBAAiB;IACZ,KAAK,CAAS;IACd,QAAQ,CAAuB;IAE/C,YAAoB,UAAuC;QACzD,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;QAC9B,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC;IACtC,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,KAAK,CAAC,KAAa;QACxB,OAAO,IAAI,IAAI,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,cAAc,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED;;;;;;;;OAQG;IACH,OAAO,CAAC,KAAwB;QAC9B,OAAO,IAAI,CAAC,UAAU,EAAE,KAAK,KAAK,CAAC,UAAU,EAAE,CAAC;IAClD,CAAC;IAEO,UAAU;QAChB,OAAO,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACtC,CAAC;CACF"}
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
import { type BackgroundScheduler } from "../../util/background/background.js";
|
|
2
2
|
import type { SimSdkCommandRouter } from "../../sdk/router/sim-sdk-command-router.type.js";
|
|
3
|
-
import type { SimAwsCaller } from "../aws/caller/sim-aws-caller.js";
|
|
4
3
|
import type { SimAwsAccountRegionScope } from "../aws/sim-aws-account-region-scope.js";
|
|
5
4
|
import { type SimIamInterServiceAuthZ } from "../iam/authorize/sim-iam-inter-service-auth-z.js";
|
|
6
5
|
import type * as simSqsCommands from "./command/sim-sqs-command.types.js";
|
|
6
|
+
import type { SimSqsRequestOptions } from "./command/sim-sqs-request-options.js";
|
|
7
7
|
import { SimSqsCfnResourceFactory } from "./cfn/sim-sqs-cfn-resource-factory.js";
|
|
8
8
|
import type { SimSqsQueue } from "./queue/sim-sqs-queue.js";
|
|
9
9
|
import { SimSqsQueueActivity } from "./queue/sim-sqs-queue-activity.js";
|
|
10
|
-
export interface SimSqsRequestOptions {
|
|
11
|
-
readonly caller?: SimAwsCaller;
|
|
12
|
-
}
|
|
13
10
|
interface SimSqsProperties {
|
|
14
11
|
readonly accountRegionScope?: SimAwsAccountRegionScope;
|
|
15
12
|
readonly iam?: SimIamInterServiceAuthZ;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-sqs.d.ts","sourceRoot":"","sources":["../../../src/service/sqs/sim-sqs.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"sim-sqs.d.ts","sourceRoot":"","sources":["../../../src/service/sqs/sim-sqs.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAEvF,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,kDAAkD,CAAC;AAU1D,OAAO,KAAK,KAAK,cAAc,MAAM,oCAAoC,CAAC;AAC1E,OAAO,KAAK,EAAE,o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CAG1D;IAED;;OAEG;IACG,cAAc,CAClB,OAAO,EAAE,cAAc,CAAC,wBAAwB,EAChD,OAAO,CAAC,EAAE,oBAAoB,GAC7B,OAAO,CAAC,cAAc,CAAC,8BAA8B,CAAC,CAGxD;IAED;;OAEG;IACG,aAAa,CACjB,OAAO,EAAE,cAAc,CAAC,uBAAuB,EAC/C,OAAO,CAAC,EAAE,oBAAoB,GAC7B,OAAO,CAAC,cAAc,CAAC,6BAA6B,CAAC,CAGvD;IAED;;OAEG;IACG,kBAAkB,CACtB,OAAO,EAAE,cAAc,CAAC,4BAA4B,EACpD,OAAO,CAAC,EAAE,oBAAoB,GAC7B,OAAO,CAAC,cAAc,CAAC,kCAAkC,CAAC,CAG5D;IAED;;OAEG;IACG,uBAAuB,CAC3B,OAAO,EAAE,cAAc,CAAC,iCAAiC,EACzD,OAAO,CAAC,EAAE,oBAAoB,GAC7B,OAAO,CAAC,cAAc,CAAC,uCAAuC,CAAC,CAGjE;IAED;;OAEG;IACH,kBAAkB,IAAI,wBAAwB,CAE7C;IAED;;OAEG;IACH,gBAAgB,IAAI,mBAAmB,CAEtC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-sqs.js","sourceRoot":"","sources":["../../../src/service/sqs/sim-sqs.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,eAAe,GAChB,MAAM,qCAAqC,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-sqs.js","sourceRoot":"","sources":["../../../src/service/sqs/sim-sqs.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,eAAe,GAChB,MAAM,qCAAqC,CAAC;AAG7C,OAAO,EAAE,+BAA+B,EAAE,MAAM,gDAAgD,CAAC;AACjG,OAAO,EACL,kBAAkB,GAEnB,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAC7E,OAAO,EAAE,6BAA6B,EAAE,MAAM,wDAAwD,CAAC;AACvG,OAA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