@kensio/yulin 1.0.0 → 1.2.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 +34 -1
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.js.map +1 -1
- package/dist/service/aws/factory/sim-aws-account-service-cache.d.ts.map +1 -1
- package/dist/service/aws/factory/sim-aws-account-service-cache.js +2 -0
- package/dist/service/aws/factory/sim-aws-account-service-cache.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 +31 -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 +71 -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/condition/sim-cfn-condition-comparison.d.ts +27 -0
- package/dist/service/cloudformation/template/condition/sim-cfn-condition-comparison.d.ts.map +1 -0
- package/dist/service/cloudformation/template/condition/sim-cfn-condition-comparison.js +44 -0
- package/dist/service/cloudformation/template/condition/sim-cfn-condition-comparison.js.map +1 -0
- package/dist/service/cloudformation/template/condition/sim-cfn-condition-evaluator.d.ts +36 -0
- package/dist/service/cloudformation/template/condition/sim-cfn-condition-evaluator.d.ts.map +1 -0
- package/dist/service/cloudformation/template/condition/sim-cfn-condition-evaluator.js +68 -0
- package/dist/service/cloudformation/template/condition/sim-cfn-condition-evaluator.js.map +1 -0
- package/dist/service/cloudformation/template/condition/sim-cfn-condition-expression.d.ts +45 -0
- package/dist/service/cloudformation/template/condition/sim-cfn-condition-expression.d.ts.map +1 -0
- package/dist/service/cloudformation/template/condition/sim-cfn-condition-expression.js +80 -0
- package/dist/service/cloudformation/template/condition/sim-cfn-condition-expression.js.map +1 -0
- package/dist/service/cloudformation/template/condition/sim-cfn-conditions.d.ts +28 -0
- package/dist/service/cloudformation/template/condition/sim-cfn-conditions.d.ts.map +1 -0
- package/dist/service/cloudformation/template/condition/sim-cfn-conditions.js +29 -0
- package/dist/service/cloudformation/template/condition/sim-cfn-conditions.js.map +1 -0
- package/dist/service/cloudformation/template/condition/sim-cfn-resource-conditions.d.ts +46 -0
- package/dist/service/cloudformation/template/condition/sim-cfn-resource-conditions.d.ts.map +1 -0
- package/dist/service/cloudformation/template/condition/sim-cfn-resource-conditions.js +94 -0
- package/dist/service/cloudformation/template/condition/sim-cfn-resource-conditions.js.map +1 -0
- package/dist/service/cloudformation/template/node/fn/find-in-map/sim-cfn-fn-find-in-map.d.ts +0 -1
- package/dist/service/cloudformation/template/node/fn/find-in-map/sim-cfn-fn-find-in-map.d.ts.map +1 -1
- package/dist/service/cloudformation/template/node/fn/find-in-map/sim-cfn-fn-find-in-map.js +2 -14
- package/dist/service/cloudformation/template/node/fn/find-in-map/sim-cfn-fn-find-in-map.js.map +1 -1
- package/dist/service/cloudformation/template/node/fn/if/sim-cfn-fn-if.d.ts +31 -0
- package/dist/service/cloudformation/template/node/fn/if/sim-cfn-fn-if.d.ts.map +1 -0
- package/dist/service/cloudformation/template/node/fn/if/sim-cfn-fn-if.js +52 -0
- package/dist/service/cloudformation/template/node/fn/if/sim-cfn-fn-if.js.map +1 -0
- package/dist/service/cloudformation/template/node/fn/select/sim-cfn-fn-select.d.ts +39 -0
- package/dist/service/cloudformation/template/node/fn/select/sim-cfn-fn-select.d.ts.map +1 -0
- package/dist/service/cloudformation/template/node/fn/select/sim-cfn-fn-select.js +82 -0
- package/dist/service/cloudformation/template/node/fn/select/sim-cfn-fn-select.js.map +1 -0
- package/dist/service/cloudformation/template/node/fn/split/sim-cfn-fn-split.d.ts +31 -0
- package/dist/service/cloudformation/template/node/fn/split/sim-cfn-fn-split.d.ts.map +1 -0
- package/dist/service/cloudformation/template/node/fn/split/sim-cfn-fn-split.js +45 -0
- package/dist/service/cloudformation/template/node/fn/split/sim-cfn-fn-split.js.map +1 -0
- package/dist/service/cloudformation/template/node/sim-cfn-list.d.ts +1 -1
- package/dist/service/cloudformation/template/node/sim-cfn-list.d.ts.map +1 -1
- package/dist/service/cloudformation/template/node/sim-cfn-list.js +3 -2
- package/dist/service/cloudformation/template/node/sim-cfn-list.js.map +1 -1
- package/dist/service/cloudformation/template/node/sim-cfn-object.d.ts.map +1 -1
- package/dist/service/cloudformation/template/node/sim-cfn-object.js +5 -1
- package/dist/service/cloudformation/template/node/sim-cfn-object.js.map +1 -1
- package/dist/service/cloudformation/template/parse/fn/if/sim-cfn-fn-if-parser.d.ts +19 -0
- package/dist/service/cloudformation/template/parse/fn/if/sim-cfn-fn-if-parser.d.ts.map +1 -0
- package/dist/service/cloudformation/template/parse/fn/if/sim-cfn-fn-if-parser.js +33 -0
- package/dist/service/cloudformation/template/parse/fn/if/sim-cfn-fn-if-parser.js.map +1 -0
- package/dist/service/cloudformation/template/parse/fn/select/sim-cfn-fn-select-parser.d.ts +26 -0
- package/dist/service/cloudformation/template/parse/fn/select/sim-cfn-fn-select-parser.d.ts.map +1 -0
- package/dist/service/cloudformation/template/parse/fn/select/sim-cfn-fn-select-parser.js +35 -0
- package/dist/service/cloudformation/template/parse/fn/select/sim-cfn-fn-select-parser.js.map +1 -0
- package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parser.d.ts +3 -0
- package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parser.d.ts.map +1 -1
- package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parser.js +18 -0
- package/dist/service/cloudformation/template/parse/fn/sim-cfn-function-parser.js.map +1 -1
- package/dist/service/cloudformation/template/parse/fn/split/sim-cfn-fn-split-parser.d.ts +25 -0
- package/dist/service/cloudformation/template/parse/fn/split/sim-cfn-fn-split-parser.d.ts.map +1 -0
- package/dist/service/cloudformation/template/parse/fn/split/sim-cfn-fn-split-parser.js +36 -0
- package/dist/service/cloudformation/template/parse/fn/split/sim-cfn-fn-split-parser.js.map +1 -0
- package/dist/service/cloudformation/template/resolve/sim-cfn-resolve-context.d.ts +14 -4
- package/dist/service/cloudformation/template/resolve/sim-cfn-resolve-context.d.ts.map +1 -1
- package/dist/service/cloudformation/template/resolve/sim-cfn-resolve-context.js +7 -5
- package/dist/service/cloudformation/template/resolve/sim-cfn-resolve-context.js.map +1 -1
- package/dist/service/cloudformation/template/sim-cfn-template-body-validator.d.ts.map +1 -1
- package/dist/service/cloudformation/template/sim-cfn-template-body-validator.js +4 -0
- package/dist/service/cloudformation/template/sim-cfn-template-body-validator.js.map +1 -1
- package/dist/service/cloudformation/template/sim-cfn-template.d.ts +14 -0
- package/dist/service/cloudformation/template/sim-cfn-template.d.ts.map +1 -1
- package/dist/service/cloudformation/template/sim-cfn-template.js +44 -12
- package/dist/service/cloudformation/template/sim-cfn-template.js.map +1 -1
- package/dist/service/cloudformation/template/value/sim-cfn-template-value-resolver.d.ts +20 -0
- package/dist/service/cloudformation/template/value/sim-cfn-template-value-resolver.d.ts.map +1 -1
- package/dist/service/cloudformation/template/value/sim-cfn-template-value-resolver.js +32 -2
- package/dist/service/cloudformation/template/value/sim-cfn-template-value-resolver.js.map +1 -1
- package/dist/service/cloudformation/template/value/sim-cfn-unresolved-expression.d.ts +11 -0
- package/dist/service/cloudformation/template/value/sim-cfn-unresolved-expression.d.ts.map +1 -0
- package/dist/service/cloudformation/template/value/sim-cfn-unresolved-expression.js +21 -0
- package/dist/service/cloudformation/template/value/sim-cfn-unresolved-expression.js.map +1 -0
- package/dist/service/cloudformation/template/value/sim-cfn-value-path.d.ts +22 -0
- package/dist/service/cloudformation/template/value/sim-cfn-value-path.d.ts.map +1 -0
- package/dist/service/cloudformation/template/value/sim-cfn-value-path.js +92 -0
- package/dist/service/cloudformation/template/value/sim-cfn-value-path.js.map +1 -0
- 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/cloudfront/command/create-distribution/create-distribution.command.d.ts +7 -0
- package/dist/service/cloudfront/command/create-distribution/create-distribution.command.d.ts.map +1 -1
- package/dist/service/cloudfront/command/create-distribution/create-distribution.handler.d.ts +2 -0
- package/dist/service/cloudfront/command/create-distribution/create-distribution.handler.d.ts.map +1 -1
- package/dist/service/cloudfront/command/create-distribution/create-distribution.handler.js +1 -1
- package/dist/service/cloudfront/command/create-distribution/create-distribution.handler.js.map +1 -1
- package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.d.ts +10 -1
- package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.d.ts.map +1 -1
- package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.js +21 -1
- package/dist/service/cloudfront/distribution/configurator/sim-cloud-front-origin-configurator.js.map +1 -1
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-dispatcher.d.ts +24 -0
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-dispatcher.d.ts.map +1 -0
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-dispatcher.factory.d.ts +7 -0
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-dispatcher.factory.d.ts.map +1 -0
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-dispatcher.factory.js +38 -0
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-dispatcher.factory.js.map +1 -0
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-dispatcher.js +2 -0
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-dispatcher.js.map +1 -0
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.d.ts +17 -0
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.d.ts.map +1 -0
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.js +37 -0
- package/dist/service/cloudfront/origin/custom/sim-cf-custom-origin-request.js.map +1 -0
- package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.d.ts +38 -0
- package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.d.ts.map +1 -0
- package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.js +45 -0
- package/dist/service/cloudfront/origin/custom/sim-cloudfront-custom-origin.js.map +1 -0
- package/dist/service/cloudfront/sim-cloudfront.d.ts +3 -0
- package/dist/service/cloudfront/sim-cloudfront.d.ts.map +1 -1
- package/dist/service/cloudfront/sim-cloudfront.js +4 -1
- package/dist/service/cloudfront/sim-cloudfront.js.map +1 -1
- package/dist/service/dynamodb/command/sim-dynamodb-command-handlers.d.ts +4 -0
- package/dist/service/dynamodb/command/sim-dynamodb-command-handlers.d.ts.map +1 -1
- package/dist/service/dynamodb/command/sim-dynamodb-command-handlers.js +2 -0
- package/dist/service/dynamodb/command/sim-dynamodb-command-handlers.js.map +1 -1
- package/dist/service/dynamodb/command/table/sim-dynamodb-create-table.d.ts +6 -0
- package/dist/service/dynamodb/command/table/sim-dynamodb-create-table.d.ts.map +1 -1
- package/dist/service/dynamodb/command/table/sim-dynamodb-create-table.js +11 -0
- package/dist/service/dynamodb/command/table/sim-dynamodb-create-table.js.map +1 -1
- package/dist/service/dynamodb/command/table/sim-dynamodb-unsimulated-table-input.d.ts +6 -5
- package/dist/service/dynamodb/command/table/sim-dynamodb-unsimulated-table-input.d.ts.map +1 -1
- package/dist/service/dynamodb/command/table/sim-dynamodb-unsimulated-table-input.js +6 -16
- package/dist/service/dynamodb/command/table/sim-dynamodb-unsimulated-table-input.js.map +1 -1
- package/dist/service/dynamodb/command/table/sim-dynamodb-unsimulated-update-input.d.ts +4 -4
- package/dist/service/dynamodb/command/table/sim-dynamodb-unsimulated-update-input.d.ts.map +1 -1
- package/dist/service/dynamodb/command/table/sim-dynamodb-unsimulated-update-input.js +4 -9
- package/dist/service/dynamodb/command/table/sim-dynamodb-unsimulated-update-input.js.map +1 -1
- package/dist/service/dynamodb/command/table/table.command.d.ts +2 -1
- package/dist/service/dynamodb/command/table/table.command.d.ts.map +1 -1
- package/dist/service/dynamodb/command/table/table.types.d.ts +4 -7
- package/dist/service/dynamodb/command/table/table.types.d.ts.map +1 -1
- 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/sim-dynamodb.d.ts +42 -60
- package/dist/service/dynamodb/sim-dynamodb.d.ts.map +1 -1
- package/dist/service/dynamodb/sim-dynamodb.js +48 -60
- package/dist/service/dynamodb/sim-dynamodb.js.map +1 -1
- package/dist/service/dynamodb/stream/sim-dynamodb-item-change.d.ts +34 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-item-change.d.ts.map +1 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-item-change.js +2 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-item-change.js.map +1 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-activity.d.ts +42 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-activity.d.ts.map +1 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-activity.js +35 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-activity.js.map +1 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-arn.d.ts +22 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-arn.d.ts.map +1 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-arn.js +30 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-arn.js.map +1 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-images.d.ts +22 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-images.d.ts.map +1 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-images.js +27 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-images.js.map +1 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-record-keys.d.ts +15 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-record-keys.d.ts.map +1 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-record-keys.js +25 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-record-keys.js.map +1 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-record-size.d.ts +11 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-record-size.d.ts.map +1 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-record-size.js +74 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-record-size.js.map +1 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-record.d.ts +49 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-record.d.ts.map +1 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-record.js +60 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-record.js.map +1 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-sequence-numbers.d.ts +18 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-sequence-numbers.d.ts.map +1 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-sequence-numbers.js +31 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-sequence-numbers.js.map +1 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-shard.d.ts +39 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-shard.d.ts.map +1 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-shard.js +64 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-shard.js.map +1 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-specification.d.ts +28 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-specification.d.ts.map +1 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-specification.js +30 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-specification.js.map +1 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-store.d.ts +26 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-store.d.ts.map +1 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-store.js +29 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-store.js.map +1 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-update.d.ts +13 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-update.d.ts.map +1 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-update.js +48 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-update.js.map +1 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-view-type.d.ts +10 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-view-type.d.ts.map +1 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-view-type.js +38 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream-view-type.js.map +1 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream.d.ts +74 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream.d.ts.map +1 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream.js +82 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream.js.map +1 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream.types.d.ts +24 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream.types.d.ts.map +1 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream.types.js +2 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-stream.types.js.map +1 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-streamed-table.factory.d.ts +31 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-streamed-table.factory.d.ts.map +1 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-streamed-table.factory.js +45 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-streamed-table.factory.js.map +1 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-table-stream.d.ts +97 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-table-stream.d.ts.map +1 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-table-stream.js +135 -0
- package/dist/service/dynamodb/stream/sim-dynamodb-table-stream.js.map +1 -0
- package/dist/service/dynamodb/table/sim-dynamodb-table-description.d.ts.map +1 -1
- package/dist/service/dynamodb/table/sim-dynamodb-table-description.js +6 -0
- package/dist/service/dynamodb/table/sim-dynamodb-table-description.js.map +1 -1
- package/dist/service/dynamodb/table/sim-dynamodb-table-items.d.ts +33 -1
- package/dist/service/dynamodb/table/sim-dynamodb-table-items.d.ts.map +1 -1
- package/dist/service/dynamodb/table/sim-dynamodb-table-items.js +46 -1
- package/dist/service/dynamodb/table/sim-dynamodb-table-items.js.map +1 -1
- package/dist/service/dynamodb/table/sim-dynamodb-table-storage.d.ts +95 -0
- package/dist/service/dynamodb/table/sim-dynamodb-table-storage.d.ts.map +1 -0
- package/dist/service/dynamodb/table/sim-dynamodb-table-storage.js +120 -0
- package/dist/service/dynamodb/table/sim-dynamodb-table-storage.js.map +1 -0
- package/dist/service/dynamodb/table/sim-dynamodb-table-update.d.ts +2 -0
- package/dist/service/dynamodb/table/sim-dynamodb-table-update.d.ts.map +1 -1
- package/dist/service/dynamodb/table/sim-dynamodb-table-update.js +11 -6
- package/dist/service/dynamodb/table/sim-dynamodb-table-update.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 +33 -65
- package/dist/service/dynamodb/table/sim-dynamodb-table.d.ts.map +1 -1
- package/dist/service/dynamodb/table/sim-dynamodb-table.js +52 -91
- package/dist/service/dynamodb/table/sim-dynamodb-table.js.map +1 -1
- package/dist/service/dynamodb/table/sim-dynamodb-updatable-table.d.ts +6 -3
- package/dist/service/dynamodb/table/sim-dynamodb-updatable-table.d.ts.map +1 -1
- package/dist/service/dynamodb/time-to-live/sim-dynamodb-table-time-to-live.d.ts.map +1 -1
- package/dist/service/dynamodb/time-to-live/sim-dynamodb-table-time-to-live.js +5 -1
- package/dist/service/dynamodb/time-to-live/sim-dynamodb-table-time-to-live.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/command/event-source-mapping/create-event-source-mapping-input.d.ts +5 -2
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-input.d.ts.map +1 -1
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-input.js +13 -8
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-input.js.map +1 -1
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-refusals.d.ts +4 -0
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-refusals.d.ts.map +1 -1
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-refusals.js +32 -21
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-refusals.js.map +1 -1
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-values.d.ts +1 -6
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-values.d.ts.map +1 -1
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-values.js +1 -22
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping-values.js.map +1 -1
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping.handler.d.ts +2 -1
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping.handler.d.ts.map +1 -1
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping.handler.js +3 -2
- package/dist/service/lambda/command/event-source-mapping/create-event-source-mapping.handler.js.map +1 -1
- package/dist/service/lambda/event-source/poll/sim-lambda-batch-item-failures.d.ts +17 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-batch-item-failures.d.ts.map +1 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-batch-item-failures.js +46 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-batch-item-failures.js.map +1 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-batch-response.d.ts +39 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-batch-response.d.ts.map +1 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-batch-response.js +28 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-batch-response.js.map +1 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-delivery.d.ts +33 -7
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-delivery.d.ts.map +1 -1
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-delivery.js +7 -6
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-delivery.js.map +1 -1
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poller-factory.d.ts +25 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poller-factory.d.ts.map +1 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poller-factory.js +16 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poller-factory.js.map +1 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poller.d.ts +9 -69
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poller.d.ts.map +1 -1
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poller.js +1 -135
- package/dist/service/lambda/event-source/poll/sim-lambda-event-source-poller.js.map +1 -1
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-batch-response.d.ts +6 -30
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-batch-response.d.ts.map +1 -1
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-batch-response.js +9 -66
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-batch-response.js.map +1 -1
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-delivery.d.ts +17 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-delivery.d.ts.map +1 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-delivery.js +17 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-delivery.js.map +1 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-event-source-poller.d.ts +88 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-event-source-poller.d.ts.map +1 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-event-source-poller.js +132 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-event-source-poller.js.map +1 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-polled-queue.d.ts +41 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-polled-queue.d.ts.map +1 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-polled-queue.js +60 -0
- package/dist/service/lambda/event-source/poll/sim-lambda-sqs-polled-queue.js.map +1 -0
- package/dist/service/lambda/event-source/queue/sim-lambda-sqs-event-source-arn.d.ts +23 -5
- package/dist/service/lambda/event-source/queue/sim-lambda-sqs-event-source-arn.d.ts.map +1 -1
- package/dist/service/lambda/event-source/queue/sim-lambda-sqs-event-source-arn.js +65 -12
- package/dist/service/lambda/event-source/queue/sim-lambda-sqs-event-source-arn.js.map +1 -1
- package/dist/service/lambda/event-source/sim-lambda-event-source-arn.d.ts +23 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-arn.d.ts.map +1 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-arn.js +30 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-arn.js.map +1 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-batch-rules.d.ts +26 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-batch-rules.d.ts.map +1 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-batch-rules.js +35 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-batch-rules.js.map +1 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.d.ts +6 -8
- package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.d.ts.map +1 -1
- package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.js +6 -9
- package/dist/service/lambda/event-source/sim-lambda-event-source-mapping.js.map +1 -1
- package/dist/service/lambda/event-source/sim-lambda-event-source-pollers.d.ts +5 -5
- package/dist/service/lambda/event-source/sim-lambda-event-source-pollers.d.ts.map +1 -1
- package/dist/service/lambda/event-source/sim-lambda-event-source-pollers.js +5 -5
- package/dist/service/lambda/event-source/sim-lambda-event-source-pollers.js.map +1 -1
- package/dist/service/lambda/event-source/sim-lambda-event-source-polling-permission.d.ts +18 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-polling-permission.d.ts.map +1 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-polling-permission.js +23 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-polling-permission.js.map +1 -0
- package/dist/service/lambda/event-source/sim-lambda-event-source-role-permissions.d.ts +7 -3
- package/dist/service/lambda/event-source/sim-lambda-event-source-role-permissions.d.ts.map +1 -1
- package/dist/service/lambda/event-source/sim-lambda-event-source-role-permissions.js +13 -21
- package/dist/service/lambda/event-source/sim-lambda-event-source-role-permissions.js.map +1 -1
- 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 +21 -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 +25 -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 +23 -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 +36 -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 +47 -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 +55 -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-ids.d.ts +9 -0
- package/dist/service/s3/bucket/notification/sim-s3-notification-ids.d.ts.map +1 -0
- package/dist/service/s3/bucket/notification/sim-s3-notification-ids.js +18 -0
- package/dist/service/s3/bucket/notification/sim-s3-notification-ids.js.map +1 -0
- package/dist/service/s3/bucket/notification/sim-s3-notification-overlap.d.ts +18 -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 +30 -0
- package/dist/service/s3/bucket/notification/sim-s3-notification-overlap.js.map +1 -0
- package/dist/service/s3/bucket/notification/sim-s3-notification-properties.d.ts +19 -0
- package/dist/service/s3/bucket/notification/sim-s3-notification-properties.d.ts.map +1 -0
- package/dist/service/s3/bucket/notification/sim-s3-notification-properties.js +27 -0
- package/dist/service/s3/bucket/notification/sim-s3-notification-properties.js.map +1 -0
- package/dist/service/s3/bucket/notification/sim-s3-notification.d.ts +61 -0
- package/dist/service/s3/bucket/notification/sim-s3-notification.d.ts.map +1 -0
- package/dist/service/s3/bucket/notification/sim-s3-notification.js +50 -0
- package/dist/service/s3/bucket/notification/sim-s3-notification.js.map +1 -0
- package/dist/service/s3/bucket/notification/sim-s3-queue-notification.d.ts +21 -0
- package/dist/service/s3/bucket/notification/sim-s3-queue-notification.d.ts.map +1 -0
- package/dist/service/s3/bucket/notification/sim-s3-queue-notification.js +24 -0
- package/dist/service/s3/bucket/notification/sim-s3-queue-notification.js.map +1 -0
- package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-destinations.d.ts +10 -0
- package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-destinations.d.ts.map +1 -0
- package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-destinations.js +31 -0
- package/dist/service/s3/bucket/notification/sim-s3-unsimulated-notification-destinations.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 +36 -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 +111 -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 +35 -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 +73 -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 +44 -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 +75 -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 +32 -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 +68 -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 +38 -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 +50 -0
- package/dist/service/s3/notification/destination/sim-s3-service-notification-destinations.js.map +1 -0
- package/dist/service/s3/notification/destination/sim-s3-service-principal.d.ts +8 -0
- package/dist/service/s3/notification/destination/sim-s3-service-principal.d.ts.map +1 -0
- package/dist/service/s3/notification/destination/sim-s3-service-principal.js +8 -0
- package/dist/service/s3/notification/destination/sim-s3-service-principal.js.map +1 -0
- package/dist/service/s3/notification/destination/sqs/sim-aws-s3-notification-queues.d.ts +40 -0
- package/dist/service/s3/notification/destination/sqs/sim-aws-s3-notification-queues.d.ts.map +1 -0
- package/dist/service/s3/notification/destination/sqs/sim-aws-s3-notification-queues.js +52 -0
- package/dist/service/s3/notification/destination/sqs/sim-aws-s3-notification-queues.js.map +1 -0
- package/dist/service/s3/notification/destination/sqs/sim-s3-notification-queue-arn.d.ts +33 -0
- package/dist/service/s3/notification/destination/sqs/sim-s3-notification-queue-arn.d.ts.map +1 -0
- package/dist/service/s3/notification/destination/sqs/sim-s3-notification-queue-arn.js +64 -0
- package/dist/service/s3/notification/destination/sqs/sim-s3-notification-queue-arn.js.map +1 -0
- package/dist/service/s3/notification/destination/sqs/sim-s3-notification-queue.d.ts +33 -0
- package/dist/service/s3/notification/destination/sqs/sim-s3-notification-queue.d.ts.map +1 -0
- package/dist/service/s3/notification/destination/sqs/sim-s3-notification-queue.js +55 -0
- package/dist/service/s3/notification/destination/sqs/sim-s3-notification-queue.js.map +1 -0
- package/dist/service/s3/notification/destination/sqs/sim-s3-notification-queues.d.ts +23 -0
- package/dist/service/s3/notification/destination/sqs/sim-s3-notification-queues.d.ts.map +1 -0
- package/dist/service/s3/notification/destination/sqs/sim-s3-notification-queues.js +2 -0
- package/dist/service/s3/notification/destination/sqs/sim-s3-notification-queues.js.map +1 -0
- package/dist/service/s3/notification/destination/sqs/sim-s3-sqs-notification-destination.d.ts +40 -0
- package/dist/service/s3/notification/destination/sqs/sim-s3-sqs-notification-destination.d.ts.map +1 -0
- package/dist/service/s3/notification/destination/sqs/sim-s3-sqs-notification-destination.js +51 -0
- package/dist/service/s3/notification/destination/sqs/sim-s3-sqs-notification-destination.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 +53 -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 +21 -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/authorize/sim-sqs-service-send-authorizer.d.ts +40 -0
- package/dist/service/sqs/command/authorize/sim-sqs-service-send-authorizer.d.ts.map +1 -0
- package/dist/service/sqs/command/authorize/sim-sqs-service-send-authorizer.js +40 -0
- package/dist/service/sqs/command/authorize/sim-sqs-service-send-authorizer.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 +47 -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 +19 -0
- package/dist/service/sqs/command/sim-sqs-request-options.js.map +1 -0
- package/dist/service/sqs/index.d.ts +4 -2
- package/dist/service/sqs/index.d.ts.map +1 -1
- package/dist/service/sqs/index.js +3 -1
- package/dist/service/sqs/index.js.map +1 -1
- package/dist/service/sqs/queue/sim-sqs-queue-arn.d.ts +17 -2
- package/dist/service/sqs/queue/sim-sqs-queue-arn.d.ts.map +1 -1
- package/dist/service/sqs/queue/sim-sqs-queue-arn.js +9 -5
- package/dist/service/sqs/queue/sim-sqs-queue-arn.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 +4 -4
- 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
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { SimHttpApiOpenApiIdentitySource } from "./sim-http-api-openapi-identity-source.js";
|
|
2
|
+
/**
|
|
3
|
+
* An `x-amazon-apigateway-authorizer` of `type: jwt`, read into the
|
|
4
|
+
* CreateAuthorizer input it asks for.
|
|
5
|
+
*
|
|
6
|
+
* The issuer and the audiences are handed to CreateAuthorizer as the document
|
|
7
|
+
* wrote them, so what an authorizer requires is stated where every other caller
|
|
8
|
+
* reads it.
|
|
9
|
+
*/
|
|
10
|
+
export class SimHttpApiOpenApiJwtAuthorizerScheme {
|
|
11
|
+
authorizer;
|
|
12
|
+
constructor(authorizer) {
|
|
13
|
+
this.authorizer = authorizer;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* The CreateAuthorizer input this authorizer asks for.
|
|
17
|
+
*/
|
|
18
|
+
createAuthorizerInput(apiId, name) {
|
|
19
|
+
const configuration = this.authorizer.member("jwtConfiguration").object();
|
|
20
|
+
return {
|
|
21
|
+
ApiId: apiId,
|
|
22
|
+
Name: name,
|
|
23
|
+
AuthorizerType: "JWT",
|
|
24
|
+
IdentitySource: new SimHttpApiOpenApiIdentitySource(this.authorizer).one(),
|
|
25
|
+
JwtConfiguration: {
|
|
26
|
+
Issuer: configuration.member("issuer").optionalString(),
|
|
27
|
+
Audience: configuration.member("audience").optionalStringList(),
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=sim-http-api-openapi-jwt-authorizer-scheme.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-openapi-jwt-authorizer-scheme.js","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/openapi/sim-http-api-openapi-jwt-authorizer-scheme.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,+BAA+B,EAAE,MAAM,2CAA2C,CAAC;AAG5F;;;;;;;GAOG;AACH,MAAM,OAAO,oCAAoC;IAC9B,UAAU,CAA0B;IAErD,YAAY,UAAmC;QAC7C,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;IAED;;OAEG;IACH,qBAAqB,CACnB,KAAa,EACb,IAAY;QAEZ,MAAM,aAAa,GAAG,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC,MAAM,EAAE,CAAC;QAE1E,OAAO;YACL,KAAK,EAAE,KAAK;YACZ,IAAI,EAAE,IAAI;YACV,cAAc,EAAE,KAAK;YACrB,cAAc,EAAE,IAAI,+BAA+B,CACjD,IAAI,CAAC,UAAU,CAChB,CAAC,GAAG,EAAE;YACP,gBAAgB,EAAE;gBAChB,MAAM,EAAE,aAAa,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,cAAc,EAAE;gBACvD,QAAQ,EAAE,aAAa,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,kBAAkB,EAAE;aAChE;SACF,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { SimCreateAuthorizerCommandInput } from "../command/authorizer/authorizer.command.js";
|
|
2
|
+
import type { SimHttpApiOpenApiObject } from "./sim-http-api-openapi-object.js";
|
|
3
|
+
/**
|
|
4
|
+
* An `x-amazon-apigateway-authorizer` of `type: request`, read into the
|
|
5
|
+
* CreateAuthorizer input it asks for.
|
|
6
|
+
*
|
|
7
|
+
* The values are handed to CreateAuthorizer as the document wrote them, so what
|
|
8
|
+
* a Lambda `REQUEST` authorizer requires is stated where an SDK caller and a
|
|
9
|
+
* template already meet it. That covers the function URI, and an
|
|
10
|
+
* `authorizerPayloadFormatVersion` of `1.0`, which builds a different event and
|
|
11
|
+
* is refused across this simulation.
|
|
12
|
+
*/
|
|
13
|
+
export declare class SimHttpApiOpenApiRequestAuthorizerScheme {
|
|
14
|
+
private readonly authorizer;
|
|
15
|
+
constructor(authorizer: SimHttpApiOpenApiObject);
|
|
16
|
+
/**
|
|
17
|
+
* The CreateAuthorizer input this authorizer asks for.
|
|
18
|
+
*/
|
|
19
|
+
createAuthorizerInput(apiId: string, name: string): SimCreateAuthorizerCommandInput;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=sim-http-api-openapi-request-authorizer-scheme.d.ts.map
|
package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-request-authorizer-scheme.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-openapi-request-authorizer-scheme.d.ts","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/openapi/sim-http-api-openapi-request-authorizer-scheme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,6CAA6C,CAAC;AAEnG,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAiBhF;;;;;;;;;GASG;AACH,qBAAa,wCAAwC;IACnD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA0B;IAErD,YAAY,UAAU,EAAE,uBAAuB,EAE9C;IAED;;OAEG;IACH,qBAAqB,CACnB,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,GACX,+BAA+B,CAyBjC;CACF"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { SimHttpApiOpenApiIdentitySource } from "./sim-http-api-openapi-identity-source.js";
|
|
2
|
+
const authorizerCredentials = "names an IAM Role for API Gateway to assume before invoking the authorizer " +
|
|
3
|
+
"function, and nothing here assumes one: the function's own resource policy " +
|
|
4
|
+
"is what admits the call";
|
|
5
|
+
/**
|
|
6
|
+
* The members that belong to a REST API's authorizers rather than an HTTP
|
|
7
|
+
* API's, refused rather than ignored so a document written for a REST API does
|
|
8
|
+
* not import as something quieter than it says.
|
|
9
|
+
*/
|
|
10
|
+
const restOnlyMembers = ["identityValidationExpression", "providerARNs"];
|
|
11
|
+
const restOnly = "configures a REST API authorizer, and an HTTP API applies none of it";
|
|
12
|
+
/**
|
|
13
|
+
* An `x-amazon-apigateway-authorizer` of `type: request`, read into the
|
|
14
|
+
* CreateAuthorizer input it asks for.
|
|
15
|
+
*
|
|
16
|
+
* The values are handed to CreateAuthorizer as the document wrote them, so what
|
|
17
|
+
* a Lambda `REQUEST` authorizer requires is stated where an SDK caller and a
|
|
18
|
+
* template already meet it. That covers the function URI, and an
|
|
19
|
+
* `authorizerPayloadFormatVersion` of `1.0`, which builds a different event and
|
|
20
|
+
* is refused across this simulation.
|
|
21
|
+
*/
|
|
22
|
+
export class SimHttpApiOpenApiRequestAuthorizerScheme {
|
|
23
|
+
authorizer;
|
|
24
|
+
constructor(authorizer) {
|
|
25
|
+
this.authorizer = authorizer;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* The CreateAuthorizer input this authorizer asks for.
|
|
29
|
+
*/
|
|
30
|
+
createAuthorizerInput(apiId, name) {
|
|
31
|
+
this.authorizer.refuseMember("authorizerCredentials", authorizerCredentials);
|
|
32
|
+
this.authorizer.refuseMembers(restOnlyMembers, restOnly);
|
|
33
|
+
return {
|
|
34
|
+
ApiId: apiId,
|
|
35
|
+
Name: name,
|
|
36
|
+
AuthorizerType: "REQUEST",
|
|
37
|
+
IdentitySource: new SimHttpApiOpenApiIdentitySource(this.authorizer).all(),
|
|
38
|
+
AuthorizerUri: this.authorizer.member("authorizerUri").optionalString(),
|
|
39
|
+
AuthorizerPayloadFormatVersion: this.authorizer
|
|
40
|
+
.member("authorizerPayloadFormatVersion")
|
|
41
|
+
.optionalString(),
|
|
42
|
+
EnableSimpleResponses: this.authorizer
|
|
43
|
+
.member("enableSimpleResponses")
|
|
44
|
+
.optionalBoolean(),
|
|
45
|
+
AuthorizerResultTtlInSeconds: this.authorizer
|
|
46
|
+
.member("authorizerResultTtlInSeconds")
|
|
47
|
+
.optionalNumber(),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=sim-http-api-openapi-request-authorizer-scheme.js.map
|
package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-request-authorizer-scheme.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-openapi-request-authorizer-scheme.js","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/openapi/sim-http-api-openapi-request-authorizer-scheme.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,+BAA+B,EAAE,MAAM,2CAA2C,CAAC;AAG5F,MAAM,qBAAqB,GACzB,6EAA6E;IAC7E,6EAA6E;IAC7E,yBAAyB,CAAC;AAE5B;;;;GAIG;AACH,MAAM,eAAe,GAAG,CAAC,8BAA8B,EAAE,cAAc,CAAC,CAAC;AAEzE,MAAM,QAAQ,GACZ,sEAAsE,CAAC;AAEzE;;;;;;;;;GASG;AACH,MAAM,OAAO,wCAAwC;IAClC,UAAU,CAA0B;IAErD,YAAY,UAAmC;QAC7C,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;IAED;;OAEG;IACH,qBAAqB,CACnB,KAAa,EACb,IAAY;QAEZ,IAAI,CAAC,UAAU,CAAC,YAAY,CAC1B,uBAAuB,EACvB,qBAAqB,CACtB,CAAC;QACF,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,eAAe,EAAE,QAAQ,CAAC,CAAC;QAEzD,OAAO;YACL,KAAK,EAAE,KAAK;YACZ,IAAI,EAAE,IAAI;YACV,cAAc,EAAE,SAAS;YACzB,cAAc,EAAE,IAAI,+BAA+B,CACjD,IAAI,CAAC,UAAU,CAChB,CAAC,GAAG,EAAE;YACP,aAAa,EAAE,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,cAAc,EAAE;YACvE,8BAA8B,EAAE,IAAI,CAAC,UAAU;iBAC5C,MAAM,CAAC,gCAAgC,CAAC;iBACxC,cAAc,EAAE;YACnB,qBAAqB,EAAE,IAAI,CAAC,UAAU;iBACnC,MAAM,CAAC,uBAAuB,CAAC;iBAC/B,eAAe,EAAE;YACpB,4BAA4B,EAAE,IAAI,CAAC,UAAU;iBAC1C,MAAM,CAAC,8BAA8B,CAAC;iBACtC,cAAc,EAAE;SACpB,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -27,9 +27,18 @@ export declare class SimHttpApiOpenApiAuthorization {
|
|
|
27
27
|
*/
|
|
28
28
|
of(apiId: string, operation: SimHttpApiOpenApiOperation, schemes: SimHttpApiOpenApiSecuritySchemes): SimHttpApiOpenApiRouteAuthorization;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Create the authorizer a requirement's scheme declares, remembering it for
|
|
31
|
+
* the next operation naming the same scheme.
|
|
31
32
|
*/
|
|
32
|
-
private
|
|
33
|
+
private create;
|
|
34
|
+
/**
|
|
35
|
+
* A route the named authorizer decides, of the type that authorizer is.
|
|
36
|
+
*
|
|
37
|
+
* A Lambda `REQUEST` authorizer makes a `CUSTOM` route, and the requirement's
|
|
38
|
+
* scopes go with it rather than being dropped: AWS applies route scopes to a
|
|
39
|
+
* `JWT` route only, so CreateRoute refuses them here.
|
|
40
|
+
*/
|
|
41
|
+
private authorization;
|
|
33
42
|
}
|
|
34
43
|
export {};
|
|
35
44
|
//# sourceMappingURL=sim-http-api-openapi-route-authorization.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-http-api-openapi-route-authorization.d.ts","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/openapi/sim-http-api-openapi-route-authorization.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sim-http-api-openapi-route-authorization.d.ts","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/openapi/sim-http-api-openapi-route-authorization.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,2DAA2D,CAAC;AAC9G,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAC;AACpF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAClF,OAAO,KAAK,EACV,0BAA0B,EAE3B,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,4CAA4C,CAAC;AAEnG;;GAEG;AACH,MAAM,MAAM,mCAAmC,GAAG,IAAI,CACpD,0BAA0B,EAC1B,mBAAmB,GAAG,cAAc,GAAG,qBAAqB,CAC7D,CAAC;AAEF,UAAU,wCAAwC;IAChD,QAAQ,CAAC,kBAAkB,EAAE,4BAA4B,CAAC;IAC1D,QAAQ,CAAC,OAAO,EAAE,wBAAwB,CAAC;CAC5C;AAED;;;;;;GAMG;AACH,qBAAa,8BAA8B;IACzC,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAA+B;IAClE,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA2B;IAEnD,YAAY,UAAU,EAAE,wCAAwC,EAG/D;IAED;;OAEG;IACH,EAAE,CACA,KAAK,EAAE,MAAM,EACb,SAAS,EAAE,0BAA0B,EACrC,OAAO,EAAE,gCAAgC,GACxC,mCAAmC,CAgBrC;IAED;;;OAGG;IACH,OAAO,CAAC,MAAM;IAcd;;;;;;OAMG;IACH,OAAO,CAAC,aAAa;CAkBtB"}
|
|
@@ -20,22 +20,41 @@ export class SimHttpApiOpenApiAuthorization {
|
|
|
20
20
|
if (requirement === undefined) {
|
|
21
21
|
return { AuthorizationType: "NONE" };
|
|
22
22
|
}
|
|
23
|
-
const shared = schemes.
|
|
23
|
+
const shared = schemes.createdAuthorizer(requirement.schemeName);
|
|
24
24
|
if (shared !== undefined) {
|
|
25
|
-
return this.
|
|
25
|
+
return this.authorization(shared, requirement.scopes);
|
|
26
26
|
}
|
|
27
|
+
const created = this.create(apiId, requirement, schemes);
|
|
28
|
+
return this.authorization(created, requirement.scopes);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Create the authorizer a requirement's scheme declares, remembering it for
|
|
32
|
+
* the next operation naming the same scheme.
|
|
33
|
+
*/
|
|
34
|
+
create(apiId, requirement, schemes) {
|
|
27
35
|
const input = schemes.authorizerInput(apiId, requirement);
|
|
28
36
|
const created = this.command.run(requirement.value.pointer, () => this.authorizerCommands.createAuthorizer({ input }));
|
|
29
|
-
schemes.remember(requirement.schemeName, created
|
|
30
|
-
return
|
|
37
|
+
schemes.remember(requirement.schemeName, created);
|
|
38
|
+
return created;
|
|
31
39
|
}
|
|
32
40
|
/**
|
|
33
|
-
* A route the named authorizer decides,
|
|
41
|
+
* A route the named authorizer decides, of the type that authorizer is.
|
|
42
|
+
*
|
|
43
|
+
* A Lambda `REQUEST` authorizer makes a `CUSTOM` route, and the requirement's
|
|
44
|
+
* scopes go with it rather than being dropped: AWS applies route scopes to a
|
|
45
|
+
* `JWT` route only, so CreateRoute refuses them here.
|
|
34
46
|
*/
|
|
35
|
-
|
|
47
|
+
authorization(authorizer, scopes) {
|
|
48
|
+
if (authorizer.AuthorizerType === "REQUEST") {
|
|
49
|
+
return {
|
|
50
|
+
AuthorizationType: "CUSTOM",
|
|
51
|
+
AuthorizerId: authorizer.AuthorizerId,
|
|
52
|
+
AuthorizationScopes: scopes,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
36
55
|
return {
|
|
37
56
|
AuthorizationType: "JWT",
|
|
38
|
-
AuthorizerId:
|
|
57
|
+
AuthorizerId: authorizer.AuthorizerId,
|
|
39
58
|
AuthorizationScopes: scopes,
|
|
40
59
|
};
|
|
41
60
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-http-api-openapi-route-authorization.js","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/openapi/sim-http-api-openapi-route-authorization.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sim-http-api-openapi-route-authorization.js","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/openapi/sim-http-api-openapi-route-authorization.ts"],"names":[],"mappings":"AAuBA;;;;;;GAMG;AACH,MAAM,OAAO,8BAA8B;IACxB,kBAAkB,CAA+B;IACjD,OAAO,CAA2B;IAEnD,YAAY,UAAoD;QAC9D,IAAI,CAAC,kBAAkB,GAAG,UAAU,CAAC,kBAAkB,CAAC;QACxD,IAAI,CAAC,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC;IACpC,CAAC;IAED;;OAEG;IACH,EAAE,CACA,KAAa,EACb,SAAqC,EACrC,OAAyC;QAEzC,MAAM,WAAW,GAAG,SAAS,CAAC,QAAQ,EAAE,CAAC;QAEzC,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,EAAE,CAAC;QACvC,CAAC;QAED,MAAM,MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;QAEjE,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACzB,OAAO,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;QACxD,CAAC;QAED,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;QAEzD,OAAO,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACzD,CAAC;IAED;;;OAGG;IACK,MAAM,CACZ,KAAa,EACb,WAAiD,EACjD,OAAyC;QAEzC,MAAM,KAAK,GAAG,OAAO,CAAC,eAAe,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC;QAC1D,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC,KAAK,CAAC,OAAO,EAAE,GAAG,EAAE,CAC/D,IAAI,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,EAAE,KAAK,EAAE,CAAC,CACpD,CAAC;QACF,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;QAElD,OAAO,OAAO,CAAC;IACjB,CAAC;IAED;;;;;;OAMG;IACK,aAAa,CACnB,UAAoC,EACpC,MAAyB;QAEzB,IAAI,UAAU,CAAC,cAAc,KAAK,SAAS,EAAE,CAAC;YAC5C,OAAO;gBACL,iBAAiB,EAAE,QAAQ;gBAC3B,YAAY,EAAE,UAAU,CAAC,YAAY;gBACrC,mBAAmB,EAAE,MAAM;aAC5B,CAAC;QACJ,CAAC;QAED,OAAO;YACL,iBAAiB,EAAE,KAAK;YACxB,YAAY,EAAE,UAAU,CAAC,YAAY;YACrC,mBAAmB,EAAE,MAAM;SAC5B,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -4,10 +4,9 @@ import type { SimHttpApiOpenApiObject } from "./sim-http-api-openapi-object.js";
|
|
|
4
4
|
* One `components.securitySchemes` member, read into the CreateAuthorizer
|
|
5
5
|
* input the operations naming it ask for.
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* identity sources as one comma-separated string, and the command takes a list.
|
|
7
|
+
* Which of the two kinds of authorizer a scheme carries is decided here, and
|
|
8
|
+
* reading each kind is the class named after it. A scheme whose type and
|
|
9
|
+
* whose extension disagree is refused rather than resolved either way.
|
|
11
10
|
*/
|
|
12
11
|
export declare class SimHttpApiOpenApiSecurityScheme {
|
|
13
12
|
private readonly scheme;
|
|
@@ -17,13 +16,14 @@ export declare class SimHttpApiOpenApiSecurityScheme {
|
|
|
17
16
|
*/
|
|
18
17
|
createAuthorizerInput(apiId: string, name: string): SimCreateAuthorizerCommandInput;
|
|
19
18
|
/**
|
|
20
|
-
* The
|
|
21
|
-
*
|
|
19
|
+
* The kind of authorizer this scheme's own type declares, refusing every
|
|
20
|
+
* scheme type an HTTP API route cannot use.
|
|
22
21
|
*/
|
|
23
|
-
private
|
|
22
|
+
private authorizerType;
|
|
24
23
|
/**
|
|
25
|
-
* The
|
|
24
|
+
* The `x-amazon-apigateway-authorizer` this scheme carries, refusing one of a
|
|
25
|
+
* kind the scheme's own type does not declare.
|
|
26
26
|
*/
|
|
27
|
-
private
|
|
27
|
+
private authorizer;
|
|
28
28
|
}
|
|
29
29
|
//# sourceMappingURL=sim-http-api-openapi-security-scheme.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-http-api-openapi-security-scheme.d.ts","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/openapi/sim-http-api-openapi-security-scheme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,6CAA6C,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-http-api-openapi-security-scheme.d.ts","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/openapi/sim-http-api-openapi-security-scheme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,6CAA6C,CAAC;AAEnG,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AA0BhF;;;;;;;GAOG;AACH,qBAAa,+BAA+B;IAC1C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD,YAAY,MAAM,EAAE,uBAAuB,EAE1C;IAED;;OAEG;IACH,qBAAqB,CACnB,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,GACX,+BAA+B,CAajC;IAED;;;OAGG;IACH,OAAO,CAAC,cAAc;IAoBtB;;;OAGG;IACH,OAAO,CAAC,UAAU;CAiBnB"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { SimHttpApiOpenApiJwtAuthorizerScheme } from "./sim-http-api-openapi-jwt-authorizer-scheme.js";
|
|
2
|
+
import { SimHttpApiOpenApiRequestAuthorizerScheme } from "./sim-http-api-openapi-request-authorizer-scheme.js";
|
|
1
3
|
/**
|
|
2
4
|
* The security scheme types that are not a JWT authorizer.
|
|
3
5
|
*
|
|
@@ -9,14 +11,22 @@
|
|
|
9
11
|
const openIdConnect = "AWS reads the issuer out of the discovery document published at " +
|
|
10
12
|
"openIdConnectUrl, and nothing here is fetched over HTTP. Declare the " +
|
|
11
13
|
"scheme as oauth2 with an explicit jwtConfiguration.issuer instead.";
|
|
14
|
+
/**
|
|
15
|
+
* The `x-amazon-apigateway-authorizer` type each security scheme type carries,
|
|
16
|
+
* which is what AWS documents for an HTTP API: a JWT authorizer under `oauth2`,
|
|
17
|
+
* and a Lambda `REQUEST` authorizer under `apiKey`.
|
|
18
|
+
*/
|
|
19
|
+
const authorizerTypes = new Map([
|
|
20
|
+
["oauth2", "jwt"],
|
|
21
|
+
["apiKey", "request"],
|
|
22
|
+
]);
|
|
12
23
|
/**
|
|
13
24
|
* One `components.securitySchemes` member, read into the CreateAuthorizer
|
|
14
25
|
* input the operations naming it ask for.
|
|
15
26
|
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* identity sources as one comma-separated string, and the command takes a list.
|
|
27
|
+
* Which of the two kinds of authorizer a scheme carries is decided here, and
|
|
28
|
+
* reading each kind is the class named after it. A scheme whose type and
|
|
29
|
+
* whose extension disagree is refused rather than resolved either way.
|
|
20
30
|
*/
|
|
21
31
|
export class SimHttpApiOpenApiSecurityScheme {
|
|
22
32
|
scheme;
|
|
@@ -27,59 +37,46 @@ export class SimHttpApiOpenApiSecurityScheme {
|
|
|
27
37
|
* The CreateAuthorizer input this scheme asks for.
|
|
28
38
|
*/
|
|
29
39
|
createAuthorizerInput(apiId, name) {
|
|
30
|
-
const
|
|
31
|
-
const
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
IdentitySource: this.identitySource(authorizer),
|
|
37
|
-
JwtConfiguration: {
|
|
38
|
-
Issuer: configuration.member("issuer").optionalString(),
|
|
39
|
-
Audience: configuration.member("audience").optionalStringList(),
|
|
40
|
-
},
|
|
41
|
-
};
|
|
40
|
+
const authorizerType = this.authorizerType();
|
|
41
|
+
const authorizer = this.authorizer(authorizerType);
|
|
42
|
+
if (authorizerType === "request") {
|
|
43
|
+
return new SimHttpApiOpenApiRequestAuthorizerScheme(authorizer).createAuthorizerInput(apiId, name);
|
|
44
|
+
}
|
|
45
|
+
return new SimHttpApiOpenApiJwtAuthorizerScheme(authorizer).createAuthorizerInput(apiId, name);
|
|
42
46
|
}
|
|
43
47
|
/**
|
|
44
|
-
* The
|
|
45
|
-
*
|
|
48
|
+
* The kind of authorizer this scheme's own type declares, refusing every
|
|
49
|
+
* scheme type an HTTP API route cannot use.
|
|
46
50
|
*/
|
|
47
|
-
|
|
51
|
+
authorizerType() {
|
|
48
52
|
const declared = this.scheme.member("type");
|
|
49
|
-
const
|
|
50
|
-
if (
|
|
53
|
+
const schemeType = declared.requiredString();
|
|
54
|
+
if (schemeType === "openIdConnect") {
|
|
51
55
|
throw declared.refusal(openIdConnect);
|
|
52
56
|
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
57
|
+
const authorizerType = authorizerTypes.get(schemeType);
|
|
58
|
+
if (authorizerType === undefined) {
|
|
59
|
+
throw declared.refusal(`is '${schemeType}', and an HTTP API declares a JWT authorizer under ` +
|
|
60
|
+
`oauth2 and a Lambda REQUEST authorizer under apiKey`);
|
|
56
61
|
}
|
|
62
|
+
return authorizerType;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* The `x-amazon-apigateway-authorizer` this scheme carries, refusing one of a
|
|
66
|
+
* kind the scheme's own type does not declare.
|
|
67
|
+
*/
|
|
68
|
+
authorizer(authorizerType) {
|
|
57
69
|
const authorizer = this.scheme
|
|
58
70
|
.member("x-amazon-apigateway-authorizer")
|
|
59
71
|
.object();
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
72
|
+
const declared = authorizer.member("type");
|
|
73
|
+
const declaredType = declared.requiredString();
|
|
74
|
+
if (declaredType !== authorizerType) {
|
|
75
|
+
throw declared.refusal(`is '${declaredType}', and the security scheme carrying it declares a ` +
|
|
76
|
+
`'${authorizerType}' authorizer. A JWT authorizer and a Lambda ` +
|
|
77
|
+
`REQUEST authorizer are the two an HTTP API has.`);
|
|
65
78
|
}
|
|
66
79
|
return authorizer;
|
|
67
80
|
}
|
|
68
|
-
/**
|
|
69
|
-
* The one header or query string parameter the token is read from.
|
|
70
|
-
*/
|
|
71
|
-
identitySource(authorizer) {
|
|
72
|
-
const declared = authorizer.member("identitySource");
|
|
73
|
-
const sources = declared
|
|
74
|
-
.requiredString()
|
|
75
|
-
.split(",")
|
|
76
|
-
.map((source) => source.trim())
|
|
77
|
-
.filter((source) => source.length > 0);
|
|
78
|
-
if (sources.length > 1) {
|
|
79
|
-
throw declared.refusal(`carries ${String(sources.length)} identity sources, and only the ` +
|
|
80
|
-
`first would be read here`);
|
|
81
|
-
}
|
|
82
|
-
return sources;
|
|
83
|
-
}
|
|
84
81
|
}
|
|
85
82
|
//# sourceMappingURL=sim-http-api-openapi-security-scheme.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-http-api-openapi-security-scheme.js","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/openapi/sim-http-api-openapi-security-scheme.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sim-http-api-openapi-security-scheme.js","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/openapi/sim-http-api-openapi-security-scheme.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oCAAoC,EAAE,MAAM,iDAAiD,CAAC;AAEvG,OAAO,EAAE,wCAAwC,EAAE,MAAM,qDAAqD,CAAC;AAE/G;;;;;;;GAOG;AACH,MAAM,aAAa,GACjB,kEAAkE;IAClE,uEAAuE;IACvE,oEAAoE,CAAC;AAEvE;;;;GAIG;AACH,MAAM,eAAe,GAAG,IAAI,GAAG,CAAC;IAC9B,CAAC,QAAQ,EAAE,KAAK,CAAC;IACjB,CAAC,QAAQ,EAAE,SAAS,CAAC;CACtB,CAAC,CAAC;AAEH;;;;;;;GAOG;AACH,MAAM,OAAO,+BAA+B;IACzB,MAAM,CAA0B;IAEjD,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;OAEG;IACH,qBAAqB,CACnB,KAAa,EACb,IAAY;QAEZ,MAAM,cAAc,GAAG,IAAI,CAAC,cAAc,EAAE,CAAC;QAC7C,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC;QAEnD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,OAAO,IAAI,wCAAwC,CACjD,UAAU,CACX,CAAC,qBAAqB,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;QACvC,CAAC;QAED,OAAO,IAAI,oCAAoC,CAC7C,UAAU,CACX,CAAC,qBAAqB,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IACvC,CAAC;IAED;;;OAGG;IACK,cAAc;QACpB,MAAM,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QAC5C,MAAM,UAAU,GAAG,QAAQ,CAAC,cAAc,EAAE,CAAC;QAE7C,IAAI,UAAU,KAAK,eAAe,EAAE,CAAC;YACnC,MAAM,QAAQ,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;QACxC,CAAC;QAED,MAAM,cAAc,GAAG,eAAe,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;QAEvD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,QAAQ,CAAC,OAAO,CACpB,OAAO,UAAU,qDAAqD;gBACpE,qDAAqD,CACxD,CAAC;QACJ,CAAC;QAED,OAAO,cAAc,CAAC;IACxB,CAAC;IAED;;;OAGG;IACK,UAAU,CAAC,cAAsB;QACvC,MAAM,UAAU,GAAG,IAAI,CAAC,MAAM;aAC3B,MAAM,CAAC,gCAAgC,CAAC;aACxC,MAAM,EAAE,CAAC;QACZ,MAAM,QAAQ,GAAG,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QAC3C,MAAM,YAAY,GAAG,QAAQ,CAAC,cAAc,EAAE,CAAC;QAE/C,IAAI,YAAY,KAAK,cAAc,EAAE,CAAC;YACpC,MAAM,QAAQ,CAAC,OAAO,CACpB,OAAO,YAAY,oDAAoD;gBACrE,IAAI,cAAc,8CAA8C;gBAChE,iDAAiD,CACpD,CAAC;QACJ,CAAC;QAED,OAAO,UAAU,CAAC;IACpB,CAAC;CACF"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { SimHttpApiAuthorizerView } from "../api/authorizer/sim-http-api-authorizer.js";
|
|
1
2
|
import type { SimCreateAuthorizerCommandInput } from "../command/authorizer/authorizer.command.js";
|
|
2
3
|
import type { SimHttpApiOpenApiSecurityRequirement } from "./sim-http-api-openapi-operation.js";
|
|
3
4
|
import type { SimHttpApiOpenApiValue } from "./sim-http-api-openapi-value.js";
|
|
@@ -23,12 +24,12 @@ export declare class SimHttpApiOpenApiSecuritySchemes {
|
|
|
23
24
|
/**
|
|
24
25
|
* The authorizer already created for a scheme, if one was.
|
|
25
26
|
*/
|
|
26
|
-
|
|
27
|
+
createdAuthorizer(schemeName: string): SimHttpApiAuthorizerView | undefined;
|
|
27
28
|
/**
|
|
28
29
|
* Remember the authorizer created for a scheme, so the next operation naming
|
|
29
30
|
* it shares that one.
|
|
30
31
|
*/
|
|
31
|
-
remember(schemeName: string,
|
|
32
|
+
remember(schemeName: string, authorizer: SimHttpApiAuthorizerView): void;
|
|
32
33
|
/**
|
|
33
34
|
* The security scheme a requirement names, refusing one the document does
|
|
34
35
|
* not define.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-http-api-openapi-security-schemes.d.ts","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/openapi/sim-http-api-openapi-security-schemes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,6CAA6C,CAAC;AAEnG,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,qCAAqC,CAAC;AAEhG,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAE9E,UAAU,0CAA0C;IAClD,QAAQ,CAAC,OAAO,EAAE,sBAAsB,CAAC;CAC1C;AAED;;;;;;;GAOG;AACH,qBAAa,gCAAgC;IAC3C,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAyB;IACjD,OAAO,CAAC,QAAQ,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"sim-http-api-openapi-security-schemes.d.ts","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/openapi/sim-http-api-openapi-security-schemes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AAC7F,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,6CAA6C,CAAC;AAEnG,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,qCAAqC,CAAC;AAEhG,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAE9E,UAAU,0CAA0C;IAClD,QAAQ,CAAC,OAAO,EAAE,sBAAsB,CAAC;CAC1C;AAED;;;;;;;GAOG;AACH,qBAAa,gCAAgC;IAC3C,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAyB;IACjD,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA+C;IAEvE,YAAY,UAAU,EAAE,0CAA0C,EAEjE;IAED;;OAEG;IACH,eAAe,CACb,KAAK,EAAE,MAAM,EACb,WAAW,EAAE,oCAAoC,GAChD,+BAA+B,CAMjC;IAED;;OAEG;IACH,iBAAiB,CAAC,UAAU,EAAE,MAAM,GAAG,wBAAwB,GAAG,SAAS,CAE1E;IAED;;;OAGG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,wBAAwB,GAAG,IAAI,CAEvE;IAED;;;OAGG;IACH,OAAO,CAAC,MAAM;CAcf"}
|
|
@@ -23,15 +23,15 @@ export class SimHttpApiOpenApiSecuritySchemes {
|
|
|
23
23
|
/**
|
|
24
24
|
* The authorizer already created for a scheme, if one was.
|
|
25
25
|
*/
|
|
26
|
-
|
|
26
|
+
createdAuthorizer(schemeName) {
|
|
27
27
|
return this.created.get(schemeName);
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
30
30
|
* Remember the authorizer created for a scheme, so the next operation naming
|
|
31
31
|
* it shares that one.
|
|
32
32
|
*/
|
|
33
|
-
remember(schemeName,
|
|
34
|
-
this.created.set(schemeName,
|
|
33
|
+
remember(schemeName, authorizer) {
|
|
34
|
+
this.created.set(schemeName, authorizer);
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
37
|
* The security scheme a requirement names, refusing one the document does
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-http-api-openapi-security-schemes.js","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/openapi/sim-http-api-openapi-security-schemes.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sim-http-api-openapi-security-schemes.js","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/openapi/sim-http-api-openapi-security-schemes.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,+BAA+B,EAAE,MAAM,2CAA2C,CAAC;AAO5F;;;;;;;GAOG;AACH,MAAM,OAAO,gCAAgC;IAC1B,OAAO,CAAyB;IAChC,OAAO,GAAG,IAAI,GAAG,EAAoC,CAAC;IAEvE,YAAY,UAAsD;QAChE,IAAI,CAAC,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC;IACpC,CAAC;IAED;;OAEG;IACH,eAAe,CACb,KAAa,EACb,WAAiD;QAEjD,MAAM,MAAM,GAAG,IAAI,+BAA+B,CAChD,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,CACzB,CAAC;QAEF,OAAO,MAAM,CAAC,qBAAqB,CAAC,KAAK,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;IACrE,CAAC;IAED;;OAEG;IACH,iBAAiB,CAAC,UAAkB;QAClC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IACtC,CAAC;IAED;;;OAGG;IACH,QAAQ,CAAC,UAAkB,EAAE,UAAoC;QAC/D,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;IAC3C,CAAC;IAED;;;OAGG;IACK,MAAM,CACZ,WAAiD;QAEjD,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAE9C,IAAI,OAAO,EAAE,GAAG,CAAC,WAAW,CAAC,UAAU,CAAC,KAAK,IAAI,EAAE,CAAC;YAClD,MAAM,WAAW,CAAC,KAAK,CAAC,OAAO,CAC7B,8BAA8B,WAAW,CAAC,UAAU,WAAW;gBAC7D,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,QAAQ,EAAE,kBAAkB,CACvD,CAAC;QACJ,CAAC;QAED,OAAO,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC,MAAM,EAAE,CAAC;IACzD,CAAC;CACF"}
|
|
@@ -42,6 +42,16 @@ export declare class SimHttpApiOpenApiValue {
|
|
|
42
42
|
* This value as a string when the document carries one.
|
|
43
43
|
*/
|
|
44
44
|
optionalString(): string | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* This value as a boolean when the document carries one, which is the shape
|
|
47
|
+
* an authorizer's `enableSimpleResponses` takes.
|
|
48
|
+
*/
|
|
49
|
+
optionalBoolean(): boolean | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* This value as a number when the document carries one, which is the shape
|
|
52
|
+
* an authorizer's `authorizerResultTtlInSeconds` takes.
|
|
53
|
+
*/
|
|
54
|
+
optionalNumber(): number | undefined;
|
|
45
55
|
/**
|
|
46
56
|
* The entries of this value as an array, when the document carries one.
|
|
47
57
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-http-api-openapi-value.d.ts","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/openapi/sim-http-api-openapi-value.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AACtF,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAC3E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAGlF,UAAU,gCAAgC;IACxC,QAAQ,CAAC,OAAO,EAAE,wBAAwB,CAAC;IAC3C,QAAQ,CAAC,KAAK,EAAE,SAAS,GAAG,SAAS,CAAC;CACvC;AAID;;;;;;;GAOG;AACH,qBAAa,sBAAsB;IACjC,SAAgB,OAAO,EAAE,wBAAwB,CAAC;IAClD,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAwB;IAE9C,YAAY,UAAU,EAAE,gCAAgC,EAGvD;IAED;;OAEG;IACH,MAAM,IAAI,OAAO,CAEhB;IAED;;OAEG;IACH,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,yBAAyB,CAEjD;IAED;;OAEG;IACH,MAAM,IAAI,uBAAuB,CAQhC;IAED;;OAEG;IACH,cAAc,IAAI,uBAAuB,GAAG,SAAS,CAiBpD;IAED;;OAEG;IACH,cAAc,IAAI,MAAM,CAQvB;IAED;;OAEG;IACH,cAAc,IAAI,MAAM,GAAG,SAAS,CAUnC;IAED;;OAEG;IACH,aAAa,IAAI,SAAS,sBAAsB,EAAE,GAAG,SAAS,CAgB7D;IAED;;OAEG;IACH,kBAAkB,IAAI,SAAS,MAAM,EAAE,GAAG,SAAS,CAElD;CACF"}
|
|
1
|
+
{"version":3,"file":"sim-http-api-openapi-value.d.ts","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/openapi/sim-http-api-openapi-value.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AACtF,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAC3E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAGlF,UAAU,gCAAgC;IACxC,QAAQ,CAAC,OAAO,EAAE,wBAAwB,CAAC;IAC3C,QAAQ,CAAC,KAAK,EAAE,SAAS,GAAG,SAAS,CAAC;CACvC;AAID;;;;;;;GAOG;AACH,qBAAa,sBAAsB;IACjC,SAAgB,OAAO,EAAE,wBAAwB,CAAC;IAClD,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAwB;IAE9C,YAAY,UAAU,EAAE,gCAAgC,EAGvD;IAED;;OAEG;IACH,MAAM,IAAI,OAAO,CAEhB;IAED;;OAEG;IACH,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,yBAAyB,CAEjD;IAED;;OAEG;IACH,MAAM,IAAI,uBAAuB,CAQhC;IAED;;OAEG;IACH,cAAc,IAAI,uBAAuB,GAAG,SAAS,CAiBpD;IAED;;OAEG;IACH,cAAc,IAAI,MAAM,CAQvB;IAED;;OAEG;IACH,cAAc,IAAI,MAAM,GAAG,SAAS,CAUnC;IAED;;;OAGG;IACH,eAAe,IAAI,OAAO,GAAG,SAAS,CAUrC;IAED;;;OAGG;IACH,cAAc,IAAI,MAAM,GAAG,SAAS,CAUnC;IAED;;OAEG;IACH,aAAa,IAAI,SAAS,sBAAsB,EAAE,GAAG,SAAS,CAgB7D;IAED;;OAEG;IACH,kBAAkB,IAAI,SAAS,MAAM,EAAE,GAAG,SAAS,CAElD;CACF"}
|
|
@@ -77,6 +77,32 @@ export class SimHttpApiOpenApiValue {
|
|
|
77
77
|
}
|
|
78
78
|
return this.value;
|
|
79
79
|
}
|
|
80
|
+
/**
|
|
81
|
+
* This value as a boolean when the document carries one, which is the shape
|
|
82
|
+
* an authorizer's `enableSimpleResponses` takes.
|
|
83
|
+
*/
|
|
84
|
+
optionalBoolean() {
|
|
85
|
+
if (this.value === undefined) {
|
|
86
|
+
return undefined;
|
|
87
|
+
}
|
|
88
|
+
if (typeof this.value !== "boolean") {
|
|
89
|
+
throw this.refusal("has to be a boolean");
|
|
90
|
+
}
|
|
91
|
+
return this.value;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* This value as a number when the document carries one, which is the shape
|
|
95
|
+
* an authorizer's `authorizerResultTtlInSeconds` takes.
|
|
96
|
+
*/
|
|
97
|
+
optionalNumber() {
|
|
98
|
+
if (this.value === undefined) {
|
|
99
|
+
return undefined;
|
|
100
|
+
}
|
|
101
|
+
if (typeof this.value !== "number") {
|
|
102
|
+
throw this.refusal("has to be a number");
|
|
103
|
+
}
|
|
104
|
+
return this.value;
|
|
105
|
+
}
|
|
80
106
|
/**
|
|
81
107
|
* The entries of this value as an array, when the document carries one.
|
|
82
108
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-http-api-openapi-value.js","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/openapi/sim-http-api-openapi-value.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAE3E,OAAO,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAO7E,MAAM,OAAO,GAAG,iDAAiD,CAAC;AAElE;;;;;;;GAOG;AACH,MAAM,OAAO,sBAAsB;IACjB,OAAO,CAA2B;IACjC,KAAK,CAAwB;IAE9C,YAAY,UAA4C;QACtD,IAAI,CAAC,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC;QAClC,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;IAChC,CAAC;IAED;;OAEG;IACH,MAAM;QACJ,OAAO,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC;IAClC,CAAC;IAED;;OAEG;IACH,OAAO,CAAC,MAAc;QACpB,OAAO,wBAAwB,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;IACxD,CAAC;IAED;;OAEG;IACH,MAAM;QACJ,MAAM,MAAM,GAAG,IAAI,CAAC,cAAc,EAAE,CAAC;QAErC,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACzB,MAAM,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QAC9B,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;IAED;;OAEG;IACH,cAAc;QACZ,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;YAC7B,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,IACE,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ;YAC9B,IAAI,CAAC,KAAK,KAAK,IAAI;YACnB,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,EACzB,CAAC;YACD,MAAM,IAAI,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC;QAC5C,CAAC;QAED,OAAO,IAAI,uBAAuB,CAAC;YACjC,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,OAAO,EAAE,IAAI,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SAC7C,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,cAAc;QACZ,MAAM,IAAI,GAAG,IAAI,CAAC,cAAc,EAAE,CAAC;QAEnC,IAAI,IAAI,KAAK,SAAS,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC5C,MAAM,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QAC9B,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;OAEG;IACH,cAAc;QACZ,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;YAC7B,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,IAAI,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,EAAE,CAAC;YACnC,MAAM,IAAI,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAC3C,CAAC;QAED,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;IAED;;OAEG;IACH,aAAa;QACX,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;YAC7B,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YAC/B,MAAM,IAAI,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAC3C,CAAC;QAED,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CACnB,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CACf,IAAI,sBAAsB,CAAC;YACzB,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YAC1C,KAAK,EAAE,KAAK;SACb,CAAC,CACL,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,kBAAkB;QAChB,OAAO,IAAI,CAAC,aAAa,EAAE,EAAE,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,cAAc,EAAE,CAAC,CAAC;IACtE,CAAC;CACF"}
|
|
1
|
+
{"version":3,"file":"sim-http-api-openapi-value.js","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/openapi/sim-http-api-openapi-value.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAE3E,OAAO,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAO7E,MAAM,OAAO,GAAG,iDAAiD,CAAC;AAElE;;;;;;;GAOG;AACH,MAAM,OAAO,sBAAsB;IACjB,OAAO,CAA2B;IACjC,KAAK,CAAwB;IAE9C,YAAY,UAA4C;QACtD,IAAI,CAAC,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC;QAClC,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;IAChC,CAAC;IAED;;OAEG;IACH,MAAM;QACJ,OAAO,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC;IAClC,CAAC;IAED;;OAEG;IACH,OAAO,CAAC,MAAc;QACpB,OAAO,wBAAwB,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;IACxD,CAAC;IAED;;OAEG;IACH,MAAM;QACJ,MAAM,MAAM,GAAG,IAAI,CAAC,cAAc,EAAE,CAAC;QAErC,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACzB,MAAM,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QAC9B,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;IAED;;OAEG;IACH,cAAc;QACZ,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;YAC7B,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,IACE,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ;YAC9B,IAAI,CAAC,KAAK,KAAK,IAAI;YACnB,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,EACzB,CAAC;YACD,MAAM,IAAI,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC;QAC5C,CAAC;QAED,OAAO,IAAI,uBAAuB,CAAC;YACjC,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,OAAO,EAAE,IAAI,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SAC7C,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,cAAc;QACZ,MAAM,IAAI,GAAG,IAAI,CAAC,cAAc,EAAE,CAAC;QAEnC,IAAI,IAAI,KAAK,SAAS,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC5C,MAAM,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QAC9B,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;OAEG;IACH,cAAc;QACZ,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;YAC7B,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,IAAI,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,EAAE,CAAC;YACnC,MAAM,IAAI,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAC3C,CAAC;QAED,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;IAED;;;OAGG;IACH,eAAe;QACb,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;YAC7B,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,IAAI,OAAO,IAAI,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;YACpC,MAAM,IAAI,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC;QAC5C,CAAC;QAED,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;IAED;;;OAGG;IACH,cAAc;QACZ,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;YAC7B,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,IAAI,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,EAAE,CAAC;YACnC,MAAM,IAAI,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAC3C,CAAC;QAED,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;IAED;;OAEG;IACH,aAAa;QACX,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;YAC7B,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YAC/B,MAAM,IAAI,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAC3C,CAAC;QAED,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CACnB,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CACf,IAAI,sBAAsB,CAAC;YACzB,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YAC1C,KAAK,EAAE,KAAK;SACb,CAAC,CACL,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,kBAAkB;QAChB,OAAO,IAAI,CAAC,aAAa,EAAE,EAAE,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,cAAc,EAAE,CAAC,CAAC;IACtE,CAAC;CACF"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { SimClock } from "../../../../util/clock/sim-clock.js";
|
|
2
|
+
import type { SimHttpApiAuthorization } from "../../api/authorizer/sim-http-api-authorization.js";
|
|
3
|
+
import type { SimHttpApiRequestAuthorizer } from "../../api/authorizer/sim-http-api-request-authorizer.js";
|
|
4
|
+
interface SimHttpApiAuthorizerDecisionsProperties {
|
|
5
|
+
/**
|
|
6
|
+
* Clock a held decision expires against, so advancing simulated time drops
|
|
7
|
+
* one that was being reused a moment before.
|
|
8
|
+
*/
|
|
9
|
+
readonly clock: SimClock;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Reuses a Lambda authorizer's decision for as long as its
|
|
13
|
+
* `AuthorizerResultTtlInSeconds` says, and makes a new one when there is none
|
|
14
|
+
* to reuse.
|
|
15
|
+
*
|
|
16
|
+
* What is held and what is not is the whole of this: a refusal is held the way
|
|
17
|
+
* an admission is, because AWS holds whatever answer the authorizer gave. An
|
|
18
|
+
* authorizer that could not answer at all is not held, since there is no
|
|
19
|
+
* answer to hold and a request a moment later may find its function working.
|
|
20
|
+
*/
|
|
21
|
+
export declare class SimHttpApiAuthorizerDecisions {
|
|
22
|
+
private readonly clock;
|
|
23
|
+
constructor(properties: SimHttpApiAuthorizerDecisionsProperties);
|
|
24
|
+
/**
|
|
25
|
+
* The decision for these identity source values, made only if there is not
|
|
26
|
+
* one already.
|
|
27
|
+
*/
|
|
28
|
+
decide(authorizer: SimHttpApiRequestAuthorizer, identitySource: readonly string[], invoke: () => Promise<SimHttpApiAuthorization>): Promise<SimHttpApiAuthorization>;
|
|
29
|
+
/**
|
|
30
|
+
* Whether this is something the authorizer answered, rather than the
|
|
31
|
+
* authorizer failing to answer.
|
|
32
|
+
*/
|
|
33
|
+
private isAnswer;
|
|
34
|
+
}
|
|
35
|
+
export {};
|
|
36
|
+
//# sourceMappingURL=sim-http-api-authorizer-decisions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-authorizer-decisions.d.ts","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/serve/auth/sim-http-api-authorizer-decisions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,oDAAoD,CAAC;AAClG,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,yDAAyD,CAAC;AAE3G,UAAU,uCAAuC;IAC/C;;;OAGG;IACH,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC;CAC1B;AAED;;;;;;;;;GASG;AACH,qBAAa,6BAA6B;IACxC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAW;IAEjC,YAAY,UAAU,EAAE,uCAAuC,EAE9D;IAED;;;OAGG;IACG,MAAM,CACV,UAAU,EAAE,2BAA2B,EACvC,cAAc,EAAE,SAAS,MAAM,EAAE,EACjC,MAAM,EAAE,MAAM,OAAO,CAAC,uBAAuB,CAAC,GAC7C,OAAO,CAAC,uBAAuB,CAAC,CAclC;IAED;;;OAGG;IACH,OAAO,CAAC,QAAQ;CAGjB"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reuses a Lambda authorizer's decision for as long as its
|
|
3
|
+
* `AuthorizerResultTtlInSeconds` says, and makes a new one when there is none
|
|
4
|
+
* to reuse.
|
|
5
|
+
*
|
|
6
|
+
* What is held and what is not is the whole of this: a refusal is held the way
|
|
7
|
+
* an admission is, because AWS holds whatever answer the authorizer gave. An
|
|
8
|
+
* authorizer that could not answer at all is not held, since there is no
|
|
9
|
+
* answer to hold and a request a moment later may find its function working.
|
|
10
|
+
*/
|
|
11
|
+
export class SimHttpApiAuthorizerDecisions {
|
|
12
|
+
clock;
|
|
13
|
+
constructor(properties) {
|
|
14
|
+
this.clock = properties.clock;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* The decision for these identity source values, made only if there is not
|
|
18
|
+
* one already.
|
|
19
|
+
*/
|
|
20
|
+
async decide(authorizer, identitySource, invoke) {
|
|
21
|
+
const cached = authorizer.results.find(identitySource, this.clock.now());
|
|
22
|
+
if (cached !== undefined) {
|
|
23
|
+
return cached;
|
|
24
|
+
}
|
|
25
|
+
const authorization = await invoke();
|
|
26
|
+
if (this.isAnswer(authorization)) {
|
|
27
|
+
authorizer.results.store(identitySource, this.clock.now(), authorization);
|
|
28
|
+
}
|
|
29
|
+
return authorization;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Whether this is something the authorizer answered, rather than the
|
|
33
|
+
* authorizer failing to answer.
|
|
34
|
+
*/
|
|
35
|
+
isAnswer(authorization) {
|
|
36
|
+
return authorization.admitted || authorization.kind !== "error";
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=sim-http-api-authorizer-decisions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-authorizer-decisions.js","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/serve/auth/sim-http-api-authorizer-decisions.ts"],"names":[],"mappings":"AAYA;;;;;;;;;GASG;AACH,MAAM,OAAO,6BAA6B;IACvB,KAAK,CAAW;IAEjC,YAAY,UAAmD;QAC7D,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;IAChC,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,MAAM,CACV,UAAuC,EACvC,cAAiC,EACjC,MAA8C;QAE9C,MAAM,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC;QAEzE,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACzB,OAAO,MAAM,CAAC;QAChB,CAAC;QAED,MAAM,aAAa,GAAG,MAAM,MAAM,EAAE,CAAC;QAErC,IAAI,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE,CAAC;YACjC,UAAU,CAAC,OAAO,CAAC,KAAK,CAAC,cAAc,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,EAAE,aAAa,CAAC,CAAC;QAC5E,CAAC;QAED,OAAO,aAAa,CAAC;IACvB,CAAC;IAED;;;OAGG;IACK,QAAQ,CAAC,aAAsC;QACrD,OAAO,aAAa,CAAC,QAAQ,IAAI,aAAa,CAAC,IAAI,KAAK,OAAO,CAAC;IAClE,CAAC;CACF"}
|