@kensio/yulin 0.45.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/dynamodb/cfn/table/sim-cfn-dynamodb-indexed-table-resource.factory.d.ts +37 -0
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-indexed-table-resource.factory.d.ts.map +1 -0
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-indexed-table-resource.factory.js +63 -0
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-indexed-table-resource.factory.js.map +1 -0
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-creator.d.ts.map +1 -1
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-creator.js +2 -0
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-creator.js.map +1 -1
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-index-rules.d.ts +32 -0
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-index-rules.d.ts.map +1 -0
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-index-rules.js +100 -0
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-index-rules.js.map +1 -0
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-indexes.d.ts +22 -0
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-indexes.d.ts.map +1 -0
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-indexes.js +55 -0
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-indexes.js.map +1 -0
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-key-schema.d.ts +11 -0
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-key-schema.d.ts.map +1 -0
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-key-schema.js +16 -0
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-key-schema.js.map +1 -0
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-properties.d.ts +9 -1
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-properties.d.ts.map +1 -1
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-properties.js +20 -17
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-properties.js.map +1 -1
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-property-error.d.ts +21 -0
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-property-error.d.ts.map +1 -0
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-property-error.js +28 -0
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-property-error.js.map +1 -0
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-property-rules.d.ts +8 -20
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-property-rules.d.ts.map +1 -1
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-property-rules.js +19 -32
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-property-rules.js.map +1 -1
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-throughput.d.ts +11 -0
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-throughput.d.ts.map +1 -0
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-throughput.js +18 -0
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-throughput.js.map +1 -0
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-values.d.ts +17 -4
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-values.d.ts.map +1 -1
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-values.js +45 -16
- package/dist/service/dynamodb/cfn/table/sim-cfn-dynamodb-table-values.js.map +1 -1
- package/dist/service/dynamodb/command/item/sim-dynamodb-item-page.d.ts +6 -4
- package/dist/service/dynamodb/command/item/sim-dynamodb-item-page.d.ts.map +1 -1
- package/dist/service/dynamodb/command/item/sim-dynamodb-item-page.js +7 -6
- package/dist/service/dynamodb/command/item/sim-dynamodb-item-page.js.map +1 -1
- package/dist/service/dynamodb/command/query/sim-dynamodb-query-start-key.d.ts +2 -2
- package/dist/service/dynamodb/command/query/sim-dynamodb-query-start-key.d.ts.map +1 -1
- package/dist/service/dynamodb/command/query/sim-dynamodb-query-start-key.js +8 -7
- package/dist/service/dynamodb/command/query/sim-dynamodb-query-start-key.js.map +1 -1
- package/dist/service/dynamodb/command/query/sim-dynamodb-query.d.ts.map +1 -1
- package/dist/service/dynamodb/command/query/sim-dynamodb-query.js +18 -6
- package/dist/service/dynamodb/command/query/sim-dynamodb-query.js.map +1 -1
- package/dist/service/dynamodb/command/query/sim-dynamodb-unsimulated-query-input.d.ts.map +1 -1
- package/dist/service/dynamodb/command/query/sim-dynamodb-unsimulated-query-input.js +0 -1
- package/dist/service/dynamodb/command/query/sim-dynamodb-unsimulated-query-input.js.map +1 -1
- package/dist/service/dynamodb/command/read/sim-dynamodb-consistent-read.d.ts +20 -0
- package/dist/service/dynamodb/command/read/sim-dynamodb-consistent-read.d.ts.map +1 -0
- package/dist/service/dynamodb/command/read/sim-dynamodb-consistent-read.js +20 -0
- package/dist/service/dynamodb/command/read/sim-dynamodb-consistent-read.js.map +1 -0
- package/dist/service/dynamodb/command/read/sim-dynamodb-read-answer.d.ts +12 -0
- package/dist/service/dynamodb/command/read/sim-dynamodb-read-answer.d.ts.map +1 -1
- package/dist/service/dynamodb/command/read/sim-dynamodb-read-answer.js +19 -1
- package/dist/service/dynamodb/command/read/sim-dynamodb-read-answer.js.map +1 -1
- package/dist/service/dynamodb/command/read/sim-dynamodb-select.d.ts +18 -0
- package/dist/service/dynamodb/command/read/sim-dynamodb-select.d.ts.map +1 -1
- package/dist/service/dynamodb/command/read/sim-dynamodb-select.js +35 -5
- package/dist/service/dynamodb/command/read/sim-dynamodb-select.js.map +1 -1
- package/dist/service/dynamodb/command/scan/sim-dynamodb-scan-start-key.d.ts +2 -2
- package/dist/service/dynamodb/command/scan/sim-dynamodb-scan-start-key.d.ts.map +1 -1
- package/dist/service/dynamodb/command/scan/sim-dynamodb-scan-start-key.js +3 -3
- package/dist/service/dynamodb/command/scan/sim-dynamodb-scan-start-key.js.map +1 -1
- package/dist/service/dynamodb/command/scan/sim-dynamodb-scan.d.ts.map +1 -1
- package/dist/service/dynamodb/command/scan/sim-dynamodb-scan.js +13 -5
- package/dist/service/dynamodb/command/scan/sim-dynamodb-scan.js.map +1 -1
- package/dist/service/dynamodb/command/scan/sim-dynamodb-unsimulated-scan-input.d.ts.map +1 -1
- package/dist/service/dynamodb/command/scan/sim-dynamodb-unsimulated-scan-input.js +0 -1
- package/dist/service/dynamodb/command/scan/sim-dynamodb-unsimulated-scan-input.js.map +1 -1
- package/dist/service/dynamodb/command/sim-dynamodb-command-handlers.d.ts +2 -0
- package/dist/service/dynamodb/command/sim-dynamodb-command-handlers.d.ts.map +1 -1
- package/dist/service/dynamodb/command/sim-dynamodb-command-handlers.js +3 -0
- package/dist/service/dynamodb/command/sim-dynamodb-command-handlers.js.map +1 -1
- package/dist/service/dynamodb/command/sim-dynamodb-command.types.d.ts +1 -1
- package/dist/service/dynamodb/command/sim-dynamodb-command.types.d.ts.map +1 -1
- package/dist/service/dynamodb/command/table/sim-dynamodb-create-table.d.ts.map +1 -1
- package/dist/service/dynamodb/command/table/sim-dynamodb-create-table.js +6 -2
- package/dist/service/dynamodb/command/table/sim-dynamodb-create-table.js.map +1 -1
- package/dist/service/dynamodb/command/table/sim-dynamodb-unsimulated-table-input.d.ts +6 -6
- package/dist/service/dynamodb/command/table/sim-dynamodb-unsimulated-table-input.d.ts.map +1 -1
- package/dist/service/dynamodb/command/table/sim-dynamodb-unsimulated-table-input.js +6 -19
- package/dist/service/dynamodb/command/table/sim-dynamodb-unsimulated-table-input.js.map +1 -1
- package/dist/service/dynamodb/command/table/sim-dynamodb-unsimulated-update-input.d.ts +15 -0
- package/dist/service/dynamodb/command/table/sim-dynamodb-unsimulated-update-input.d.ts.map +1 -0
- package/dist/service/dynamodb/command/table/sim-dynamodb-unsimulated-update-input.js +50 -0
- package/dist/service/dynamodb/command/table/sim-dynamodb-unsimulated-update-input.js.map +1 -0
- package/dist/service/dynamodb/command/table/sim-dynamodb-update-table.d.ts +38 -0
- package/dist/service/dynamodb/command/table/sim-dynamodb-update-table.d.ts.map +1 -0
- package/dist/service/dynamodb/command/table/sim-dynamodb-update-table.js +39 -0
- package/dist/service/dynamodb/command/table/sim-dynamodb-update-table.js.map +1 -0
- package/dist/service/dynamodb/command/table/table.command.d.ts +36 -1
- package/dist/service/dynamodb/command/table/table.command.d.ts.map +1 -1
- package/dist/service/dynamodb/command/table/table.types.d.ts +54 -0
- package/dist/service/dynamodb/command/table/table.types.d.ts.map +1 -1
- package/dist/service/dynamodb/command/time-to-live/sim-dynamodb-time-to-live-commands.js +3 -3
- package/dist/service/dynamodb/command/time-to-live/sim-dynamodb-time-to-live-commands.js.map +1 -1
- package/dist/service/dynamodb/document/sim-dynamodb-document-route.d.ts +1 -1
- package/dist/service/dynamodb/document/sim-dynamodb-document-route.d.ts.map +1 -1
- package/dist/service/dynamodb/document/sim-dynamodb-document-routes.d.ts.map +1 -1
- package/dist/service/dynamodb/document/sim-dynamodb-document-routes.js.map +1 -1
- package/dist/service/dynamodb/expression/filter/sim-dynamodb-filter.d.ts +11 -1
- package/dist/service/dynamodb/expression/filter/sim-dynamodb-filter.d.ts.map +1 -1
- package/dist/service/dynamodb/expression/filter/sim-dynamodb-filter.js +12 -1
- package/dist/service/dynamodb/expression/filter/sim-dynamodb-filter.js.map +1 -1
- package/dist/service/dynamodb/sdk/sim-dynamodb-sdk-command-router.d.ts.map +1 -1
- package/dist/service/dynamodb/sdk/sim-dynamodb-sdk-command-router.js +4 -0
- package/dist/service/dynamodb/sdk/sim-dynamodb-sdk-command-router.js.map +1 -1
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-fetched-index-attributes.d.ts +35 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-fetched-index-attributes.d.ts.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-fetched-index-attributes.js +42 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-fetched-index-attributes.js.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-global-secondary-index.d.ts +43 -11
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-global-secondary-index.d.ts.map +1 -1
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-global-secondary-index.js +65 -2
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-global-secondary-index.js.map +1 -1
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-global-secondary-indexes.d.ts +39 -14
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-global-secondary-indexes.d.ts.map +1 -1
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-global-secondary-indexes.js +61 -61
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-global-secondary-indexes.js.map +1 -1
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-attributes.d.ts +44 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-attributes.d.ts.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-attributes.js +2 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-attributes.js.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-keys.d.ts +58 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-keys.d.ts.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-keys.js +77 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-keys.js.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-lifecycle.d.ts +55 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-lifecycle.d.ts.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-lifecycle.js +71 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-lifecycle.js.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-limits.d.ts +50 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-limits.d.ts.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-limits.js +82 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-limits.js.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-lookup.d.ts +13 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-lookup.d.ts.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-lookup.js +19 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-lookup.js.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-projection-input.d.ts +17 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-projection-input.d.ts.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-projection-input.js +17 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-projection-input.js.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-projection.d.ts +15 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-projection.d.ts.map +1 -1
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-projection.js +21 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-projection.js.map +1 -1
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-status.d.ts +6 -7
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-status.d.ts.map +1 -1
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-status.js +7 -11
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-status.js.map +1 -1
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-view.d.ts +76 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-view.d.ts.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-view.js +107 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-index-view.js.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-indexed-orders.d.ts +12 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-indexed-orders.d.ts.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-indexed-orders.js +42 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-indexed-orders.js.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-indexed-table.factory.d.ts +35 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-indexed-table.factory.d.ts.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-indexed-table.factory.js +59 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-indexed-table.factory.js.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-local-index-key-schema.d.ts +21 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-local-index-key-schema.d.ts.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-local-index-key-schema.js +47 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-local-index-key-schema.js.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-local-index-throughput.d.ts +11 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-local-index-throughput.d.ts.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-local-index-throughput.js +29 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-local-index-throughput.js.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-local-secondary-index.d.ts +65 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-local-secondary-index.d.ts.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-local-secondary-index.js +106 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-local-secondary-index.js.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-local-secondary-indexes.d.ts +31 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-local-secondary-indexes.d.ts.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-local-secondary-indexes.js +47 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-local-secondary-indexes.js.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-locally-indexed-orders.d.ts +6 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-locally-indexed-orders.d.ts.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-locally-indexed-orders.js +40 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-locally-indexed-orders.js.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-locally-indexed-table.factory.d.ts +34 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-locally-indexed-table.factory.d.ts.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-locally-indexed-table.factory.js +61 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-locally-indexed-table.factory.js.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-projected-index-attributes.d.ts +38 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-projected-index-attributes.d.ts.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-projected-index-attributes.js +74 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-projected-index-attributes.js.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-secondary-index.d.ts +54 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-secondary-index.d.ts.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-secondary-index.js +2 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-secondary-index.js.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-secondary-indexes.d.ts +59 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-secondary-indexes.d.ts.map +1 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-secondary-indexes.js +77 -0
- package/dist/service/dynamodb/secondary-index/sim-dynamodb-secondary-indexes.js.map +1 -0
- package/dist/service/dynamodb/sim-dynamodb.d.ts +6 -14
- package/dist/service/dynamodb/sim-dynamodb.d.ts.map +1 -1
- package/dist/service/dynamodb/sim-dynamodb.js +8 -1
- package/dist/service/dynamodb/sim-dynamodb.js.map +1 -1
- package/dist/service/dynamodb/sim-dynamodb.types.d.ts +26 -0
- package/dist/service/dynamodb/sim-dynamodb.types.d.ts.map +1 -0
- package/dist/service/dynamodb/sim-dynamodb.types.js +2 -0
- package/dist/service/dynamodb/sim-dynamodb.types.js.map +1 -0
- package/dist/service/dynamodb/table/sim-dynamodb-attribute-definition.d.ts +14 -0
- package/dist/service/dynamodb/table/sim-dynamodb-attribute-definition.d.ts.map +1 -0
- package/dist/service/dynamodb/table/sim-dynamodb-attribute-definition.js +33 -0
- package/dist/service/dynamodb/table/sim-dynamodb-attribute-definition.js.map +1 -0
- package/dist/service/dynamodb/table/sim-dynamodb-attribute-definitions.d.ts +21 -0
- package/dist/service/dynamodb/table/sim-dynamodb-attribute-definitions.d.ts.map +1 -1
- package/dist/service/dynamodb/table/sim-dynamodb-attribute-definitions.js +53 -27
- package/dist/service/dynamodb/table/sim-dynamodb-attribute-definitions.js.map +1 -1
- package/dist/service/dynamodb/table/sim-dynamodb-index-update.d.ts +23 -0
- package/dist/service/dynamodb/table/sim-dynamodb-index-update.d.ts.map +1 -0
- package/dist/service/dynamodb/table/sim-dynamodb-index-update.js +88 -0
- package/dist/service/dynamodb/table/sim-dynamodb-index-update.js.map +1 -0
- package/dist/service/dynamodb/table/sim-dynamodb-item-collection.d.ts +7 -0
- package/dist/service/dynamodb/table/sim-dynamodb-item-collection.d.ts.map +1 -1
- package/dist/service/dynamodb/table/sim-dynamodb-item-collection.js +6 -3
- package/dist/service/dynamodb/table/sim-dynamodb-item-collection.js.map +1 -1
- package/dist/service/dynamodb/table/sim-dynamodb-read-view.d.ts +76 -0
- package/dist/service/dynamodb/table/sim-dynamodb-read-view.d.ts.map +1 -0
- package/dist/service/dynamodb/table/sim-dynamodb-read-view.js +2 -0
- package/dist/service/dynamodb/table/sim-dynamodb-read-view.js.map +1 -0
- package/dist/service/dynamodb/table/sim-dynamodb-sort-key-compare.d.ts +30 -0
- package/dist/service/dynamodb/table/sim-dynamodb-sort-key-compare.d.ts.map +1 -0
- package/dist/service/dynamodb/table/sim-dynamodb-sort-key-compare.js +39 -0
- package/dist/service/dynamodb/table/sim-dynamodb-sort-key-compare.js.map +1 -0
- package/dist/service/dynamodb/table/sim-dynamodb-sort-key-order.d.ts +34 -20
- package/dist/service/dynamodb/table/sim-dynamodb-sort-key-order.d.ts.map +1 -1
- package/dist/service/dynamodb/table/sim-dynamodb-sort-key-order.js +47 -50
- package/dist/service/dynamodb/table/sim-dynamodb-sort-key-order.js.map +1 -1
- package/dist/service/dynamodb/table/sim-dynamodb-table-billing.d.ts +9 -0
- package/dist/service/dynamodb/table/sim-dynamodb-table-billing.d.ts.map +1 -1
- package/dist/service/dynamodb/table/sim-dynamodb-table-billing.js +17 -0
- package/dist/service/dynamodb/table/sim-dynamodb-table-billing.js.map +1 -1
- package/dist/service/dynamodb/table/sim-dynamodb-table-definition.d.ts +53 -0
- package/dist/service/dynamodb/table/sim-dynamodb-table-definition.d.ts.map +1 -0
- package/dist/service/dynamodb/table/sim-dynamodb-table-definition.js +63 -0
- package/dist/service/dynamodb/table/sim-dynamodb-table-definition.js.map +1 -0
- package/dist/service/dynamodb/table/sim-dynamodb-table-description.d.ts.map +1 -1
- package/dist/service/dynamodb/table/sim-dynamodb-table-description.js +2 -2
- package/dist/service/dynamodb/table/sim-dynamodb-table-description.js.map +1 -1
- package/dist/service/dynamodb/table/sim-dynamodb-table-lifecycle.d.ts +29 -2
- package/dist/service/dynamodb/table/sim-dynamodb-table-lifecycle.d.ts.map +1 -1
- package/dist/service/dynamodb/table/sim-dynamodb-table-lifecycle.js +45 -4
- package/dist/service/dynamodb/table/sim-dynamodb-table-lifecycle.js.map +1 -1
- package/dist/service/dynamodb/table/sim-dynamodb-table-read-view.d.ts +26 -0
- package/dist/service/dynamodb/table/sim-dynamodb-table-read-view.d.ts.map +1 -0
- package/dist/service/dynamodb/table/sim-dynamodb-table-read-view.js +30 -0
- package/dist/service/dynamodb/table/sim-dynamodb-table-read-view.js.map +1 -0
- package/dist/service/dynamodb/table/sim-dynamodb-table-scan.d.ts +2 -2
- package/dist/service/dynamodb/table/sim-dynamodb-table-scan.d.ts.map +1 -1
- package/dist/service/dynamodb/table/sim-dynamodb-table-scan.js +1 -2
- package/dist/service/dynamodb/table/sim-dynamodb-table-scan.js.map +1 -1
- package/dist/service/dynamodb/table/sim-dynamodb-table-update.d.ts +27 -0
- package/dist/service/dynamodb/table/sim-dynamodb-table-update.d.ts.map +1 -0
- package/dist/service/dynamodb/table/sim-dynamodb-table-update.js +79 -0
- package/dist/service/dynamodb/table/sim-dynamodb-table-update.js.map +1 -0
- package/dist/service/dynamodb/table/sim-dynamodb-table-view.d.ts +67 -0
- package/dist/service/dynamodb/table/sim-dynamodb-table-view.d.ts.map +1 -0
- package/dist/service/dynamodb/table/sim-dynamodb-table-view.js +90 -0
- package/dist/service/dynamodb/table/sim-dynamodb-table-view.js.map +1 -0
- package/dist/service/dynamodb/table/sim-dynamodb-table.d.ts +49 -46
- package/dist/service/dynamodb/table/sim-dynamodb-table.d.ts.map +1 -1
- package/dist/service/dynamodb/table/sim-dynamodb-table.js +87 -79
- package/dist/service/dynamodb/table/sim-dynamodb-table.js.map +1 -1
- package/dist/service/dynamodb/table/sim-dynamodb-updatable-table.d.ts +21 -0
- package/dist/service/dynamodb/table/sim-dynamodb-updatable-table.d.ts.map +1 -0
- package/dist/service/dynamodb/table/sim-dynamodb-updatable-table.js +2 -0
- package/dist/service/dynamodb/table/sim-dynamodb-updatable-table.js.map +1 -0
- package/dist/service/dynamodb/table/sim-dynamodb-updated-billing.d.ts +17 -0
- package/dist/service/dynamodb/table/sim-dynamodb-updated-billing.d.ts.map +1 -0
- package/dist/service/dynamodb/table/sim-dynamodb-updated-billing.js +24 -0
- package/dist/service/dynamodb/table/sim-dynamodb-updated-billing.js.map +1 -0
- package/dist/service/dynamodb/table/sim-dynamodb-updated-indexes.d.ts +16 -0
- package/dist/service/dynamodb/table/sim-dynamodb-updated-indexes.d.ts.map +1 -0
- package/dist/service/dynamodb/table/sim-dynamodb-updated-indexes.js +32 -0
- package/dist/service/dynamodb/table/sim-dynamodb-updated-indexes.js.map +1 -0
- package/dist/service/dynamodb/time-to-live/{sim-dynamodb-table-expiry.d.ts → sim-dynamodb-table-time-to-live.d.ts} +28 -9
- package/dist/service/dynamodb/time-to-live/sim-dynamodb-table-time-to-live.d.ts.map +1 -0
- package/dist/service/dynamodb/time-to-live/{sim-dynamodb-table-expiry.js → sim-dynamodb-table-time-to-live.js} +32 -5
- package/dist/service/dynamodb/time-to-live/sim-dynamodb-table-time-to-live.js.map +1 -0
- package/dist/service/dynamodb/time-to-live/sim-dynamodb-time-to-live.d.ts +2 -1
- package/dist/service/dynamodb/time-to-live/sim-dynamodb-time-to-live.d.ts.map +1 -1
- package/dist/service/dynamodb/time-to-live/sim-dynamodb-time-to-live.js +2 -1
- package/dist/service/dynamodb/time-to-live/sim-dynamodb-time-to-live.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/dynamodb/time-to-live/sim-dynamodb-table-expiry.d.ts.map +0 -1
- package/dist/service/dynamodb/time-to-live/sim-dynamodb-table-expiry.js.map +0 -1
- 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,123 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A Lambda proxy invocation event in API Gateway HTTP API payload format 2.0.
|
|
3
|
+
*
|
|
4
|
+
* Two simulated services build this same event: an HTTP API with an `AWS_PROXY`
|
|
5
|
+
* integration, which is what the format is named after, and a Lambda Function
|
|
6
|
+
* URL, which real Lambda documents as using the same format. The fields that
|
|
7
|
+
* differ between them, such as the route key and the stage, are supplied by
|
|
8
|
+
* whichever endpoint received the request.
|
|
9
|
+
*
|
|
10
|
+
* This is a minimal structural equivalent of the `aws-lambda` typings package's
|
|
11
|
+
* `APIGatewayProxyEventV2` and `LambdaFunctionURLEvent`, so handlers typed
|
|
12
|
+
* against that package can be invoked unchanged.
|
|
13
|
+
*/
|
|
14
|
+
export interface SimPayload2Event {
|
|
15
|
+
version: "2.0";
|
|
16
|
+
routeKey: string;
|
|
17
|
+
rawPath: string;
|
|
18
|
+
rawQueryString: string;
|
|
19
|
+
cookies?: string[];
|
|
20
|
+
headers: Record<string, string>;
|
|
21
|
+
queryStringParameters?: Record<string, string>;
|
|
22
|
+
pathParameters?: Record<string, string>;
|
|
23
|
+
stageVariables?: Record<string, string>;
|
|
24
|
+
requestContext: SimPayload2RequestContext;
|
|
25
|
+
body?: string;
|
|
26
|
+
isBase64Encoded: boolean;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* The requestContext block of a payload format 2.0 event.
|
|
30
|
+
*/
|
|
31
|
+
export interface SimPayload2RequestContext {
|
|
32
|
+
accountId: string;
|
|
33
|
+
apiId: string;
|
|
34
|
+
authorizer?: SimPayload2AuthorizerContext;
|
|
35
|
+
domainName: string;
|
|
36
|
+
domainPrefix: string;
|
|
37
|
+
http: SimPayload2HttpContext;
|
|
38
|
+
requestId: string;
|
|
39
|
+
routeKey: string;
|
|
40
|
+
stage: string;
|
|
41
|
+
time: string;
|
|
42
|
+
timeEpoch: number;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* The requestContext.authorizer block, present only on an invocation the
|
|
46
|
+
* endpoint authorized.
|
|
47
|
+
*
|
|
48
|
+
* An endpoint that admits anyone has no caller to describe, so real AWS leaves
|
|
49
|
+
* this out entirely rather than filling it with blanks. Which member is
|
|
50
|
+
* present says which kind of authorizer admitted the request: `iam` for a
|
|
51
|
+
* SigV4-signed request, `jwt` for a JWT authorizer.
|
|
52
|
+
*/
|
|
53
|
+
export interface SimPayload2AuthorizerContext {
|
|
54
|
+
iam?: SimPayload2IamAuthorizer;
|
|
55
|
+
jwt?: SimPayload2JwtAuthorizer;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* The IAM caller of a SigV4-authorized invocation.
|
|
59
|
+
*
|
|
60
|
+
* `userArn` and `accountId` describe the principal the request was attributed
|
|
61
|
+
* to, which is what makes a handler able to behave differently for different
|
|
62
|
+
* callers.
|
|
63
|
+
*
|
|
64
|
+
* `callerId` and `userId` carry the caller ARN rather than the opaque unique
|
|
65
|
+
* id (`AIDA...`, `AROA...:session`) real AWS puts there: the simulator has no
|
|
66
|
+
* unique-id namespace at the request boundary, and an ARN is what a test would
|
|
67
|
+
* assert on anyway. `accessKey` is empty, as the simulator does not carry the
|
|
68
|
+
* signing access key id past authentication. `cognitoIdentity` and
|
|
69
|
+
* `principalOrgId` are always null, as neither is simulated.
|
|
70
|
+
*/
|
|
71
|
+
export interface SimPayload2IamAuthorizer {
|
|
72
|
+
accessKey: string;
|
|
73
|
+
accountId: string;
|
|
74
|
+
callerId: string;
|
|
75
|
+
cognitoIdentity: null;
|
|
76
|
+
principalOrgId: null;
|
|
77
|
+
userArn: string;
|
|
78
|
+
userId: string;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* The JWT the endpoint's authorizer accepted, as it reaches the handler.
|
|
82
|
+
*
|
|
83
|
+
* `scopes` is null when the token carries no `scope` claim, which is what real
|
|
84
|
+
* API Gateway puts there rather than an empty list.
|
|
85
|
+
*/
|
|
86
|
+
export interface SimPayload2JwtAuthorizer {
|
|
87
|
+
claims: Record<string, string>;
|
|
88
|
+
scopes: string[] | null;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* The requestContext.http block of a payload format 2.0 event.
|
|
92
|
+
*/
|
|
93
|
+
export interface SimPayload2HttpContext {
|
|
94
|
+
method: string;
|
|
95
|
+
path: string;
|
|
96
|
+
protocol: string;
|
|
97
|
+
sourceIp: string;
|
|
98
|
+
userAgent: string;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Structured handler result for a payload format 2.0 invocation.
|
|
102
|
+
*
|
|
103
|
+
* A handler may also return any other value, in which case real AWS infers a
|
|
104
|
+
* 200 JSON response from it.
|
|
105
|
+
*/
|
|
106
|
+
export interface SimPayload2Result extends SimPayload2ResultBody {
|
|
107
|
+
statusCode?: number | undefined;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* A handler result that carries a status code, which is what makes real AWS
|
|
111
|
+
* treat it as an HTTP response rather than a value to JSON-encode.
|
|
112
|
+
*/
|
|
113
|
+
export interface SimPayload2StructuredResult extends SimPayload2ResultBody {
|
|
114
|
+
statusCode: number;
|
|
115
|
+
}
|
|
116
|
+
interface SimPayload2ResultBody {
|
|
117
|
+
headers?: Record<string, string | number | boolean> | undefined;
|
|
118
|
+
cookies?: string[] | undefined;
|
|
119
|
+
body?: string | undefined;
|
|
120
|
+
isBase64Encoded?: boolean | undefined;
|
|
121
|
+
}
|
|
122
|
+
export {};
|
|
123
|
+
//# sourceMappingURL=sim-payload-2-event.type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-payload-2-event.type.d.ts","sourceRoot":"","sources":["../../../src/serve/payload-2/sim-payload-2-event.type.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,KAAK,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,qBAAqB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/C,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxC,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxC,cAAc,EAAE,yBAAyB,CAAC;IAC1C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,OAAO,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,4BAA4B,CAAC;IAC1C,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,sBAAsB,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,4BAA4B;IAC3C,GAAG,CAAC,EAAE,wBAAwB,CAAC;IAC/B,GAAG,CAAC,EAAE,wBAAwB,CAAC;CAChC;AAED;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,wBAAwB;IACvC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,IAAI,CAAC;IACtB,cAAc,EAAE,IAAI,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;;;;GAKG;AACH,MAAM,WAAW,wBAAwB;IACvC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;;;GAKG;AACH,MAAM,WAAW,iBAAkB,SAAQ,qBAAqB;IAC9D,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACjC;AAED;;;GAGG;AACH,MAAM,WAAW,2BAA4B,SAAQ,qBAAqB;IACxE,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,UAAU,qBAAqB;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,GAAG,SAAS,CAAC;IAChE,OAAO,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAC/B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,eAAe,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACvC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-payload-2-event.type.js","sourceRoot":"","sources":["../../../src/serve/payload-2/sim-payload-2-event.type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { SimAwsRequestCaller } from "../../service/iam/request/sim-aws-request-caller.js";
|
|
2
|
+
import type { SimPayload2AuthorizerContext } from "./sim-payload-2-event.type.js";
|
|
3
|
+
/**
|
|
4
|
+
* What an endpoint reports as the Account of a caller it did not authenticate,
|
|
5
|
+
* which is every caller of an endpoint that admits anyone.
|
|
6
|
+
*/
|
|
7
|
+
export declare const simPayload2AnonymousAccountId = "anonymous";
|
|
8
|
+
/**
|
|
9
|
+
* How the IAM caller of an invocation appears in the event.
|
|
10
|
+
*
|
|
11
|
+
* Everything here is derived from the caller's ARN. A caller without one is
|
|
12
|
+
* described the way an unauthenticated caller is, rather than filled in with
|
|
13
|
+
* something no real invocation would carry.
|
|
14
|
+
*/
|
|
15
|
+
export declare class SimPayload2IamCaller {
|
|
16
|
+
private readonly caller;
|
|
17
|
+
constructor(caller: SimAwsRequestCaller);
|
|
18
|
+
/**
|
|
19
|
+
* The Account this invocation is reported as coming from.
|
|
20
|
+
*/
|
|
21
|
+
accountId(): string;
|
|
22
|
+
/**
|
|
23
|
+
* The `requestContext.authorizer` block describing this caller, or undefined
|
|
24
|
+
* when there is no IAM principal to describe.
|
|
25
|
+
*/
|
|
26
|
+
authorizerContext(): SimPayload2AuthorizerContext | undefined;
|
|
27
|
+
private arn;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=sim-payload-2-iam-caller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-payload-2-iam-caller.d.ts","sourceRoot":"","sources":["../../../src/serve/payload-2/sim-payload-2-iam-caller.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAC/F,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,+BAA+B,CAAC;AAElF;;;GAGG;AACH,eAAO,MAAM,6BAA6B,cAAc,CAAC;AAEzD;;;;;;GAMG;AACH,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAsB;IAE7C,YAAY,MAAM,EAAE,mBAAmB,EAEtC;IAED;;OAEG;IACH,SAAS,IAAI,MAAM,CAQlB;IAED;;;OAGG;IACH,iBAAiB,IAAI,4BAA4B,GAAG,SAAS,CAkB5D;IAED,OAAO,CAAC,GAAG;CAKZ"}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* What
|
|
3
|
-
*
|
|
2
|
+
* What an endpoint reports as the Account of a caller it did not authenticate,
|
|
3
|
+
* which is every caller of an endpoint that admits anyone.
|
|
4
4
|
*/
|
|
5
|
-
export const
|
|
5
|
+
export const simPayload2AnonymousAccountId = "anonymous";
|
|
6
6
|
/**
|
|
7
|
-
* How the caller of
|
|
7
|
+
* How the IAM caller of an invocation appears in the event.
|
|
8
8
|
*
|
|
9
|
-
*
|
|
10
|
-
* everything here is derived from the caller's ARN. A caller without one is
|
|
9
|
+
* Everything here is derived from the caller's ARN. A caller without one is
|
|
11
10
|
* described the way an unauthenticated caller is, rather than filled in with
|
|
12
11
|
* something no real invocation would carry.
|
|
13
12
|
*/
|
|
14
|
-
export class
|
|
13
|
+
export class SimPayload2IamCaller {
|
|
15
14
|
caller;
|
|
16
15
|
constructor(caller) {
|
|
17
16
|
this.caller = caller;
|
|
@@ -22,7 +21,7 @@ export class SimLambdaUrlIamCaller {
|
|
|
22
21
|
accountId() {
|
|
23
22
|
const arnAccountId = this.arn()?.split(":", 6)[4];
|
|
24
23
|
if (arnAccountId === undefined || arnAccountId.length === 0) {
|
|
25
|
-
return
|
|
24
|
+
return simPayload2AnonymousAccountId;
|
|
26
25
|
}
|
|
27
26
|
return arnAccountId;
|
|
28
27
|
}
|
|
@@ -52,4 +51,4 @@ export class SimLambdaUrlIamCaller {
|
|
|
52
51
|
return principal.kind === "arn" ? principal.arn : undefined;
|
|
53
52
|
}
|
|
54
53
|
}
|
|
55
|
-
//# sourceMappingURL=sim-
|
|
54
|
+
//# sourceMappingURL=sim-payload-2-iam-caller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-payload-2-iam-caller.js","sourceRoot":"","sources":["../../../src/serve/payload-2/sim-payload-2-iam-caller.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,WAAW,CAAC;AAEzD;;;;;;GAMG;AACH,MAAM,OAAO,oBAAoB;IACd,MAAM,CAAsB;IAE7C,YAAY,MAA2B;QACrC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;OAEG;IACH,SAAS;QACP,MAAM,YAAY,GAAG,IAAI,CAAC,GAAG,EAAE,EAAE,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAElD,IAAI,YAAY,KAAK,SAAS,IAAI,YAAY,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC5D,OAAO,6BAA6B,CAAC;QACvC,CAAC;QAED,OAAO,YAAY,CAAC;IACtB,CAAC;IAED;;;OAGG;IACH,iBAAiB;QACf,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;QAEvB,IAAI,GAAG,KAAK,SAAS,EAAE,CAAC;YACtB,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,OAAO;YACL,GAAG,EAAE;gBACH,SAAS,EAAE,EAAE;gBACb,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE;gBAC3B,QAAQ,EAAE,GAAG;gBACb,eAAe,EAAE,IAAI;gBACrB,cAAc,EAAE,IAAI;gBACpB,OAAO,EAAE,GAAG;gBACZ,MAAM,EAAE,GAAG;aACZ;SACF,CAAC;IACJ,CAAC;IAEO,GAAG;QACT,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC,MAAM,CAAC;QAElC,OAAO,SAAS,CAAC,IAAI,KAAK,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;IAC9D,CAAC;CACF"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { SimAwsRequestCaller } from "../../service/iam/request/sim-aws-request-caller.js";
|
|
2
|
+
import type { SimPayload2Endpoint } from "./sim-payload-2-endpoint.js";
|
|
3
|
+
import type { SimPayload2JwtAuthorizer, SimPayload2RequestContext } from "./sim-payload-2-event.type.js";
|
|
4
|
+
/**
|
|
5
|
+
* What the endpoint's authorizer knows about the caller, if it authorized one.
|
|
6
|
+
*
|
|
7
|
+
* The two members are the two kinds of authorizer a payload format 2.0
|
|
8
|
+
* endpoint has. Neither is present for an endpoint that admits anyone, which
|
|
9
|
+
* is what leaves the authorizer block out of the event.
|
|
10
|
+
*/
|
|
11
|
+
export interface SimPayload2Authorization {
|
|
12
|
+
/** The caller of a SigV4-signed request the endpoint authenticated. */
|
|
13
|
+
readonly caller?: SimAwsRequestCaller | undefined;
|
|
14
|
+
/** The token a JWT authorizer accepted. */
|
|
15
|
+
readonly jwt?: SimPayload2JwtAuthorizer | undefined;
|
|
16
|
+
}
|
|
17
|
+
interface SimPayload2RequestContextInput {
|
|
18
|
+
readonly request: Request;
|
|
19
|
+
readonly url: URL;
|
|
20
|
+
readonly endpoint: SimPayload2Endpoint;
|
|
21
|
+
/** The simulated instant the request is stamped with. */
|
|
22
|
+
readonly at: Date;
|
|
23
|
+
readonly authorization?: SimPayload2Authorization | undefined;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Builds the requestContext block of a payload format 2.0 event.
|
|
27
|
+
*
|
|
28
|
+
* This describes the AWS-shaped endpoint the request reached and, when the
|
|
29
|
+
* endpoint authorized one, the caller behind it. A caller is supplied only for
|
|
30
|
+
* an endpoint that authenticates, which is what makes the authorizer block
|
|
31
|
+
* present there and absent for an open endpoint, as it is on real AWS.
|
|
32
|
+
*/
|
|
33
|
+
export declare class SimPayload2RequestContextBuilder {
|
|
34
|
+
/**
|
|
35
|
+
* Build the requestContext for one request.
|
|
36
|
+
*/
|
|
37
|
+
build(input: SimPayload2RequestContextInput): SimPayload2RequestContext;
|
|
38
|
+
private iamCaller;
|
|
39
|
+
}
|
|
40
|
+
export {};
|
|
41
|
+
//# sourceMappingURL=sim-payload-2-request-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-payload-2-request-context.d.ts","sourceRoot":"","sources":["../../../src/serve/payload-2/sim-payload-2-request-context.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAE/F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,KAAK,EACV,wBAAwB,EACxB,yBAAyB,EAC1B,MAAM,+BAA+B,CAAC;AAOvC;;;;;;GAMG;AACH,MAAM,WAAW,wBAAwB;IACvC,uEAAuE;IACvE,QAAQ,CAAC,MAAM,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IAClD,2CAA2C;IAC3C,QAAQ,CAAC,GAAG,CAAC,EAAE,wBAAwB,GAAG,SAAS,CAAC;CACrD;AAED,UAAU,8BAA8B;IACtC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,GAAG,EAAE,GAAG,CAAC;IAClB,QAAQ,CAAC,QAAQ,EAAE,mBAAmB,CAAC;IACvC,yDAAyD;IACzD,QAAQ,CAAC,EAAE,EAAE,IAAI,CAAC;IAClB,QAAQ,CAAC,aAAa,CAAC,EAAE,wBAAwB,GAAG,SAAS,CAAC;CAC/D;AAED;;;;;;;GAOG;AACH,qBAAa,gCAAgC;IAC3C;;OAEG;IACH,KAAK,CAAC,KAAK,EAAE,8BAA8B,GAAG,yBAAyB,CAoCtE;IAED,OAAO,CAAC,SAAS;CAKlB"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { randomUUID } from "node:crypto";
|
|
2
|
+
import { simPayload2SourceIp } from "./sim-payload-2-connection.js";
|
|
3
|
+
import { simPayload2EventTime } from "./sim-payload-2-event-time.js";
|
|
4
|
+
import { simPayload2AnonymousAccountId, SimPayload2IamCaller, } from "./sim-payload-2-iam-caller.js";
|
|
5
|
+
/**
|
|
6
|
+
* Builds the requestContext block of a payload format 2.0 event.
|
|
7
|
+
*
|
|
8
|
+
* This describes the AWS-shaped endpoint the request reached and, when the
|
|
9
|
+
* endpoint authorized one, the caller behind it. A caller is supplied only for
|
|
10
|
+
* an endpoint that authenticates, which is what makes the authorizer block
|
|
11
|
+
* present there and absent for an open endpoint, as it is on real AWS.
|
|
12
|
+
*/
|
|
13
|
+
export class SimPayload2RequestContextBuilder {
|
|
14
|
+
/**
|
|
15
|
+
* Build the requestContext for one request.
|
|
16
|
+
*/
|
|
17
|
+
build(input) {
|
|
18
|
+
const { request, url, endpoint, at } = input;
|
|
19
|
+
const iamCaller = this.iamCaller(input.authorization?.caller);
|
|
20
|
+
const requestContext = {
|
|
21
|
+
// An unauthenticated request has no Account behind it, and that is what
|
|
22
|
+
// AWS calls anonymous.
|
|
23
|
+
accountId: iamCaller?.accountId() ?? simPayload2AnonymousAccountId,
|
|
24
|
+
apiId: endpoint.apiId,
|
|
25
|
+
domainName: endpoint.domainName,
|
|
26
|
+
domainPrefix: endpoint.domainPrefix,
|
|
27
|
+
http: {
|
|
28
|
+
method: request.method,
|
|
29
|
+
path: url.pathname,
|
|
30
|
+
protocol: "HTTP/1.1",
|
|
31
|
+
sourceIp: simPayload2SourceIp,
|
|
32
|
+
userAgent: request.headers.get("user-agent") ?? "",
|
|
33
|
+
},
|
|
34
|
+
requestId: randomUUID(),
|
|
35
|
+
routeKey: endpoint.routeKey,
|
|
36
|
+
stage: endpoint.stage,
|
|
37
|
+
time: simPayload2EventTime(at),
|
|
38
|
+
timeEpoch: at.getTime(),
|
|
39
|
+
};
|
|
40
|
+
const jwt = input.authorization?.jwt;
|
|
41
|
+
if (jwt !== undefined) {
|
|
42
|
+
requestContext.authorizer = { jwt };
|
|
43
|
+
}
|
|
44
|
+
const authorizer = iamCaller?.authorizerContext();
|
|
45
|
+
if (authorizer !== undefined) {
|
|
46
|
+
requestContext.authorizer = authorizer;
|
|
47
|
+
}
|
|
48
|
+
return requestContext;
|
|
49
|
+
}
|
|
50
|
+
iamCaller(caller) {
|
|
51
|
+
return caller === undefined ? undefined : new SimPayload2IamCaller(caller);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=sim-payload-2-request-context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-payload-2-request-context.js","sourceRoot":"","sources":["../../../src/serve/payload-2/sim-payload-2-request-context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAGzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAMpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EACL,6BAA6B,EAC7B,oBAAoB,GACrB,MAAM,+BAA+B,CAAC;AAyBvC;;;;;;;GAOG;AACH,MAAM,OAAO,gCAAgC;IAC3C;;OAEG;IACH,KAAK,CAAC,KAAqC;QACzC,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;QAC7C,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;QAE9D,MAAM,cAAc,GAA8B;YAChD,wEAAwE;YACxE,uBAAuB;YACvB,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,IAAI,6BAA6B;YAClE,KAAK,EAAE,QAAQ,CAAC,KAAK;YACrB,UAAU,EAAE,QAAQ,CAAC,UAAU;YAC/B,YAAY,EAAE,QAAQ,CAAC,YAAY;YACnC,IAAI,EAAE;gBACJ,MAAM,EAAE,OAAO,CAAC,MAAM;gBACtB,IAAI,EAAE,GAAG,CAAC,QAAQ;gBAClB,QAAQ,EAAE,UAAU;gBACpB,QAAQ,EAAE,mBAAmB;gBAC7B,SAAS,EAAE,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,EAAE;aACnD;YACD,SAAS,EAAE,UAAU,EAAE;YACvB,QAAQ,EAAE,QAAQ,CAAC,QAAQ;YAC3B,KAAK,EAAE,QAAQ,CAAC,KAAK;YACrB,IAAI,EAAE,oBAAoB,CAAC,EAAE,CAAC;YAC9B,SAAS,EAAE,EAAE,CAAC,OAAO,EAAE;SACxB,CAAC;QAEF,MAAM,GAAG,GAAG,KAAK,CAAC,aAAa,EAAE,GAAG,CAAC;QACrC,IAAI,GAAG,KAAK,SAAS,EAAE,CAAC;YACtB,cAAc,CAAC,UAAU,GAAG,EAAE,GAAG,EAAE,CAAC;QACtC,CAAC;QAED,MAAM,UAAU,GAAG,SAAS,EAAE,iBAAiB,EAAE,CAAC;QAClD,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;YAC7B,cAAc,CAAC,UAAU,GAAG,UAAU,CAAC;QACzC,CAAC;QAED,OAAO,cAAc,CAAC;IACxB,CAAC;IAEO,SAAS,CACf,MAAuC;QAEvC,OAAO,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,oBAAoB,CAAC,MAAM,CAAC,CAAC;IAC7E,CAAC;CACF"}
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
interface SimPayload2ProxiedRequest {
|
|
2
|
+
readonly request: Request;
|
|
3
|
+
/** The AWS-shaped hostname of the endpoint the request reached. */
|
|
4
|
+
readonly domainName: string;
|
|
5
|
+
readonly traceId: string;
|
|
6
|
+
readonly sourceIp: string;
|
|
7
|
+
}
|
|
1
8
|
/**
|
|
2
9
|
* Reads the parts of an HTTP request that payload format 2.0 delivers in its
|
|
3
10
|
* own event fields rather than as raw request data.
|
|
@@ -5,14 +12,17 @@
|
|
|
5
12
|
* Keeping this separate leaves the event builder to assemble the event from
|
|
6
13
|
* parts, without also owning the header, cookie and query conventions.
|
|
7
14
|
*/
|
|
8
|
-
export declare class
|
|
15
|
+
export declare class SimPayload2RequestParts {
|
|
9
16
|
/**
|
|
10
17
|
* Collect request headers, which payload format 2.0 delivers as single
|
|
11
18
|
* lowercased values.
|
|
12
19
|
*
|
|
13
|
-
* Cookies are left out because they travel in their own event field.
|
|
20
|
+
* Cookies are left out because they travel in their own event field. The
|
|
21
|
+
* proxy headers are set rather than merged: AWS terminates the connection
|
|
22
|
+
* itself and rewrites them before the handler sees them, so whatever a
|
|
23
|
+
* client sent under those names does not survive.
|
|
14
24
|
*/
|
|
15
|
-
headers(
|
|
25
|
+
headers(proxied: SimPayload2ProxiedRequest): Record<string, string>;
|
|
16
26
|
/**
|
|
17
27
|
* Collect the request cookies as the separate list the event carries.
|
|
18
28
|
*/
|
|
@@ -23,4 +33,5 @@ export declare class SimLambdaUrlRequestParts {
|
|
|
23
33
|
*/
|
|
24
34
|
queryStringParameters(url: URL): Record<string, string>;
|
|
25
35
|
}
|
|
26
|
-
|
|
36
|
+
export {};
|
|
37
|
+
//# sourceMappingURL=sim-payload-2-request-parts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-payload-2-request-parts.d.ts","sourceRoot":"","sources":["../../../src/serve/payload-2/sim-payload-2-request-parts.ts"],"names":[],"mappings":"AAAA,UAAU,yBAAyB;IACjC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,mEAAmE;IACnE,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC3B;AAED;;;;;;GAMG;AACH,qBAAa,uBAAuB;IAClC;;;;;;;;OAQG;IACH,OAAO,CAAC,OAAO,EAAE,yBAAyB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAoBlE;IAED;;OAEG;IACH,OAAO,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,EAAE,CAWlC;IAED;;;OAGG;IACH,qBAAqB,CAAC,GAAG,EAAE,GAAG,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAStD;CACF"}
|
|
@@ -5,21 +5,33 @@
|
|
|
5
5
|
* Keeping this separate leaves the event builder to assemble the event from
|
|
6
6
|
* parts, without also owning the header, cookie and query conventions.
|
|
7
7
|
*/
|
|
8
|
-
export class
|
|
8
|
+
export class SimPayload2RequestParts {
|
|
9
9
|
/**
|
|
10
10
|
* Collect request headers, which payload format 2.0 delivers as single
|
|
11
11
|
* lowercased values.
|
|
12
12
|
*
|
|
13
|
-
* Cookies are left out because they travel in their own event field.
|
|
13
|
+
* Cookies are left out because they travel in their own event field. The
|
|
14
|
+
* proxy headers are set rather than merged: AWS terminates the connection
|
|
15
|
+
* itself and rewrites them before the handler sees them, so whatever a
|
|
16
|
+
* client sent under those names does not survive.
|
|
14
17
|
*/
|
|
15
|
-
headers(
|
|
18
|
+
headers(proxied) {
|
|
16
19
|
// Fetch API header names are already lowercased, which is the case
|
|
17
20
|
// payload format 2.0 delivers them in, and repeats are already joined.
|
|
18
21
|
const headers = new Map();
|
|
19
|
-
request.headers.forEach((value, name) => {
|
|
22
|
+
proxied.request.headers.forEach((value, name) => {
|
|
20
23
|
headers.set(name, value);
|
|
21
24
|
});
|
|
22
25
|
headers.delete("cookie");
|
|
26
|
+
// The endpoint's own hostname, not the localhost one the request arrived
|
|
27
|
+
// at, because that is the hostname the request named on real AWS.
|
|
28
|
+
headers.set("host", proxied.domainName);
|
|
29
|
+
headers.set("x-amzn-trace-id", proxied.traceId);
|
|
30
|
+
headers.set("x-forwarded-for", proxied.sourceIp);
|
|
31
|
+
// Simulated endpoints are reached over plain localhost HTTP, while a real
|
|
32
|
+
// one is only reachable over HTTPS, so these describe the AWS endpoint.
|
|
33
|
+
headers.set("x-forwarded-port", "443");
|
|
34
|
+
headers.set("x-forwarded-proto", "https");
|
|
23
35
|
return Object.fromEntries(headers);
|
|
24
36
|
}
|
|
25
37
|
/**
|
|
@@ -47,4 +59,4 @@ export class SimLambdaUrlRequestParts {
|
|
|
47
59
|
]));
|
|
48
60
|
}
|
|
49
61
|
}
|
|
50
|
-
//# sourceMappingURL=sim-
|
|
62
|
+
//# sourceMappingURL=sim-payload-2-request-parts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-payload-2-request-parts.js","sourceRoot":"","sources":["../../../src/serve/payload-2/sim-payload-2-request-parts.ts"],"names":[],"mappings":"AAQA;;;;;;GAMG;AACH,MAAM,OAAO,uBAAuB;IAClC;;;;;;;;OAQG;IACH,OAAO,CAAC,OAAkC;QACxC,mEAAmE;QACnE,uEAAuE;QACvE,MAAM,OAAO,GAAG,IAAI,GAAG,EAAkB,CAAC;QAC1C,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,IAAI,EAAE,EAAE;YAC9C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QAC3B,CAAC,CAAC,CAAC;QACH,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;QAEzB,yEAAyE;QACzE,kEAAkE;QAClE,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;QACxC,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;QAChD,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;QACjD,0EAA0E;QAC1E,wEAAwE;QACxE,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,KAAK,CAAC,CAAC;QACvC,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE,OAAO,CAAC,CAAC;QAE1C,OAAO,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IACrC,CAAC;IAED;;OAEG;IACH,OAAO,CAAC,OAAgB;QACtB,MAAM,YAAY,GAAG,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QAEnD,IAAI,YAAY,KAAK,IAAI,IAAI,YAAY,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACvD,OAAO,EAAE,CAAC;QACZ,CAAC;QAED,OAAO,YAAY;aAChB,KAAK,CAAC,GAAG,CAAC;aACV,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;aAC9B,MAAM,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IAC3C,CAAC;IAED;;;OAGG;IACH,qBAAqB,CAAC,GAAQ;QAC5B,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC,CAAC;QAE9C,OAAO,MAAM,CAAC,WAAW,CACvB,CAAC,GAAG,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,EAAoB,EAAE,CAAC;YACvC,GAAG;YACH,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC;SACvC,CAAC,CACH,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Turns a payload format 2.0 handler result into the HTTP response the client
|
|
3
|
+
* sees.
|
|
4
|
+
*
|
|
5
|
+
* Real AWS accepts two shapes here: a structured response carrying a
|
|
6
|
+
* statusCode, or any other value, which it wraps in a 200 JSON response. That
|
|
7
|
+
* second rule is why a handler returning `{ body: "hi" }` and nothing else
|
|
8
|
+
* produces a 200 whose body is the JSON `{"body":"hi"}`: without a statusCode
|
|
9
|
+
* there is no structured response to read, so the whole object is the value.
|
|
10
|
+
* Both are supported so handlers written either way behave as they would on
|
|
11
|
+
* AWS.
|
|
12
|
+
*/
|
|
13
|
+
export declare class SimPayload2ResponseBuilder {
|
|
14
|
+
private readonly bodyEncoding;
|
|
15
|
+
/**
|
|
16
|
+
* Build the HTTP response for one handler result.
|
|
17
|
+
*/
|
|
18
|
+
build(result: unknown): Response;
|
|
19
|
+
/**
|
|
20
|
+
* Whether the handler returned a structured HTTP response rather than a
|
|
21
|
+
* value to be JSON-encoded.
|
|
22
|
+
*/
|
|
23
|
+
private isStructuredResult;
|
|
24
|
+
private structuredResponse;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=sim-payload-2-response-builder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-payload-2-response-builder.d.ts","sourceRoot":"","sources":["../../../src/serve/payload-2/sim-payload-2-response-builder.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;GAWG;AACH,qBAAa,0BAA0B;IACrC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAiC;IAE9D;;OAEG;IACH,KAAK,CAAC,MAAM,EAAE,OAAO,GAAG,QAAQ,CAS/B;IAED;;;OAGG;IACH,OAAO,CAAC,kBAAkB;IAW1B,OAAO,CAAC,kBAAkB;CAgC3B"}
|
|
@@ -1,14 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SimPayload2BodyEncoding } from "./sim-payload-2-body-encoding.js";
|
|
2
2
|
const jsonContentType = "application/json";
|
|
3
3
|
/**
|
|
4
|
-
* Turns a
|
|
4
|
+
* Turns a payload format 2.0 handler result into the HTTP response the client
|
|
5
|
+
* sees.
|
|
5
6
|
*
|
|
6
|
-
* Real
|
|
7
|
-
* statusCode, or any other value, which it wraps in a 200 JSON response.
|
|
8
|
-
*
|
|
7
|
+
* Real AWS accepts two shapes here: a structured response carrying a
|
|
8
|
+
* statusCode, or any other value, which it wraps in a 200 JSON response. That
|
|
9
|
+
* second rule is why a handler returning `{ body: "hi" }` and nothing else
|
|
10
|
+
* produces a 200 whose body is the JSON `{"body":"hi"}`: without a statusCode
|
|
11
|
+
* there is no structured response to read, so the whole object is the value.
|
|
12
|
+
* Both are supported so handlers written either way behave as they would on
|
|
13
|
+
* AWS.
|
|
9
14
|
*/
|
|
10
|
-
export class
|
|
11
|
-
bodyEncoding = new
|
|
15
|
+
export class SimPayload2ResponseBuilder {
|
|
16
|
+
bodyEncoding = new SimPayload2BodyEncoding();
|
|
12
17
|
/**
|
|
13
18
|
* Build the HTTP response for one handler result.
|
|
14
19
|
*/
|
|
@@ -54,4 +59,4 @@ export class SimLambdaUrlResponseBuilder {
|
|
|
54
59
|
});
|
|
55
60
|
}
|
|
56
61
|
}
|
|
57
|
-
//# sourceMappingURL=sim-
|
|
62
|
+
//# sourceMappingURL=sim-payload-2-response-builder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-payload-2-response-builder.js","sourceRoot":"","sources":["../../../src/serve/payload-2/sim-payload-2-response-builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAM3E,MAAM,eAAe,GAAG,kBAAkB,CAAC;AAE3C;;;;;;;;;;;GAWG;AACH,MAAM,OAAO,0BAA0B;IACpB,YAAY,GAAG,IAAI,uBAAuB,EAAE,CAAC;IAE9D;;OAEG;IACH,KAAK,CAAC,MAAe;QACnB,IAAI,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC;YACpC,OAAO,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC;QACzC,CAAC;QAED,OAAO,QAAQ,CAAC,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACnC,MAAM,EAAE,GAAG;YACX,OAAO,EAAE,EAAE,cAAc,EAAE,eAAe,EAAE;SAC7C,CAAC,CAAC;IACL,CAAC;IAED;;;OAGG;IACK,kBAAkB,CACxB,MAAe;QAEf,OAAO,CACL,OAAO,MAAM,KAAK,QAAQ;YAC1B,MAAM,KAAK,IAAI;YACf,YAAY,IAAI,MAAM;YACtB,OAAQ,MAA4B,CAAC,UAAU,KAAK,QAAQ,CAC7D,CAAC;IACJ,CAAC;IAEO,kBAAkB,CAAC,MAAmC;QAC5D,MAAM,OAAO,GAAG,IAAI,OAAO,EAAE,CAAC;QAC9B,MAAM,aAAa,GAAG,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC;QAC3D,MAAM,aAAa,GAAG,MAAM,CAAC,OAAO,IAAI,EAAE,CAAC;QAE3C,KAAK,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,IAAI,aAAa,EAAE,CAAC;YAC1C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;QACnC,CAAC;QAED,KAAK,MAAM,MAAM,IAAI,aAAa,EAAE,CAAC;YACnC,OAAO,CAAC,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;QACvC,CAAC;QAED,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,EAAE,CAAC;YACjC,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE,eAAe,CAAC,CAAC;QAC/C,CAAC;QAED,MAAM,IAAI,GAAG,IAAI,CAAC,YAAY,CAAC,MAAM,CACnC,MAAM,CAAC,IAAI,IAAI,EAAE,EACjB,MAAM,CAAC,eAAe,IAAI,KAAK,CAChC,CAAC;QAEF,OAAO,IAAI,QAAQ;QACjB,qEAAqE;QACrE,gDAAgD;QAChD,IAAI,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,EAC/B;YACE,MAAM,EAAE,MAAM,CAAC,UAAU;YACzB,OAAO;SACR,CACF,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { SimJwtKeys } from "../../../../util/jwt/sim-jwt-keys.js";
|
|
2
|
+
import type { SimCognitoUserPoolRegistry } from "../../../cognito/registry/sim-cognito-user-pool-registry.js";
|
|
3
|
+
import type { SimHttpApiJwtIssuerKeys } from "./sim-http-api-jwt-issuer-keys.js";
|
|
4
|
+
interface SimCognitoHttpApiJwtIssuerKeysProperties {
|
|
5
|
+
readonly userPoolRegistry: SimCognitoUserPoolRegistry;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Simulated Cognito user pools as the issuers a JWT authorizer verifies
|
|
9
|
+
* against.
|
|
10
|
+
*
|
|
11
|
+
* All of the Cognito-shaped URL handling lives here rather than in API
|
|
12
|
+
* Gateway, which knows only that an authorizer names an issuer by URL. The
|
|
13
|
+
* registry spans simulated Accounts, matching an API Gateway authorizer that
|
|
14
|
+
* can name a pool in any Account.
|
|
15
|
+
*/
|
|
16
|
+
export declare class SimCognitoHttpApiJwtIssuerKeys implements SimHttpApiJwtIssuerKeys {
|
|
17
|
+
private readonly userPoolRegistry;
|
|
18
|
+
constructor(properties: SimCognitoHttpApiJwtIssuerKeysProperties);
|
|
19
|
+
/**
|
|
20
|
+
* The keys the pool this issuer URL names publishes.
|
|
21
|
+
*
|
|
22
|
+
* An issuer that is not a Cognito URL, names no pool this simulation has, or
|
|
23
|
+
* names one through another region's endpoint publishes nothing, and every
|
|
24
|
+
* token claiming it is refused.
|
|
25
|
+
*/
|
|
26
|
+
publishedBy(issuerUrl: string): SimJwtKeys;
|
|
27
|
+
}
|
|
28
|
+
export {};
|
|
29
|
+
//# sourceMappingURL=sim-cognito-http-api-jwt-issuer-keys.d.ts.map
|
package/dist/service/apigatewayv2/api/authorizer/sim-cognito-http-api-jwt-issuer-keys.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cognito-http-api-jwt-issuer-keys.d.ts","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/api/authorizer/sim-cognito-http-api-jwt-issuer-keys.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,6DAA6D,CAAC;AAC9G,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAYjF,UAAU,wCAAwC;IAChD,QAAQ,CAAC,gBAAgB,EAAE,0BAA0B,CAAC;CACvD;AAED;;;;;;;;GAQG;AACH,qBAAa,8BAA+B,YAAW,uBAAuB;IAC5E,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAA6B;IAE9D,YAAY,UAAU,EAAE,wCAAwC,EAE/D;IAED;;;;;;OAMG;IACH,WAAW,CAAC,SAAS,EAAE,MAAM,GAAG,UAAU,CAczC;CACF"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { SimJwtKeys } from "../../../../util/jwt/sim-jwt-keys.js";
|
|
2
|
+
/**
|
|
3
|
+
* The issuer URL a simulated Cognito user pool's tokens name.
|
|
4
|
+
*
|
|
5
|
+
* The region appears twice, once in the hostname and once as the leading part
|
|
6
|
+
* of the pool id, and real Cognito only issues for a pool through its own
|
|
7
|
+
* region's endpoint. Both are captured so the two can be compared.
|
|
8
|
+
*/
|
|
9
|
+
const cognitoIssuerUrl = /^https:\/\/cognito-idp\.(?<hostRegion>[a-z0-9-]+)\.amazonaws\.com\/(?<poolId>(?<poolRegion>[a-z0-9-]+)_[A-Za-z0-9]+)$/;
|
|
10
|
+
/**
|
|
11
|
+
* Simulated Cognito user pools as the issuers a JWT authorizer verifies
|
|
12
|
+
* against.
|
|
13
|
+
*
|
|
14
|
+
* All of the Cognito-shaped URL handling lives here rather than in API
|
|
15
|
+
* Gateway, which knows only that an authorizer names an issuer by URL. The
|
|
16
|
+
* registry spans simulated Accounts, matching an API Gateway authorizer that
|
|
17
|
+
* can name a pool in any Account.
|
|
18
|
+
*/
|
|
19
|
+
export class SimCognitoHttpApiJwtIssuerKeys {
|
|
20
|
+
userPoolRegistry;
|
|
21
|
+
constructor(properties) {
|
|
22
|
+
this.userPoolRegistry = properties.userPoolRegistry;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* The keys the pool this issuer URL names publishes.
|
|
26
|
+
*
|
|
27
|
+
* An issuer that is not a Cognito URL, names no pool this simulation has, or
|
|
28
|
+
* names one through another region's endpoint publishes nothing, and every
|
|
29
|
+
* token claiming it is refused.
|
|
30
|
+
*/
|
|
31
|
+
publishedBy(issuerUrl) {
|
|
32
|
+
const groups = cognitoIssuerUrl.exec(issuerUrl)?.groups;
|
|
33
|
+
if (groups === undefined || groups["hostRegion"] !== groups["poolRegion"]) {
|
|
34
|
+
return new SimJwtKeys([]);
|
|
35
|
+
}
|
|
36
|
+
const pool = this.userPoolRegistry.find(groups["poolId"] ?? "");
|
|
37
|
+
if (pool === undefined) {
|
|
38
|
+
return new SimJwtKeys([]);
|
|
39
|
+
}
|
|
40
|
+
return new SimJwtKeys(pool.jwks().keys);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=sim-cognito-http-api-jwt-issuer-keys.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cognito-http-api-jwt-issuer-keys.js","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/api/authorizer/sim-cognito-http-api-jwt-issuer-keys.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAIlE;;;;;;GAMG;AACH,MAAM,gBAAgB,GACpB,uHAAuH,CAAC;AAM1H;;;;;;;;GAQG;AACH,MAAM,OAAO,8BAA8B;IACxB,gBAAgB,CAA6B;IAE9D,YAAY,UAAoD;QAC9D,IAAI,CAAC,gBAAgB,GAAG,UAAU,CAAC,gBAAgB,CAAC;IACtD,CAAC;IAED;;;;;;OAMG;IACH,WAAW,CAAC,SAAiB;QAC3B,MAAM,MAAM,GAAG,gBAAgB,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;QAExD,IAAI,MAAM,KAAK,SAAS,IAAI,MAAM,CAAC,YAAY,CAAC,KAAK,MAAM,CAAC,YAAY,CAAC,EAAE,CAAC;YAC1E,OAAO,IAAI,UAAU,CAAC,EAAE,CAAC,CAAC;QAC5B,CAAC;QAED,MAAM,IAAI,GAAG,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;QAEhE,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;YACvB,OAAO,IAAI,UAAU,CAAC,EAAE,CAAC,CAAC;QAC5B,CAAC;QAED,OAAO,IAAI,UAAU,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,CAAC;IAC1C,CAAC;CACF"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import type { SimPayload2JwtAuthorizer } from "../../../../serve/payload-2/sim-payload-2-event.type.js";
|
|
2
|
+
import type { SimAwsRequestCaller } from "../../../iam/request/sim-aws-request-caller.js";
|
|
3
|
+
/**
|
|
4
|
+
* Why an endpoint refused a request, which decides the response it gets.
|
|
5
|
+
*
|
|
6
|
+
* `unauthorized` covers everything up to and including claim validation: real
|
|
7
|
+
* API Gateway answers all of it with one 401 and one body, so a client learns
|
|
8
|
+
* that its token was not accepted and nothing about which check it failed.
|
|
9
|
+
* `forbidden` is only ever an unmet route scope, which is a token that was
|
|
10
|
+
* accepted and does not allow this route.
|
|
11
|
+
*/
|
|
12
|
+
export type SimHttpApiRefusalKind = "unauthorized" | "forbidden";
|
|
13
|
+
interface SimHttpApiAdmittedProperties {
|
|
14
|
+
/** The token a `JWT` route's authorizer accepted. */
|
|
15
|
+
readonly jwt?: SimPayload2JwtAuthorizer | undefined;
|
|
16
|
+
/** The principal an `AWS_IAM` route allowed the request. */
|
|
17
|
+
readonly caller?: SimAwsRequestCaller | undefined;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* A request the endpoint admitted, and what its authorizer knows about the
|
|
21
|
+
* caller.
|
|
22
|
+
*
|
|
23
|
+
* Both members are absent on a route that authorizes nobody, since there is no
|
|
24
|
+
* caller to describe, which is what leaves `requestContext.authorizer` out of
|
|
25
|
+
* the event entirely. Which one is present says which kind of authorization
|
|
26
|
+
* admitted the request.
|
|
27
|
+
*/
|
|
28
|
+
export declare class SimHttpApiAdmitted {
|
|
29
|
+
readonly admitted: true;
|
|
30
|
+
readonly jwt: SimPayload2JwtAuthorizer | undefined;
|
|
31
|
+
readonly caller: SimAwsRequestCaller | undefined;
|
|
32
|
+
constructor(properties?: SimHttpApiAdmittedProperties);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* A request the endpoint refused, before any integration was invoked.
|
|
36
|
+
*
|
|
37
|
+
* `errorDescription` is the one AWS publishes for a token whose audience does
|
|
38
|
+
* not match, and is absent everywhere else rather than filled in with text
|
|
39
|
+
* AWS was not seen to send.
|
|
40
|
+
*
|
|
41
|
+
* An `AWS_IAM` route refuses with `forbidden`, whoever the caller turned out
|
|
42
|
+
* to be: nothing about an unsigned request makes it a 401 here, because the
|
|
43
|
+
* boundary already resolved it to an anonymous caller and IAM then allows that
|
|
44
|
+
* caller nothing.
|
|
45
|
+
*/
|
|
46
|
+
export declare class SimHttpApiRefused {
|
|
47
|
+
readonly admitted: false;
|
|
48
|
+
readonly kind: SimHttpApiRefusalKind;
|
|
49
|
+
readonly errorDescription: string | undefined;
|
|
50
|
+
private constructor();
|
|
51
|
+
/**
|
|
52
|
+
* The token was missing, unreadable, or did not verify.
|
|
53
|
+
*/
|
|
54
|
+
static unauthorized(errorDescription?: string): SimHttpApiRefused;
|
|
55
|
+
/**
|
|
56
|
+
* The token verified and none of its scopes is one the route asks for, or
|
|
57
|
+
* IAM did not allow the caller `execute-api:Invoke` on the route.
|
|
58
|
+
*/
|
|
59
|
+
static forbidden(): SimHttpApiRefused;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* What an endpoint decided about one request.
|
|
63
|
+
*/
|
|
64
|
+
export type SimHttpApiAuthorization = SimHttpApiAdmitted | SimHttpApiRefused;
|
|
65
|
+
export {};
|
|
66
|
+
//# sourceMappingURL=sim-http-api-authorization.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-http-api-authorization.d.ts","sourceRoot":"","sources":["../../../../../src/service/apigatewayv2/api/authorizer/sim-http-api-authorization.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yDAAyD,CAAC;AACxG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gDAAgD,CAAC;AAE1F;;;;;;;;GAQG;AACH,MAAM,MAAM,qBAAqB,GAAG,cAAc,GAAG,WAAW,CAAC;AAEjE,UAAU,4BAA4B;IACpC,qDAAqD;IACrD,QAAQ,CAAC,GAAG,CAAC,EAAE,wBAAwB,GAAG,SAAS,CAAC;IACpD,4DAA4D;IAC5D,QAAQ,CAAC,MAAM,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;CACnD;AAED;;;;;;;;GAQG;AACH,qBAAa,kBAAkB;IAC7B,SAAgB,QAAQ,OAAiB;IACzC,SAAgB,GAAG,EAAE,wBAAwB,GAAG,SAAS,CAAC;IAC1D,SAAgB,MAAM,EAAE,mBAAmB,GAAG,SAAS,CAAC;IAExD,YAAY,UAAU,GAAE,4BAAiC,EAGxD;CACF;AAED;;;;;;;;;;;GAWG;AACH,qBAAa,iBAAiB;IAC5B,SAAgB,QAAQ,QAAkB;IAC1C,SAAgB,IAAI,EAAE,qBAAqB,CAAC;IAC5C,SAAgB,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAC;IAErD,OAAO,eAGN;IAED;;OAEG;IACH,MAAM,CAAC,YAAY,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,iBAAiB,CAEhE;IAED;;;OAGG;IACH,MAAM,CAAC,SAAS,IAAI,iBAAiB,CAEpC;CACF;AAED;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,kBAAkB,GAAG,iBAAiB,CAAC"}
|