modmex-lambda 0.4.0__tar.gz → 0.4.1__tar.gz
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.
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/PKG-INFO +1 -1
- modmex_lambda-0.4.1/modmex_lambda/__init__.py +56 -0
- modmex_lambda-0.4.1/modmex_lambda/data_classes/__init__.py +103 -0
- modmex_lambda-0.4.1/modmex_lambda/event_handler/__init__.py +37 -0
- modmex_lambda-0.4.1/modmex_lambda/event_handler/dependencies/__init__.py +28 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/pyproject.toml +1 -1
- modmex_lambda-0.4.0/modmex_lambda/__init__.py +0 -82
- modmex_lambda-0.4.0/modmex_lambda/data_classes/__init__.py +0 -132
- modmex_lambda-0.4.0/modmex_lambda/event_handler/__init__.py +0 -52
- modmex_lambda-0.4.0/modmex_lambda/event_handler/dependencies/__init__.py +0 -37
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/.github/workflows/ci.yml +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/.github/workflows/release.yml +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/.gitignore +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/LICENSE +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/README.md +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/connectors/__init__.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/connectors/cloudwatch.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/connectors/dynamodb.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/connectors/eventbridge.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/connectors/icloudwatch.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/connectors/idynamodb.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/connectors/ieventbridge.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/connectors/ilambda.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/connectors/is3.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/connectors/isns.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/connectors/isqs.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/connectors/lambda_.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/connectors/module.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/connectors/s3.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/connectors/sns.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/connectors/sqs.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/data_classes/api_gateway_authorizer_event.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/data_classes/api_gateway_proxy_event.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/data_classes/api_gateway_websocket_event.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/data_classes/cognito_user_pool_event.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/data_classes/common.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/dependencies.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/event_handler/api_gateway.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/event_handler/constants.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/event_handler/content_types.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/event_handler/cors.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/event_handler/dependencies/compat.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/event_handler/dependencies/dependant.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/event_handler/dependencies/dependency_middleware.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/event_handler/dependencies/depends.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/event_handler/dependencies/params.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/event_handler/dependencies/types.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/event_handler/exception_handler.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/event_handler/exceptions.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/event_handler/gateway_response.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/event_handler/middlewares.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/event_handler/params.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/event_handler/request.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/event_handler/response.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/event_handler/routing.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/event_handler/routing_fallbacks.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/event_handler/types.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/event_sources.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/exceptions.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/logging.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/params.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/parser.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/request.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/resolver.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/response.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/routing.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/shared/__init__.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/shared/cookies.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/shared/headers_serializer.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/shared/json_encoder.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/shared/types.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/__init__.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/events/__init__.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/events/dynamodb.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/events/kinesis.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/events/s3.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/events/sns.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/events/sqs.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/filters/__init__.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/filters/content.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/filters/event_type.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/filters/latch.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/filters/skip.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/flavors/__init__.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/flavors/base_flavor.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/flavors/cdc.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/flavors/collect.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/flavors/correlate.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/flavors/evaluate.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/flavors/expired.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/flavors/iflavor.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/flavors/job.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/flavors/materialize.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/flavors/s3.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/flavors/sns.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/flavors/task.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/flavors/update.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/irules_registry.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/operators/__init__.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/operators/cloudwatch.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/operators/dynamodb.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/operators/ioperator.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/operators/lambda_.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/operators/publisher.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/operators/s3.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/operators/sns.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/operators/sqs.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/rules_registry.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/runner.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/sources/__init__.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/sources/base.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/sources/dynamodb.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/sources/kinesis.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/sources/s3.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/sources/sns.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/sources/sqs.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/utils/__init__.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/utils/apigateway.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/utils/aws.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/utils/batch.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/utils/cloudwatch.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/utils/concurrency.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/utils/contracts.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/utils/data_classes/__init__.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/utils/data_classes/dynamodb.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/utils/decorators.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/utils/dynamodb.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/utils/eventbridge.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/utils/faults.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/utils/filters.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/utils/json_encoder.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/utils/lambda_.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/utils/operators.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/utils/opt.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/utils/pluralize.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/utils/print.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/utils/retry.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/utils/s3.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/utils/sns.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/utils/split.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/utils/sqs.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/utils/tags.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/utils/time.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/stream/utils/uow.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/validation.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/poetry.lock +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/__init__.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/conftest.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/connectors/__init__.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/connectors/conftest.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/connectors/test_cloudwatch.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/connectors/test_dynamodb.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/connectors/test_lazy_clients.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/connectors/test_s3.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/connectors/test_simple_connectors.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/connectors/test_sns.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/connectors/test_sqs.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/data_classes/test_api_gateway_proxy_event.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/data_classes/test_cognito_user_pool_event.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/data_classes/test_common.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/event_handler/__init__.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/event_handler/test_api_gateway.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/event_handler/test_cors.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/event_handler/test_dependencies.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/event_handler/test_exception_handler.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/event_handler/test_gateway_response.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/event_handler/test_request.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/event_handler/test_response.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/event_handler/test_routing.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/shared/test_cookies_headers.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/shared/test_json_encoder.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/__init__.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/conftest.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/events/test_dynamodb.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/events/test_kinesis.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/events/test_s3.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/events/test_sns.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/events/test_sqs.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/filters/__init__.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/filters/test_content.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/filters/test_event_type.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/filters/test_latch.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/filters/test_skip.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/flavors/__init__.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/flavors/source_events.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/flavors/test_base_flavor.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/flavors/test_cdc.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/flavors/test_collect.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/flavors/test_correlate.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/flavors/test_evaluate.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/flavors/test_expired.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/flavors/test_job.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/flavors/test_materialize.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/flavors/test_s3.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/flavors/test_sns.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/flavors/test_task.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/flavors/test_update.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/test_dependency_resolver.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/test_rules_registry.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/test_runner.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/test_runner_pipeline.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/test_sources.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/utils/__init__.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/utils/faults.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/utils/test_apigateway.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/utils/test_aws.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/utils/test_batch.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/utils/test_cloudwatch.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/utils/test_concurrency.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/utils/test_decorators.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/utils/test_dynamodb.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/utils/test_eventbridge.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/utils/test_filters.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/utils/test_json_encoder.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/utils/test_lambda.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/utils/test_operators.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/utils/test_pluralize.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/utils/test_print.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/utils/test_retry.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/utils/test_s3.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/utils/test_sns.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/utils/test_split.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/utils/test_sqs.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/utils/test_tags.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/utils/test_time.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/stream/utils/test_uow.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/test_lazy_imports.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/test_logging.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/test_parser_event_sources.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/test_reexports.py +0 -0
- {modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/tests/test_validation.py +0 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"""Public API for modmex-lambda."""
|
|
2
|
+
|
|
3
|
+
__all__ = [
|
|
4
|
+
"APIGatewayHttpResolver",
|
|
5
|
+
"APIGatewayRestResolver",
|
|
6
|
+
"Request",
|
|
7
|
+
"Response",
|
|
8
|
+
"parse",
|
|
9
|
+
"event_parser",
|
|
10
|
+
"event_source",
|
|
11
|
+
"AwsConnectorsModule",
|
|
12
|
+
"DefaultDependencyResolver",
|
|
13
|
+
"DependencyResolver",
|
|
14
|
+
"Depends",
|
|
15
|
+
"InjectorDependencyResolver",
|
|
16
|
+
"create_dependency_resolver",
|
|
17
|
+
"default_dependency_resolver",
|
|
18
|
+
"Logger",
|
|
19
|
+
"ModmexValidator",
|
|
20
|
+
"ValidationError",
|
|
21
|
+
]
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
def __getattr__(name):
|
|
25
|
+
target = {
|
|
26
|
+
"APIGatewayHttpResolver": ("modmex_lambda.event_handler", "APIGatewayHttpResolver"),
|
|
27
|
+
"APIGatewayRestResolver": ("modmex_lambda.event_handler", "APIGatewayRestResolver"),
|
|
28
|
+
"Request": ("modmex_lambda.event_handler.request", "Request"),
|
|
29
|
+
"Response": ("modmex_lambda.event_handler", "Response"),
|
|
30
|
+
"parse": ("modmex_lambda.parser", "parse"),
|
|
31
|
+
"event_parser": ("modmex_lambda.parser", "event_parser"),
|
|
32
|
+
"event_source": ("modmex_lambda.event_sources", "event_source"),
|
|
33
|
+
"AwsConnectorsModule": ("modmex_lambda.connectors", "AwsConnectorsModule"),
|
|
34
|
+
"DefaultDependencyResolver": ("modmex_lambda.dependencies", "DefaultDependencyResolver"),
|
|
35
|
+
"DependencyResolver": ("modmex_lambda.dependencies", "DependencyResolver"),
|
|
36
|
+
"Depends": ("modmex_lambda.event_handler.dependencies.depends", "Depends"),
|
|
37
|
+
"InjectorDependencyResolver": ("modmex_lambda.dependencies", "InjectorDependencyResolver"),
|
|
38
|
+
"create_dependency_resolver": ("modmex_lambda.dependencies", "create_dependency_resolver"),
|
|
39
|
+
"default_dependency_resolver": ("modmex_lambda.dependencies", "default_dependency_resolver"),
|
|
40
|
+
"Logger": ("modmex_lambda.logging", "Logger"),
|
|
41
|
+
"ModmexValidator": ("modmex_lambda.validation", "ModmexValidator"),
|
|
42
|
+
"ValidationError": ("modmex_lambda.validation", "ValidationError"),
|
|
43
|
+
}.get(name)
|
|
44
|
+
if target is None:
|
|
45
|
+
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|
|
46
|
+
|
|
47
|
+
from importlib import import_module
|
|
48
|
+
|
|
49
|
+
module_name, attr = target
|
|
50
|
+
value = getattr(import_module(module_name), attr)
|
|
51
|
+
globals()[name] = value
|
|
52
|
+
return value
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
def __dir__():
|
|
56
|
+
return sorted([*globals().keys(), *__all__])
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
__all__ = [
|
|
2
|
+
"DictWrapper",
|
|
3
|
+
"APIGatewayProxyEvent",
|
|
4
|
+
"APIGatewayProxyEventV2",
|
|
5
|
+
"APIGatewayRestEvent",
|
|
6
|
+
"APIGatewayHttpEvent",
|
|
7
|
+
"APIGatewayAuthorizerEvent",
|
|
8
|
+
"APIGatewayWebSocketEvent",
|
|
9
|
+
"CognitoUserPoolEvent",
|
|
10
|
+
"PreSignUpTriggerEvent",
|
|
11
|
+
"PostConfirmationTriggerEvent",
|
|
12
|
+
"UserMigrationTriggerEvent",
|
|
13
|
+
"CustomMessageTriggerEvent",
|
|
14
|
+
"PreAuthenticationTriggerEvent",
|
|
15
|
+
"PostAuthenticationTriggerEvent",
|
|
16
|
+
"PreTokenGenerationTriggerEvent",
|
|
17
|
+
"PreTokenGenerationV2TriggerEvent",
|
|
18
|
+
"PreTokenGenerationV3TriggerEvent",
|
|
19
|
+
"DefineAuthChallengeTriggerEvent",
|
|
20
|
+
"CreateAuthChallengeTriggerEvent",
|
|
21
|
+
"VerifyAuthChallengeResponseTriggerEvent",
|
|
22
|
+
"CustomEmailSenderTriggerEvent",
|
|
23
|
+
"CustomSMSSenderTriggerEvent",
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
def __getattr__(name):
|
|
28
|
+
target = {
|
|
29
|
+
"DictWrapper": ("modmex_lambda.data_classes.common", "DictWrapper"),
|
|
30
|
+
"APIGatewayProxyEvent": ("modmex_lambda.data_classes.api_gateway_proxy_event", "APIGatewayProxyEvent"),
|
|
31
|
+
"APIGatewayProxyEventV2": ("modmex_lambda.data_classes.api_gateway_proxy_event", "APIGatewayProxyEventV2"),
|
|
32
|
+
"APIGatewayRestEvent": ("modmex_lambda.data_classes.api_gateway_proxy_event", "APIGatewayProxyEvent"),
|
|
33
|
+
"APIGatewayHttpEvent": ("modmex_lambda.data_classes.api_gateway_proxy_event", "APIGatewayProxyEventV2"),
|
|
34
|
+
"APIGatewayAuthorizerEvent": (
|
|
35
|
+
"modmex_lambda.data_classes.api_gateway_authorizer_event",
|
|
36
|
+
"APIGatewayAuthorizerEvent",
|
|
37
|
+
),
|
|
38
|
+
"APIGatewayWebSocketEvent": (
|
|
39
|
+
"modmex_lambda.data_classes.api_gateway_websocket_event",
|
|
40
|
+
"APIGatewayWebSocketEvent",
|
|
41
|
+
),
|
|
42
|
+
"CognitoUserPoolEvent": ("modmex_lambda.data_classes.cognito_user_pool_event", "CognitoUserPoolEvent"),
|
|
43
|
+
"PreSignUpTriggerEvent": ("modmex_lambda.data_classes.cognito_user_pool_event", "PreSignUpTriggerEvent"),
|
|
44
|
+
"PostConfirmationTriggerEvent": (
|
|
45
|
+
"modmex_lambda.data_classes.cognito_user_pool_event",
|
|
46
|
+
"PostConfirmationTriggerEvent",
|
|
47
|
+
),
|
|
48
|
+
"UserMigrationTriggerEvent": ("modmex_lambda.data_classes.cognito_user_pool_event", "UserMigrationTriggerEvent"),
|
|
49
|
+
"CustomMessageTriggerEvent": ("modmex_lambda.data_classes.cognito_user_pool_event", "CustomMessageTriggerEvent"),
|
|
50
|
+
"PreAuthenticationTriggerEvent": (
|
|
51
|
+
"modmex_lambda.data_classes.cognito_user_pool_event",
|
|
52
|
+
"PreAuthenticationTriggerEvent",
|
|
53
|
+
),
|
|
54
|
+
"PostAuthenticationTriggerEvent": (
|
|
55
|
+
"modmex_lambda.data_classes.cognito_user_pool_event",
|
|
56
|
+
"PostAuthenticationTriggerEvent",
|
|
57
|
+
),
|
|
58
|
+
"PreTokenGenerationTriggerEvent": (
|
|
59
|
+
"modmex_lambda.data_classes.cognito_user_pool_event",
|
|
60
|
+
"PreTokenGenerationTriggerEvent",
|
|
61
|
+
),
|
|
62
|
+
"PreTokenGenerationV2TriggerEvent": (
|
|
63
|
+
"modmex_lambda.data_classes.cognito_user_pool_event",
|
|
64
|
+
"PreTokenGenerationV2TriggerEvent",
|
|
65
|
+
),
|
|
66
|
+
"PreTokenGenerationV3TriggerEvent": (
|
|
67
|
+
"modmex_lambda.data_classes.cognito_user_pool_event",
|
|
68
|
+
"PreTokenGenerationV3TriggerEvent",
|
|
69
|
+
),
|
|
70
|
+
"DefineAuthChallengeTriggerEvent": (
|
|
71
|
+
"modmex_lambda.data_classes.cognito_user_pool_event",
|
|
72
|
+
"DefineAuthChallengeTriggerEvent",
|
|
73
|
+
),
|
|
74
|
+
"CreateAuthChallengeTriggerEvent": (
|
|
75
|
+
"modmex_lambda.data_classes.cognito_user_pool_event",
|
|
76
|
+
"CreateAuthChallengeTriggerEvent",
|
|
77
|
+
),
|
|
78
|
+
"VerifyAuthChallengeResponseTriggerEvent": (
|
|
79
|
+
"modmex_lambda.data_classes.cognito_user_pool_event",
|
|
80
|
+
"VerifyAuthChallengeResponseTriggerEvent",
|
|
81
|
+
),
|
|
82
|
+
"CustomEmailSenderTriggerEvent": (
|
|
83
|
+
"modmex_lambda.data_classes.cognito_user_pool_event",
|
|
84
|
+
"CustomEmailSenderTriggerEvent",
|
|
85
|
+
),
|
|
86
|
+
"CustomSMSSenderTriggerEvent": (
|
|
87
|
+
"modmex_lambda.data_classes.cognito_user_pool_event",
|
|
88
|
+
"CustomSMSSenderTriggerEvent",
|
|
89
|
+
),
|
|
90
|
+
}.get(name)
|
|
91
|
+
if target is None:
|
|
92
|
+
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|
|
93
|
+
|
|
94
|
+
from importlib import import_module
|
|
95
|
+
|
|
96
|
+
module_name, attr = target
|
|
97
|
+
value = getattr(import_module(module_name), attr)
|
|
98
|
+
globals()[name] = value
|
|
99
|
+
return value
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
def __dir__():
|
|
103
|
+
return sorted([*globals().keys(), *__all__])
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
__all__ = [
|
|
2
|
+
"APIGatewayHttpResolver",
|
|
3
|
+
"APIGatewayRestResolver",
|
|
4
|
+
"Response",
|
|
5
|
+
"DefaultDependencyResolver",
|
|
6
|
+
"DependencyResolver",
|
|
7
|
+
"Depends",
|
|
8
|
+
"InjectorDependencyResolver",
|
|
9
|
+
"content_types",
|
|
10
|
+
]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def __getattr__(name):
|
|
14
|
+
target = {
|
|
15
|
+
"APIGatewayHttpResolver": ("modmex_lambda.event_handler.api_gateway", "APIGatewayHttpResolver"),
|
|
16
|
+
"APIGatewayRestResolver": ("modmex_lambda.event_handler.api_gateway", "APIGatewayRestResolver"),
|
|
17
|
+
"Response": ("modmex_lambda.event_handler.api_gateway", "Response"),
|
|
18
|
+
"DefaultDependencyResolver": ("modmex_lambda.dependencies", "DefaultDependencyResolver"),
|
|
19
|
+
"DependencyResolver": ("modmex_lambda.dependencies", "DependencyResolver"),
|
|
20
|
+
"Depends": ("modmex_lambda.event_handler.dependencies.depends", "Depends"),
|
|
21
|
+
"InjectorDependencyResolver": ("modmex_lambda.dependencies", "InjectorDependencyResolver"),
|
|
22
|
+
"content_types": ("modmex_lambda.event_handler.content_types", None),
|
|
23
|
+
}.get(name)
|
|
24
|
+
if target is None:
|
|
25
|
+
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|
|
26
|
+
|
|
27
|
+
from importlib import import_module
|
|
28
|
+
|
|
29
|
+
module_name, attr = target
|
|
30
|
+
module = import_module(module_name)
|
|
31
|
+
value = module if attr is None else getattr(module, attr)
|
|
32
|
+
globals()[name] = value
|
|
33
|
+
return value
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
def __dir__():
|
|
37
|
+
return sorted([*globals().keys(), *__all__])
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
__all__ = [
|
|
2
|
+
"DefaultDependencyResolver",
|
|
3
|
+
"DependencyResolver",
|
|
4
|
+
"Depends",
|
|
5
|
+
"InjectorDependencyResolver",
|
|
6
|
+
]
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def __getattr__(name):
|
|
10
|
+
target = {
|
|
11
|
+
"DefaultDependencyResolver": ("modmex_lambda.dependencies", "DefaultDependencyResolver"),
|
|
12
|
+
"DependencyResolver": ("modmex_lambda.dependencies", "DependencyResolver"),
|
|
13
|
+
"Depends": ("modmex_lambda.event_handler.dependencies.depends", "Depends"),
|
|
14
|
+
"InjectorDependencyResolver": ("modmex_lambda.dependencies", "InjectorDependencyResolver"),
|
|
15
|
+
}.get(name)
|
|
16
|
+
if target is None:
|
|
17
|
+
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|
|
18
|
+
|
|
19
|
+
from importlib import import_module
|
|
20
|
+
|
|
21
|
+
module_name, attr = target
|
|
22
|
+
value = getattr(import_module(module_name), attr)
|
|
23
|
+
globals()[name] = value
|
|
24
|
+
return value
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
def __dir__():
|
|
28
|
+
return sorted([*globals().keys(), *__all__])
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "modmex-lambda"
|
|
7
|
-
version = "0.4.
|
|
7
|
+
version = "0.4.1"
|
|
8
8
|
description = "Ultra-lightweight AWS Lambda utilities for API Gateway routing and event handling."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10,<4.0"
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
"""Public API for modmex-lambda."""
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
|
|
5
|
-
from importlib import import_module
|
|
6
|
-
from typing import TYPE_CHECKING, Any
|
|
7
|
-
|
|
8
|
-
if TYPE_CHECKING:
|
|
9
|
-
from .event_handler import (
|
|
10
|
-
APIGatewayHttpResolver,
|
|
11
|
-
APIGatewayRestResolver,
|
|
12
|
-
Response,
|
|
13
|
-
)
|
|
14
|
-
from .event_handler.request import Request
|
|
15
|
-
from .event_sources import event_source
|
|
16
|
-
from .connectors import AwsConnectorsModule
|
|
17
|
-
from .dependencies import (
|
|
18
|
-
DefaultDependencyResolver,
|
|
19
|
-
DependencyResolver,
|
|
20
|
-
InjectorDependencyResolver,
|
|
21
|
-
create_dependency_resolver,
|
|
22
|
-
default_dependency_resolver,
|
|
23
|
-
)
|
|
24
|
-
from .event_handler.dependencies.depends import Depends
|
|
25
|
-
from .logging import Logger
|
|
26
|
-
from .parser import event_parser, parse
|
|
27
|
-
from .validation import ModmexValidator, ValidationError
|
|
28
|
-
|
|
29
|
-
_EXPORTS = {
|
|
30
|
-
"APIGatewayHttpResolver": ("modmex_lambda.event_handler", "APIGatewayHttpResolver"),
|
|
31
|
-
"APIGatewayRestResolver": ("modmex_lambda.event_handler", "APIGatewayRestResolver"),
|
|
32
|
-
"Request": ("modmex_lambda.event_handler.request", "Request"),
|
|
33
|
-
"Response": ("modmex_lambda.event_handler", "Response"),
|
|
34
|
-
"parse": ("modmex_lambda.parser", "parse"),
|
|
35
|
-
"event_parser": ("modmex_lambda.parser", "event_parser"),
|
|
36
|
-
"event_source": ("modmex_lambda.event_sources", "event_source"),
|
|
37
|
-
"AwsConnectorsModule": ("modmex_lambda.connectors", "AwsConnectorsModule"),
|
|
38
|
-
"DefaultDependencyResolver": ("modmex_lambda.dependencies", "DefaultDependencyResolver"),
|
|
39
|
-
"DependencyResolver": ("modmex_lambda.dependencies", "DependencyResolver"),
|
|
40
|
-
"Depends": ("modmex_lambda.event_handler.dependencies.depends", "Depends"),
|
|
41
|
-
"InjectorDependencyResolver": ("modmex_lambda.dependencies", "InjectorDependencyResolver"),
|
|
42
|
-
"create_dependency_resolver": ("modmex_lambda.dependencies", "create_dependency_resolver"),
|
|
43
|
-
"default_dependency_resolver": ("modmex_lambda.dependencies", "default_dependency_resolver"),
|
|
44
|
-
"Logger": ("modmex_lambda.logging", "Logger"),
|
|
45
|
-
"ModmexValidator": ("modmex_lambda.validation", "ModmexValidator"),
|
|
46
|
-
"ValidationError": ("modmex_lambda.validation", "ValidationError"),
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
__all__ = [
|
|
50
|
-
"APIGatewayHttpResolver",
|
|
51
|
-
"APIGatewayRestResolver",
|
|
52
|
-
"Request",
|
|
53
|
-
"Response",
|
|
54
|
-
"parse",
|
|
55
|
-
"event_parser",
|
|
56
|
-
"event_source",
|
|
57
|
-
"AwsConnectorsModule",
|
|
58
|
-
"DefaultDependencyResolver",
|
|
59
|
-
"DependencyResolver",
|
|
60
|
-
"Depends",
|
|
61
|
-
"InjectorDependencyResolver",
|
|
62
|
-
"create_dependency_resolver",
|
|
63
|
-
"default_dependency_resolver",
|
|
64
|
-
"Logger",
|
|
65
|
-
"ModmexValidator",
|
|
66
|
-
"ValidationError",
|
|
67
|
-
]
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
def __getattr__(name: str) -> Any:
|
|
71
|
-
target = _EXPORTS.get(name)
|
|
72
|
-
if target is None:
|
|
73
|
-
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|
|
74
|
-
|
|
75
|
-
module_name, attr = target
|
|
76
|
-
value = getattr(import_module(module_name), attr)
|
|
77
|
-
globals()[name] = value
|
|
78
|
-
return value
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
def __dir__() -> list[str]:
|
|
82
|
-
return sorted([*globals().keys(), *__all__])
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
from __future__ import annotations
|
|
2
|
-
|
|
3
|
-
from importlib import import_module
|
|
4
|
-
from typing import TYPE_CHECKING, Any
|
|
5
|
-
|
|
6
|
-
if TYPE_CHECKING:
|
|
7
|
-
from modmex_lambda.data_classes.api_gateway_authorizer_event import APIGatewayAuthorizerEvent
|
|
8
|
-
from modmex_lambda.data_classes.api_gateway_proxy_event import APIGatewayProxyEvent, APIGatewayProxyEventV2
|
|
9
|
-
from modmex_lambda.data_classes.api_gateway_websocket_event import APIGatewayWebSocketEvent
|
|
10
|
-
from modmex_lambda.data_classes.cognito_user_pool_event import (
|
|
11
|
-
CognitoUserPoolEvent,
|
|
12
|
-
CreateAuthChallengeTriggerEvent,
|
|
13
|
-
CustomEmailSenderTriggerEvent,
|
|
14
|
-
CustomMessageTriggerEvent,
|
|
15
|
-
CustomSMSSenderTriggerEvent,
|
|
16
|
-
DefineAuthChallengeTriggerEvent,
|
|
17
|
-
PostAuthenticationTriggerEvent,
|
|
18
|
-
PostConfirmationTriggerEvent,
|
|
19
|
-
PreAuthenticationTriggerEvent,
|
|
20
|
-
PreSignUpTriggerEvent,
|
|
21
|
-
PreTokenGenerationTriggerEvent,
|
|
22
|
-
PreTokenGenerationV2TriggerEvent,
|
|
23
|
-
PreTokenGenerationV3TriggerEvent,
|
|
24
|
-
UserMigrationTriggerEvent,
|
|
25
|
-
VerifyAuthChallengeResponseTriggerEvent,
|
|
26
|
-
)
|
|
27
|
-
from modmex_lambda.data_classes.common import DictWrapper
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
_EXPORTS = {
|
|
31
|
-
"DictWrapper": ("modmex_lambda.data_classes.common", "DictWrapper"),
|
|
32
|
-
"APIGatewayProxyEvent": ("modmex_lambda.data_classes.api_gateway_proxy_event", "APIGatewayProxyEvent"),
|
|
33
|
-
"APIGatewayProxyEventV2": ("modmex_lambda.data_classes.api_gateway_proxy_event", "APIGatewayProxyEventV2"),
|
|
34
|
-
"APIGatewayRestEvent": ("modmex_lambda.data_classes.api_gateway_proxy_event", "APIGatewayProxyEvent"),
|
|
35
|
-
"APIGatewayHttpEvent": ("modmex_lambda.data_classes.api_gateway_proxy_event", "APIGatewayProxyEventV2"),
|
|
36
|
-
"APIGatewayAuthorizerEvent": (
|
|
37
|
-
"modmex_lambda.data_classes.api_gateway_authorizer_event",
|
|
38
|
-
"APIGatewayAuthorizerEvent",
|
|
39
|
-
),
|
|
40
|
-
"APIGatewayWebSocketEvent": (
|
|
41
|
-
"modmex_lambda.data_classes.api_gateway_websocket_event",
|
|
42
|
-
"APIGatewayWebSocketEvent",
|
|
43
|
-
),
|
|
44
|
-
"CognitoUserPoolEvent": ("modmex_lambda.data_classes.cognito_user_pool_event", "CognitoUserPoolEvent"),
|
|
45
|
-
"PreSignUpTriggerEvent": ("modmex_lambda.data_classes.cognito_user_pool_event", "PreSignUpTriggerEvent"),
|
|
46
|
-
"PostConfirmationTriggerEvent": (
|
|
47
|
-
"modmex_lambda.data_classes.cognito_user_pool_event",
|
|
48
|
-
"PostConfirmationTriggerEvent",
|
|
49
|
-
),
|
|
50
|
-
"UserMigrationTriggerEvent": ("modmex_lambda.data_classes.cognito_user_pool_event", "UserMigrationTriggerEvent"),
|
|
51
|
-
"CustomMessageTriggerEvent": ("modmex_lambda.data_classes.cognito_user_pool_event", "CustomMessageTriggerEvent"),
|
|
52
|
-
"PreAuthenticationTriggerEvent": (
|
|
53
|
-
"modmex_lambda.data_classes.cognito_user_pool_event",
|
|
54
|
-
"PreAuthenticationTriggerEvent",
|
|
55
|
-
),
|
|
56
|
-
"PostAuthenticationTriggerEvent": (
|
|
57
|
-
"modmex_lambda.data_classes.cognito_user_pool_event",
|
|
58
|
-
"PostAuthenticationTriggerEvent",
|
|
59
|
-
),
|
|
60
|
-
"PreTokenGenerationTriggerEvent": (
|
|
61
|
-
"modmex_lambda.data_classes.cognito_user_pool_event",
|
|
62
|
-
"PreTokenGenerationTriggerEvent",
|
|
63
|
-
),
|
|
64
|
-
"PreTokenGenerationV2TriggerEvent": (
|
|
65
|
-
"modmex_lambda.data_classes.cognito_user_pool_event",
|
|
66
|
-
"PreTokenGenerationV2TriggerEvent",
|
|
67
|
-
),
|
|
68
|
-
"PreTokenGenerationV3TriggerEvent": (
|
|
69
|
-
"modmex_lambda.data_classes.cognito_user_pool_event",
|
|
70
|
-
"PreTokenGenerationV3TriggerEvent",
|
|
71
|
-
),
|
|
72
|
-
"DefineAuthChallengeTriggerEvent": (
|
|
73
|
-
"modmex_lambda.data_classes.cognito_user_pool_event",
|
|
74
|
-
"DefineAuthChallengeTriggerEvent",
|
|
75
|
-
),
|
|
76
|
-
"CreateAuthChallengeTriggerEvent": (
|
|
77
|
-
"modmex_lambda.data_classes.cognito_user_pool_event",
|
|
78
|
-
"CreateAuthChallengeTriggerEvent",
|
|
79
|
-
),
|
|
80
|
-
"VerifyAuthChallengeResponseTriggerEvent": (
|
|
81
|
-
"modmex_lambda.data_classes.cognito_user_pool_event",
|
|
82
|
-
"VerifyAuthChallengeResponseTriggerEvent",
|
|
83
|
-
),
|
|
84
|
-
"CustomEmailSenderTriggerEvent": (
|
|
85
|
-
"modmex_lambda.data_classes.cognito_user_pool_event",
|
|
86
|
-
"CustomEmailSenderTriggerEvent",
|
|
87
|
-
),
|
|
88
|
-
"CustomSMSSenderTriggerEvent": (
|
|
89
|
-
"modmex_lambda.data_classes.cognito_user_pool_event",
|
|
90
|
-
"CustomSMSSenderTriggerEvent",
|
|
91
|
-
),
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
__all__ = [
|
|
95
|
-
"DictWrapper",
|
|
96
|
-
"APIGatewayProxyEvent",
|
|
97
|
-
"APIGatewayProxyEventV2",
|
|
98
|
-
"APIGatewayRestEvent",
|
|
99
|
-
"APIGatewayHttpEvent",
|
|
100
|
-
"APIGatewayAuthorizerEvent",
|
|
101
|
-
"APIGatewayWebSocketEvent",
|
|
102
|
-
"CognitoUserPoolEvent",
|
|
103
|
-
"PreSignUpTriggerEvent",
|
|
104
|
-
"PostConfirmationTriggerEvent",
|
|
105
|
-
"UserMigrationTriggerEvent",
|
|
106
|
-
"CustomMessageTriggerEvent",
|
|
107
|
-
"PreAuthenticationTriggerEvent",
|
|
108
|
-
"PostAuthenticationTriggerEvent",
|
|
109
|
-
"PreTokenGenerationTriggerEvent",
|
|
110
|
-
"PreTokenGenerationV2TriggerEvent",
|
|
111
|
-
"PreTokenGenerationV3TriggerEvent",
|
|
112
|
-
"DefineAuthChallengeTriggerEvent",
|
|
113
|
-
"CreateAuthChallengeTriggerEvent",
|
|
114
|
-
"VerifyAuthChallengeResponseTriggerEvent",
|
|
115
|
-
"CustomEmailSenderTriggerEvent",
|
|
116
|
-
"CustomSMSSenderTriggerEvent",
|
|
117
|
-
]
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
def __getattr__(name: str) -> Any:
|
|
121
|
-
target = _EXPORTS.get(name)
|
|
122
|
-
if target is None:
|
|
123
|
-
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|
|
124
|
-
|
|
125
|
-
module_name, attr = target
|
|
126
|
-
value = getattr(import_module(module_name), attr)
|
|
127
|
-
globals()[name] = value
|
|
128
|
-
return value
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
def __dir__() -> list[str]:
|
|
132
|
-
return sorted([*globals().keys(), *__all__])
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
from __future__ import annotations
|
|
2
|
-
|
|
3
|
-
from importlib import import_module
|
|
4
|
-
from typing import TYPE_CHECKING, Any
|
|
5
|
-
|
|
6
|
-
if TYPE_CHECKING:
|
|
7
|
-
from . import content_types
|
|
8
|
-
from .api_gateway import (
|
|
9
|
-
APIGatewayHttpResolver,
|
|
10
|
-
APIGatewayRestResolver,
|
|
11
|
-
Response,
|
|
12
|
-
)
|
|
13
|
-
from modmex_lambda.dependencies import DefaultDependencyResolver, DependencyResolver, InjectorDependencyResolver
|
|
14
|
-
from .dependencies.depends import Depends
|
|
15
|
-
|
|
16
|
-
_EXPORTS = {
|
|
17
|
-
"APIGatewayHttpResolver": ("modmex_lambda.event_handler.api_gateway", "APIGatewayHttpResolver"),
|
|
18
|
-
"APIGatewayRestResolver": ("modmex_lambda.event_handler.api_gateway", "APIGatewayRestResolver"),
|
|
19
|
-
"Response": ("modmex_lambda.event_handler.api_gateway", "Response"),
|
|
20
|
-
"DefaultDependencyResolver": ("modmex_lambda.dependencies", "DefaultDependencyResolver"),
|
|
21
|
-
"DependencyResolver": ("modmex_lambda.dependencies", "DependencyResolver"),
|
|
22
|
-
"Depends": ("modmex_lambda.event_handler.dependencies.depends", "Depends"),
|
|
23
|
-
"InjectorDependencyResolver": ("modmex_lambda.dependencies", "InjectorDependencyResolver"),
|
|
24
|
-
"content_types": ("modmex_lambda.event_handler.content_types", None),
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
__all__ = [
|
|
28
|
-
"APIGatewayHttpResolver",
|
|
29
|
-
"APIGatewayRestResolver",
|
|
30
|
-
"Response",
|
|
31
|
-
"DefaultDependencyResolver",
|
|
32
|
-
"DependencyResolver",
|
|
33
|
-
"Depends",
|
|
34
|
-
"InjectorDependencyResolver",
|
|
35
|
-
"content_types",
|
|
36
|
-
]
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
def __getattr__(name: str) -> Any:
|
|
40
|
-
target = _EXPORTS.get(name)
|
|
41
|
-
if target is None:
|
|
42
|
-
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|
|
43
|
-
|
|
44
|
-
module_name, attr = target
|
|
45
|
-
module = import_module(module_name)
|
|
46
|
-
value = module if attr is None else getattr(module, attr)
|
|
47
|
-
globals()[name] = value
|
|
48
|
-
return value
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
def __dir__() -> list[str]:
|
|
52
|
-
return sorted([*globals().keys(), *__all__])
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
from __future__ import annotations
|
|
2
|
-
|
|
3
|
-
from importlib import import_module
|
|
4
|
-
from typing import TYPE_CHECKING, Any
|
|
5
|
-
|
|
6
|
-
if TYPE_CHECKING:
|
|
7
|
-
from modmex_lambda.dependencies import DefaultDependencyResolver, DependencyResolver, InjectorDependencyResolver
|
|
8
|
-
from modmex_lambda.event_handler.dependencies.depends import Depends
|
|
9
|
-
|
|
10
|
-
_EXPORTS = {
|
|
11
|
-
"DefaultDependencyResolver": ("modmex_lambda.dependencies", "DefaultDependencyResolver"),
|
|
12
|
-
"DependencyResolver": ("modmex_lambda.dependencies", "DependencyResolver"),
|
|
13
|
-
"Depends": ("modmex_lambda.event_handler.dependencies.depends", "Depends"),
|
|
14
|
-
"InjectorDependencyResolver": ("modmex_lambda.dependencies", "InjectorDependencyResolver"),
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
__all__ = [
|
|
18
|
-
"DefaultDependencyResolver",
|
|
19
|
-
"DependencyResolver",
|
|
20
|
-
"Depends",
|
|
21
|
-
"InjectorDependencyResolver",
|
|
22
|
-
]
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
def __getattr__(name: str) -> Any:
|
|
26
|
-
target = _EXPORTS.get(name)
|
|
27
|
-
if target is None:
|
|
28
|
-
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|
|
29
|
-
|
|
30
|
-
module_name, attr = target
|
|
31
|
-
value = getattr(import_module(module_name), attr)
|
|
32
|
-
globals()[name] = value
|
|
33
|
-
return value
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
def __dir__() -> list[str]:
|
|
37
|
-
return sorted([*globals().keys(), *__all__])
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/data_classes/api_gateway_proxy_event.py
RENAMED
|
File without changes
|
|
File without changes
|
{modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/data_classes/cognito_user_pool_event.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/event_handler/dependencies/compat.py
RENAMED
|
File without changes
|
{modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/event_handler/dependencies/dependant.py
RENAMED
|
File without changes
|
|
File without changes
|
{modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/event_handler/dependencies/depends.py
RENAMED
|
File without changes
|
{modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/event_handler/dependencies/params.py
RENAMED
|
File without changes
|
{modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/event_handler/dependencies/types.py
RENAMED
|
File without changes
|
{modmex_lambda-0.4.0 → modmex_lambda-0.4.1}/modmex_lambda/event_handler/exception_handler.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|