@kensio/yulin 0.47.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/config/eslint/cffjs2.eslint.config.d.ts +1 -1
- package/dist/sdk/router/resolve-sim-sdk-command-router.d.ts.map +1 -1
- package/dist/sdk/router/resolve-sim-sdk-command-router.js +3 -0
- package/dist/sdk/router/resolve-sim-sdk-command-router.js.map +1 -1
- package/dist/serve/controller/factory/sim-aws-service-controller-factory.d.ts.map +1 -1
- package/dist/serve/controller/factory/sim-aws-service-controller-factory.js +4 -0
- package/dist/serve/controller/factory/sim-aws-service-controller-factory.js.map +1 -1
- package/dist/serve/controller/sim-aws-service-signing-name.d.ts.map +1 -1
- package/dist/serve/controller/sim-aws-service-signing-name.js +5 -0
- package/dist/serve/controller/sim-aws-service-signing-name.js.map +1 -1
- package/dist/serve/controller/sim-service-controller.d.ts +1 -1
- package/dist/serve/controller/sim-service-controller.d.ts.map +1 -1
- package/dist/serve/controller/sim-service-controller.js.map +1 -1
- package/dist/serve/http/url/sim-aws-local-url.d.ts.map +1 -1
- package/dist/serve/http/url/sim-aws-local-url.js +1 -0
- package/dist/serve/http/url/sim-aws-local-url.js.map +1 -1
- package/dist/{service/lambda/serve/event/sim-lambda-url-body-encoding.d.ts → serve/payload-2/sim-payload-2-body-encoding.d.ts} +7 -7
- package/dist/serve/payload-2/sim-payload-2-body-encoding.d.ts.map +1 -0
- package/dist/{service/lambda/serve/event/sim-lambda-url-body-encoding.js → serve/payload-2/sim-payload-2-body-encoding.js} +7 -7
- package/dist/serve/payload-2/sim-payload-2-body-encoding.js.map +1 -0
- package/dist/serve/payload-2/sim-payload-2-connection.d.ts +19 -0
- package/dist/serve/payload-2/sim-payload-2-connection.d.ts.map +1 -0
- package/dist/serve/payload-2/sim-payload-2-connection.js +25 -0
- package/dist/serve/payload-2/sim-payload-2-connection.js.map +1 -0
- package/dist/serve/payload-2/sim-payload-2-endpoint.d.ts +26 -0
- package/dist/serve/payload-2/sim-payload-2-endpoint.d.ts.map +1 -0
- package/dist/serve/payload-2/sim-payload-2-endpoint.js +2 -0
- package/dist/serve/payload-2/sim-payload-2-endpoint.js.map +1 -0
- package/dist/serve/payload-2/sim-payload-2-event-builder.d.ts +51 -0
- package/dist/serve/payload-2/sim-payload-2-event-builder.d.ts.map +1 -0
- package/dist/serve/payload-2/sim-payload-2-event-builder.js +98 -0
- package/dist/serve/payload-2/sim-payload-2-event-builder.js.map +1 -0
- package/dist/{service/lambda/serve/event/sim-lambda-url-event-time.d.ts → serve/payload-2/sim-payload-2-event-time.d.ts} +3 -3
- package/dist/serve/payload-2/sim-payload-2-event-time.d.ts.map +1 -0
- package/dist/{service/lambda/serve/event/sim-lambda-url-event-time.js → serve/payload-2/sim-payload-2-event-time.js} +4 -4
- package/dist/serve/payload-2/sim-payload-2-event-time.js.map +1 -0
- package/dist/serve/payload-2/sim-payload-2-event.type.d.ts +123 -0
- package/dist/serve/payload-2/sim-payload-2-event.type.d.ts.map +1 -0
- package/dist/serve/payload-2/sim-payload-2-event.type.js +2 -0
- package/dist/serve/payload-2/sim-payload-2-event.type.js.map +1 -0
- package/dist/serve/payload-2/sim-payload-2-iam-caller.d.ts +29 -0
- package/dist/serve/payload-2/sim-payload-2-iam-caller.d.ts.map +1 -0
- package/dist/{service/lambda/serve/event/sim-lambda-url-iam-authorizer.js → serve/payload-2/sim-payload-2-iam-caller.js} +8 -9
- package/dist/serve/payload-2/sim-payload-2-iam-caller.js.map +1 -0
- package/dist/serve/payload-2/sim-payload-2-request-context.d.ts +41 -0
- package/dist/serve/payload-2/sim-payload-2-request-context.d.ts.map +1 -0
- package/dist/serve/payload-2/sim-payload-2-request-context.js +54 -0
- package/dist/serve/payload-2/sim-payload-2-request-context.js.map +1 -0
- package/dist/{service/lambda/serve/event/sim-lambda-url-request-parts.d.ts → serve/payload-2/sim-payload-2-request-parts.d.ts} +15 -4
- package/dist/serve/payload-2/sim-payload-2-request-parts.d.ts.map +1 -0
- package/dist/{service/lambda/serve/event/sim-lambda-url-request-parts.js → serve/payload-2/sim-payload-2-request-parts.js} +17 -5
- package/dist/serve/payload-2/sim-payload-2-request-parts.js.map +1 -0
- package/dist/serve/payload-2/sim-payload-2-response-builder.d.ts +26 -0
- package/dist/serve/payload-2/sim-payload-2-response-builder.d.ts.map +1 -0
- package/dist/{service/lambda/serve/response/sim-lambda-url-response-builder.js → serve/payload-2/sim-payload-2-response-builder.js} +13 -8
- package/dist/serve/payload-2/sim-payload-2-response-builder.js.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-cognito-http-api-jwt-issuer-keys.d.ts +29 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-cognito-http-api-jwt-issuer-keys.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-cognito-http-api-jwt-issuer-keys.js +43 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-cognito-http-api-jwt-issuer-keys.js.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorization.d.ts +66 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorization.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorization.js +53 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorization.js.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer-store.d.ts +31 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer-store.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer-store.js +46 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer-store.js.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer.d.ts +59 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer.js +43 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-authorizer.js.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-identity-source.d.ts +31 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-identity-source.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-identity-source.js +78 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-identity-source.js.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-claim-checks.d.ts +60 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-claim-checks.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-claim-checks.js +84 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-claim-checks.js.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-claims.d.ts +34 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-claims.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-claims.js +75 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-claims.js.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-configuration.d.ts +38 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-configuration.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-configuration.js +34 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-configuration.js.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-issuer-keys.d.ts +37 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-issuer-keys.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-issuer-keys.js +18 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-issuer-keys.js.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-verification.d.ts +43 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-verification.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-verification.js +70 -0
- package/dist/service/apigatewayv2/api/authorizer/sim-http-api-jwt-verification.js.map +1 -0
- package/dist/service/apigatewayv2/api/integration/sim-http-api-integration-store.d.ts +27 -0
- package/dist/service/apigatewayv2/api/integration/sim-http-api-integration-store.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/integration/sim-http-api-integration-store.js +40 -0
- package/dist/service/apigatewayv2/api/integration/sim-http-api-integration-store.js.map +1 -0
- package/dist/service/apigatewayv2/api/integration/sim-http-api-integration.d.ts +66 -0
- package/dist/service/apigatewayv2/api/integration/sim-http-api-integration.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/integration/sim-http-api-integration.js +54 -0
- package/dist/service/apigatewayv2/api/integration/sim-http-api-integration.js.map +1 -0
- package/dist/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.d.ts +31 -0
- package/dist/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.js +63 -0
- package/dist/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.js.map +1 -0
- package/dist/service/apigatewayv2/api/route/key/sim-http-api-default-route-key.d.ts +36 -0
- package/dist/service/apigatewayv2/api/route/key/sim-http-api-default-route-key.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/route/key/sim-http-api-default-route-key.js +44 -0
- package/dist/service/apigatewayv2/api/route/key/sim-http-api-default-route-key.js.map +1 -0
- package/dist/service/apigatewayv2/api/route/key/sim-http-api-method-route-key.d.ts +48 -0
- package/dist/service/apigatewayv2/api/route/key/sim-http-api-method-route-key.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/route/key/sim-http-api-method-route-key.js +62 -0
- package/dist/service/apigatewayv2/api/route/key/sim-http-api-method-route-key.js.map +1 -0
- package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-key-parser.d.ts +18 -0
- package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-key-parser.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-key-parser.js +37 -0
- package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-key-parser.js.map +1 -0
- package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-key.d.ts +38 -0
- package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-key.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-key.js +2 -0
- package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-key.js.map +1 -0
- package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-method.d.ts +32 -0
- package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-method.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-method.js +65 -0
- package/dist/service/apigatewayv2/api/route/key/sim-http-api-route-method.js.map +1 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-greedy-segment.d.ts +27 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-greedy-segment.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-greedy-segment.js +35 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-greedy-segment.js.map +1 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-literal-segment.d.ts +23 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-literal-segment.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-literal-segment.js +32 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-literal-segment.js.map +1 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-parameters.d.ts +36 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-parameters.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-parameters.js +48 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-parameters.js.map +1 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segment-parser.d.ts +18 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segment-parser.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segment-parser.js +47 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segment-parser.js.map +1 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segment.d.ts +48 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segment.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segment.js +23 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segment.js.map +1 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segments.d.ts +10 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segments.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segments.js +19 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-path-segments.js.map +1 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-route-path-parser.d.ts +29 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-route-path-parser.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-route-path-parser.js +63 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-route-path-parser.js.map +1 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-route-path.d.ts +42 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-route-path.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-route-path.js +61 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-route-path.js.map +1 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-variable-segment.d.ts +23 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-variable-segment.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-variable-segment.js +32 -0
- package/dist/service/apigatewayv2/api/route/path/sim-http-api-variable-segment.js.map +1 -0
- package/dist/service/apigatewayv2/api/route/sim-http-api-route-rank.d.ts +47 -0
- package/dist/service/apigatewayv2/api/route/sim-http-api-route-rank.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/route/sim-http-api-route-rank.js +66 -0
- package/dist/service/apigatewayv2/api/route/sim-http-api-route-rank.js.map +1 -0
- package/dist/service/apigatewayv2/api/route/sim-http-api-route-request.d.ts +18 -0
- package/dist/service/apigatewayv2/api/route/sim-http-api-route-request.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/route/sim-http-api-route-request.js +16 -0
- package/dist/service/apigatewayv2/api/route/sim-http-api-route-request.js.map +1 -0
- package/dist/service/apigatewayv2/api/route/sim-http-api-route-scopes.d.ts +23 -0
- package/dist/service/apigatewayv2/api/route/sim-http-api-route-scopes.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/route/sim-http-api-route-scopes.js +35 -0
- package/dist/service/apigatewayv2/api/route/sim-http-api-route-scopes.js.map +1 -0
- package/dist/service/apigatewayv2/api/route/sim-http-api-route-selector.d.ts +36 -0
- package/dist/service/apigatewayv2/api/route/sim-http-api-route-selector.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/route/sim-http-api-route-selector.js +49 -0
- package/dist/service/apigatewayv2/api/route/sim-http-api-route-selector.js.map +1 -0
- package/dist/service/apigatewayv2/api/route/sim-http-api-route-store.d.ts +42 -0
- package/dist/service/apigatewayv2/api/route/sim-http-api-route-store.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/route/sim-http-api-route-store.js +60 -0
- package/dist/service/apigatewayv2/api/route/sim-http-api-route-store.js.map +1 -0
- package/dist/service/apigatewayv2/api/route/sim-http-api-route-view.d.ts +20 -0
- package/dist/service/apigatewayv2/api/route/sim-http-api-route-view.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/route/sim-http-api-route-view.js +19 -0
- package/dist/service/apigatewayv2/api/route/sim-http-api-route-view.js.map +1 -0
- package/dist/service/apigatewayv2/api/route/sim-http-api-route.d.ts +65 -0
- package/dist/service/apigatewayv2/api/route/sim-http-api-route.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/route/sim-http-api-route.js +56 -0
- package/dist/service/apigatewayv2/api/route/sim-http-api-route.js.map +1 -0
- package/dist/service/apigatewayv2/api/sim-http-api-execute-api-arn.d.ts +51 -0
- package/dist/service/apigatewayv2/api/sim-http-api-execute-api-arn.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/sim-http-api-execute-api-arn.js +48 -0
- package/dist/service/apigatewayv2/api/sim-http-api-execute-api-arn.js.map +1 -0
- package/dist/service/apigatewayv2/api/sim-http-api-host.d.ts +32 -0
- package/dist/service/apigatewayv2/api/sim-http-api-host.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/sim-http-api-host.js +31 -0
- package/dist/service/apigatewayv2/api/sim-http-api-host.js.map +1 -0
- package/dist/service/apigatewayv2/api/sim-http-api-id.d.ts +12 -0
- package/dist/service/apigatewayv2/api/sim-http-api-id.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/sim-http-api-id.js +9 -0
- package/dist/service/apigatewayv2/api/sim-http-api-id.js.map +1 -0
- package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.d.ts +72 -0
- package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.js +110 -0
- package/dist/service/apigatewayv2/api/sim-http-api-lambda-proxy.factory.js.map +1 -0
- package/dist/service/apigatewayv2/api/sim-http-api-match.d.ts +56 -0
- package/dist/service/apigatewayv2/api/sim-http-api-match.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/sim-http-api-match.js +46 -0
- package/dist/service/apigatewayv2/api/sim-http-api-match.js.map +1 -0
- package/dist/service/apigatewayv2/api/sim-http-api-proxy-authorization.d.ts +28 -0
- package/dist/service/apigatewayv2/api/sim-http-api-proxy-authorization.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/sim-http-api-proxy-authorization.js +43 -0
- package/dist/service/apigatewayv2/api/sim-http-api-proxy-authorization.js.map +1 -0
- package/dist/service/apigatewayv2/api/sim-http-api-request.d.ts +22 -0
- package/dist/service/apigatewayv2/api/sim-http-api-request.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/sim-http-api-request.js +23 -0
- package/dist/service/apigatewayv2/api/sim-http-api-request.js.map +1 -0
- package/dist/service/apigatewayv2/api/sim-http-api-store.d.ts +29 -0
- package/dist/service/apigatewayv2/api/sim-http-api-store.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/sim-http-api-store.js +35 -0
- package/dist/service/apigatewayv2/api/sim-http-api-store.js.map +1 -0
- package/dist/service/apigatewayv2/api/sim-http-api-view.d.ts +40 -0
- package/dist/service/apigatewayv2/api/sim-http-api-view.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/sim-http-api-view.js +23 -0
- package/dist/service/apigatewayv2/api/sim-http-api-view.js.map +1 -0
- package/dist/service/apigatewayv2/api/sim-http-api.d.ts +73 -0
- package/dist/service/apigatewayv2/api/sim-http-api.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/sim-http-api.js +80 -0
- package/dist/service/apigatewayv2/api/sim-http-api.js.map +1 -0
- package/dist/service/apigatewayv2/api/stage/sim-http-api-stage-selector.d.ts +34 -0
- package/dist/service/apigatewayv2/api/stage/sim-http-api-stage-selector.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/stage/sim-http-api-stage-selector.js +53 -0
- package/dist/service/apigatewayv2/api/stage/sim-http-api-stage-selector.js.map +1 -0
- package/dist/service/apigatewayv2/api/stage/sim-http-api-stage-store.d.ts +21 -0
- package/dist/service/apigatewayv2/api/stage/sim-http-api-stage-store.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/stage/sim-http-api-stage-store.js +26 -0
- package/dist/service/apigatewayv2/api/stage/sim-http-api-stage-store.js.map +1 -0
- package/dist/service/apigatewayv2/api/stage/sim-http-api-stage.d.ts +46 -0
- package/dist/service/apigatewayv2/api/stage/sim-http-api-stage.d.ts.map +1 -0
- package/dist/service/apigatewayv2/api/stage/sim-http-api-stage.js +47 -0
- package/dist/service/apigatewayv2/api/stage/sim-http-api-stage.js.map +1 -0
- package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-creator.d.ts +33 -0
- package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-creator.d.ts.map +1 -0
- package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-creator.js +49 -0
- package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-creator.js.map +1 -0
- package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-document.d.ts +38 -0
- package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-document.d.ts.map +1 -0
- package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-document.js +47 -0
- package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-document.js.map +1 -0
- package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-import-properties.d.ts +31 -0
- package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-import-properties.d.ts.map +1 -0
- package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-import-properties.js +36 -0
- package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-import-properties.js.map +1 -0
- package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-properties.d.ts +39 -0
- package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-properties.d.ts.map +1 -0
- package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-properties.js +79 -0
- package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-properties.js.map +1 -0
- package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-property-rules.d.ts +47 -0
- package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-property-rules.d.ts.map +1 -0
- package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-property-rules.js +83 -0
- package/dist/service/apigatewayv2/cfn/api/sim-cfn-http-api-property-rules.js.map +1 -0
- package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-creator.d.ts +29 -0
- package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-creator.d.ts.map +1 -0
- package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-creator.js +40 -0
- package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-creator.js.map +1 -0
- package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-properties.d.ts +34 -0
- package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-properties.d.ts.map +1 -0
- package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-properties.js +67 -0
- package/dist/service/apigatewayv2/cfn/authorizer/sim-cfn-http-api-authorizer-properties.js.map +1 -0
- package/dist/service/apigatewayv2/cfn/integration/sim-cfn-http-api-integration-creator.d.ts +27 -0
- package/dist/service/apigatewayv2/cfn/integration/sim-cfn-http-api-integration-creator.d.ts.map +1 -0
- package/dist/service/apigatewayv2/cfn/integration/sim-cfn-http-api-integration-creator.js +38 -0
- package/dist/service/apigatewayv2/cfn/integration/sim-cfn-http-api-integration-creator.js.map +1 -0
- package/dist/service/apigatewayv2/cfn/integration/sim-cfn-http-api-integration-properties.d.ts +34 -0
- package/dist/service/apigatewayv2/cfn/integration/sim-cfn-http-api-integration-properties.d.ts.map +1 -0
- package/dist/service/apigatewayv2/cfn/integration/sim-cfn-http-api-integration-properties.js +59 -0
- package/dist/service/apigatewayv2/cfn/integration/sim-cfn-http-api-integration-properties.js.map +1 -0
- package/dist/service/apigatewayv2/cfn/route/sim-cfn-http-api-route-creator.d.ts +32 -0
- package/dist/service/apigatewayv2/cfn/route/sim-cfn-http-api-route-creator.d.ts.map +1 -0
- package/dist/service/apigatewayv2/cfn/route/sim-cfn-http-api-route-creator.js +42 -0
- package/dist/service/apigatewayv2/cfn/route/sim-cfn-http-api-route-creator.js.map +1 -0
- package/dist/service/apigatewayv2/cfn/route/sim-cfn-http-api-route-properties.d.ts +35 -0
- package/dist/service/apigatewayv2/cfn/route/sim-cfn-http-api-route-properties.d.ts.map +1 -0
- package/dist/service/apigatewayv2/cfn/route/sim-cfn-http-api-route-properties.js +57 -0
- package/dist/service/apigatewayv2/cfn/route/sim-cfn-http-api-route-properties.js.map +1 -0
- package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-parser.d.ts +40 -0
- package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-parser.d.ts.map +1 -0
- package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-parser.js +47 -0
- package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-parser.js.map +1 -0
- package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-values.d.ts +55 -0
- package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-values.d.ts.map +1 -0
- package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-values.js +108 -0
- package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-property-values.js.map +1 -0
- package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-resource-factory.d.ts +32 -0
- package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-resource-factory.d.ts.map +1 -0
- package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-resource-factory.js +85 -0
- package/dist/service/apigatewayv2/cfn/sim-cfn-api-gateway-v2-resource-factory.js.map +1 -0
- package/dist/service/apigatewayv2/cfn/sim-cfn-http-api-imports.d.ts +28 -0
- package/dist/service/apigatewayv2/cfn/sim-cfn-http-api-imports.d.ts.map +1 -0
- package/dist/service/apigatewayv2/cfn/sim-cfn-http-api-imports.js +39 -0
- package/dist/service/apigatewayv2/cfn/sim-cfn-http-api-imports.js.map +1 -0
- package/dist/service/apigatewayv2/cfn/sim-cfn-http-api-template.factory.d.ts +52 -0
- package/dist/service/apigatewayv2/cfn/sim-cfn-http-api-template.factory.d.ts.map +1 -0
- package/dist/service/apigatewayv2/cfn/sim-cfn-http-api-template.factory.js +145 -0
- package/dist/service/apigatewayv2/cfn/sim-cfn-http-api-template.factory.js.map +1 -0
- package/dist/service/apigatewayv2/cfn/sim-cfn-imported-http-api-template.factory.d.ts +45 -0
- package/dist/service/apigatewayv2/cfn/sim-cfn-imported-http-api-template.factory.d.ts.map +1 -0
- package/dist/service/apigatewayv2/cfn/sim-cfn-imported-http-api-template.factory.js +97 -0
- package/dist/service/apigatewayv2/cfn/sim-cfn-imported-http-api-template.factory.js.map +1 -0
- package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-creator.d.ts +25 -0
- package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-creator.d.ts.map +1 -0
- package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-creator.js +35 -0
- package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-creator.js.map +1 -0
- package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.d.ts +36 -0
- package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.d.ts.map +1 -0
- package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.js +63 -0
- package/dist/service/apigatewayv2/cfn/stage/sim-cfn-http-api-stage-properties.js.map +1 -0
- package/dist/service/apigatewayv2/command/api/api.command.d.ts +83 -0
- package/dist/service/apigatewayv2/command/api/api.command.d.ts.map +1 -0
- package/dist/service/apigatewayv2/command/api/api.command.js +2 -0
- package/dist/service/apigatewayv2/command/api/api.command.js.map +1 -0
- package/dist/service/apigatewayv2/command/api/sim-http-api-commands.d.ts +49 -0
- package/dist/service/apigatewayv2/command/api/sim-http-api-commands.d.ts.map +1 -0
- package/dist/service/apigatewayv2/command/api/sim-http-api-commands.js +98 -0
- package/dist/service/apigatewayv2/command/api/sim-http-api-commands.js.map +1 -0
- package/dist/service/apigatewayv2/command/api/sim-http-api-import-commands.d.ts +52 -0
- package/dist/service/apigatewayv2/command/api/sim-http-api-import-commands.d.ts.map +1 -0
- package/dist/service/apigatewayv2/command/api/sim-http-api-import-commands.js +63 -0
- package/dist/service/apigatewayv2/command/api/sim-http-api-import-commands.js.map +1 -0
- package/dist/service/apigatewayv2/command/api/sim-http-api-import-input.d.ts +28 -0
- package/dist/service/apigatewayv2/command/api/sim-http-api-import-input.d.ts.map +1 -0
- package/dist/service/apigatewayv2/command/api/sim-http-api-import-input.js +44 -0
- package/dist/service/apigatewayv2/command/api/sim-http-api-import-input.js.map +1 -0
- package/dist/service/apigatewayv2/command/authorize/sim-api-gateway-v2-authorizer.d.ts +42 -0
- package/dist/service/apigatewayv2/command/authorize/sim-api-gateway-v2-authorizer.d.ts.map +1 -0
- package/dist/service/apigatewayv2/command/authorize/sim-api-gateway-v2-authorizer.js +36 -0
- package/dist/service/apigatewayv2/command/authorize/sim-api-gateway-v2-authorizer.js.map +1 -0
- package/dist/service/apigatewayv2/command/authorizer/authorizer.command.d.ts +63 -0
- package/dist/service/apigatewayv2/command/authorizer/authorizer.command.d.ts.map +1 -0
- package/dist/service/apigatewayv2/command/authorizer/authorizer.command.js +2 -0
- package/dist/service/apigatewayv2/command/authorizer/authorizer.command.js.map +1 -0
- package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-commands.d.ts +37 -0
- package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-commands.d.ts.map +1 -0
- package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-commands.js +104 -0
- package/dist/service/apigatewayv2/command/authorizer/sim-http-api-authorizer-commands.js.map +1 -0
- package/dist/service/apigatewayv2/command/authorizer/sim-http-api-jwt-authorizer-input.d.ts +34 -0
- package/dist/service/apigatewayv2/command/authorizer/sim-http-api-jwt-authorizer-input.d.ts.map +1 -0
- package/dist/service/apigatewayv2/command/authorizer/sim-http-api-jwt-authorizer-input.js +68 -0
- package/dist/service/apigatewayv2/command/authorizer/sim-http-api-jwt-authorizer-input.js.map +1 -0
- package/dist/service/apigatewayv2/command/integration/integration.command.d.ts +38 -0
- package/dist/service/apigatewayv2/command/integration/integration.command.d.ts.map +1 -0
- package/dist/service/apigatewayv2/command/integration/integration.command.js +2 -0
- package/dist/service/apigatewayv2/command/integration/integration.command.js.map +1 -0
- package/dist/service/apigatewayv2/command/integration/sim-http-api-integration-commands.d.ts +23 -0
- package/dist/service/apigatewayv2/command/integration/sim-http-api-integration-commands.d.ts.map +1 -0
- package/dist/service/apigatewayv2/command/integration/sim-http-api-integration-commands.js +73 -0
- package/dist/service/apigatewayv2/command/integration/sim-http-api-integration-commands.js.map +1 -0
- package/dist/service/apigatewayv2/command/route/route.command.d.ts +39 -0
- package/dist/service/apigatewayv2/command/route/route.command.d.ts.map +1 -0
- package/dist/service/apigatewayv2/command/route/route.command.js +2 -0
- package/dist/service/apigatewayv2/command/route/route.command.js.map +1 -0
- package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorization.d.ts +53 -0
- package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorization.d.ts.map +1 -0
- package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorization.js +96 -0
- package/dist/service/apigatewayv2/command/route/sim-http-api-route-authorization.js.map +1 -0
- package/dist/service/apigatewayv2/command/route/sim-http-api-route-commands.d.ts +25 -0
- package/dist/service/apigatewayv2/command/route/sim-http-api-route-commands.d.ts.map +1 -0
- package/dist/service/apigatewayv2/command/route/sim-http-api-route-commands.js +84 -0
- package/dist/service/apigatewayv2/command/route/sim-http-api-route-commands.js.map +1 -0
- package/dist/service/apigatewayv2/command/route/sim-http-api-route-target.d.ts +27 -0
- package/dist/service/apigatewayv2/command/route/sim-http-api-route-target.d.ts.map +1 -0
- package/dist/service/apigatewayv2/command/route/sim-http-api-route-target.js +44 -0
- package/dist/service/apigatewayv2/command/route/sim-http-api-route-target.js.map +1 -0
- package/dist/service/apigatewayv2/command/sim-api-gateway-v2-command.types.d.ts +9 -0
- package/dist/service/apigatewayv2/command/sim-api-gateway-v2-command.types.d.ts.map +1 -0
- package/dist/service/apigatewayv2/command/sim-api-gateway-v2-command.types.js +2 -0
- package/dist/service/apigatewayv2/command/sim-api-gateway-v2-command.types.js.map +1 -0
- package/dist/service/apigatewayv2/command/sim-api-gateway-v2-request-options.d.ts +8 -0
- package/dist/service/apigatewayv2/command/sim-api-gateway-v2-request-options.d.ts.map +1 -0
- package/dist/service/apigatewayv2/command/sim-api-gateway-v2-request-options.js +2 -0
- package/dist/service/apigatewayv2/command/sim-api-gateway-v2-request-options.js.map +1 -0
- package/dist/service/apigatewayv2/command/sim-api-gateway-v2-unsimulated-input.d.ts +42 -0
- package/dist/service/apigatewayv2/command/sim-api-gateway-v2-unsimulated-input.d.ts.map +1 -0
- package/dist/service/apigatewayv2/command/sim-api-gateway-v2-unsimulated-input.js +77 -0
- package/dist/service/apigatewayv2/command/sim-api-gateway-v2-unsimulated-input.js.map +1 -0
- package/dist/service/apigatewayv2/command/sim-http-api-access.d.ts +45 -0
- package/dist/service/apigatewayv2/command/sim-http-api-access.d.ts.map +1 -0
- package/dist/service/apigatewayv2/command/sim-http-api-access.js +40 -0
- package/dist/service/apigatewayv2/command/sim-http-api-access.js.map +1 -0
- package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-commands.d.ts +27 -0
- package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-commands.d.ts.map +1 -0
- package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-commands.js +70 -0
- package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-commands.js.map +1 -0
- package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-rules.d.ts +29 -0
- package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-rules.d.ts.map +1 -0
- package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-rules.js +52 -0
- package/dist/service/apigatewayv2/command/stage/sim-http-api-stage-rules.js.map +1 -0
- package/dist/service/apigatewayv2/command/stage/stage.command.d.ts +38 -0
- package/dist/service/apigatewayv2/command/stage/stage.command.d.ts.map +1 -0
- package/dist/service/apigatewayv2/command/stage/stage.command.js +2 -0
- package/dist/service/apigatewayv2/command/stage/stage.command.js.map +1 -0
- package/dist/service/apigatewayv2/error/sim-api-gateway-v2.error.d.ts +42 -0
- package/dist/service/apigatewayv2/error/sim-api-gateway-v2.error.d.ts.map +1 -0
- package/dist/service/apigatewayv2/error/sim-api-gateway-v2.error.js +45 -0
- package/dist/service/apigatewayv2/error/sim-api-gateway-v2.error.js.map +1 -0
- package/dist/service/apigatewayv2/index.d.ts +29 -0
- package/dist/service/apigatewayv2/index.d.ts.map +1 -0
- package/dist/service/apigatewayv2/index.js +23 -0
- package/dist/service/apigatewayv2/index.js.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-body.d.ts +10 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-body.d.ts.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-body.js +29 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-body.js.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-command.d.ts +18 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-command.d.ts.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-command.js +29 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-command.js.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-document.d.ts +47 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-document.d.ts.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-document.factory.d.ts +30 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-document.factory.d.ts.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-document.factory.js +26 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-document.factory.js.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-document.js +109 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-document.js.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-import.d.ts +33 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-import.d.ts.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-import.js +59 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-import.js.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration-references.d.ts +55 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration-references.d.ts.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration-references.js +95 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration-references.js.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration.d.ts +37 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration.d.ts.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration.factory.d.ts +19 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration.factory.d.ts.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration.factory.js +20 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration.factory.js.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration.js +86 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integration.js.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integrations.d.ts +29 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integrations.d.ts.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integrations.js +37 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-integrations.js.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-object.d.ts +47 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-object.d.ts.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-object.js +63 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-object.js.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-operation.d.ts +56 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-operation.d.ts.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-operation.js +80 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-operation.js.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-path-item.d.ts +24 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-path-item.d.ts.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-path-item.js +70 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-path-item.js.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-paths.d.ts +18 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-paths.d.ts.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-paths.js +24 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-paths.js.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-pointer.d.ts +33 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-pointer.d.ts.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-pointer.js +49 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-pointer.js.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-refusal.d.ts +11 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-refusal.d.ts.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-refusal.js +12 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-refusal.js.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-route-authorization.d.ts +35 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-route-authorization.d.ts.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-route-authorization.js +43 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-route-authorization.js.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-scheme.d.ts +29 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-scheme.d.ts.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-scheme.js +85 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-scheme.js.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-schemes.d.ts +39 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-schemes.d.ts.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-schemes.js +49 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-security-schemes.js.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-value.d.ts +55 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-value.d.ts.map +1 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-value.js +102 -0
- package/dist/service/apigatewayv2/openapi/sim-http-api-openapi-value.js.map +1 -0
- package/dist/service/apigatewayv2/registry/sim-http-api-registry.d.ts +31 -0
- package/dist/service/apigatewayv2/registry/sim-http-api-registry.d.ts.map +1 -0
- package/dist/service/apigatewayv2/registry/sim-http-api-registry.js +42 -0
- package/dist/service/apigatewayv2/registry/sim-http-api-registry.js.map +1 -0
- package/dist/service/apigatewayv2/sdk/sim-api-gateway-v2-sdk-command-router.d.ts +19 -0
- package/dist/service/apigatewayv2/sdk/sim-api-gateway-v2-sdk-command-router.d.ts.map +1 -0
- package/dist/service/apigatewayv2/sdk/sim-api-gateway-v2-sdk-command-router.js +81 -0
- package/dist/service/apigatewayv2/sdk/sim-api-gateway-v2-sdk-command-router.js.map +1 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-iam-route-authorizer.d.ts +40 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-iam-route-authorizer.d.ts.map +1 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-iam-route-authorizer.js +57 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-iam-route-authorizer.js.map +1 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-integration-authorizer.d.ts +42 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-integration-authorizer.d.ts.map +1 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-integration-authorizer.js +49 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-integration-authorizer.js.map +1 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-jwt-route-authorizer.d.ts +27 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-jwt-route-authorizer.d.ts.map +1 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-jwt-route-authorizer.js +49 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-jwt-route-authorizer.js.map +1 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-route-authorize-input.d.ts +28 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-route-authorize-input.d.ts.map +1 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-route-authorize-input.js +2 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-route-authorize-input.js.map +1 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-route-authorizer.d.ts +32 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-route-authorizer.d.ts.map +1 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-route-authorizer.js +42 -0
- package/dist/service/apigatewayv2/serve/auth/sim-http-api-route-authorizer.js.map +1 -0
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.d.ts +44 -0
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.d.ts.map +1 -0
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.js +131 -0
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-controller.js.map +1 -0
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-error-response.d.ts +52 -0
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-error-response.d.ts.map +1 -0
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-error-response.js +72 -0
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-error-response.js.map +1 -0
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-router.d.ts +64 -0
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-router.d.ts.map +1 -0
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-router.js +67 -0
- package/dist/service/apigatewayv2/serve/sim-api-gateway-v2-router.js.map +1 -0
- package/dist/service/apigatewayv2/serve/sim-http-api-endpoint.d.ts +14 -0
- package/dist/service/apigatewayv2/serve/sim-http-api-endpoint.d.ts.map +1 -0
- package/dist/service/apigatewayv2/serve/sim-http-api-endpoint.js +21 -0
- package/dist/service/apigatewayv2/serve/sim-http-api-endpoint.js.map +1 -0
- package/dist/service/apigatewayv2/sim-api-gateway-v2.d.ts +125 -0
- package/dist/service/apigatewayv2/sim-api-gateway-v2.d.ts.map +1 -0
- package/dist/service/apigatewayv2/sim-api-gateway-v2.js +198 -0
- package/dist/service/apigatewayv2/sim-api-gateway-v2.js.map +1 -0
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts +11 -0
- 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 +25 -0
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.js.map +1 -1
- package/dist/service/aws/factory/sim-aws-service-factory.d.ts +13 -0
- package/dist/service/aws/factory/sim-aws-service-factory.d.ts.map +1 -1
- package/dist/service/aws/factory/sim-aws-service-factory.js +15 -0
- package/dist/service/aws/factory/sim-aws-service-factory.js.map +1 -1
- package/dist/service/aws/sim-aws-account-region-scope.d.ts +5 -0
- package/dist/service/aws/sim-aws-account-region-scope.d.ts.map +1 -1
- package/dist/service/aws/sim-aws-account-region-scope.js +6 -0
- package/dist/service/aws/sim-aws-account-region-scope.js.map +1 -1
- package/dist/service/aws/sim-aws.d.ts +3 -0
- package/dist/service/aws/sim-aws.d.ts.map +1 -1
- package/dist/service/aws/sim-aws.js +4 -0
- package/dist/service/aws/sim-aws.js.map +1 -1
- package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-api-gateway-v2-cfn-value-adapter.d.ts +7 -0
- package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-api-gateway-v2-cfn-value-adapter.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-api-gateway-v2-cfn-value-adapter.js +40 -0
- package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-api-gateway-v2-cfn-value-adapter.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-authorizer-cfn.d.ts +24 -0
- package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-authorizer-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-authorizer-cfn.js +26 -0
- package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-authorizer-cfn.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-cfn.d.ts +29 -0
- package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-cfn.js +34 -0
- package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-cfn.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-integration-cfn.d.ts +25 -0
- package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-integration-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-integration-cfn.js +27 -0
- package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-integration-cfn.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-route-cfn.d.ts +24 -0
- package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-route-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-route-cfn.js +26 -0
- package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-route-cfn.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-stage-cfn.d.ts +24 -0
- package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-stage-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-stage-cfn.js +23 -0
- package/dist/service/cloudformation/resource/cfn/apigatewayv2/sim-http-api-stage-cfn.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/sim-cfn-resource-value-adapter.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/cfn/sim-cfn-resource-value-adapter.js +2 -0
- package/dist/service/cloudformation/resource/cfn/sim-cfn-resource-value-adapter.js.map +1 -1
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.d.ts +20 -0
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-factories.js +74 -0
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-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 +5 -46
- package/dist/service/cloudformation/resource/resolve/service/sim-cfn-service-resolver.js.map +1 -1
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.d.ts +3 -3
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.d.ts.map +1 -1
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js +30 -23
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js.map +1 -1
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-token-validity-units.d.ts +28 -0
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-token-validity-units.d.ts.map +1 -0
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-token-validity-units.js +39 -0
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-token-validity-units.js.map +1 -0
- package/dist/service/cognito/cfn/sim-cfn-cognito-generated-name.d.ts +32 -0
- package/dist/service/cognito/cfn/sim-cfn-cognito-generated-name.d.ts.map +1 -0
- package/dist/service/cognito/cfn/sim-cfn-cognito-generated-name.js +41 -0
- package/dist/service/cognito/cfn/sim-cfn-cognito-generated-name.js.map +1 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.d.ts +13 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.d.ts.map +1 -1
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js +45 -1
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js.map +1 -1
- package/dist/service/cognito/command/client/sim-cognito-user-pool-client-commands.d.ts.map +1 -1
- package/dist/service/cognito/command/client/sim-cognito-user-pool-client-commands.js +1 -0
- package/dist/service/cognito/command/client/sim-cognito-user-pool-client-commands.js.map +1 -1
- package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.d.ts +4 -0
- package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.d.ts.map +1 -1
- package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.js +5 -0
- package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.js.map +1 -1
- package/dist/service/cognito/command/client/user-pool-client.command.d.ts +6 -3
- package/dist/service/cognito/command/client/user-pool-client.command.d.ts.map +1 -1
- package/dist/service/cognito/command/sim-cognito-canonical-value.d.ts +28 -0
- package/dist/service/cognito/command/sim-cognito-canonical-value.d.ts.map +1 -0
- package/dist/service/cognito/command/sim-cognito-canonical-value.js +44 -0
- package/dist/service/cognito/command/sim-cognito-canonical-value.js.map +1 -0
- package/dist/service/cognito/command/sim-cognito-unsimulated-structure.d.ts +23 -0
- package/dist/service/cognito/command/sim-cognito-unsimulated-structure.d.ts.map +1 -0
- package/dist/service/cognito/command/sim-cognito-unsimulated-structure.js +38 -0
- package/dist/service/cognito/command/sim-cognito-unsimulated-structure.js.map +1 -0
- package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-features.d.ts +8 -3
- package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-features.d.ts.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-features.js +39 -5
- package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-features.js.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-messaging.d.ts +13 -2
- package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-messaging.d.ts.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-messaging.js +41 -6
- package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-messaging.js.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-commands.d.ts.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-commands.js +1 -0
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-commands.js.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.d.ts +4 -0
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.d.ts.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.js +5 -0
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.js.map +1 -1
- package/dist/service/cognito/command/user-pool/user-pool.command.d.ts +5 -3
- package/dist/service/cognito/command/user-pool/user-pool.command.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/auth/sim-cognito-signed-in.factory.d.ts +44 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-signed-in.factory.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-signed-in.factory.js +88 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-signed-in.factory.js.map +1 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-unsimulated-client-settings.d.ts +42 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-unsimulated-client-settings.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-unsimulated-client-settings.js +44 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-unsimulated-client-settings.js.map +1 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.d.ts +6 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.js +2 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-factory.js.map +1 -1
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.d.ts +7 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.js +6 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.js.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-unsimulated-pool-settings.d.ts +50 -0
- package/dist/service/cognito/user-pool/sim-cognito-unsimulated-pool-settings.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-unsimulated-pool-settings.js +61 -0
- package/dist/service/cognito/user-pool/sim-cognito-unsimulated-pool-settings.js.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-factory.d.ts +6 -0
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-factory.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-factory.js +2 -0
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-factory.js.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool.d.ts +7 -0
- package/dist/service/cognito/user-pool/sim-cognito-user-pool.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool.js +6 -0
- package/dist/service/cognito/user-pool/sim-cognito-user-pool.js.map +1 -1
- package/dist/service/iam/authorize/match/condition/arn/equals/sim-iam-arn-equals.d.ts +14 -0
- package/dist/service/iam/authorize/match/condition/arn/equals/sim-iam-arn-equals.d.ts.map +1 -0
- package/dist/service/iam/authorize/match/condition/arn/equals/sim-iam-arn-equals.js +17 -0
- package/dist/service/iam/authorize/match/condition/arn/equals/sim-iam-arn-equals.js.map +1 -0
- package/dist/service/iam/authorize/match/condition/arn/like/sim-iam-arn-like.d.ts +13 -0
- package/dist/service/iam/authorize/match/condition/arn/like/sim-iam-arn-like.d.ts.map +1 -0
- package/dist/service/iam/authorize/match/condition/arn/like/sim-iam-arn-like.js +16 -0
- package/dist/service/iam/authorize/match/condition/arn/like/sim-iam-arn-like.js.map +1 -0
- package/dist/service/iam/authorize/match/condition/sim-iam-condition-operator-parser.d.ts.map +1 -1
- package/dist/service/iam/authorize/match/condition/sim-iam-condition-operator-parser.js +4 -0
- package/dist/service/iam/authorize/match/condition/sim-iam-condition-operator-parser.js.map +1 -1
- package/dist/service/iam/authorize/match/sim-iam-policy-principal-matcher.d.ts +4 -0
- package/dist/service/iam/authorize/match/sim-iam-policy-principal-matcher.d.ts.map +1 -1
- package/dist/service/iam/authorize/match/sim-iam-policy-principal-matcher.js +4 -3
- package/dist/service/iam/authorize/match/sim-iam-policy-principal-matcher.js.map +1 -1
- package/dist/service/iam/authorize/sim-iam-arn-match.d.ts +12 -0
- package/dist/service/iam/authorize/sim-iam-arn-match.d.ts.map +1 -0
- package/dist/service/iam/authorize/sim-iam-arn-match.js +45 -0
- package/dist/service/iam/authorize/sim-iam-arn-match.js.map +1 -0
- package/dist/service/iam/command/role/list-roles/list-roles.handler.js +2 -2
- package/dist/service/iam/command/role/list-roles/list-roles.handler.js.map +1 -1
- package/dist/service/lambda/function/policy/sim-lambda-permission.d.ts +6 -5
- package/dist/service/lambda/function/policy/sim-lambda-permission.d.ts.map +1 -1
- package/dist/service/lambda/function/policy/sim-lambda-permission.js +6 -5
- package/dist/service/lambda/function/policy/sim-lambda-permission.js.map +1 -1
- package/dist/service/lambda/serve/event/sim-lambda-url-endpoint.d.ts +13 -0
- package/dist/service/lambda/serve/event/sim-lambda-url-endpoint.d.ts.map +1 -0
- package/dist/service/lambda/serve/event/sim-lambda-url-endpoint.js +19 -0
- package/dist/service/lambda/serve/event/sim-lambda-url-endpoint.js.map +1 -0
- package/dist/service/lambda/serve/event/sim-lambda-url-event.type.d.ts +9 -93
- package/dist/service/lambda/serve/event/sim-lambda-url-event.type.d.ts.map +1 -1
- package/dist/service/lambda/serve/sim-lambda-controller.d.ts.map +1 -1
- package/dist/service/lambda/serve/sim-lambda-controller.js +6 -5
- package/dist/service/lambda/serve/sim-lambda-controller.js.map +1 -1
- package/dist/service/route53/resolve/sim-r53-service-target-resolver.d.ts +12 -0
- package/dist/service/route53/resolve/sim-r53-service-target-resolver.d.ts.map +1 -1
- package/dist/service/route53/resolve/sim-r53-service-target-resolver.js +32 -0
- package/dist/service/route53/resolve/sim-r53-service-target-resolver.js.map +1 -1
- package/dist/service/s3/bucket/website/redirect/s3-bucket-website-redirects.js +2 -2
- package/dist/service/s3/bucket/website/redirect/s3-bucket-website-redirects.js.map +1 -1
- package/dist/util/jwt/sim-jwt-claims.d.ts +54 -0
- package/dist/util/jwt/sim-jwt-claims.d.ts.map +1 -0
- package/dist/util/jwt/sim-jwt-claims.js +77 -0
- package/dist/util/jwt/sim-jwt-claims.js.map +1 -0
- package/dist/util/jwt/sim-jwt-keys.d.ts +32 -0
- package/dist/util/jwt/sim-jwt-keys.d.ts.map +1 -0
- package/dist/util/jwt/sim-jwt-keys.js +24 -0
- package/dist/util/jwt/sim-jwt-keys.js.map +1 -0
- package/dist/util/jwt/sim-jwt-rs256.d.ts +38 -0
- package/dist/util/jwt/sim-jwt-rs256.d.ts.map +1 -0
- package/dist/util/jwt/sim-jwt-rs256.js +60 -0
- package/dist/util/jwt/sim-jwt-rs256.js.map +1 -0
- package/dist/util/jwt/sim-jwt.d.ts +43 -0
- package/dist/util/jwt/sim-jwt.d.ts.map +1 -0
- package/dist/util/jwt/sim-jwt.error.d.ts +13 -0
- package/dist/util/jwt/sim-jwt.error.d.ts.map +1 -0
- package/dist/util/jwt/sim-jwt.error.js +13 -0
- package/dist/util/jwt/sim-jwt.error.js.map +1 -0
- package/dist/util/jwt/sim-jwt.js +94 -0
- package/dist/util/jwt/sim-jwt.js.map +1 -0
- package/package.json +36 -31
- package/dist/service/lambda/serve/event/sim-lambda-url-body-encoding.d.ts.map +0 -1
- package/dist/service/lambda/serve/event/sim-lambda-url-body-encoding.js.map +0 -1
- package/dist/service/lambda/serve/event/sim-lambda-url-event-builder.d.ts +0 -36
- package/dist/service/lambda/serve/event/sim-lambda-url-event-builder.d.ts.map +0 -1
- package/dist/service/lambda/serve/event/sim-lambda-url-event-builder.js +0 -61
- package/dist/service/lambda/serve/event/sim-lambda-url-event-builder.js.map +0 -1
- package/dist/service/lambda/serve/event/sim-lambda-url-event-time.d.ts.map +0 -1
- package/dist/service/lambda/serve/event/sim-lambda-url-event-time.js.map +0 -1
- package/dist/service/lambda/serve/event/sim-lambda-url-iam-authorizer.d.ts +0 -30
- package/dist/service/lambda/serve/event/sim-lambda-url-iam-authorizer.d.ts.map +0 -1
- package/dist/service/lambda/serve/event/sim-lambda-url-iam-authorizer.js.map +0 -1
- package/dist/service/lambda/serve/event/sim-lambda-url-request-context.d.ts +0 -29
- package/dist/service/lambda/serve/event/sim-lambda-url-request-context.d.ts.map +0 -1
- package/dist/service/lambda/serve/event/sim-lambda-url-request-context.js +0 -54
- package/dist/service/lambda/serve/event/sim-lambda-url-request-context.js.map +0 -1
- package/dist/service/lambda/serve/event/sim-lambda-url-request-parts.d.ts.map +0 -1
- package/dist/service/lambda/serve/event/sim-lambda-url-request-parts.js.map +0 -1
- package/dist/service/lambda/serve/response/sim-lambda-url-response-builder.d.ts +0 -21
- package/dist/service/lambda/serve/response/sim-lambda-url-response-builder.d.ts.map +0 -1
- package/dist/service/lambda/serve/response/sim-lambda-url-response-builder.js.map +0 -1
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Minimal structural view of a JWT authorizer's configuration, as the Create
|
|
3
|
+
* and Get commands carry it.
|
|
4
|
+
*/
|
|
5
|
+
export interface SimHttpApiJwtConfigurationView {
|
|
6
|
+
Issuer: string;
|
|
7
|
+
Audience: string[];
|
|
8
|
+
}
|
|
9
|
+
interface SimHttpApiJwtConfigurationProperties {
|
|
10
|
+
readonly issuer: string;
|
|
11
|
+
readonly audience: readonly string[];
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Which issuer a JWT authorizer trusts, and which audiences it accepts.
|
|
15
|
+
*
|
|
16
|
+
* The issuer is compared to the token's `iss` exactly. Real API Gateway
|
|
17
|
+
* compares them as strings too, which is why a configured issuer with a
|
|
18
|
+
* trailing slash rejects tokens from the same issuer without one.
|
|
19
|
+
*/
|
|
20
|
+
export declare class SimHttpApiJwtConfiguration {
|
|
21
|
+
readonly issuer: string;
|
|
22
|
+
readonly audience: readonly string[];
|
|
23
|
+
constructor(properties: SimHttpApiJwtConfigurationProperties);
|
|
24
|
+
/**
|
|
25
|
+
* Whether a token's `iss` names the issuer this authorizer trusts.
|
|
26
|
+
*/
|
|
27
|
+
trustsIssuer(issuer: string | undefined): boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Whether any audience the token claims is one this authorizer accepts.
|
|
30
|
+
*/
|
|
31
|
+
acceptsAudience(claimed: readonly string[]): boolean;
|
|
32
|
+
/**
|
|
33
|
+
* The AWS-like view of this configuration.
|
|
34
|
+
*/
|
|
35
|
+
view(): SimHttpApiJwtConfigurationView;
|
|
36
|
+
}
|
|
37
|
+
export {};
|
|
38
|
+
//# sourceMappingURL=sim-http-api-jwt-configuration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-jwt-configuration.d.ts","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/api/authorizer/sim-http-api-jwt-configuration.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,8BAA8B;IAC7C,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,UAAU,oCAAoC;IAC5C,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;CACtC;AAED;;;;;;GAMG;AACH,qBAAa,0BAA0B;IACrC,SAAgB,MAAM,EAAE,MAAM,CAAC;IAC/B,SAAgB,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;IAE5C,YAAY,UAAU,EAAE,oCAAoC,EAG3D;IAED;;OAEG;IACH,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAEhD;IAED;;OAEG;IACH,eAAe,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,GAAG,OAAO,CAEnD;IAED;;OAEG;IACH,IAAI,IAAI,8BAA8B,CAErC;CACF"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Which issuer a JWT authorizer trusts, and which audiences it accepts.
|
|
3
|
+
*
|
|
4
|
+
* The issuer is compared to the token's `iss` exactly. Real API Gateway
|
|
5
|
+
* compares them as strings too, which is why a configured issuer with a
|
|
6
|
+
* trailing slash rejects tokens from the same issuer without one.
|
|
7
|
+
*/
|
|
8
|
+
export class SimHttpApiJwtConfiguration {
|
|
9
|
+
issuer;
|
|
10
|
+
audience;
|
|
11
|
+
constructor(properties) {
|
|
12
|
+
this.issuer = properties.issuer;
|
|
13
|
+
this.audience = properties.audience;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Whether a token's `iss` names the issuer this authorizer trusts.
|
|
17
|
+
*/
|
|
18
|
+
trustsIssuer(issuer) {
|
|
19
|
+
return issuer === this.issuer;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Whether any audience the token claims is one this authorizer accepts.
|
|
23
|
+
*/
|
|
24
|
+
acceptsAudience(claimed) {
|
|
25
|
+
return claimed.some((audience) => this.audience.includes(audience));
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* The AWS-like view of this configuration.
|
|
29
|
+
*/
|
|
30
|
+
view() {
|
|
31
|
+
return { Issuer: this.issuer, Audience: [...this.audience] };
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=sim-http-api-jwt-configuration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-jwt-configuration.js","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/api/authorizer/sim-http-api-jwt-configuration.ts"],"names":[],"mappings":"AAcA;;;;;;GAMG;AACH,MAAM,OAAO,0BAA0B;IACrB,MAAM,CAAS;IACf,QAAQ,CAAoB;IAE5C,YAAY,UAAgD;QAC1D,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;QAChC,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC;IACtC,CAAC;IAED;;OAEG;IACH,YAAY,CAAC,MAA0B;QACrC,OAAO,MAAM,KAAK,IAAI,CAAC,MAAM,CAAC;IAChC,CAAC;IAED;;OAEG;IACH,eAAe,CAAC,OAA0B;QACxC,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC;IACtE,CAAC;IAED;;OAEG;IACH,IAAI;QACF,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,QAAQ,EAAE,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;IAC/D,CAAC;CACF"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { SimJwtKeys } from "../../../../util/jwt/sim-jwt-keys.js";
|
|
2
|
+
/**
|
|
3
|
+
* The signing keys an issuer publishes, as a JWT authorizer sees them.
|
|
4
|
+
*
|
|
5
|
+
* A JWT authorizer accepts any OIDC issuer, so this port is how it reaches one
|
|
6
|
+
* without depending on whatever simulated service happens to be that issuer.
|
|
7
|
+
* A standalone SimApiGatewayV2 has the refusing implementation below, which is
|
|
8
|
+
* what makes an authorizer with nothing behind its issuer refuse every token
|
|
9
|
+
* rather than admit one it could not check.
|
|
10
|
+
*
|
|
11
|
+
* Nothing is fetched over HTTP. A pool's published OpenID configuration names
|
|
12
|
+
* the localhost origin it is served from, while its tokens name the real AWS
|
|
13
|
+
* URL, so a discovery client would reject its own issuer's tokens. Resolving
|
|
14
|
+
* in process compares the two strings that both come from the same getter.
|
|
15
|
+
*/
|
|
16
|
+
export interface SimHttpApiJwtIssuerKeys {
|
|
17
|
+
/**
|
|
18
|
+
* The keys published by the issuer this URL names, which is an empty set
|
|
19
|
+
* when nothing in the simulation issues for it.
|
|
20
|
+
*/
|
|
21
|
+
publishedBy(issuerUrl: string): SimJwtKeys;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* The keys available to an API Gateway that has no issuer to ask.
|
|
25
|
+
*
|
|
26
|
+
* Every issuer publishes nothing, so every token fails key selection and every
|
|
27
|
+
* request to a JWT route is refused. That is the safe answer for a simulated
|
|
28
|
+
* API Gateway standing on its own: a route configured to be closed stays
|
|
29
|
+
* closed.
|
|
30
|
+
*/
|
|
31
|
+
export declare class SimHttpApiNoJwtIssuerKeys implements SimHttpApiJwtIssuerKeys {
|
|
32
|
+
/**
|
|
33
|
+
* No issuer publishes anything here.
|
|
34
|
+
*/
|
|
35
|
+
publishedBy(): SimJwtKeys;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=sim-http-api-jwt-issuer-keys.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-jwt-issuer-keys.d.ts","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/api/authorizer/sim-http-api-jwt-issuer-keys.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAElE;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,uBAAuB;IACtC;;;OAGG;IACH,WAAW,CAAC,SAAS,EAAE,MAAM,GAAG,UAAU,CAAC;CAC5C;AAED;;;;;;;GAOG;AACH,qBAAa,yBAA0B,YAAW,uBAAuB;IACvE;;OAEG;IACH,WAAW,IAAI,UAAU,CAExB;CACF"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { SimJwtKeys } from "../../../../util/jwt/sim-jwt-keys.js";
|
|
2
|
+
/**
|
|
3
|
+
* The keys available to an API Gateway that has no issuer to ask.
|
|
4
|
+
*
|
|
5
|
+
* Every issuer publishes nothing, so every token fails key selection and every
|
|
6
|
+
* request to a JWT route is refused. That is the safe answer for a simulated
|
|
7
|
+
* API Gateway standing on its own: a route configured to be closed stays
|
|
8
|
+
* closed.
|
|
9
|
+
*/
|
|
10
|
+
export class SimHttpApiNoJwtIssuerKeys {
|
|
11
|
+
/**
|
|
12
|
+
* No issuer publishes anything here.
|
|
13
|
+
*/
|
|
14
|
+
publishedBy() {
|
|
15
|
+
return new SimJwtKeys([]);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=sim-http-api-jwt-issuer-keys.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-jwt-issuer-keys.js","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/api/authorizer/sim-http-api-jwt-issuer-keys.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAwBlE;;;;;;;GAOG;AACH,MAAM,OAAO,yBAAyB;IACpC;;OAEG;IACH,WAAW;QACT,OAAO,IAAI,UAAU,CAAC,EAAE,CAAC,CAAC;IAC5B,CAAC;CACF"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { SimClock } from "../../../../util/clock/sim-clock.js";
|
|
2
|
+
import type { SimHttpApiAuthorizer } from "./sim-http-api-authorizer.js";
|
|
3
|
+
import { type SimHttpApiAuthorization } from "./sim-http-api-authorization.js";
|
|
4
|
+
import type { SimHttpApiJwtIssuerKeys } from "./sim-http-api-jwt-issuer-keys.js";
|
|
5
|
+
interface SimHttpApiJwtVerificationProperties {
|
|
6
|
+
readonly issuerKeys: SimHttpApiJwtIssuerKeys;
|
|
7
|
+
readonly clock: SimClock;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Verifies one token against one JWT authorizer.
|
|
11
|
+
*
|
|
12
|
+
* The checks run in the order AWS documents: decode the token, check its
|
|
13
|
+
* algorithm, find the key its `kid` names, verify the signature, then validate
|
|
14
|
+
* the claims. AWS lists the signature above the key id; the key has to be
|
|
15
|
+
* chosen before a signature can be checked, and every one of these answers the
|
|
16
|
+
* same 401, so the two are not distinguishable from outside.
|
|
17
|
+
*
|
|
18
|
+
* `token_use` is not checked, which is what real API Gateway does. An id token
|
|
19
|
+
* therefore passes an authorizer configured only with an audience, because its
|
|
20
|
+
* `aud` is the app client id. Route scopes are the only thing that tells the
|
|
21
|
+
* two token types apart, and they are the route's business rather than this
|
|
22
|
+
* one's.
|
|
23
|
+
*/
|
|
24
|
+
export declare class SimHttpApiJwtVerification {
|
|
25
|
+
private readonly issuerKeys;
|
|
26
|
+
private readonly claimChecks;
|
|
27
|
+
private readonly rs256;
|
|
28
|
+
constructor(properties: SimHttpApiJwtVerificationProperties);
|
|
29
|
+
/**
|
|
30
|
+
* Verify a token, answering what the endpoint should do with the request
|
|
31
|
+
* that carried it.
|
|
32
|
+
*/
|
|
33
|
+
verify(authorizer: SimHttpApiAuthorizer, token: string): SimHttpApiAuthorization;
|
|
34
|
+
/**
|
|
35
|
+
* Read the token, or answer undefined for one that is not a JWT at all.
|
|
36
|
+
*
|
|
37
|
+
* The refusal for an unreadable token and for one that fails verification is
|
|
38
|
+
* the same, so nothing is gained by carrying the parse error further.
|
|
39
|
+
*/
|
|
40
|
+
private decode;
|
|
41
|
+
}
|
|
42
|
+
export {};
|
|
43
|
+
//# sourceMappingURL=sim-http-api-jwt-verification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-jwt-verification.d.ts","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/api/authorizer/sim-http-api-jwt-verification.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAGpE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,EAEL,KAAK,uBAAuB,EAE7B,MAAM,iCAAiC,CAAC;AAGzC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAEjF,UAAU,mCAAmC;IAC3C,QAAQ,CAAC,UAAU,EAAE,uBAAuB,CAAC;IAC7C,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC;CAC1B;AAED;;;;;;;;;;;;;;GAcG;AACH,qBAAa,yBAAyB;IACpC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA0B;IACrD,OAAO,CAAC,QAAQ,CAAC,WAAW,CAA2B;IACvD,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAqB;IAE3C,YAAY,UAAU,EAAE,mCAAmC,EAK1D;IAED;;;OAGG;IACH,MAAM,CACJ,UAAU,EAAE,oBAAoB,EAChC,KAAK,EAAE,MAAM,GACZ,uBAAuB,CA0BzB;IAED;;;;;OAKG;IACH,OAAO,CAAC,MAAM;CAOf"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { SimJwtRs256 } from "../../../../util/jwt/sim-jwt-rs256.js";
|
|
2
|
+
import { SimJwt } from "../../../../util/jwt/sim-jwt.js";
|
|
3
|
+
import { SimHttpApiAdmitted, SimHttpApiRefused, } from "./sim-http-api-authorization.js";
|
|
4
|
+
import { SimHttpApiJwtClaimChecks } from "./sim-http-api-jwt-claim-checks.js";
|
|
5
|
+
import { SimHttpApiJwtClaims } from "./sim-http-api-jwt-claims.js";
|
|
6
|
+
/**
|
|
7
|
+
* Verifies one token against one JWT authorizer.
|
|
8
|
+
*
|
|
9
|
+
* The checks run in the order AWS documents: decode the token, check its
|
|
10
|
+
* algorithm, find the key its `kid` names, verify the signature, then validate
|
|
11
|
+
* the claims. AWS lists the signature above the key id; the key has to be
|
|
12
|
+
* chosen before a signature can be checked, and every one of these answers the
|
|
13
|
+
* same 401, so the two are not distinguishable from outside.
|
|
14
|
+
*
|
|
15
|
+
* `token_use` is not checked, which is what real API Gateway does. An id token
|
|
16
|
+
* therefore passes an authorizer configured only with an audience, because its
|
|
17
|
+
* `aud` is the app client id. Route scopes are the only thing that tells the
|
|
18
|
+
* two token types apart, and they are the route's business rather than this
|
|
19
|
+
* one's.
|
|
20
|
+
*/
|
|
21
|
+
export class SimHttpApiJwtVerification {
|
|
22
|
+
issuerKeys;
|
|
23
|
+
claimChecks;
|
|
24
|
+
rs256 = new SimJwtRs256();
|
|
25
|
+
constructor(properties) {
|
|
26
|
+
this.issuerKeys = properties.issuerKeys;
|
|
27
|
+
this.claimChecks = new SimHttpApiJwtClaimChecks({
|
|
28
|
+
clock: properties.clock,
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Verify a token, answering what the endpoint should do with the request
|
|
33
|
+
* that carried it.
|
|
34
|
+
*/
|
|
35
|
+
verify(authorizer, token) {
|
|
36
|
+
const jwt = this.decode(token);
|
|
37
|
+
if (jwt === undefined) {
|
|
38
|
+
return SimHttpApiRefused.unauthorized();
|
|
39
|
+
}
|
|
40
|
+
if (!this.rs256.isSupportedAlgorithm(jwt)) {
|
|
41
|
+
return SimHttpApiRefused.unauthorized();
|
|
42
|
+
}
|
|
43
|
+
const { jwtConfiguration } = authorizer;
|
|
44
|
+
const key = this.issuerKeys
|
|
45
|
+
.publishedBy(jwtConfiguration.issuer)
|
|
46
|
+
.find(jwt.header.kid);
|
|
47
|
+
if (key === undefined || !this.rs256.verify(jwt, key)) {
|
|
48
|
+
return SimHttpApiRefused.unauthorized();
|
|
49
|
+
}
|
|
50
|
+
return (this.claimChecks.check(jwt.claims, jwtConfiguration) ??
|
|
51
|
+
new SimHttpApiAdmitted({
|
|
52
|
+
jwt: new SimHttpApiJwtClaims(jwt.claims).toAuthorizerContext(),
|
|
53
|
+
}));
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Read the token, or answer undefined for one that is not a JWT at all.
|
|
57
|
+
*
|
|
58
|
+
* The refusal for an unreadable token and for one that fails verification is
|
|
59
|
+
* the same, so nothing is gained by carrying the parse error further.
|
|
60
|
+
*/
|
|
61
|
+
decode(token) {
|
|
62
|
+
try {
|
|
63
|
+
return SimJwt.parse(token);
|
|
64
|
+
}
|
|
65
|
+
catch {
|
|
66
|
+
return undefined;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=sim-http-api-jwt-verification.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-jwt-verification.js","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/api/authorizer/sim-http-api-jwt-verification.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AAEzD,OAAO,EACL,kBAAkB,EAElB,iBAAiB,GAClB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAQnE;;;;;;;;;;;;;;GAcG;AACH,MAAM,OAAO,yBAAyB;IACnB,UAAU,CAA0B;IACpC,WAAW,CAA2B;IACtC,KAAK,GAAG,IAAI,WAAW,EAAE,CAAC;IAE3C,YAAY,UAA+C;QACzD,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;QACxC,IAAI,CAAC,WAAW,GAAG,IAAI,wBAAwB,CAAC;YAC9C,KAAK,EAAE,UAAU,CAAC,KAAK;SACxB,CAAC,CAAC;IACL,CAAC;IAED;;;OAGG;IACH,MAAM,CACJ,UAAgC,EAChC,KAAa;QAEb,MAAM,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAE/B,IAAI,GAAG,KAAK,SAAS,EAAE,CAAC;YACtB,OAAO,iBAAiB,CAAC,YAAY,EAAE,CAAC;QAC1C,CAAC;QAED,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,GAAG,CAAC,EAAE,CAAC;YAC1C,OAAO,iBAAiB,CAAC,YAAY,EAAE,CAAC;QAC1C,CAAC;QAED,MAAM,EAAE,gBAAgB,EAAE,GAAG,UAAU,CAAC;QACxC,MAAM,GAAG,GAAG,IAAI,CAAC,UAAU;aACxB,WAAW,CAAC,gBAAgB,CAAC,MAAM,CAAC;aACpC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;QAExB,IAAI,GAAG,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,CAAC;YACtD,OAAO,iBAAiB,CAAC,YAAY,EAAE,CAAC;QAC1C,CAAC;QAED,OAAO,CACL,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC;YACpD,IAAI,kBAAkB,CAAC;gBACrB,GAAG,EAAE,IAAI,mBAAmB,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,mBAAmB,EAAE;aAC/D,CAAC,CACH,CAAC;IACJ,CAAC;IAED;;;;;OAKG;IACK,MAAM,CAAC,KAAa;QAC1B,IAAI,CAAC;YACH,OAAO,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QAC7B,CAAC;QAAC,MAAM,CAAC;YACP,OAAO,SAAS,CAAC;QACnB,CAAC;IACH,CAAC;CACF"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type SimHttpApiIntegration, type SimHttpApiIntegrationId } from "./sim-http-api-integration.js";
|
|
2
|
+
/**
|
|
3
|
+
* The integrations of one API, keyed by the id the API allocated for them.
|
|
4
|
+
*
|
|
5
|
+
* Integrations belong to an API on real AWS, so ids only have to be unique
|
|
6
|
+
* within one, and this store is what makes them so.
|
|
7
|
+
*/
|
|
8
|
+
export declare class SimHttpApiIntegrationStore {
|
|
9
|
+
private readonly integrations;
|
|
10
|
+
/**
|
|
11
|
+
* Allocate an integration id this API is not already using.
|
|
12
|
+
*/
|
|
13
|
+
allocateId(): SimHttpApiIntegrationId;
|
|
14
|
+
/**
|
|
15
|
+
* Add an integration to this API.
|
|
16
|
+
*/
|
|
17
|
+
add(integration: SimHttpApiIntegration): void;
|
|
18
|
+
/**
|
|
19
|
+
* Find an integration by id.
|
|
20
|
+
*/
|
|
21
|
+
find(integrationId: string): SimHttpApiIntegration | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* List every integration of this API, in the order they were created.
|
|
24
|
+
*/
|
|
25
|
+
list(): SimHttpApiIntegration[];
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=sim-http-api-integration-store.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-integration-store.d.ts","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/api/integration/sim-http-api-integration-store.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAE7B,MAAM,+BAA+B,CAAC;AAEvC;;;;;GAKG;AACH,qBAAa,0BAA0B;IACrC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAGzB;IAEJ;;OAEG;IACH,UAAU,IAAI,uBAAuB,CASpC;IAED;;OAEG;IACH,GAAG,CAAC,WAAW,EAAE,qBAAqB,GAAG,IAAI,CAE5C;IAED;;OAEG;IACH,IAAI,CAAC,aAAa,EAAE,MAAM,GAAG,qBAAqB,GAAG,SAAS,CAE7D;IAED;;OAEG;IACH,IAAI,IAAI,qBAAqB,EAAE,CAE9B;CACF"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { makeSimHttpApiIntegrationId, } from "./sim-http-api-integration.js";
|
|
2
|
+
/**
|
|
3
|
+
* The integrations of one API, keyed by the id the API allocated for them.
|
|
4
|
+
*
|
|
5
|
+
* Integrations belong to an API on real AWS, so ids only have to be unique
|
|
6
|
+
* within one, and this store is what makes them so.
|
|
7
|
+
*/
|
|
8
|
+
export class SimHttpApiIntegrationStore {
|
|
9
|
+
integrations = new Map();
|
|
10
|
+
/**
|
|
11
|
+
* Allocate an integration id this API is not already using.
|
|
12
|
+
*/
|
|
13
|
+
allocateId() {
|
|
14
|
+
let integrationId = makeSimHttpApiIntegrationId();
|
|
15
|
+
while (this.integrations.has(integrationId)) {
|
|
16
|
+
/* v8 ignore next -- does not happen in practice */
|
|
17
|
+
integrationId = makeSimHttpApiIntegrationId();
|
|
18
|
+
}
|
|
19
|
+
return integrationId;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Add an integration to this API.
|
|
23
|
+
*/
|
|
24
|
+
add(integration) {
|
|
25
|
+
this.integrations.set(integration.integrationId, integration);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Find an integration by id.
|
|
29
|
+
*/
|
|
30
|
+
find(integrationId) {
|
|
31
|
+
return this.integrations.get(integrationId);
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* List every integration of this API, in the order they were created.
|
|
35
|
+
*/
|
|
36
|
+
list() {
|
|
37
|
+
return this.integrations.values().toArray();
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=sim-http-api-integration-store.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-integration-store.js","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/api/integration/sim-http-api-integration-store.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,2BAA2B,GAC5B,MAAM,+BAA+B,CAAC;AAEvC;;;;;GAKG;AACH,MAAM,OAAO,0BAA0B;IACpB,YAAY,GAAG,IAAI,GAAG,EAGpC,CAAC;IAEJ;;OAEG;IACH,UAAU;QACR,IAAI,aAAa,GAAG,2BAA2B,EAAE,CAAC;QAElD,OAAO,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,CAAC;YAC5C,mDAAmD;YACnD,aAAa,GAAG,2BAA2B,EAAE,CAAC;QAChD,CAAC;QAED,OAAO,aAAa,CAAC;IACvB,CAAC;IAED;;OAEG;IACH,GAAG,CAAC,WAAkC;QACpC,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,WAAW,CAAC,aAAa,EAAE,WAAW,CAAC,CAAC;IAChE,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,aAAqB;QACxB,OAAO,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,aAAwC,CAAC,CAAC;IACzE,CAAC;IAED;;OAEG;IACH,IAAI;QACF,OAAO,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE,CAAC;IAC9C,CAAC;CACF"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import type { Brand } from "../../../../util/brand.type.js";
|
|
2
|
+
import type { SimHttpApiLambdaUri } from "./sim-http-api-lambda-uri.js";
|
|
3
|
+
/**
|
|
4
|
+
* The id API Gateway allocates for one integration.
|
|
5
|
+
*/
|
|
6
|
+
export type SimHttpApiIntegrationId = Brand<string, "SimHttpApiIntegrationId">;
|
|
7
|
+
/**
|
|
8
|
+
* The only integration type simulated: a Lambda proxy integration.
|
|
9
|
+
*/
|
|
10
|
+
export type SimHttpApiIntegrationType = "AWS_PROXY";
|
|
11
|
+
/**
|
|
12
|
+
* The only payload format simulated. Format 1.0 is refused rather than quietly
|
|
13
|
+
* treated as 2.0, because a handler written for 1.0 reads event fields a 2.0
|
|
14
|
+
* event does not have.
|
|
15
|
+
*/
|
|
16
|
+
export type SimHttpApiPayloadFormatVersion = "2.0";
|
|
17
|
+
/**
|
|
18
|
+
* Allocate an integration id.
|
|
19
|
+
*
|
|
20
|
+
* Real API Gateway ids are opaque short lowercase alphanumeric strings; the
|
|
21
|
+
* exact length is not part of the API contract, so only the shape is matched.
|
|
22
|
+
*/
|
|
23
|
+
export declare function makeSimHttpApiIntegrationId(): SimHttpApiIntegrationId;
|
|
24
|
+
interface SimHttpApiIntegrationProperties {
|
|
25
|
+
readonly integrationId: SimHttpApiIntegrationId;
|
|
26
|
+
readonly integrationType: SimHttpApiIntegrationType;
|
|
27
|
+
readonly lambdaUri: SimHttpApiLambdaUri;
|
|
28
|
+
readonly payloadFormatVersion: SimHttpApiPayloadFormatVersion;
|
|
29
|
+
readonly description?: string | undefined;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Minimal structural integration view, as the Create and Get commands return.
|
|
33
|
+
*/
|
|
34
|
+
export interface SimHttpApiIntegrationView {
|
|
35
|
+
IntegrationId: string;
|
|
36
|
+
IntegrationType: SimHttpApiIntegrationType;
|
|
37
|
+
IntegrationUri: string;
|
|
38
|
+
PayloadFormatVersion: SimHttpApiPayloadFormatVersion;
|
|
39
|
+
Description?: string;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* A simulated HTTP API integration: what the API does with a request one of
|
|
43
|
+
* its routes matched.
|
|
44
|
+
*
|
|
45
|
+
* Only `AWS_PROXY` is modelled, so an integration is a Lambda function and the
|
|
46
|
+
* payload format that function is invoked with.
|
|
47
|
+
*/
|
|
48
|
+
export declare class SimHttpApiIntegration {
|
|
49
|
+
readonly integrationId: SimHttpApiIntegrationId;
|
|
50
|
+
readonly integrationType: SimHttpApiIntegrationType;
|
|
51
|
+
readonly lambdaUri: SimHttpApiLambdaUri;
|
|
52
|
+
readonly payloadFormatVersion: SimHttpApiPayloadFormatVersion;
|
|
53
|
+
readonly description?: string | undefined;
|
|
54
|
+
constructor(properties: SimHttpApiIntegrationProperties);
|
|
55
|
+
/**
|
|
56
|
+
* The ARN of the Lambda function this integration invokes, as the request
|
|
57
|
+
* gave it and the API hands it back.
|
|
58
|
+
*/
|
|
59
|
+
get integrationUri(): string;
|
|
60
|
+
/**
|
|
61
|
+
* Get the AWS-like view of this integration.
|
|
62
|
+
*/
|
|
63
|
+
view(): SimHttpApiIntegrationView;
|
|
64
|
+
}
|
|
65
|
+
export {};
|
|
66
|
+
//# sourceMappingURL=sim-http-api-integration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-integration.d.ts","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/api/integration/sim-http-api-integration.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAC5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAExE;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,KAAK,CAAC,MAAM,EAAE,yBAAyB,CAAC,CAAC;AAE/E;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,WAAW,CAAC;AAEpD;;;;GAIG;AACH,MAAM,MAAM,8BAA8B,GAAG,KAAK,CAAC;AAEnD;;;;;GAKG;AACH,wBAAgB,2BAA2B,IAAI,uBAAuB,CAErE;AAED,UAAU,+BAA+B;IACvC,QAAQ,CAAC,aAAa,EAAE,uBAAuB,CAAC;IAChD,QAAQ,CAAC,eAAe,EAAE,yBAAyB,CAAC;IACpD,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;IACxC,QAAQ,CAAC,oBAAoB,EAAE,8BAA8B,CAAC;IAC9D,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3C;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,yBAAyB,CAAC;IAC3C,cAAc,EAAE,MAAM,CAAC;IACvB,oBAAoB,EAAE,8BAA8B,CAAC;IACrD,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;GAMG;AACH,qBAAa,qBAAqB;IAChC,SAAgB,aAAa,EAAE,uBAAuB,CAAC;IACvD,SAAgB,eAAe,EAAE,yBAAyB,CAAC;IAC3D,SAAgB,SAAS,EAAE,mBAAmB,CAAC;IAC/C,SAAgB,oBAAoB,EAAE,8BAA8B,CAAC;IACrE,SAAgB,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAEjD,YAAY,UAAU,EAAE,+BAA+B,EAMtD;IAED;;;OAGG;IACH,IAAI,cAAc,IAAI,MAAM,CAE3B;IAED;;OAEG;IACH,IAAI,IAAI,yBAAyB,CAahC;CACF"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { faker } from "@faker-js/faker";
|
|
2
|
+
/**
|
|
3
|
+
* Allocate an integration id.
|
|
4
|
+
*
|
|
5
|
+
* Real API Gateway ids are opaque short lowercase alphanumeric strings; the
|
|
6
|
+
* exact length is not part of the API contract, so only the shape is matched.
|
|
7
|
+
*/
|
|
8
|
+
export function makeSimHttpApiIntegrationId() {
|
|
9
|
+
return faker.helpers.fromRegExp(/[a-z0-9]{8}/);
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* A simulated HTTP API integration: what the API does with a request one of
|
|
13
|
+
* its routes matched.
|
|
14
|
+
*
|
|
15
|
+
* Only `AWS_PROXY` is modelled, so an integration is a Lambda function and the
|
|
16
|
+
* payload format that function is invoked with.
|
|
17
|
+
*/
|
|
18
|
+
export class SimHttpApiIntegration {
|
|
19
|
+
integrationId;
|
|
20
|
+
integrationType;
|
|
21
|
+
lambdaUri;
|
|
22
|
+
payloadFormatVersion;
|
|
23
|
+
description;
|
|
24
|
+
constructor(properties) {
|
|
25
|
+
this.integrationId = properties.integrationId;
|
|
26
|
+
this.integrationType = properties.integrationType;
|
|
27
|
+
this.lambdaUri = properties.lambdaUri;
|
|
28
|
+
this.payloadFormatVersion = properties.payloadFormatVersion;
|
|
29
|
+
this.description = properties.description;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* The ARN of the Lambda function this integration invokes, as the request
|
|
33
|
+
* gave it and the API hands it back.
|
|
34
|
+
*/
|
|
35
|
+
get integrationUri() {
|
|
36
|
+
return this.lambdaUri.uri;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Get the AWS-like view of this integration.
|
|
40
|
+
*/
|
|
41
|
+
view() {
|
|
42
|
+
const view = {
|
|
43
|
+
IntegrationId: this.integrationId,
|
|
44
|
+
IntegrationType: this.integrationType,
|
|
45
|
+
IntegrationUri: this.integrationUri,
|
|
46
|
+
PayloadFormatVersion: this.payloadFormatVersion,
|
|
47
|
+
};
|
|
48
|
+
if (this.description !== undefined) {
|
|
49
|
+
view.Description = this.description;
|
|
50
|
+
}
|
|
51
|
+
return view;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=sim-http-api-integration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-integration.js","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/api/integration/sim-http-api-integration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAsBxC;;;;;GAKG;AACH,MAAM,UAAU,2BAA2B;IACzC,OAAO,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,aAAa,CAA4B,CAAC;AAC5E,CAAC;AAqBD;;;;;;GAMG;AACH,MAAM,OAAO,qBAAqB;IAChB,aAAa,CAA0B;IACvC,eAAe,CAA4B;IAC3C,SAAS,CAAsB;IAC/B,oBAAoB,CAAiC;IACrD,WAAW,CAAsB;IAEjD,YAAY,UAA2C;QACrD,IAAI,CAAC,aAAa,GAAG,UAAU,CAAC,aAAa,CAAC;QAC9C,IAAI,CAAC,eAAe,GAAG,UAAU,CAAC,eAAe,CAAC;QAClD,IAAI,CAAC,SAAS,GAAG,UAAU,CAAC,SAAS,CAAC;QACtC,IAAI,CAAC,oBAAoB,GAAG,UAAU,CAAC,oBAAoB,CAAC;QAC5D,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC,WAAW,CAAC;IAC5C,CAAC;IAED;;;OAGG;IACH,IAAI,cAAc;QAChB,OAAO,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC;IAC5B,CAAC;IAED;;OAEG;IACH,IAAI;QACF,MAAM,IAAI,GAA8B;YACtC,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,eAAe,EAAE,IAAI,CAAC,eAAe;YACrC,cAAc,EAAE,IAAI,CAAC,cAAc;YACnC,oBAAoB,EAAE,IAAI,CAAC,oBAAoB;SAChD,CAAC;QAEF,IAAI,IAAI,CAAC,WAAW,KAAK,SAAS,EAAE,CAAC;YACnC,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QACtC,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;CACF"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The `IntegrationUri` of an `AWS_PROXY` integration: the ARN of the Lambda
|
|
3
|
+
* function the integration invokes.
|
|
4
|
+
*
|
|
5
|
+
* Only an unqualified function ARN is accepted. A version or alias qualifier
|
|
6
|
+
* on the end names a published function version, and simulated Lambda has no
|
|
7
|
+
* versions, so one is refused rather than invoked as the unpublished function
|
|
8
|
+
* it is not.
|
|
9
|
+
*
|
|
10
|
+
* Both URI forms reach the same function, and both are held as the function
|
|
11
|
+
* ARN, which is what the API hands back. Reading them here rather than in each
|
|
12
|
+
* caller is what lets an SDK caller, a template and an imported document write
|
|
13
|
+
* whichever form they write.
|
|
14
|
+
*/
|
|
15
|
+
export declare class SimHttpApiLambdaUri {
|
|
16
|
+
readonly uri: string;
|
|
17
|
+
readonly regionName: string;
|
|
18
|
+
readonly accountId: string;
|
|
19
|
+
readonly functionName: string;
|
|
20
|
+
private constructor();
|
|
21
|
+
/**
|
|
22
|
+
* Read an integration URI, refusing anything that is not a Lambda function
|
|
23
|
+
* ARN.
|
|
24
|
+
*/
|
|
25
|
+
static parse(uri: string): SimHttpApiLambdaUri;
|
|
26
|
+
/**
|
|
27
|
+
* The function ARN a URI names, in either form it is written in.
|
|
28
|
+
*/
|
|
29
|
+
private static functionArn;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=sim-http-api-lambda-uri.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-lambda-uri.d.ts","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.ts"],"names":[],"mappings":"AAmBA;;;;;;;;;;;;;GAaG;AACH,qBAAa,mBAAmB;IAC9B,SAAgB,GAAG,EAAE,MAAM,CAAC;IAC5B,SAAgB,UAAU,EAAE,MAAM,CAAC;IACnC,SAAgB,SAAS,EAAE,MAAM,CAAC;IAClC,SAAgB,YAAY,EAAE,MAAM,CAAC;IAErC,OAAO,eAMN;IAED;;;OAGG;IACH,MAAM,CAAC,KAAK,CAAC,GAAG,EAAE,MAAM,GAAG,mBAAmB,CAc7C;IAED;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,WAAW;CAG3B"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { SimApiGatewayV2BadRequest } from "../../error/sim-api-gateway-v2.error.js";
|
|
2
|
+
const lambdaFunctionArn = /^arn:aws:lambda:(?<regionName>[a-z0-9-]+):(?<accountId>\d{12}):function:(?<functionName>[a-zA-Z0-9-_]+)$/;
|
|
3
|
+
/**
|
|
4
|
+
* The other form an integration URI is written in, wrapping a Lambda function
|
|
5
|
+
* ARN in an API Gateway path:
|
|
6
|
+
*
|
|
7
|
+
* arn:aws:apigateway:eu-west-2:lambda:path/2015-03-31/functions/<function-arn>/invocations
|
|
8
|
+
*
|
|
9
|
+
* The date is the Lambda invoke API version and is part of the literal rather
|
|
10
|
+
* than something a caller chooses. An OpenAPI document being imported writes
|
|
11
|
+
* this form, and so does a hand-written CloudFormation template, while CDK
|
|
12
|
+
* emits the bare function ARN.
|
|
13
|
+
*/
|
|
14
|
+
const apiGatewayLambdaPathUri = /^arn:[^:]+:apigateway:[^:]+:lambda:path\/2015-03-31\/functions\/(?<functionArn>arn:[^/]+)\/invocations$/;
|
|
15
|
+
/**
|
|
16
|
+
* The `IntegrationUri` of an `AWS_PROXY` integration: the ARN of the Lambda
|
|
17
|
+
* function the integration invokes.
|
|
18
|
+
*
|
|
19
|
+
* Only an unqualified function ARN is accepted. A version or alias qualifier
|
|
20
|
+
* on the end names a published function version, and simulated Lambda has no
|
|
21
|
+
* versions, so one is refused rather than invoked as the unpublished function
|
|
22
|
+
* it is not.
|
|
23
|
+
*
|
|
24
|
+
* Both URI forms reach the same function, and both are held as the function
|
|
25
|
+
* ARN, which is what the API hands back. Reading them here rather than in each
|
|
26
|
+
* caller is what lets an SDK caller, a template and an imported document write
|
|
27
|
+
* whichever form they write.
|
|
28
|
+
*/
|
|
29
|
+
export class SimHttpApiLambdaUri {
|
|
30
|
+
uri;
|
|
31
|
+
regionName;
|
|
32
|
+
accountId;
|
|
33
|
+
functionName;
|
|
34
|
+
constructor(uri, groups) {
|
|
35
|
+
this.uri = uri;
|
|
36
|
+
/* v8 ignore next 3 -- the pattern that matched fills all three groups */
|
|
37
|
+
this.regionName = groups["regionName"] ?? "";
|
|
38
|
+
this.accountId = groups["accountId"] ?? "";
|
|
39
|
+
this.functionName = groups["functionName"] ?? "";
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Read an integration URI, refusing anything that is not a Lambda function
|
|
43
|
+
* ARN.
|
|
44
|
+
*/
|
|
45
|
+
static parse(uri) {
|
|
46
|
+
const functionArn = this.functionArn(uri);
|
|
47
|
+
const groups = lambdaFunctionArn.exec(functionArn)?.groups;
|
|
48
|
+
if (groups === undefined) {
|
|
49
|
+
throw new SimApiGatewayV2BadRequest(`IntegrationUri '${uri}' is not a simulated integration target: an ` +
|
|
50
|
+
`AWS_PROXY integration is simulated only for an unqualified Lambda ` +
|
|
51
|
+
`function ARN, such as ` +
|
|
52
|
+
`arn:aws:lambda:eu-west-2:111111111111:function:orders`);
|
|
53
|
+
}
|
|
54
|
+
return new SimHttpApiLambdaUri(functionArn, groups);
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* The function ARN a URI names, in either form it is written in.
|
|
58
|
+
*/
|
|
59
|
+
static functionArn(uri) {
|
|
60
|
+
return apiGatewayLambdaPathUri.exec(uri)?.groups?.["functionArn"] ?? uri;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=sim-http-api-lambda-uri.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-lambda-uri.js","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/api/integration/sim-http-api-lambda-uri.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AAEpF,MAAM,iBAAiB,GACrB,0GAA0G,CAAC;AAE7G;;;;;;;;;;GAUG;AACH,MAAM,uBAAuB,GAC3B,yGAAyG,CAAC;AAE5G;;;;;;;;;;;;;GAaG;AACH,MAAM,OAAO,mBAAmB;IACd,GAAG,CAAS;IACZ,UAAU,CAAS;IACnB,SAAS,CAAS;IAClB,YAAY,CAAS;IAErC,YAAoB,GAAW,EAAE,MAA8B;QAC7D,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,yEAAyE;QACzE,IAAI,CAAC,UAAU,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;QAC7C,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC;QAC3C,IAAI,CAAC,YAAY,GAAG,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,CAAC;IACnD,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,KAAK,CAAC,GAAW;QACtB,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;QAC1C,MAAM,MAAM,GAAG,iBAAiB,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;QAE3D,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACzB,MAAM,IAAI,yBAAyB,CACjC,mBAAmB,GAAG,8CAA8C;gBAClE,oEAAoE;gBACpE,wBAAwB;gBACxB,uDAAuD,CAC1D,CAAC;QACJ,CAAC;QAED,OAAO,IAAI,mBAAmB,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;IACtD,CAAC;IAED;;OAEG;IACK,MAAM,CAAC,WAAW,CAAC,GAAW;QACpC,OAAO,uBAAuB,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC,aAAa,CAAC,IAAI,GAAG,CAAC;IAC3E,CAAC;CACF"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { SimHttpApiPathParameters } from "../path/sim-http-api-path-parameters.js";
|
|
2
|
+
import { SimHttpApiRouteRank } from "../sim-http-api-route-rank.js";
|
|
3
|
+
import type { SimHttpApiRouteKey } from "./sim-http-api-route-key.js";
|
|
4
|
+
/**
|
|
5
|
+
* The catch-all route key, which serves any method and path the API has no
|
|
6
|
+
* more specific route for.
|
|
7
|
+
*/
|
|
8
|
+
export declare const simHttpApiDefaultRouteKey = "$default";
|
|
9
|
+
/**
|
|
10
|
+
* The `$default` route.
|
|
11
|
+
*
|
|
12
|
+
* It matches everything and captures nothing, and it loses to every other
|
|
13
|
+
* matching route, which is the tier AWS documents it in.
|
|
14
|
+
*/
|
|
15
|
+
export declare class SimHttpApiDefaultRouteKey implements SimHttpApiRouteKey {
|
|
16
|
+
readonly text = "$default";
|
|
17
|
+
readonly signature = "$default";
|
|
18
|
+
readonly rank: SimHttpApiRouteRank;
|
|
19
|
+
/**
|
|
20
|
+
* Match any request, capturing nothing.
|
|
21
|
+
*
|
|
22
|
+
* The empty capture is what keeps `pathParameters` out of the event for a
|
|
23
|
+
* `$default` match, which is what real API Gateway does with it. That is
|
|
24
|
+
* observed rather than documented.
|
|
25
|
+
*/
|
|
26
|
+
match(): SimHttpApiPathParameters;
|
|
27
|
+
/**
|
|
28
|
+
* Name this route in an `execute-api` ARN.
|
|
29
|
+
*
|
|
30
|
+
* The catch-all has no method and no path of its own, and both collapse into
|
|
31
|
+
* the single literal `$default`, so the ARN ends `<apiId>/<stage>/$default`.
|
|
32
|
+
* AWS gives that form as a CLI example for granting a `$default` route.
|
|
33
|
+
*/
|
|
34
|
+
methodAndPath(): string;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=sim-http-api-default-route-key.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-default-route-key.d.ts","sourceRoot":"","sources":["../../../../../../src/service/apigatewayv2/api/route/key/sim-http-api-default-route-key.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,EAEL,mBAAmB,EACpB,MAAM,+BAA+B,CAAC;AAEvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEtE;;;GAGG;AACH,eAAO,MAAM,yBAAyB,aAAa,CAAC;AAEpD;;;;;GAKG;AACH,qBAAa,yBAA0B,YAAW,kBAAkB;IAClE,SAAgB,IAAI,cAA6B;IACjD,SAAgB,SAAS,cAA6B;IACtD,SAAgB,IAAI,sBAIjB;IAEH;;;;;;OAMG;IACH,KAAK,IAAI,wBAAwB,CAEhC;IAED;;;;;;OAMG;IACH,aAAa,IAAI,MAAM,CAEtB;CACF"}
|