@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
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { JSONValue } from "../../util/type-guard/json.js";
|
|
1
2
|
/**
|
|
2
3
|
* A Lambda proxy invocation event in API Gateway HTTP API payload format 2.0.
|
|
3
4
|
*
|
|
@@ -48,12 +49,24 @@ export interface SimPayload2RequestContext {
|
|
|
48
49
|
* An endpoint that admits anyone has no caller to describe, so real AWS leaves
|
|
49
50
|
* this out entirely rather than filling it with blanks. Which member is
|
|
50
51
|
* present says which kind of authorizer admitted the request: `iam` for a
|
|
51
|
-
* SigV4-signed request, `jwt` for a JWT authorizer
|
|
52
|
+
* SigV4-signed request, `jwt` for a JWT authorizer, `lambda` for a Lambda
|
|
53
|
+
* `REQUEST` authorizer.
|
|
52
54
|
*/
|
|
53
55
|
export interface SimPayload2AuthorizerContext {
|
|
54
56
|
iam?: SimPayload2IamAuthorizer;
|
|
55
57
|
jwt?: SimPayload2JwtAuthorizer;
|
|
58
|
+
lambda?: SimPayload2LambdaAuthorizer | null;
|
|
56
59
|
}
|
|
60
|
+
/**
|
|
61
|
+
* The context a Lambda `REQUEST` authorizer passed on to the integration.
|
|
62
|
+
*
|
|
63
|
+
* The values arrive as the authorizer returned them rather than stringified,
|
|
64
|
+
* which is what payload format 2.0 does with them: a REST API's `$context`
|
|
65
|
+
* variables are strings, and this is not one of those. An authorizer that
|
|
66
|
+
* allowed the request and returned no context at all leaves `null` here, so
|
|
67
|
+
* the authorizer block is still there to say which kind of authorizer ran.
|
|
68
|
+
*/
|
|
69
|
+
export type SimPayload2LambdaAuthorizer = Readonly<Record<string, JSONValue>>;
|
|
57
70
|
/**
|
|
58
71
|
* The IAM caller of a SigV4-authorized invocation.
|
|
59
72
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-payload-2-event.type.d.ts","sourceRoot":"","sources":["../../../src/serve/payload-2/sim-payload-2-event.type.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,KAAK,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,qBAAqB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/C,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxC,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxC,cAAc,EAAE,yBAAyB,CAAC;IAC1C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,OAAO,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,4BAA4B,CAAC;IAC1C,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,sBAAsB,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;CACnB;AAED
|
|
1
|
+
{"version":3,"file":"sim-payload-2-event.type.d.ts","sourceRoot":"","sources":["../../../src/serve/payload-2/sim-payload-2-event.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAE/D;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,KAAK,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,qBAAqB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/C,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxC,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxC,cAAc,EAAE,yBAAyB,CAAC;IAC1C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,OAAO,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,4BAA4B,CAAC;IAC1C,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,sBAAsB,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;;GASG;AACH,MAAM,WAAW,4BAA4B;IAC3C,GAAG,CAAC,EAAE,wBAAwB,CAAC;IAC/B,GAAG,CAAC,EAAE,wBAAwB,CAAC;IAC/B,MAAM,CAAC,EAAE,2BAA2B,GAAG,IAAI,CAAC;CAC7C;AAED;;;;;;;;GAQG;AACH,MAAM,MAAM,2BAA2B,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC;AAE9E;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,wBAAwB;IACvC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,IAAI,CAAC;IACtB,cAAc,EAAE,IAAI,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;;;;GAKG;AACH,MAAM,WAAW,wBAAwB;IACvC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;;;GAKG;AACH,MAAM,WAAW,iBAAkB,SAAQ,qBAAqB;IAC9D,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACjC;AAED;;;GAGG;AACH,MAAM,WAAW,2BAA4B,SAAQ,qBAAqB;IACxE,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,UAAU,qBAAqB;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,GAAG,SAAS,CAAC;IAChE,OAAO,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAC/B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,eAAe,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACvC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SimAwsRequestCaller } from "../../service/iam/request/sim-aws-request-caller.js";
|
|
2
2
|
import type { SimPayload2Endpoint } from "./sim-payload-2-endpoint.js";
|
|
3
|
-
import type { SimPayload2JwtAuthorizer, SimPayload2RequestContext } from "./sim-payload-2-event.type.js";
|
|
3
|
+
import type { SimPayload2JwtAuthorizer, SimPayload2LambdaAuthorizer, SimPayload2RequestContext } from "./sim-payload-2-event.type.js";
|
|
4
4
|
/**
|
|
5
5
|
* What the endpoint's authorizer knows about the caller, if it authorized one.
|
|
6
6
|
*
|
|
@@ -13,6 +13,11 @@ export interface SimPayload2Authorization {
|
|
|
13
13
|
readonly caller?: SimAwsRequestCaller | undefined;
|
|
14
14
|
/** The token a JWT authorizer accepted. */
|
|
15
15
|
readonly jwt?: SimPayload2JwtAuthorizer | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* The context a Lambda `REQUEST` authorizer returned, which is `null` when
|
|
18
|
+
* it allowed the request and returned none.
|
|
19
|
+
*/
|
|
20
|
+
readonly lambda?: SimPayload2LambdaAuthorizer | null | undefined;
|
|
16
21
|
}
|
|
17
22
|
interface SimPayload2RequestContextInput {
|
|
18
23
|
readonly request: Request;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-payload-2-request-context.d.ts","sourceRoot":"","sources":["../../../src/serve/payload-2/sim-payload-2-request-context.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAE/F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,KAAK,EACV,wBAAwB,EACxB,yBAAyB,EAC1B,MAAM,+BAA+B,CAAC;AAOvC;;;;;;GAMG;AACH,MAAM,WAAW,wBAAwB;IACvC,uEAAuE;IACvE,QAAQ,CAAC,MAAM,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IAClD,2CAA2C;IAC3C,QAAQ,CAAC,GAAG,CAAC,EAAE,wBAAwB,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-payload-2-request-context.d.ts","sourceRoot":"","sources":["../../../src/serve/payload-2/sim-payload-2-request-context.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAE/F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC3B,yBAAyB,EAC1B,MAAM,+BAA+B,CAAC;AAOvC;;;;;;GAMG;AACH,MAAM,WAAW,wBAAwB;IACvC,uEAAuE;IACvE,QAAQ,CAAC,MAAM,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IAClD,2CAA2C;IAC3C,QAAQ,CAAC,GAAG,CAAC,EAAE,wBAAwB,GAAG,SAAS,CAAC;IACpD;;;OAGG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,2BAA2B,GAAG,IAAI,GAAG,SAAS,CAAC;CAClE;AAED,UAAU,8BAA8B;IACtC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,GAAG,EAAE,GAAG,CAAC;IAClB,QAAQ,CAAC,QAAQ,EAAE,mBAAmB,CAAC;IACvC,yDAAyD;IACzD,QAAQ,CAAC,EAAE,EAAE,IAAI,CAAC;IAClB,QAAQ,CAAC,aAAa,CAAC,EAAE,wBAAwB,GAAG,SAAS,CAAC;CAC/D;AAED;;;;;;;GAOG;AACH,qBAAa,gCAAgC;IAC3C;;OAEG;IACH,KAAK,CAAC,KAAK,EAAE,8BAA8B,GAAG,yBAAyB,CAyCtE;IAED,OAAO,CAAC,SAAS;CAKlB"}
|
|
@@ -41,6 +41,10 @@ export class SimPayload2RequestContextBuilder {
|
|
|
41
41
|
if (jwt !== undefined) {
|
|
42
42
|
requestContext.authorizer = { jwt };
|
|
43
43
|
}
|
|
44
|
+
const lambda = input.authorization?.lambda;
|
|
45
|
+
if (lambda !== undefined) {
|
|
46
|
+
requestContext.authorizer = { lambda };
|
|
47
|
+
}
|
|
44
48
|
const authorizer = iamCaller?.authorizerContext();
|
|
45
49
|
if (authorizer !== undefined) {
|
|
46
50
|
requestContext.authorizer = authorizer;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-payload-2-request-context.js","sourceRoot":"","sources":["../../../src/serve/payload-2/sim-payload-2-request-context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAGzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-payload-2-request-context.js","sourceRoot":"","sources":["../../../src/serve/payload-2/sim-payload-2-request-context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAGzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAOpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EACL,6BAA6B,EAC7B,oBAAoB,GACrB,MAAM,+BAA+B,CAAC;AA8BvC;;;;;;;GAOG;AACH,MAAM,OAAO,gCAAgC;IAC3C;;OAEG;IACH,KAAK,CAAC,KAAqC;QACzC,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;QAC7C,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;QAE9D,MAAM,cAAc,GAA8B;YAChD,wEAAwE;YACxE,uBAAuB;YACvB,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,IAAI,6BAA6B;YAClE,KAAK,EAAE,QAAQ,CAAC,KAAK;YACrB,UAAU,EAAE,QAAQ,CAAC,UAAU;YAC/B,YAAY,EAAE,QAAQ,CAAC,YAAY;YACnC,IAAI,EAAE;gBACJ,MAAM,EAAE,OAAO,CAAC,MAAM;gBACtB,IAAI,EAAE,GAAG,CAAC,QAAQ;gBAClB,QAAQ,EAAE,UAAU;gBACpB,QAAQ,EAAE,mBAAmB;gBAC7B,SAAS,EAAE,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,EAAE;aACnD;YACD,SAAS,EAAE,UAAU,EAAE;YACvB,QAAQ,EAAE,QAAQ,CAAC,QAAQ;YAC3B,KAAK,EAAE,QAAQ,CAAC,KAAK;YACrB,IAAI,EAAE,oBAAoB,CAAC,EAAE,CAAC;YAC9B,SAAS,EAAE,EAAE,CAAC,OAAO,EAAE;SACxB,CAAC;QAEF,MAAM,GAAG,GAAG,KAAK,CAAC,aAAa,EAAE,GAAG,CAAC;QACrC,IAAI,GAAG,KAAK,SAAS,EAAE,CAAC;YACtB,cAAc,CAAC,UAAU,GAAG,EAAE,GAAG,EAAE,CAAC;QACtC,CAAC;QAED,MAAM,MAAM,GAAG,KAAK,CAAC,aAAa,EAAE,MAAM,CAAC;QAC3C,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACzB,cAAc,CAAC,UAAU,GAAG,EAAE,MAAM,EAAE,CAAC;QACzC,CAAC;QAED,MAAM,UAAU,GAAG,SAAS,EAAE,iBAAiB,EAAE,CAAC;QAClD,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;YAC7B,cAAc,CAAC,UAAU,GAAG,UAAU,CAAC;QACzC,CAAC;QAED,OAAO,cAAc,CAAC;IACxB,CAAC;IAEO,SAAS,CACf,MAAuC;QAEvC,OAAO,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,oBAAoB,CAAC,MAAM,CAAC,CAAC;IAC7E,CAAC;CACF"}
|
package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-header-identity-source.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type SimHttpApiIdentityInput, type SimHttpApiIdentitySource } from "./sim-http-api-identity-source.js";
|
|
2
|
+
/**
|
|
3
|
+
* The prefix a header identity source is written with.
|
|
4
|
+
*/
|
|
5
|
+
export declare const simHttpApiHeaderIdentityPrefix = "$request.header.";
|
|
6
|
+
/**
|
|
7
|
+
* An identity source naming one request header, such as
|
|
8
|
+
* `$request.header.Authorization`.
|
|
9
|
+
*
|
|
10
|
+
* Header names are matched case-insensitively, which is what `Headers` does
|
|
11
|
+
* and what HTTP requires.
|
|
12
|
+
*/
|
|
13
|
+
export declare class SimHttpApiHeaderIdentitySource implements SimHttpApiIdentitySource {
|
|
14
|
+
readonly expression: string;
|
|
15
|
+
private readonly headerName;
|
|
16
|
+
constructor(headerName: string);
|
|
17
|
+
/**
|
|
18
|
+
* The header this request carries, if it carries one.
|
|
19
|
+
*/
|
|
20
|
+
value(input: SimHttpApiIdentityInput): string | undefined;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=sim-http-api-header-identity-source.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-header-identity-source.d.ts","sourceRoot":"","sources":["../../../../../../src/service/apigatewayv2/api/authorizer/identity/sim-http-api-header-identity-source.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAE9B,MAAM,mCAAmC,CAAC;AAE3C;;GAEG;AACH,eAAO,MAAM,8BAA8B,qBAAqB,CAAC;AAEjE;;;;;;GAMG;AACH,qBAAa,8BAA+B,YAAW,wBAAwB;IAC7E,SAAgB,UAAU,EAAE,MAAM,CAAC;IAEnC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAS;IAEpC,YAAY,UAAU,EAAE,MAAM,EAG7B;IAED;;OAEG;IACH,KAAK,CAAC,KAAK,EAAE,uBAAuB,GAAG,MAAM,GAAG,SAAS,CAExD;CACF"}
|
package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-header-identity-source.js
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { simHttpApiIdentityValue, } from "./sim-http-api-identity-source.js";
|
|
2
|
+
/**
|
|
3
|
+
* The prefix a header identity source is written with.
|
|
4
|
+
*/
|
|
5
|
+
export const simHttpApiHeaderIdentityPrefix = "$request.header.";
|
|
6
|
+
/**
|
|
7
|
+
* An identity source naming one request header, such as
|
|
8
|
+
* `$request.header.Authorization`.
|
|
9
|
+
*
|
|
10
|
+
* Header names are matched case-insensitively, which is what `Headers` does
|
|
11
|
+
* and what HTTP requires.
|
|
12
|
+
*/
|
|
13
|
+
export class SimHttpApiHeaderIdentitySource {
|
|
14
|
+
expression;
|
|
15
|
+
headerName;
|
|
16
|
+
constructor(headerName) {
|
|
17
|
+
this.expression = `${simHttpApiHeaderIdentityPrefix}${headerName}`;
|
|
18
|
+
this.headerName = headerName;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* The header this request carries, if it carries one.
|
|
22
|
+
*/
|
|
23
|
+
value(input) {
|
|
24
|
+
return simHttpApiIdentityValue(input.request.headers.get(this.headerName));
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=sim-http-api-header-identity-source.js.map
|
package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-header-identity-source.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-header-identity-source.js","sourceRoot":"","sources":["../../../../../../src/service/apigatewayv2/api/authorizer/identity/sim-http-api-header-identity-source.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,uBAAuB,GACxB,MAAM,mCAAmC,CAAC;AAE3C;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,kBAAkB,CAAC;AAEjE;;;;;;GAMG;AACH,MAAM,OAAO,8BAA8B;IACzB,UAAU,CAAS;IAElB,UAAU,CAAS;IAEpC,YAAY,UAAkB;QAC5B,IAAI,CAAC,UAAU,GAAG,GAAG,8BAA8B,GAAG,UAAU,EAAE,CAAC;QACnE,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,KAA8B;QAClC,OAAO,uBAAuB,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC;IAC7E,CAAC;CACF"}
|
package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-source-parser.d.ts
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { SimHttpApiIdentitySource } from "./sim-http-api-identity-source.js";
|
|
2
|
+
/**
|
|
3
|
+
* Reads the identity source expressions an authorizer is configured with.
|
|
4
|
+
*
|
|
5
|
+
* An expression naming somewhere this simulation does not read from is refused
|
|
6
|
+
* rather than accepted and looked for nowhere, since an authorizer that never
|
|
7
|
+
* finds what it looks for refuses every request, which looks like a signing
|
|
8
|
+
* problem rather than a configuration one. That leaves out the rest of
|
|
9
|
+
* `$context` and all of `$stageVariables`, which a Lambda `REQUEST` authorizer
|
|
10
|
+
* may also name on AWS.
|
|
11
|
+
*
|
|
12
|
+
* A JWT authorizer reads something the client sent and nothing else, so it
|
|
13
|
+
* parses with `requestSource` and `$context.routeKey` is refused for it.
|
|
14
|
+
*/
|
|
15
|
+
export declare class SimHttpApiIdentitySourceParser {
|
|
16
|
+
/**
|
|
17
|
+
* Read an identity source of any kind a Lambda `REQUEST` authorizer takes.
|
|
18
|
+
*/
|
|
19
|
+
parse(expression: string): SimHttpApiIdentitySource;
|
|
20
|
+
/**
|
|
21
|
+
* Read an identity source naming something the client sent, which is all a
|
|
22
|
+
* JWT authorizer takes.
|
|
23
|
+
*/
|
|
24
|
+
requestSource(expression: string, alsoSimulated?: readonly string[]): SimHttpApiIdentitySource;
|
|
25
|
+
/**
|
|
26
|
+
* The header an expression names, refusing one no request could carry.
|
|
27
|
+
*
|
|
28
|
+
* A header name is an HTTP field name, and anything else is refused here
|
|
29
|
+
* rather than at request time: reading a header by an invalid name throws,
|
|
30
|
+
* and it would throw on every request to the route rather than on the
|
|
31
|
+
* command that configured it.
|
|
32
|
+
*/
|
|
33
|
+
private headerName;
|
|
34
|
+
/**
|
|
35
|
+
* The name an expression carries after its prefix, refusing an empty one.
|
|
36
|
+
*
|
|
37
|
+
* An expression naming nothing finds nothing on every request, so the
|
|
38
|
+
* authorizer refuses everyone for a reason that reads like a signing problem
|
|
39
|
+
* rather than the configuration one it is.
|
|
40
|
+
*/
|
|
41
|
+
private named;
|
|
42
|
+
/**
|
|
43
|
+
* How a refusal names the expressions it would have accepted instead.
|
|
44
|
+
*/
|
|
45
|
+
private simulatedForms;
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=sim-http-api-identity-source-parser.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-identity-source-parser.d.ts","sourceRoot":"","sources":["../../../../../../src/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-source-parser.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAelF;;;;;;;;;;;;GAYG;AACH,qBAAa,8BAA8B;IACzC;;OAEG;IACH,KAAK,CAAC,UAAU,EAAE,MAAM,GAAG,wBAAwB,CAQlD;IAED;;;OAGG;IACH,aAAa,CACX,UAAU,EAAE,MAAM,EAClB,aAAa,GAAE,SAAS,MAAM,EAAO,GACpC,wBAAwB,CAwB1B;IAED;;;;;;;OAOG;IACH,OAAO,CAAC,UAAU;IAclB;;;;;;OAMG;IACH,OAAO,CAAC,KAAK;IAWb;;OAEG;IACH,OAAO,CAAC,cAAc;CAUvB"}
|
package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-source-parser.js
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { SimApiGatewayV2BadRequest } from "../../../error/sim-api-gateway-v2.error.js";
|
|
2
|
+
import { SimHttpApiHeaderIdentitySource, simHttpApiHeaderIdentityPrefix, } from "./sim-http-api-header-identity-source.js";
|
|
3
|
+
import { SimHttpApiQueryStringIdentitySource, simHttpApiQueryStringIdentityPrefix, } from "./sim-http-api-query-string-identity-source.js";
|
|
4
|
+
import { simHttpApiRouteKeyIdentityExpression, SimHttpApiRouteKeyIdentitySource, } from "./sim-http-api-route-key-identity-source.js";
|
|
5
|
+
/**
|
|
6
|
+
* The characters an HTTP field name holds, which is the RFC 9110 token.
|
|
7
|
+
*/
|
|
8
|
+
const httpFieldName = /^[!#$%&'*+.^_`|~\w-]+$/u;
|
|
9
|
+
/**
|
|
10
|
+
* Reads the identity source expressions an authorizer is configured with.
|
|
11
|
+
*
|
|
12
|
+
* An expression naming somewhere this simulation does not read from is refused
|
|
13
|
+
* rather than accepted and looked for nowhere, since an authorizer that never
|
|
14
|
+
* finds what it looks for refuses every request, which looks like a signing
|
|
15
|
+
* problem rather than a configuration one. That leaves out the rest of
|
|
16
|
+
* `$context` and all of `$stageVariables`, which a Lambda `REQUEST` authorizer
|
|
17
|
+
* may also name on AWS.
|
|
18
|
+
*
|
|
19
|
+
* A JWT authorizer reads something the client sent and nothing else, so it
|
|
20
|
+
* parses with `requestSource` and `$context.routeKey` is refused for it.
|
|
21
|
+
*/
|
|
22
|
+
export class SimHttpApiIdentitySourceParser {
|
|
23
|
+
/**
|
|
24
|
+
* Read an identity source of any kind a Lambda `REQUEST` authorizer takes.
|
|
25
|
+
*/
|
|
26
|
+
parse(expression) {
|
|
27
|
+
if (expression === simHttpApiRouteKeyIdentityExpression) {
|
|
28
|
+
return new SimHttpApiRouteKeyIdentitySource();
|
|
29
|
+
}
|
|
30
|
+
return this.requestSource(expression, [
|
|
31
|
+
simHttpApiRouteKeyIdentityExpression,
|
|
32
|
+
]);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Read an identity source naming something the client sent, which is all a
|
|
36
|
+
* JWT authorizer takes.
|
|
37
|
+
*/
|
|
38
|
+
requestSource(expression, alsoSimulated = []) {
|
|
39
|
+
if (expression.startsWith(simHttpApiHeaderIdentityPrefix)) {
|
|
40
|
+
return new SimHttpApiHeaderIdentitySource(this.headerName(expression, expression.slice(simHttpApiHeaderIdentityPrefix.length)));
|
|
41
|
+
}
|
|
42
|
+
if (expression.startsWith(simHttpApiQueryStringIdentityPrefix)) {
|
|
43
|
+
return new SimHttpApiQueryStringIdentitySource(this.named(expression, expression.slice(simHttpApiQueryStringIdentityPrefix.length), "query string parameter"));
|
|
44
|
+
}
|
|
45
|
+
throw new SimApiGatewayV2BadRequest(`IdentitySource '${expression}' is not simulated: an identity source ` +
|
|
46
|
+
`is ${this.simulatedForms(alsoSimulated)}`);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* The header an expression names, refusing one no request could carry.
|
|
50
|
+
*
|
|
51
|
+
* A header name is an HTTP field name, and anything else is refused here
|
|
52
|
+
* rather than at request time: reading a header by an invalid name throws,
|
|
53
|
+
* and it would throw on every request to the route rather than on the
|
|
54
|
+
* command that configured it.
|
|
55
|
+
*/
|
|
56
|
+
headerName(expression, name) {
|
|
57
|
+
const headerName = this.named(expression, name, "header");
|
|
58
|
+
if (!httpFieldName.test(headerName)) {
|
|
59
|
+
throw new SimApiGatewayV2BadRequest(`IdentitySource '${expression}' names the header '${headerName}', ` +
|
|
60
|
+
`which is not a header name: an HTTP field name holds letters, ` +
|
|
61
|
+
`digits and the characters !#$%&'*+-.^_\`|~`);
|
|
62
|
+
}
|
|
63
|
+
return headerName;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* The name an expression carries after its prefix, refusing an empty one.
|
|
67
|
+
*
|
|
68
|
+
* An expression naming nothing finds nothing on every request, so the
|
|
69
|
+
* authorizer refuses everyone for a reason that reads like a signing problem
|
|
70
|
+
* rather than the configuration one it is.
|
|
71
|
+
*/
|
|
72
|
+
named(expression, name, what) {
|
|
73
|
+
if (name.length === 0) {
|
|
74
|
+
throw new SimApiGatewayV2BadRequest(`IdentitySource '${expression}' names no ${what}, so it would find ` +
|
|
75
|
+
`nothing on every request`);
|
|
76
|
+
}
|
|
77
|
+
return name;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* How a refusal names the expressions it would have accepted instead.
|
|
81
|
+
*/
|
|
82
|
+
simulatedForms(alsoSimulated) {
|
|
83
|
+
const forms = [
|
|
84
|
+
`'${simHttpApiHeaderIdentityPrefix}<name>'`,
|
|
85
|
+
`'${simHttpApiQueryStringIdentityPrefix}<name>'`,
|
|
86
|
+
...alsoSimulated.map((expression) => `'${expression}'`),
|
|
87
|
+
];
|
|
88
|
+
const last = forms.pop() ?? "";
|
|
89
|
+
return `${forms.join(", ")} or ${last}`;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
//# sourceMappingURL=sim-http-api-identity-source-parser.js.map
|
package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-source-parser.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-identity-source-parser.js","sourceRoot":"","sources":["../../../../../../src/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-source-parser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,4CAA4C,CAAC;AACvF,OAAO,EACL,8BAA8B,EAC9B,8BAA8B,GAC/B,MAAM,0CAA0C,CAAC;AAElD,OAAO,EACL,mCAAmC,EACnC,mCAAmC,GACpC,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,oCAAoC,EACpC,gCAAgC,GACjC,MAAM,6CAA6C,CAAC;AAErD;;GAEG;AACH,MAAM,aAAa,GAAG,yBAAyB,CAAC;AAEhD;;;;;;;;;;;;GAYG;AACH,MAAM,OAAO,8BAA8B;IACzC;;OAEG;IACH,KAAK,CAAC,UAAkB;QACtB,IAAI,UAAU,KAAK,oCAAoC,EAAE,CAAC;YACxD,OAAO,IAAI,gCAAgC,EAAE,CAAC;QAChD,CAAC;QAED,OAAO,IAAI,CAAC,aAAa,CAAC,UAAU,EAAE;YACpC,oCAAoC;SACrC,CAAC,CAAC;IACL,CAAC;IAED;;;OAGG;IACH,aAAa,CACX,UAAkB,EAClB,aAAa,GAAsB,EAAE;QAErC,IAAI,UAAU,CAAC,UAAU,CAAC,8BAA8B,CAAC,EAAE,CAAC;YAC1D,OAAO,IAAI,8BAA8B,CACvC,IAAI,CAAC,UAAU,CACb,UAAU,EACV,UAAU,CAAC,KAAK,CAAC,8BAA8B,CAAC,MAAM,CAAC,CACxD,CACF,CAAC;QACJ,CAAC;QAED,IAAI,UAAU,CAAC,UAAU,CAAC,mCAAmC,CAAC,EAAE,CAAC;YAC/D,OAAO,IAAI,mCAAmC,CAC5C,IAAI,CAAC,KAAK,CACR,UAAU,EACV,UAAU,CAAC,KAAK,CAAC,mCAAmC,CAAC,MAAM,CAAC,EAC5D,wBAAwB,CACzB,CACF,CAAC;QACJ,CAAC;QAED,MAAM,IAAI,yBAAyB,CACjC,mBAAmB,UAAU,yCAAyC;YACpE,MAAM,IAAI,CAAC,cAAc,CAAC,aAAa,CAAC,EAAE,CAC7C,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACK,UAAU,CAAC,UAAkB,EAAE,IAAY;QACjD,MAAM,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC;QAE1D,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;YACpC,MAAM,IAAI,yBAAyB,CACjC,mBAAmB,UAAU,uBAAuB,UAAU,KAAK;gBACjE,gEAAgE;gBAChE,4CAA4C,CAC/C,CAAC;QACJ,CAAC;QAED,OAAO,UAAU,CAAC;IACpB,CAAC;IAED;;;;;;OAMG;IACK,KAAK,CAAC,UAAkB,EAAE,IAAY,EAAE,IAAY;QAC1D,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACtB,MAAM,IAAI,yBAAyB,CACjC,mBAAmB,UAAU,cAAc,IAAI,qBAAqB;gBAClE,0BAA0B,CAC7B,CAAC;QACJ,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;OAEG;IACK,cAAc,CAAC,aAAgC;QACrD,MAAM,KAAK,GAAG;YACZ,IAAI,8BAA8B,SAAS;YAC3C,IAAI,mCAAmC,SAAS;YAChD,GAAG,aAAa,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,IAAI,UAAU,GAAG,CAAC;SACxD,CAAC;QACF,MAAM,IAAI,GAAG,KAAK,CAAC,GAAG,EAAE,IAAI,EAAE,CAAC;QAE/B,OAAO,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,IAAI,EAAE,CAAC;IAC1C,CAAC;CACF"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What one identity source reads its value out of.
|
|
3
|
+
*
|
|
4
|
+
* Most sources read the request, and `$context.routeKey` reads the route that
|
|
5
|
+
* matched, so both are carried rather than the request alone.
|
|
6
|
+
*/
|
|
7
|
+
export interface SimHttpApiIdentityInput {
|
|
8
|
+
readonly request: Request;
|
|
9
|
+
/** The route key of the route the request matched, as it was written. */
|
|
10
|
+
readonly routeKey: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Where an authorizer takes what it identifies the caller by.
|
|
14
|
+
*
|
|
15
|
+
* An identity source is a request mapping expression. Each kind reads from
|
|
16
|
+
* somewhere different and answers the same question, so reading a list of them
|
|
17
|
+
* is a loop rather than a switch over kinds.
|
|
18
|
+
*
|
|
19
|
+
* A source the request supplies nothing at is what refuses a request before
|
|
20
|
+
* the authorizer is invoked, and is also part of what a cached decision is
|
|
21
|
+
* keyed on.
|
|
22
|
+
*/
|
|
23
|
+
export interface SimHttpApiIdentitySource {
|
|
24
|
+
/**
|
|
25
|
+
* The expression as it was written, which is what the API reports back.
|
|
26
|
+
*/
|
|
27
|
+
readonly expression: string;
|
|
28
|
+
/**
|
|
29
|
+
* What this request carries at this identity source, if it carries anything.
|
|
30
|
+
*
|
|
31
|
+
* An empty value is the same as no value here: real API Gateway treats a
|
|
32
|
+
* source it finds nothing at as one the request did not supply, and refuses
|
|
33
|
+
* the request without asking the authorizer anything.
|
|
34
|
+
*/
|
|
35
|
+
value(input: SimHttpApiIdentityInput): string | undefined;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* A value the request actually supplied, rather than an empty one.
|
|
39
|
+
*
|
|
40
|
+
* The value is answered as it arrived, and trimmed only to decide whether the
|
|
41
|
+
* request supplied anything at all. What is around a value is part of it: an
|
|
42
|
+
* authorizer is handed what the client sent, and two values differing only in
|
|
43
|
+
* their whitespace are two different callers as far as a held decision is
|
|
44
|
+
* concerned.
|
|
45
|
+
*/
|
|
46
|
+
export declare function simHttpApiIdentityValue(value: string | null | undefined): string | undefined;
|
|
47
|
+
//# sourceMappingURL=sim-http-api-identity-source.d.ts.map
|
package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-source.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-identity-source.d.ts","sourceRoot":"","sources":["../../../../../../src/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-source.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,yEAAyE;IACzE,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC3B;AAED;;;;;;;;;;GAUG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAE5B;;;;;;OAMG;IACH,KAAK,CAAC,KAAK,EAAE,uBAAuB,GAAG,MAAM,GAAG,SAAS,CAAC;CAC3D;AAED;;;;;;;;GAQG;AACH,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAC/B,MAAM,GAAG,SAAS,CAMpB"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A value the request actually supplied, rather than an empty one.
|
|
3
|
+
*
|
|
4
|
+
* The value is answered as it arrived, and trimmed only to decide whether the
|
|
5
|
+
* request supplied anything at all. What is around a value is part of it: an
|
|
6
|
+
* authorizer is handed what the client sent, and two values differing only in
|
|
7
|
+
* their whitespace are two different callers as far as a held decision is
|
|
8
|
+
* concerned.
|
|
9
|
+
*/
|
|
10
|
+
export function simHttpApiIdentityValue(value) {
|
|
11
|
+
if (value === undefined || value === null || value.trim().length === 0) {
|
|
12
|
+
return undefined;
|
|
13
|
+
}
|
|
14
|
+
return value;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=sim-http-api-identity-source.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-identity-source.js","sourceRoot":"","sources":["../../../../../../src/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-source.ts"],"names":[],"mappings":"AAuCA;;;;;;;;GAQG;AACH,MAAM,UAAU,uBAAuB,CACrC,KAAgC;IAEhC,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACvE,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { SimHttpApiIdentityInput, SimHttpApiIdentitySource } from "./sim-http-api-identity-source.js";
|
|
2
|
+
/**
|
|
3
|
+
* The identity sources a Lambda `REQUEST` authorizer is configured with.
|
|
4
|
+
*
|
|
5
|
+
* A `REQUEST` authorizer takes a list rather than the single source a JWT
|
|
6
|
+
* authorizer takes, and API Gateway checks the whole list before it invokes
|
|
7
|
+
* anything: a request missing any one of them is refused with a 401 and the
|
|
8
|
+
* authorizer function never runs.
|
|
9
|
+
*
|
|
10
|
+
* The values found are also what a cached decision is keyed on, which is why
|
|
11
|
+
* the order they were configured in is kept.
|
|
12
|
+
*/
|
|
13
|
+
export declare class SimHttpApiIdentitySources {
|
|
14
|
+
private readonly sources;
|
|
15
|
+
constructor(sources: readonly SimHttpApiIdentitySource[]);
|
|
16
|
+
/**
|
|
17
|
+
* The expressions as they were written, which is what the API reports back.
|
|
18
|
+
*/
|
|
19
|
+
get expressions(): string[];
|
|
20
|
+
/**
|
|
21
|
+
* The values this request carries, in the order the sources were configured,
|
|
22
|
+
* or nothing at all when it is missing any one of them.
|
|
23
|
+
*
|
|
24
|
+
* This is what reaches the authorizer as the event's `identitySource`: the
|
|
25
|
+
* values rather than the expressions that found them.
|
|
26
|
+
*/
|
|
27
|
+
values(input: SimHttpApiIdentityInput): string[] | undefined;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=sim-http-api-identity-sources.d.ts.map
|
package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-sources.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-identity-sources.d.ts","sourceRoot":"","sources":["../../../../../../src/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-sources.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,wBAAwB,EACzB,MAAM,mCAAmC,CAAC;AAE3C;;;;;;;;;;GAUG;AACH,qBAAa,yBAAyB;IACpC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAsC;IAE9D,YAAY,OAAO,EAAE,SAAS,wBAAwB,EAAE,EAEvD;IAED;;OAEG;IACH,IAAI,WAAW,IAAI,MAAM,EAAE,CAE1B;IAED;;;;;;OAMG;IACH,MAAM,CAAC,KAAK,EAAE,uBAAuB,GAAG,MAAM,EAAE,GAAG,SAAS,CAc3D;CACF"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The identity sources a Lambda `REQUEST` authorizer is configured with.
|
|
3
|
+
*
|
|
4
|
+
* A `REQUEST` authorizer takes a list rather than the single source a JWT
|
|
5
|
+
* authorizer takes, and API Gateway checks the whole list before it invokes
|
|
6
|
+
* anything: a request missing any one of them is refused with a 401 and the
|
|
7
|
+
* authorizer function never runs.
|
|
8
|
+
*
|
|
9
|
+
* The values found are also what a cached decision is keyed on, which is why
|
|
10
|
+
* the order they were configured in is kept.
|
|
11
|
+
*/
|
|
12
|
+
export class SimHttpApiIdentitySources {
|
|
13
|
+
sources;
|
|
14
|
+
constructor(sources) {
|
|
15
|
+
this.sources = [...sources];
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The expressions as they were written, which is what the API reports back.
|
|
19
|
+
*/
|
|
20
|
+
get expressions() {
|
|
21
|
+
return this.sources.map((source) => source.expression);
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* The values this request carries, in the order the sources were configured,
|
|
25
|
+
* or nothing at all when it is missing any one of them.
|
|
26
|
+
*
|
|
27
|
+
* This is what reaches the authorizer as the event's `identitySource`: the
|
|
28
|
+
* values rather than the expressions that found them.
|
|
29
|
+
*/
|
|
30
|
+
values(input) {
|
|
31
|
+
const values = [];
|
|
32
|
+
for (const source of this.sources) {
|
|
33
|
+
const value = source.value(input);
|
|
34
|
+
if (value === undefined) {
|
|
35
|
+
return undefined;
|
|
36
|
+
}
|
|
37
|
+
values.push(value);
|
|
38
|
+
}
|
|
39
|
+
return values;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=sim-http-api-identity-sources.js.map
|
package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-sources.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-identity-sources.js","sourceRoot":"","sources":["../../../../../../src/service/apigatewayv2/api/authorizer/identity/sim-http-api-identity-sources.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;GAUG;AACH,MAAM,OAAO,yBAAyB;IACnB,OAAO,CAAsC;IAE9D,YAAY,OAA4C;QACtD,IAAI,CAAC,OAAO,GAAG,CAAC,GAAG,OAAO,CAAC,CAAC;IAC9B,CAAC;IAED;;OAEG;IACH,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;IACzD,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CAAC,KAA8B;QACnC,MAAM,MAAM,GAAa,EAAE,CAAC;QAE5B,KAAK,MAAM,MAAM,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YAClC,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;YAElC,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;gBACxB,OAAO,SAAS,CAAC;YACnB,CAAC;YAED,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACrB,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;CACF"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type SimHttpApiIdentityInput, type SimHttpApiIdentitySource } from "./sim-http-api-identity-source.js";
|
|
2
|
+
/**
|
|
3
|
+
* The prefix a query string identity source is written with.
|
|
4
|
+
*/
|
|
5
|
+
export declare const simHttpApiQueryStringIdentityPrefix = "$request.querystring.";
|
|
6
|
+
/**
|
|
7
|
+
* An identity source naming one query string parameter, such as
|
|
8
|
+
* `$request.querystring.access_token`.
|
|
9
|
+
*/
|
|
10
|
+
export declare class SimHttpApiQueryStringIdentitySource implements SimHttpApiIdentitySource {
|
|
11
|
+
readonly expression: string;
|
|
12
|
+
private readonly parameterName;
|
|
13
|
+
constructor(parameterName: string);
|
|
14
|
+
/**
|
|
15
|
+
* The query string parameter this request carries, if it carries one.
|
|
16
|
+
*/
|
|
17
|
+
value(input: SimHttpApiIdentityInput): string | undefined;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=sim-http-api-query-string-identity-source.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-query-string-identity-source.d.ts","sourceRoot":"","sources":["../../../../../../src/service/apigatewayv2/api/authorizer/identity/sim-http-api-query-string-identity-source.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAE9B,MAAM,mCAAmC,CAAC;AAE3C;;GAEG;AACH,eAAO,MAAM,mCAAmC,0BAA0B,CAAC;AAE3E;;;GAGG;AACH,qBAAa,mCAAoC,YAAW,wBAAwB;IAClF,SAAgB,UAAU,EAAE,MAAM,CAAC;IAEnC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAS;IAEvC,YAAY,aAAa,EAAE,MAAM,EAGhC;IAED;;OAEG;IACH,KAAK,CAAC,KAAK,EAAE,uBAAuB,GAAG,MAAM,GAAG,SAAS,CAIxD;CACF"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { simHttpApiIdentityValue, } from "./sim-http-api-identity-source.js";
|
|
2
|
+
/**
|
|
3
|
+
* The prefix a query string identity source is written with.
|
|
4
|
+
*/
|
|
5
|
+
export const simHttpApiQueryStringIdentityPrefix = "$request.querystring.";
|
|
6
|
+
/**
|
|
7
|
+
* An identity source naming one query string parameter, such as
|
|
8
|
+
* `$request.querystring.access_token`.
|
|
9
|
+
*/
|
|
10
|
+
export class SimHttpApiQueryStringIdentitySource {
|
|
11
|
+
expression;
|
|
12
|
+
parameterName;
|
|
13
|
+
constructor(parameterName) {
|
|
14
|
+
this.expression = `${simHttpApiQueryStringIdentityPrefix}${parameterName}`;
|
|
15
|
+
this.parameterName = parameterName;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The query string parameter this request carries, if it carries one.
|
|
19
|
+
*/
|
|
20
|
+
value(input) {
|
|
21
|
+
return simHttpApiIdentityValue(new URL(input.request.url).searchParams.get(this.parameterName));
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=sim-http-api-query-string-identity-source.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-query-string-identity-source.js","sourceRoot":"","sources":["../../../../../../src/service/apigatewayv2/api/authorizer/identity/sim-http-api-query-string-identity-source.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,uBAAuB,GACxB,MAAM,mCAAmC,CAAC;AAE3C;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAG,uBAAuB,CAAC;AAE3E;;;GAGG;AACH,MAAM,OAAO,mCAAmC;IAC9B,UAAU,CAAS;IAElB,aAAa,CAAS;IAEvC,YAAY,aAAqB;QAC/B,IAAI,CAAC,UAAU,GAAG,GAAG,mCAAmC,GAAG,aAAa,EAAE,CAAC;QAC3E,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACrC,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,KAA8B;QAClC,OAAO,uBAAuB,CAC5B,IAAI,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,aAAa,CAAC,CAChE,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { SimHttpApiIdentityInput, SimHttpApiIdentitySource } from "./sim-http-api-identity-source.js";
|
|
2
|
+
/**
|
|
3
|
+
* The one `$context` identity source simulated.
|
|
4
|
+
*/
|
|
5
|
+
export declare const simHttpApiRouteKeyIdentityExpression = "$context.routeKey";
|
|
6
|
+
/**
|
|
7
|
+
* An identity source naming the route the request matched.
|
|
8
|
+
*
|
|
9
|
+
* This is the source AWS documents for caching a Lambda authorizer's decision
|
|
10
|
+
* per route. Every other identity source reads something the client sent, and
|
|
11
|
+
* a decision keyed only on those covers every route of the API using that
|
|
12
|
+
* authorizer, which is what AWS warns about. Adding this one puts the route in
|
|
13
|
+
* the key.
|
|
14
|
+
*
|
|
15
|
+
* It never refuses a request the way a missing header does: every matched
|
|
16
|
+
* request has a route key, so this source always supplies a value.
|
|
17
|
+
*/
|
|
18
|
+
export declare class SimHttpApiRouteKeyIdentitySource implements SimHttpApiIdentitySource {
|
|
19
|
+
readonly expression = "$context.routeKey";
|
|
20
|
+
/**
|
|
21
|
+
* The route key of the route that matched.
|
|
22
|
+
*/
|
|
23
|
+
value(input: SimHttpApiIdentityInput): string;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=sim-http-api-route-key-identity-source.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-route-key-identity-source.d.ts","sourceRoot":"","sources":["../../../../../../src/service/apigatewayv2/api/authorizer/identity/sim-http-api-route-key-identity-source.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,wBAAwB,EACzB,MAAM,mCAAmC,CAAC;AAE3C;;GAEG;AACH,eAAO,MAAM,oCAAoC,sBAAsB,CAAC;AAExE;;;;;;;;;;;GAWG;AACH,qBAAa,gCAAiC,YAAW,wBAAwB;IAC/E,SAAgB,UAAU,uBAAwC;IAElE;;OAEG;IACH,KAAK,CAAC,KAAK,EAAE,uBAAuB,GAAG,MAAM,CAE5C;CACF"}
|
package/dist/service/apigatewayv2/api/authorizer/identity/sim-http-api-route-key-identity-source.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The one `$context` identity source simulated.
|
|
3
|
+
*/
|
|
4
|
+
export const simHttpApiRouteKeyIdentityExpression = "$context.routeKey";
|
|
5
|
+
/**
|
|
6
|
+
* An identity source naming the route the request matched.
|
|
7
|
+
*
|
|
8
|
+
* This is the source AWS documents for caching a Lambda authorizer's decision
|
|
9
|
+
* per route. Every other identity source reads something the client sent, and
|
|
10
|
+
* a decision keyed only on those covers every route of the API using that
|
|
11
|
+
* authorizer, which is what AWS warns about. Adding this one puts the route in
|
|
12
|
+
* the key.
|
|
13
|
+
*
|
|
14
|
+
* It never refuses a request the way a missing header does: every matched
|
|
15
|
+
* request has a route key, so this source always supplies a value.
|
|
16
|
+
*/
|
|
17
|
+
export class SimHttpApiRouteKeyIdentitySource {
|
|
18
|
+
expression = simHttpApiRouteKeyIdentityExpression;
|
|
19
|
+
/**
|
|
20
|
+
* The route key of the route that matched.
|
|
21
|
+
*/
|
|
22
|
+
value(input) {
|
|
23
|
+
return input.routeKey;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=sim-http-api-route-key-identity-source.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-route-key-identity-source.js","sourceRoot":"","sources":["../../../../../../src/service/apigatewayv2/api/authorizer/identity/sim-http-api-route-key-identity-source.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG,mBAAmB,CAAC;AAExE;;;;;;;;;;;GAWG;AACH,MAAM,OAAO,gCAAgC;IAC3B,UAAU,GAAG,oCAAoC,CAAC;IAElE;;OAEG;IACH,KAAK,CAAC,KAA8B;QAClC,OAAO,KAAK,CAAC,QAAQ,CAAC;IACxB,CAAC;CACF"}
|