@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,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One request as route selection sees it: the HTTP method, and the path
|
|
3
|
+
* segments left once the stage has taken its own.
|
|
4
|
+
*
|
|
5
|
+
* A named stage is a path segment the routes know nothing about, so
|
|
6
|
+
* `/dev/pets/6` on stage `dev` reaches route selection as `pets` then `6`.
|
|
7
|
+
*/
|
|
8
|
+
export class SimHttpApiRouteRequest {
|
|
9
|
+
method;
|
|
10
|
+
segments;
|
|
11
|
+
constructor(properties) {
|
|
12
|
+
this.method = properties.method;
|
|
13
|
+
this.segments = properties.segments;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=sim-http-api-route-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-route-request.js","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/api/route/sim-http-api-route-request.ts"],"names":[],"mappings":"AAKA;;;;;;GAMG;AACH,MAAM,OAAO,sBAAsB;IACjB,MAAM,CAAS;IACf,QAAQ,CAAoB;IAE5C,YAAY,UAA4C;QACtD,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;QAChC,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC;IACtC,CAAC;CACF"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The scopes a route asks a token for.
|
|
3
|
+
*
|
|
4
|
+
* A route with no scopes asks for nothing beyond a token the authorizer
|
|
5
|
+
* accepted. A route with scopes is satisfied by any one of them, which is what
|
|
6
|
+
* AWS documents: the check is any-of, not all-of.
|
|
7
|
+
*/
|
|
8
|
+
export declare class SimHttpApiRouteScopes {
|
|
9
|
+
readonly values: readonly string[];
|
|
10
|
+
constructor(values?: readonly string[]);
|
|
11
|
+
/**
|
|
12
|
+
* Whether this route asks for no scope in particular.
|
|
13
|
+
*/
|
|
14
|
+
get isEmpty(): boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Whether a token claiming these scopes may have this route.
|
|
17
|
+
*
|
|
18
|
+
* A token claiming no scopes at all, which is every Cognito id token, meets
|
|
19
|
+
* no route scope and is refused by any route that asks for one.
|
|
20
|
+
*/
|
|
21
|
+
permits(claimed: readonly string[] | null): boolean;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=sim-http-api-route-scopes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-route-scopes.d.ts","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/api/route/sim-http-api-route-scopes.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,qBAAa,qBAAqB;IAChC,SAAgB,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;IAE1C,YAAY,MAAM,GAAE,SAAS,MAAM,EAAO,EAEzC;IAED;;OAEG;IACH,IAAI,OAAO,IAAI,OAAO,CAErB;IAED;;;;;OAKG;IACH,OAAO,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,GAAG,IAAI,GAAG,OAAO,CAUlD;CACF"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The scopes a route asks a token for.
|
|
3
|
+
*
|
|
4
|
+
* A route with no scopes asks for nothing beyond a token the authorizer
|
|
5
|
+
* accepted. A route with scopes is satisfied by any one of them, which is what
|
|
6
|
+
* AWS documents: the check is any-of, not all-of.
|
|
7
|
+
*/
|
|
8
|
+
export class SimHttpApiRouteScopes {
|
|
9
|
+
values;
|
|
10
|
+
constructor(values = []) {
|
|
11
|
+
this.values = values;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Whether this route asks for no scope in particular.
|
|
15
|
+
*/
|
|
16
|
+
get isEmpty() {
|
|
17
|
+
return this.values.length === 0;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Whether a token claiming these scopes may have this route.
|
|
21
|
+
*
|
|
22
|
+
* A token claiming no scopes at all, which is every Cognito id token, meets
|
|
23
|
+
* no route scope and is refused by any route that asks for one.
|
|
24
|
+
*/
|
|
25
|
+
permits(claimed) {
|
|
26
|
+
if (this.isEmpty) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
if (claimed === null) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
return claimed.some((scope) => this.values.includes(scope));
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=sim-http-api-route-scopes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-route-scopes.js","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/api/route/sim-http-api-route-scopes.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,OAAO,qBAAqB;IAChB,MAAM,CAAoB;IAE1C,YAAY,MAAM,GAAsB,EAAE;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;OAEG;IACH,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,KAAK,CAAC,CAAC;IAClC,CAAC;IAED;;;;;OAKG;IACH,OAAO,CAAC,OAAiC;QACvC,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACjB,OAAO,IAAI,CAAC;QACd,CAAC;QAED,IAAI,OAAO,KAAK,IAAI,EAAE,CAAC;YACrB,OAAO,KAAK,CAAC;QACf,CAAC;QAED,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;IAC9D,CAAC;CACF"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { SimHttpApiPathParameters } from "./path/sim-http-api-path-parameters.js";
|
|
2
|
+
import type { SimHttpApiRouteRequest } from "./sim-http-api-route-request.js";
|
|
3
|
+
import type { SimHttpApiRoute } from "./sim-http-api-route.js";
|
|
4
|
+
interface SimHttpApiRouteSelectionProperties {
|
|
5
|
+
readonly route: SimHttpApiRoute;
|
|
6
|
+
readonly pathParameters: SimHttpApiPathParameters;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* One route that matched a request, with what it captured from the path.
|
|
10
|
+
*/
|
|
11
|
+
export declare class SimHttpApiRouteSelection {
|
|
12
|
+
readonly route: SimHttpApiRoute;
|
|
13
|
+
readonly pathParameters: SimHttpApiPathParameters;
|
|
14
|
+
constructor(properties: SimHttpApiRouteSelectionProperties);
|
|
15
|
+
/**
|
|
16
|
+
* Whether this route is the more specific of the two, and so the one that
|
|
17
|
+
* serves the request.
|
|
18
|
+
*/
|
|
19
|
+
beats(other: SimHttpApiRouteSelection): boolean;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Picks the route that serves one request.
|
|
23
|
+
*
|
|
24
|
+
* Every route is asked whether it matches, and the most specific of the ones
|
|
25
|
+
* that do wins. There is always one winner: two route keys that would rank the
|
|
26
|
+
* same for a request are the same route key, and the second of those is
|
|
27
|
+
* refused as a conflict when it is created.
|
|
28
|
+
*/
|
|
29
|
+
export declare class SimHttpApiRouteSelector {
|
|
30
|
+
/**
|
|
31
|
+
* Find the route serving this request, if the API has one.
|
|
32
|
+
*/
|
|
33
|
+
select(routes: readonly SimHttpApiRoute[], request: SimHttpApiRouteRequest): SimHttpApiRouteSelection | undefined;
|
|
34
|
+
}
|
|
35
|
+
export {};
|
|
36
|
+
//# sourceMappingURL=sim-http-api-route-selector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-route-selector.d.ts","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/api/route/sim-http-api-route-selector.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AACvF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE/D,UAAU,kCAAkC;IAC1C,QAAQ,CAAC,KAAK,EAAE,eAAe,CAAC;IAChC,QAAQ,CAAC,cAAc,EAAE,wBAAwB,CAAC;CACnD;AAED;;GAEG;AACH,qBAAa,wBAAwB;IACnC,SAAgB,KAAK,EAAE,eAAe,CAAC;IACvC,SAAgB,cAAc,EAAE,wBAAwB,CAAC;IAEzD,YAAY,UAAU,EAAE,kCAAkC,EAGzD;IAED;;;OAGG;IACH,KAAK,CAAC,KAAK,EAAE,wBAAwB,GAAG,OAAO,CAE9C;CACF;AAED;;;;;;;GAOG;AACH,qBAAa,uBAAuB;IAClC;;OAEG;IACH,MAAM,CACJ,MAAM,EAAE,SAAS,eAAe,EAAE,EAClC,OAAO,EAAE,sBAAsB,GAC9B,wBAAwB,GAAG,SAAS,CAqBtC;CACF"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One route that matched a request, with what it captured from the path.
|
|
3
|
+
*/
|
|
4
|
+
export class SimHttpApiRouteSelection {
|
|
5
|
+
route;
|
|
6
|
+
pathParameters;
|
|
7
|
+
constructor(properties) {
|
|
8
|
+
this.route = properties.route;
|
|
9
|
+
this.pathParameters = properties.pathParameters;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Whether this route is the more specific of the two, and so the one that
|
|
13
|
+
* serves the request.
|
|
14
|
+
*/
|
|
15
|
+
beats(other) {
|
|
16
|
+
return this.route.key.rank.compareTo(other.route.key.rank) < 0;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Picks the route that serves one request.
|
|
21
|
+
*
|
|
22
|
+
* Every route is asked whether it matches, and the most specific of the ones
|
|
23
|
+
* that do wins. There is always one winner: two route keys that would rank the
|
|
24
|
+
* same for a request are the same route key, and the second of those is
|
|
25
|
+
* refused as a conflict when it is created.
|
|
26
|
+
*/
|
|
27
|
+
export class SimHttpApiRouteSelector {
|
|
28
|
+
/**
|
|
29
|
+
* Find the route serving this request, if the API has one.
|
|
30
|
+
*/
|
|
31
|
+
select(routes, request) {
|
|
32
|
+
let selected;
|
|
33
|
+
for (const route of routes) {
|
|
34
|
+
const pathParameters = route.key.match(request);
|
|
35
|
+
if (pathParameters === undefined) {
|
|
36
|
+
continue;
|
|
37
|
+
}
|
|
38
|
+
const candidate = new SimHttpApiRouteSelection({
|
|
39
|
+
route,
|
|
40
|
+
pathParameters,
|
|
41
|
+
});
|
|
42
|
+
if (selected === undefined || candidate.beats(selected)) {
|
|
43
|
+
selected = candidate;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
return selected;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=sim-http-api-route-selector.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-route-selector.js","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/api/route/sim-http-api-route-selector.ts"],"names":[],"mappings":"AASA;;GAEG;AACH,MAAM,OAAO,wBAAwB;IACnB,KAAK,CAAkB;IACvB,cAAc,CAA2B;IAEzD,YAAY,UAA8C;QACxD,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;QAC9B,IAAI,CAAC,cAAc,GAAG,UAAU,CAAC,cAAc,CAAC;IAClD,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,KAA+B;QACnC,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACjE,CAAC;CACF;AAED;;;;;;;GAOG;AACH,MAAM,OAAO,uBAAuB;IAClC;;OAEG;IACH,MAAM,CACJ,MAAkC,EAClC,OAA+B;QAE/B,IAAI,QAA8C,CAAC;QAEnD,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;YAC3B,MAAM,cAAc,GAAG,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;YAEhD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;gBACjC,SAAS;YACX,CAAC;YAED,MAAM,SAAS,GAAG,IAAI,wBAAwB,CAAC;gBAC7C,KAAK;gBACL,cAAc;aACf,CAAC,CAAC;YAEH,IAAI,QAAQ,KAAK,SAAS,IAAI,SAAS,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC;gBACxD,QAAQ,GAAG,SAAS,CAAC;YACvB,CAAC;QACH,CAAC;QAED,OAAO,QAAQ,CAAC;IAClB,CAAC;CACF"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { type SimHttpApiRoute, type SimHttpApiRouteId } from "./sim-http-api-route.js";
|
|
2
|
+
/**
|
|
3
|
+
* The routes of one API.
|
|
4
|
+
*
|
|
5
|
+
* Routes are keyed by route key signature rather than by id, because the route
|
|
6
|
+
* key is what makes a route unique on real AWS: an API cannot have two routes
|
|
7
|
+
* for the same method and path, and the id is only how a route is addressed
|
|
8
|
+
* afterwards. The signature rather than the text, because a parameter name is
|
|
9
|
+
* not part of a route's identity, so `GET /pets/{id}` and `GET /pets/{petId}`
|
|
10
|
+
* are the same route. The ids in use are tracked alongside, so allocating one
|
|
11
|
+
* can avoid them.
|
|
12
|
+
*/
|
|
13
|
+
export declare class SimHttpApiRouteStore {
|
|
14
|
+
private readonly routes;
|
|
15
|
+
private readonly routeIds;
|
|
16
|
+
/**
|
|
17
|
+
* Allocate a route id this API is not already using.
|
|
18
|
+
*/
|
|
19
|
+
allocateId(): SimHttpApiRouteId;
|
|
20
|
+
/**
|
|
21
|
+
* Add a route to this API.
|
|
22
|
+
*/
|
|
23
|
+
add(route: SimHttpApiRoute): void;
|
|
24
|
+
/**
|
|
25
|
+
* Find a route by the id the API allocated for it.
|
|
26
|
+
*
|
|
27
|
+
* Routes are stored by route key signature rather than by id, so this is a
|
|
28
|
+
* scan. It is how a route is addressed after creation, which an API has few
|
|
29
|
+
* enough routes for the scan not to matter.
|
|
30
|
+
*/
|
|
31
|
+
find(routeId: string): SimHttpApiRoute | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Find the route holding a route key signature, which is what tells whether
|
|
34
|
+
* the API is already routing a route key.
|
|
35
|
+
*/
|
|
36
|
+
findBySignature(signature: string): SimHttpApiRoute | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* List every route of this API, in the order they were created.
|
|
39
|
+
*/
|
|
40
|
+
list(): SimHttpApiRoute[];
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=sim-http-api-route-store.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-route-store.d.ts","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/api/route/sim-http-api-route-store.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACvB,MAAM,yBAAyB,CAAC;AAEjC;;;;;;;;;;GAUG;AACH,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAsC;IAC7D,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAgC;IAEzD;;OAEG;IACH,UAAU,IAAI,iBAAiB,CAS9B;IAED;;OAEG;IACH,GAAG,CAAC,KAAK,EAAE,eAAe,GAAG,IAAI,CAGhC;IAED;;;;;;OAMG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,eAAe,GAAG,SAAS,CAIjD;IAED;;;OAGG;IACH,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,eAAe,GAAG,SAAS,CAE9D;IAED;;OAEG;IACH,IAAI,IAAI,eAAe,EAAE,CAExB;CACF"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { makeSimHttpApiRouteId, } from "./sim-http-api-route.js";
|
|
2
|
+
/**
|
|
3
|
+
* The routes of one API.
|
|
4
|
+
*
|
|
5
|
+
* Routes are keyed by route key signature rather than by id, because the route
|
|
6
|
+
* key is what makes a route unique on real AWS: an API cannot have two routes
|
|
7
|
+
* for the same method and path, and the id is only how a route is addressed
|
|
8
|
+
* afterwards. The signature rather than the text, because a parameter name is
|
|
9
|
+
* not part of a route's identity, so `GET /pets/{id}` and `GET /pets/{petId}`
|
|
10
|
+
* are the same route. The ids in use are tracked alongside, so allocating one
|
|
11
|
+
* can avoid them.
|
|
12
|
+
*/
|
|
13
|
+
export class SimHttpApiRouteStore {
|
|
14
|
+
routes = new Map();
|
|
15
|
+
routeIds = new Set();
|
|
16
|
+
/**
|
|
17
|
+
* Allocate a route id this API is not already using.
|
|
18
|
+
*/
|
|
19
|
+
allocateId() {
|
|
20
|
+
let routeId = makeSimHttpApiRouteId();
|
|
21
|
+
while (this.routeIds.has(routeId)) {
|
|
22
|
+
/* v8 ignore next -- does not happen in practice */
|
|
23
|
+
routeId = makeSimHttpApiRouteId();
|
|
24
|
+
}
|
|
25
|
+
return routeId;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Add a route to this API.
|
|
29
|
+
*/
|
|
30
|
+
add(route) {
|
|
31
|
+
this.routes.set(route.key.signature, route);
|
|
32
|
+
this.routeIds.add(route.routeId);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Find a route by the id the API allocated for it.
|
|
36
|
+
*
|
|
37
|
+
* Routes are stored by route key signature rather than by id, so this is a
|
|
38
|
+
* scan. It is how a route is addressed after creation, which an API has few
|
|
39
|
+
* enough routes for the scan not to matter.
|
|
40
|
+
*/
|
|
41
|
+
find(routeId) {
|
|
42
|
+
return this.routes
|
|
43
|
+
.values()
|
|
44
|
+
.find((route) => route.routeId === routeId);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Find the route holding a route key signature, which is what tells whether
|
|
48
|
+
* the API is already routing a route key.
|
|
49
|
+
*/
|
|
50
|
+
findBySignature(signature) {
|
|
51
|
+
return this.routes.get(signature);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* List every route of this API, in the order they were created.
|
|
55
|
+
*/
|
|
56
|
+
list() {
|
|
57
|
+
return this.routes.values().toArray();
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=sim-http-api-route-store.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-route-store.js","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/api/route/sim-http-api-route-store.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,GAGtB,MAAM,yBAAyB,CAAC;AAEjC;;;;;;;;;;GAUG;AACH,MAAM,OAAO,oBAAoB;IACd,MAAM,GAAG,IAAI,GAAG,EAA2B,CAAC;IAC5C,QAAQ,GAAG,IAAI,GAAG,EAAqB,CAAC;IAEzD;;OAEG;IACH,UAAU;QACR,IAAI,OAAO,GAAG,qBAAqB,EAAE,CAAC;QAEtC,OAAO,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;YAClC,mDAAmD;YACnD,OAAO,GAAG,qBAAqB,EAAE,CAAC;QACpC,CAAC;QAED,OAAO,OAAO,CAAC;IACjB,CAAC;IAED;;OAEG;IACH,GAAG,CAAC,KAAsB;QACxB,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;QAC5C,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IACnC,CAAC;IAED;;;;;;OAMG;IACH,IAAI,CAAC,OAAe;QAClB,OAAO,IAAI,CAAC,MAAM;aACf,MAAM,EAAE;aACR,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,OAAO,KAAM,OAA6B,CAAC,CAAC;IACvE,CAAC;IAED;;;OAGG;IACH,eAAe,CAAC,SAAiB;QAC/B,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IACpC,CAAC;IAED;;OAEG;IACH,IAAI;QACF,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE,CAAC;IACxC,CAAC;CACF"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { SimHttpApiAuthorizationType, SimHttpApiRoute } from "./sim-http-api-route.js";
|
|
2
|
+
/**
|
|
3
|
+
* Minimal structural route view, as the Create and Get commands return.
|
|
4
|
+
*
|
|
5
|
+
* The two authorization fields are absent on a route that authorizes nobody,
|
|
6
|
+
* rather than reported as an empty id and an empty list.
|
|
7
|
+
*/
|
|
8
|
+
export interface SimHttpApiRouteView {
|
|
9
|
+
RouteId: string;
|
|
10
|
+
RouteKey: string;
|
|
11
|
+
Target: string;
|
|
12
|
+
AuthorizationType: SimHttpApiAuthorizationType;
|
|
13
|
+
AuthorizerId?: string;
|
|
14
|
+
AuthorizationScopes?: string[];
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Get the AWS-like view of one route.
|
|
18
|
+
*/
|
|
19
|
+
export declare function simHttpApiRouteView(route: SimHttpApiRoute): SimHttpApiRouteView;
|
|
20
|
+
//# sourceMappingURL=sim-http-api-route-view.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-route-view.d.ts","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/api/route/sim-http-api-route-view.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,2BAA2B,EAC3B,eAAe,EAChB,MAAM,yBAAyB,CAAC;AAEjC;;;;;GAKG;AACH,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,iBAAiB,EAAE,2BAA2B,CAAC;IAC/C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;CAChC;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,eAAe,GACrB,mBAAmB,CAiBrB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Get the AWS-like view of one route.
|
|
3
|
+
*/
|
|
4
|
+
export function simHttpApiRouteView(route) {
|
|
5
|
+
const view = {
|
|
6
|
+
RouteId: route.routeId,
|
|
7
|
+
RouteKey: route.routeKey,
|
|
8
|
+
Target: route.target,
|
|
9
|
+
AuthorizationType: route.authorizationType,
|
|
10
|
+
};
|
|
11
|
+
if (route.authorizerId !== undefined) {
|
|
12
|
+
view.AuthorizerId = route.authorizerId;
|
|
13
|
+
}
|
|
14
|
+
if (!route.authorizationScopes.isEmpty) {
|
|
15
|
+
view.AuthorizationScopes = [...route.authorizationScopes.values];
|
|
16
|
+
}
|
|
17
|
+
return view;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=sim-http-api-route-view.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-route-view.js","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/api/route/sim-http-api-route-view.ts"],"names":[],"mappings":"AAoBA;;GAEG;AACH,MAAM,UAAU,mBAAmB,CACjC,KAAsB;IAEtB,MAAM,IAAI,GAAwB;QAChC,OAAO,EAAE,KAAK,CAAC,OAAO;QACtB,QAAQ,EAAE,KAAK,CAAC,QAAQ;QACxB,MAAM,EAAE,KAAK,CAAC,MAAM;QACpB,iBAAiB,EAAE,KAAK,CAAC,iBAAiB;KAC3C,CAAC;IAEF,IAAI,KAAK,CAAC,YAAY,KAAK,SAAS,EAAE,CAAC;QACrC,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC,YAAY,CAAC;IACzC,CAAC;IAED,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,OAAO,EAAE,CAAC;QACvC,IAAI,CAAC,mBAAmB,GAAG,CAAC,GAAG,KAAK,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC;IACnE,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import type { Brand } from "../../../../util/brand.type.js";
|
|
2
|
+
import type { SimHttpApiAuthorizerId } from "../authorizer/sim-http-api-authorizer.js";
|
|
3
|
+
import type { SimHttpApiIntegrationId } from "../integration/sim-http-api-integration.js";
|
|
4
|
+
import type { SimHttpApiRouteKey } from "./key/sim-http-api-route-key.js";
|
|
5
|
+
import { SimHttpApiRouteScopes } from "./sim-http-api-route-scopes.js";
|
|
6
|
+
import { type SimHttpApiRouteView } from "./sim-http-api-route-view.js";
|
|
7
|
+
/**
|
|
8
|
+
* The id API Gateway allocates for one route.
|
|
9
|
+
*/
|
|
10
|
+
export type SimHttpApiRouteId = Brand<string, "SimHttpApiRouteId">;
|
|
11
|
+
/**
|
|
12
|
+
* The authorization types simulated: none, so anyone may call the route, a JWT
|
|
13
|
+
* the route's authorizer verifies, or a SigV4-signed caller IAM allows
|
|
14
|
+
* `execute-api:Invoke` on the route being called.
|
|
15
|
+
*
|
|
16
|
+
* `CUSTOM`, which is a Lambda authorizer, is refused at creation rather than
|
|
17
|
+
* created open.
|
|
18
|
+
*/
|
|
19
|
+
export type SimHttpApiAuthorizationType = "NONE" | "JWT" | "AWS_IAM";
|
|
20
|
+
/**
|
|
21
|
+
* Allocate a route id, in the same opaque shape as an integration id.
|
|
22
|
+
*/
|
|
23
|
+
export declare function makeSimHttpApiRouteId(): SimHttpApiRouteId;
|
|
24
|
+
interface SimHttpApiRouteProperties {
|
|
25
|
+
readonly routeId: SimHttpApiRouteId;
|
|
26
|
+
readonly key: SimHttpApiRouteKey;
|
|
27
|
+
readonly integrationId: SimHttpApiIntegrationId;
|
|
28
|
+
readonly authorizationType: SimHttpApiAuthorizationType;
|
|
29
|
+
readonly authorizerId?: SimHttpApiAuthorizerId | undefined;
|
|
30
|
+
readonly authorizationScopes?: SimHttpApiRouteScopes | undefined;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* A simulated HTTP API route: which requests reach which integration, and what
|
|
34
|
+
* a caller has to present to get there.
|
|
35
|
+
*/
|
|
36
|
+
export declare class SimHttpApiRoute {
|
|
37
|
+
readonly routeId: SimHttpApiRouteId;
|
|
38
|
+
readonly key: SimHttpApiRouteKey;
|
|
39
|
+
readonly integrationId: SimHttpApiIntegrationId;
|
|
40
|
+
readonly authorizationType: SimHttpApiAuthorizationType;
|
|
41
|
+
/**
|
|
42
|
+
* The authorizer this route sends requests through, which only a `JWT` route
|
|
43
|
+
* has. An `AWS_IAM` route takes no authorizer, since IAM itself is what
|
|
44
|
+
* decides, and a `NONE` route authorizes nobody.
|
|
45
|
+
*/
|
|
46
|
+
readonly authorizerId: SimHttpApiAuthorizerId | undefined;
|
|
47
|
+
readonly authorizationScopes: SimHttpApiRouteScopes;
|
|
48
|
+
constructor(properties: SimHttpApiRouteProperties);
|
|
49
|
+
/**
|
|
50
|
+
* The route key as it was written, which is what the API reports back and
|
|
51
|
+
* what reaches the handler as `event.routeKey`.
|
|
52
|
+
*/
|
|
53
|
+
get routeKey(): string;
|
|
54
|
+
/**
|
|
55
|
+
* The route's target, in the `integrations/<id>` form the API takes it in
|
|
56
|
+
* and hands it back.
|
|
57
|
+
*/
|
|
58
|
+
get target(): string;
|
|
59
|
+
/**
|
|
60
|
+
* Get the AWS-like view of this route.
|
|
61
|
+
*/
|
|
62
|
+
view(): SimHttpApiRouteView;
|
|
63
|
+
}
|
|
64
|
+
export {};
|
|
65
|
+
//# sourceMappingURL=sim-http-api-route.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-route.d.ts","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/api/route/sim-http-api-route.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAC5D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AACvF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AAC1F,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AACvE,OAAO,EAEL,KAAK,mBAAmB,EACzB,MAAM,8BAA8B,CAAC;AAEtC;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;AAEnE;;;;;;;GAOG;AACH,MAAM,MAAM,2BAA2B,GAAG,MAAM,GAAG,KAAK,GAAG,SAAS,CAAC;AAErE;;GAEG;AACH,wBAAgB,qBAAqB,IAAI,iBAAiB,CAEzD;AAED,UAAU,yBAAyB;IACjC,QAAQ,CAAC,OAAO,EAAE,iBAAiB,CAAC;IACpC,QAAQ,CAAC,GAAG,EAAE,kBAAkB,CAAC;IACjC,QAAQ,CAAC,aAAa,EAAE,uBAAuB,CAAC;IAChD,QAAQ,CAAC,iBAAiB,EAAE,2BAA2B,CAAC;IACxD,QAAQ,CAAC,YAAY,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;IAC3D,QAAQ,CAAC,mBAAmB,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;CAClE;AAED;;;GAGG;AACH,qBAAa,eAAe;IAC1B,SAAgB,OAAO,EAAE,iBAAiB,CAAC;IAC3C,SAAgB,GAAG,EAAE,kBAAkB,CAAC;IACxC,SAAgB,aAAa,EAAE,uBAAuB,CAAC;IACvD,SAAgB,iBAAiB,EAAE,2BAA2B,CAAC;IAE/D;;;;OAIG;IACH,SAAgB,YAAY,EAAE,sBAAsB,GAAG,SAAS,CAAC;IAEjE,SAAgB,mBAAmB,EAAE,qBAAqB,CAAC;IAE3D,YAAY,UAAU,EAAE,yBAAyB,EAQhD;IAED;;;OAGG;IACH,IAAI,QAAQ,IAAI,MAAM,CAErB;IAED;;;OAGG;IACH,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED;;OAEG;IACH,IAAI,IAAI,mBAAmB,CAE1B;CACF"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { faker } from "@faker-js/faker";
|
|
2
|
+
import { SimHttpApiRouteScopes } from "./sim-http-api-route-scopes.js";
|
|
3
|
+
import { simHttpApiRouteView, } from "./sim-http-api-route-view.js";
|
|
4
|
+
/**
|
|
5
|
+
* Allocate a route id, in the same opaque shape as an integration id.
|
|
6
|
+
*/
|
|
7
|
+
export function makeSimHttpApiRouteId() {
|
|
8
|
+
return faker.helpers.fromRegExp(/[a-z0-9]{8}/);
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* A simulated HTTP API route: which requests reach which integration, and what
|
|
12
|
+
* a caller has to present to get there.
|
|
13
|
+
*/
|
|
14
|
+
export class SimHttpApiRoute {
|
|
15
|
+
routeId;
|
|
16
|
+
key;
|
|
17
|
+
integrationId;
|
|
18
|
+
authorizationType;
|
|
19
|
+
/**
|
|
20
|
+
* The authorizer this route sends requests through, which only a `JWT` route
|
|
21
|
+
* has. An `AWS_IAM` route takes no authorizer, since IAM itself is what
|
|
22
|
+
* decides, and a `NONE` route authorizes nobody.
|
|
23
|
+
*/
|
|
24
|
+
authorizerId;
|
|
25
|
+
authorizationScopes;
|
|
26
|
+
constructor(properties) {
|
|
27
|
+
this.routeId = properties.routeId;
|
|
28
|
+
this.key = properties.key;
|
|
29
|
+
this.integrationId = properties.integrationId;
|
|
30
|
+
this.authorizationType = properties.authorizationType;
|
|
31
|
+
this.authorizerId = properties.authorizerId;
|
|
32
|
+
this.authorizationScopes =
|
|
33
|
+
properties.authorizationScopes ?? new SimHttpApiRouteScopes();
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* The route key as it was written, which is what the API reports back and
|
|
37
|
+
* what reaches the handler as `event.routeKey`.
|
|
38
|
+
*/
|
|
39
|
+
get routeKey() {
|
|
40
|
+
return this.key.text;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* The route's target, in the `integrations/<id>` form the API takes it in
|
|
44
|
+
* and hands it back.
|
|
45
|
+
*/
|
|
46
|
+
get target() {
|
|
47
|
+
return `integrations/${this.integrationId}`;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Get the AWS-like view of this route.
|
|
51
|
+
*/
|
|
52
|
+
view() {
|
|
53
|
+
return simHttpApiRouteView(this);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=sim-http-api-route.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-route.js","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/api/route/sim-http-api-route.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAMxC,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AACvE,OAAO,EACL,mBAAmB,GAEpB,MAAM,8BAA8B,CAAC;AAiBtC;;GAEG;AACH,MAAM,UAAU,qBAAqB;IACnC,OAAO,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,aAAa,CAAsB,CAAC;AACtE,CAAC;AAWD;;;GAGG;AACH,MAAM,OAAO,eAAe;IACV,OAAO,CAAoB;IAC3B,GAAG,CAAqB;IACxB,aAAa,CAA0B;IACvC,iBAAiB,CAA8B;IAE/D;;;;OAIG;IACa,YAAY,CAAqC;IAEjD,mBAAmB,CAAwB;IAE3D,YAAY,UAAqC;QAC/C,IAAI,CAAC,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC;QAClC,IAAI,CAAC,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC;QAC1B,IAAI,CAAC,aAAa,GAAG,UAAU,CAAC,aAAa,CAAC;QAC9C,IAAI,CAAC,iBAAiB,GAAG,UAAU,CAAC,iBAAiB,CAAC;QACtD,IAAI,CAAC,YAAY,GAAG,UAAU,CAAC,YAAY,CAAC;QAC5C,IAAI,CAAC,mBAAmB;YACtB,UAAU,CAAC,mBAAmB,IAAI,IAAI,qBAAqB,EAAE,CAAC;IAClE,CAAC;IAED;;;OAGG;IACH,IAAI,QAAQ;QACV,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC;IACvB,CAAC;IAED;;;OAGG;IACH,IAAI,MAAM;QACR,OAAO,gBAAgB,IAAI,CAAC,aAAa,EAAE,CAAC;IAC9C,CAAC;IAED;;OAEG;IACH,IAAI;QACF,OAAO,mBAAmB,CAAC,IAAI,CAAC,CAAC;IACnC,CAAC;CACF"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { SimHttpApi } from "./sim-http-api.js";
|
|
2
|
+
interface SimHttpApiExecuteApiArnProperties {
|
|
3
|
+
readonly api: SimHttpApi;
|
|
4
|
+
readonly stageName: string;
|
|
5
|
+
/**
|
|
6
|
+
* The method and path part of the ARN, such as `GET/orders/{orderId}` or
|
|
7
|
+
* the literal `$default`.
|
|
8
|
+
*/
|
|
9
|
+
readonly methodAndPath: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* The `execute-api` ARN of one request to an API.
|
|
13
|
+
*
|
|
14
|
+
* ```text
|
|
15
|
+
* arn:aws:execute-api:<region>:<account>:<apiId>/<stage>/<METHOD>/<path>
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* Two things want this ARN and they fill the last part differently:
|
|
19
|
+
*
|
|
20
|
+
* - the invoke permission a Lambda integration is authorized against, where
|
|
21
|
+
* the path is the matched route key's template with its braces intact,
|
|
22
|
+
* because that is the form a permission's `SourceArn` is written in;
|
|
23
|
+
* - `AWS_IAM` route authorization, where the path is the path the request
|
|
24
|
+
* asked for, because that is the resource the caller is acting on.
|
|
25
|
+
*
|
|
26
|
+
* Neither part is documented by AWS as the value API Gateway supplies. The
|
|
27
|
+
* path is the better supported of the two: CDK synthesises a `SourceArn`
|
|
28
|
+
* whose stage and method segments are wildcards and whose path segments are
|
|
29
|
+
* the route key template, braces and all. IAM wildcard matching treats a brace
|
|
30
|
+
* as a literal, so a concrete request path could never match a permission
|
|
31
|
+
* written that way.
|
|
32
|
+
*
|
|
33
|
+
* The method is weaker. AWS's CLI example for granting an `ANY /test` route on
|
|
34
|
+
* the `prod` stage wildcards the method segment, which shows what a permission
|
|
35
|
+
* may say rather than what API Gateway puts there. A concrete verb matches
|
|
36
|
+
* such a pattern, while a permission written with a literal `ANY` would not
|
|
37
|
+
* match a concrete verb, so the concrete verb is the reading that keeps a
|
|
38
|
+
* CDK-deployed route working.
|
|
39
|
+
*/
|
|
40
|
+
export declare class SimHttpApiExecuteApiArn {
|
|
41
|
+
private readonly api;
|
|
42
|
+
private readonly stageName;
|
|
43
|
+
private readonly methodAndPath;
|
|
44
|
+
constructor(properties: SimHttpApiExecuteApiArnProperties);
|
|
45
|
+
/**
|
|
46
|
+
* The ARN as a permission or a policy names it.
|
|
47
|
+
*/
|
|
48
|
+
toString(): string;
|
|
49
|
+
}
|
|
50
|
+
export {};
|
|
51
|
+
//# sourceMappingURL=sim-http-api-execute-api-arn.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-execute-api-arn.d.ts","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/api/sim-http-api-execute-api-arn.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,UAAU,iCAAiC;IACzC,QAAQ,CAAC,GAAG,EAAE,UAAU,CAAC;IACzB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;;OAGG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;CAChC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,qBAAa,uBAAuB;IAClC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAa;IACjC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAS;IACnC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAS;IAEvC,YAAY,UAAU,EAAE,iCAAiC,EAIxD;IAED;;OAEG;IACH,QAAQ,IAAI,MAAM,CAOjB;CACF"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The `execute-api` ARN of one request to an API.
|
|
3
|
+
*
|
|
4
|
+
* ```text
|
|
5
|
+
* arn:aws:execute-api:<region>:<account>:<apiId>/<stage>/<METHOD>/<path>
|
|
6
|
+
* ```
|
|
7
|
+
*
|
|
8
|
+
* Two things want this ARN and they fill the last part differently:
|
|
9
|
+
*
|
|
10
|
+
* - the invoke permission a Lambda integration is authorized against, where
|
|
11
|
+
* the path is the matched route key's template with its braces intact,
|
|
12
|
+
* because that is the form a permission's `SourceArn` is written in;
|
|
13
|
+
* - `AWS_IAM` route authorization, where the path is the path the request
|
|
14
|
+
* asked for, because that is the resource the caller is acting on.
|
|
15
|
+
*
|
|
16
|
+
* Neither part is documented by AWS as the value API Gateway supplies. The
|
|
17
|
+
* path is the better supported of the two: CDK synthesises a `SourceArn`
|
|
18
|
+
* whose stage and method segments are wildcards and whose path segments are
|
|
19
|
+
* the route key template, braces and all. IAM wildcard matching treats a brace
|
|
20
|
+
* as a literal, so a concrete request path could never match a permission
|
|
21
|
+
* written that way.
|
|
22
|
+
*
|
|
23
|
+
* The method is weaker. AWS's CLI example for granting an `ANY /test` route on
|
|
24
|
+
* the `prod` stage wildcards the method segment, which shows what a permission
|
|
25
|
+
* may say rather than what API Gateway puts there. A concrete verb matches
|
|
26
|
+
* such a pattern, while a permission written with a literal `ANY` would not
|
|
27
|
+
* match a concrete verb, so the concrete verb is the reading that keeps a
|
|
28
|
+
* CDK-deployed route working.
|
|
29
|
+
*/
|
|
30
|
+
export class SimHttpApiExecuteApiArn {
|
|
31
|
+
api;
|
|
32
|
+
stageName;
|
|
33
|
+
methodAndPath;
|
|
34
|
+
constructor(properties) {
|
|
35
|
+
this.api = properties.api;
|
|
36
|
+
this.stageName = properties.stageName;
|
|
37
|
+
this.methodAndPath = properties.methodAndPath;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* The ARN as a permission or a policy names it.
|
|
41
|
+
*/
|
|
42
|
+
toString() {
|
|
43
|
+
const { accountId, regionName } = this.api.accountRegionScope;
|
|
44
|
+
return (`arn:aws:execute-api:${regionName}:${accountId}:` +
|
|
45
|
+
`${this.api.apiId}/${this.stageName}/${this.methodAndPath}`);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=sim-http-api-execute-api-arn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-execute-api-arn.js","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/api/sim-http-api-execute-api-arn.ts"],"names":[],"mappings":"AAYA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAM,OAAO,uBAAuB;IACjB,GAAG,CAAa;IAChB,SAAS,CAAS;IAClB,aAAa,CAAS;IAEvC,YAAY,UAA6C;QACvD,IAAI,CAAC,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC;QAC1B,IAAI,CAAC,SAAS,GAAG,UAAU,CAAC,SAAS,CAAC;QACtC,IAAI,CAAC,aAAa,GAAG,UAAU,CAAC,aAAa,CAAC;IAChD,CAAC;IAED;;OAEG;IACH,QAAQ;QACN,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC,GAAG,CAAC,kBAAkB,CAAC;QAE9D,OAAO,CACL,uBAAuB,UAAU,IAAI,SAAS,GAAG;YACjD,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,aAAa,EAAE,CAC5D,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The DNS label API Gateway uses for the endpoint it generates for an API,
|
|
3
|
+
* sitting between the API id and the region:
|
|
4
|
+
*
|
|
5
|
+
* <api-id>.execute-api.<region>.amazonaws.com
|
|
6
|
+
*
|
|
7
|
+
* It is also the SigV4 signing name of that endpoint, which is not the signing
|
|
8
|
+
* name of the API Gateway control plane.
|
|
9
|
+
*/
|
|
10
|
+
export declare const executeApiHostLabel = "execute-api";
|
|
11
|
+
/**
|
|
12
|
+
* The real AWS domain generated API endpoints live under.
|
|
13
|
+
*/
|
|
14
|
+
export declare const executeApiDomain = "amazonaws.com";
|
|
15
|
+
interface SimHttpApiHostProperties {
|
|
16
|
+
readonly apiId: string;
|
|
17
|
+
readonly regionName: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Build the real AWS endpoint hostname for an API.
|
|
21
|
+
*/
|
|
22
|
+
export declare function simHttpApiHost(properties: SimHttpApiHostProperties): string;
|
|
23
|
+
/**
|
|
24
|
+
* Build the logical hostname for an API: the AWS endpoint hostname without the
|
|
25
|
+
* real AWS domain.
|
|
26
|
+
*
|
|
27
|
+
* This is the form Yulin serves on localhost, where the `.amazonaws.com` tail
|
|
28
|
+
* is replaced by the local suffix, in the same way S3 endpoint hostnames are.
|
|
29
|
+
*/
|
|
30
|
+
export declare function simHttpApiLogicalHost(properties: SimHttpApiHostProperties): string;
|
|
31
|
+
export {};
|
|
32
|
+
//# sourceMappingURL=sim-http-api-host.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-host.d.ts","sourceRoot":"","sources":["../../../../src/service/apigatewayv2/api/sim-http-api-host.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,eAAO,MAAM,mBAAmB,gBAAgB,CAAC;AAEjD;;GAEG;AACH,eAAO,MAAM,gBAAgB,kBAAkB,CAAC;AAEhD,UAAU,wBAAwB;IAChC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,UAAU,EAAE,wBAAwB,GAAG,MAAM,CAE3E;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,wBAAwB,GACnC,MAAM,CAER"}
|