modmex-lambda 0.6.1__tar.gz → 0.6.3__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.6.1 → modmex_lambda-0.6.3}/PKG-INFO +1 -1
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/events/s3.py +52 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/sources/__init__.py +18 -1
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/sources/s3.py +25 -1
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/pyproject.toml +1 -1
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/events/test_s3.py +56 -1
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/test_sources.py +48 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/.github/workflows/ci.yml +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/.github/workflows/release.yml +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/.gitignore +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/LICENSE +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/README.md +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/__init__.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/connectors/__init__.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/connectors/cloudwatch.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/connectors/dynamodb.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/connectors/eventbridge.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/connectors/eventbridge_scheduler.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/connectors/icloudwatch.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/connectors/idynamodb.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/connectors/ieventbridge.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/connectors/ieventbridge_scheduler.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/connectors/ilambda.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/connectors/is3.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/connectors/isns.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/connectors/isqs.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/connectors/lambda_.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/connectors/module.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/connectors/s3.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/connectors/sns.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/connectors/sqs.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/data_classes/__init__.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/data_classes/api_gateway_authorizer_event.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/data_classes/api_gateway_proxy_event.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/data_classes/api_gateway_websocket_event.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/data_classes/cognito_user_pool_event.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/data_classes/common.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/dependencies.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/event_handler/__init__.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/event_handler/api_gateway.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/event_handler/constants.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/event_handler/content_types.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/event_handler/cors.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/event_handler/dependencies/__init__.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/event_handler/dependencies/compat.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/event_handler/dependencies/dependant.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/event_handler/dependencies/dependency_middleware.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/event_handler/dependencies/depends.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/event_handler/dependencies/params.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/event_handler/dependencies/types.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/event_handler/exception_handler.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/event_handler/exceptions.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/event_handler/gateway_response.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/event_handler/middlewares.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/event_handler/params.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/event_handler/request.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/event_handler/response.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/event_handler/routing.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/event_handler/routing_fallbacks.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/event_handler/types.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/event_sources.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/exceptions.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/logging.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/params.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/parser.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/persistence/__init__.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/persistence/dynamodb/__init__.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/persistence/dynamodb/expressions.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/persistence/dynamodb/keys.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/persistence/dynamodb/materialized_views.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/persistence/dynamodb/stream_fields.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/py.typed +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/request.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/resolver.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/response.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/routing.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/shared/__init__.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/shared/cookies.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/shared/headers_serializer.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/shared/json_encoder.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/shared/types.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/__init__.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/events/__init__.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/events/dynamodb.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/events/kinesis.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/events/sns.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/events/sqs.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/filters/__init__.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/filters/content.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/filters/event_type.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/filters/latch.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/filters/skip.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/flavors/__init__.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/flavors/base_flavor.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/flavors/cdc.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/flavors/collect.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/flavors/correlate.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/flavors/evaluate.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/flavors/expired.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/flavors/iflavor.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/flavors/job.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/flavors/materialize.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/flavors/s3.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/flavors/schedule.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/flavors/sns.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/flavors/task.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/flavors/update.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/irules_registry.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/operators/__init__.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/operators/cloudwatch.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/operators/dynamodb.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/operators/ioperator.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/operators/lambda_.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/operators/publisher.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/operators/s3.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/operators/scheduler.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/operators/sns.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/operators/sqs.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/rules_registry.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/runner.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/schedulers.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/sources/base.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/sources/dynamodb.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/sources/kinesis.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/sources/sns.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/sources/sqs.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/utils/__init__.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/utils/apigateway.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/utils/aws.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/utils/batch.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/utils/cloudwatch.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/utils/concurrency.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/utils/contracts.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/utils/data_classes/__init__.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/utils/data_classes/dynamodb.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/utils/decorators.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/utils/dynamodb.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/utils/eventbridge.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/utils/faults.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/utils/filters.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/utils/json_encoder.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/utils/lambda_.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/utils/operators.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/utils/pluralize.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/utils/print.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/utils/retry.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/utils/s3.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/utils/sns.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/utils/split.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/utils/sqs.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/utils/tags.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/utils/time.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/stream/utils/uow.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/tracing.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/validation.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/poetry.lock +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/__init__.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/conftest.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/connectors/__init__.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/connectors/conftest.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/connectors/test_cloudwatch.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/connectors/test_dynamodb.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/connectors/test_lazy_clients.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/connectors/test_s3.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/connectors/test_simple_connectors.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/connectors/test_sns.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/connectors/test_sqs.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/data_classes/__init__.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/data_classes/test_api_gateway_proxy_event.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/data_classes/test_cognito_user_pool_event.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/data_classes/test_common.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/event_handler/__init__.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/event_handler/test_api_gateway.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/event_handler/test_cors.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/event_handler/test_dependencies.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/event_handler/test_exception_handler.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/event_handler/test_gateway_response.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/event_handler/test_request.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/event_handler/test_response.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/event_handler/test_routing.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/persistence/__init__.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/persistence/test_dynamodb_expressions.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/persistence/test_dynamodb_keys.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/persistence/test_dynamodb_materialized_views.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/persistence/test_dynamodb_stream_fields.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/shared/__init__.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/shared/test_cookies_headers.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/shared/test_json_encoder.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/__init__.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/conftest.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/events/__init__.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/events/test_dynamodb.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/events/test_kinesis.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/events/test_sns.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/events/test_sqs.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/filters/__init__.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/filters/test_content.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/filters/test_event_type.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/filters/test_latch.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/filters/test_skip.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/flavors/__init__.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/flavors/source_events.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/flavors/test_base_flavor.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/flavors/test_cdc.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/flavors/test_collect.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/flavors/test_correlate.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/flavors/test_evaluate.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/flavors/test_expired.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/flavors/test_job.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/flavors/test_materialize.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/flavors/test_s3.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/flavors/test_schedule.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/flavors/test_sns.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/flavors/test_task.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/flavors/test_update.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/operators/test_scheduler.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/test_dependency_resolver.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/test_faults.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/test_rules_registry.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/test_runner.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/test_runner_pipeline.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/utils/__init__.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/utils/faults.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/utils/test_apigateway.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/utils/test_aws.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/utils/test_batch.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/utils/test_cloudwatch.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/utils/test_concurrency.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/utils/test_decorators.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/utils/test_dynamodb.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/utils/test_eventbridge.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/utils/test_filters.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/utils/test_json_encoder.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/utils/test_lambda.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/utils/test_operators.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/utils/test_pluralize.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/utils/test_print.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/utils/test_retry.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/utils/test_s3.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/utils/test_sns.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/utils/test_split.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/utils/test_sqs.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/utils/test_tags.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/utils/test_time.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/stream/utils/test_uow.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/test_lazy_imports.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/test_logging.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/test_parser_event_sources.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/test_reexports.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/test_tracing.py +0 -0
- {modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/tests/test_validation.py +0 -0
|
@@ -2,6 +2,15 @@ import json
|
|
|
2
2
|
import pydash
|
|
3
3
|
from pydash import get
|
|
4
4
|
|
|
5
|
+
|
|
6
|
+
__all__ = [
|
|
7
|
+
'from_s3',
|
|
8
|
+
'from_sqs_eventbridge_s3',
|
|
9
|
+
'from_sqs_sns_s3',
|
|
10
|
+
'to_s3_records',
|
|
11
|
+
]
|
|
12
|
+
|
|
13
|
+
|
|
5
14
|
def from_s3(event):
|
|
6
15
|
return pydash.map_(
|
|
7
16
|
event['Records'],
|
|
@@ -27,6 +36,41 @@ def from_sqs_sns_s3(event):
|
|
|
27
36
|
).flatten().value()
|
|
28
37
|
|
|
29
38
|
|
|
39
|
+
def from_sqs_eventbridge_s3(event):
|
|
40
|
+
"""Normalize an S3 EventBridge notification delivered through SQS."""
|
|
41
|
+
return pydash._(event['Records']).map(
|
|
42
|
+
lambda sqs_record: _from_sqs_eventbridge_record(sqs_record)
|
|
43
|
+
).flatten().value()
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
def _from_sqs_eventbridge_record(sqs_record):
|
|
47
|
+
eventbridge_record = json.loads(sqs_record['body'])
|
|
48
|
+
detail = eventbridge_record['detail']
|
|
49
|
+
s3_record = {
|
|
50
|
+
**eventbridge_record,
|
|
51
|
+
'eventName': _eventbridge_s3_event_name(eventbridge_record),
|
|
52
|
+
's3': detail,
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
return pydash.map_(from_s3({'Records': [s3_record]}), lambda uow: {
|
|
56
|
+
**uow,
|
|
57
|
+
'record': {
|
|
58
|
+
'sqs': sqs_record,
|
|
59
|
+
'eventbridge': eventbridge_record,
|
|
60
|
+
's3': uow['record'],
|
|
61
|
+
},
|
|
62
|
+
})
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
def _eventbridge_s3_event_name(eventbridge_record):
|
|
66
|
+
detail_type = eventbridge_record.get('detail-type', '')
|
|
67
|
+
if detail_type.startswith('Object Created'):
|
|
68
|
+
return 'ObjectCreated:Put'
|
|
69
|
+
if detail_type.startswith('Object Deleted'):
|
|
70
|
+
return 'ObjectCreated:Delete'
|
|
71
|
+
return detail_type
|
|
72
|
+
|
|
73
|
+
|
|
30
74
|
def _from_sqs_record(sqs_record):
|
|
31
75
|
sns_record = json.loads(sqs_record['body'])
|
|
32
76
|
s3_event = json.loads(sns_record['Message'])
|
|
@@ -92,3 +136,11 @@ def to_s3_records(notifications):
|
|
|
92
136
|
for i,n in enumerate(notifications)
|
|
93
137
|
]
|
|
94
138
|
}
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
__all__ = [
|
|
142
|
+
'from_s3',
|
|
143
|
+
'from_sqs_sns_s3',
|
|
144
|
+
'from_sqs_eventbridge_s3',
|
|
145
|
+
'to_s3_records',
|
|
146
|
+
]
|
|
@@ -6,7 +6,14 @@ from typing import TYPE_CHECKING, Any
|
|
|
6
6
|
if TYPE_CHECKING:
|
|
7
7
|
from modmex_lambda.stream.sources.dynamodb import DynamoDBSource, dynamodb_source
|
|
8
8
|
from modmex_lambda.stream.sources.kinesis import KinesisSource, kinesis_source
|
|
9
|
-
from modmex_lambda.stream.sources.s3 import
|
|
9
|
+
from modmex_lambda.stream.sources.s3 import (
|
|
10
|
+
S3Source,
|
|
11
|
+
SqsEventBridgeS3Source,
|
|
12
|
+
SqsSnsS3Source,
|
|
13
|
+
s3_source,
|
|
14
|
+
sqs_eventbridge_s3_source,
|
|
15
|
+
sqs_sns_s3_source,
|
|
16
|
+
)
|
|
10
17
|
from modmex_lambda.stream.sources.sns import SnsSource, sns_source
|
|
11
18
|
from modmex_lambda.stream.sources.sqs import SqsSource, sqs_source
|
|
12
19
|
|
|
@@ -17,6 +24,12 @@ _EXPORTS = {
|
|
|
17
24
|
"kinesis_source": ("modmex_lambda.stream.sources.kinesis", "kinesis_source"),
|
|
18
25
|
"S3Source": ("modmex_lambda.stream.sources.s3", "S3Source"),
|
|
19
26
|
"s3_source": ("modmex_lambda.stream.sources.s3", "s3_source"),
|
|
27
|
+
"SqsSnsS3Source": ("modmex_lambda.stream.sources.s3", "SqsSnsS3Source"),
|
|
28
|
+
"sqs_sns_s3_source": ("modmex_lambda.stream.sources.s3", "sqs_sns_s3_source"),
|
|
29
|
+
"SqsEventBridgeS3Source": ("modmex_lambda.stream.sources.s3", "SqsEventBridgeS3Source"),
|
|
30
|
+
"sqs_eventbridge_s3_source": (
|
|
31
|
+
"modmex_lambda.stream.sources.s3", "sqs_eventbridge_s3_source"
|
|
32
|
+
),
|
|
20
33
|
"SnsSource": ("modmex_lambda.stream.sources.sns", "SnsSource"),
|
|
21
34
|
"sns_source": ("modmex_lambda.stream.sources.sns", "sns_source"),
|
|
22
35
|
"SqsSource": ("modmex_lambda.stream.sources.sqs", "SqsSource"),
|
|
@@ -33,6 +46,10 @@ __all__ = [
|
|
|
33
46
|
"dynamodb_source",
|
|
34
47
|
"kinesis_source",
|
|
35
48
|
"s3_source",
|
|
49
|
+
"SqsSnsS3Source",
|
|
50
|
+
"sqs_sns_s3_source",
|
|
51
|
+
"SqsEventBridgeS3Source",
|
|
52
|
+
"sqs_eventbridge_s3_source",
|
|
36
53
|
"sns_source",
|
|
37
54
|
"sqs_source",
|
|
38
55
|
]
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
from typing import Callable, Optional
|
|
2
2
|
|
|
3
3
|
from modmex_lambda.dependencies import DependencyResolver
|
|
4
|
-
from modmex_lambda.stream.events.s3 import
|
|
4
|
+
from modmex_lambda.stream.events.s3 import (
|
|
5
|
+
from_s3,
|
|
6
|
+
from_sqs_eventbridge_s3,
|
|
7
|
+
from_sqs_sns_s3,
|
|
8
|
+
)
|
|
5
9
|
from modmex_lambda.stream.irules_registry import IRulesRegistry
|
|
6
10
|
from modmex_lambda.stream.sources.base import SourceHandler
|
|
7
11
|
|
|
@@ -32,6 +36,18 @@ class S3Source(SourceHandler):
|
|
|
32
36
|
)
|
|
33
37
|
|
|
34
38
|
|
|
39
|
+
class SqsSnsS3Source(S3Source):
|
|
40
|
+
def __init__(self, registry: IRulesRegistry, **kwargs) -> None:
|
|
41
|
+
super().__init__(registry, **kwargs)
|
|
42
|
+
self.parser = from_sqs_sns_s3
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
class SqsEventBridgeS3Source(S3Source):
|
|
46
|
+
def __init__(self, registry: IRulesRegistry, **kwargs) -> None:
|
|
47
|
+
super().__init__(registry, **kwargs)
|
|
48
|
+
self.parser = from_sqs_eventbridge_s3
|
|
49
|
+
|
|
50
|
+
|
|
35
51
|
def s3_source(
|
|
36
52
|
registry: IRulesRegistry,
|
|
37
53
|
*,
|
|
@@ -53,3 +69,11 @@ def s3_source(
|
|
|
53
69
|
logger=logger,
|
|
54
70
|
dependency_resolver=dependency_resolver,
|
|
55
71
|
)
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
def sqs_sns_s3_source(registry: IRulesRegistry, **kwargs):
|
|
75
|
+
return SqsSnsS3Source(registry, **kwargs)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
def sqs_eventbridge_s3_source(registry: IRulesRegistry, **kwargs):
|
|
79
|
+
return SqsEventBridgeS3Source(registry, **kwargs)
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "modmex-lambda"
|
|
7
|
-
version = "0.6.
|
|
7
|
+
version = "0.6.3"
|
|
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,7 +1,12 @@
|
|
|
1
1
|
from expects import equal, expect
|
|
2
2
|
import json
|
|
3
3
|
|
|
4
|
-
from modmex_lambda.stream.events.s3 import
|
|
4
|
+
from modmex_lambda.stream.events.s3 import (
|
|
5
|
+
from_s3,
|
|
6
|
+
from_sqs_eventbridge_s3,
|
|
7
|
+
from_sqs_sns_s3,
|
|
8
|
+
to_s3_records,
|
|
9
|
+
)
|
|
5
10
|
|
|
6
11
|
|
|
7
12
|
def test_from_s3_created_events():
|
|
@@ -104,3 +109,53 @@ def test_from_sqs_sns_s3_expands_all_s3_records_from_each_message():
|
|
|
104
109
|
expect([uow['event']['id'] for uow in uows]).to(
|
|
105
110
|
equal(['one.json', 'two.json', 'one.json', 'two.json'])
|
|
106
111
|
)
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
def test_from_sqs_eventbridge_s3_normalizes_eventbridge_s3_notification():
|
|
115
|
+
eventbridge_record = {
|
|
116
|
+
'version': '0',
|
|
117
|
+
'id': 'eventbridge-id',
|
|
118
|
+
'detail-type': 'Object Created',
|
|
119
|
+
'source': 'aws.s3',
|
|
120
|
+
'account': '123456789012',
|
|
121
|
+
'time': '2026-07-26T18:35:42Z',
|
|
122
|
+
'region': 'us-east-1',
|
|
123
|
+
'resources': ['arn:aws:s3:::my-bucket'],
|
|
124
|
+
'detail': {
|
|
125
|
+
'version': '0',
|
|
126
|
+
'bucket': {'name': 'my-bucket'},
|
|
127
|
+
'object': {
|
|
128
|
+
'key': 'uploads/document.pdf',
|
|
129
|
+
'size': 123456,
|
|
130
|
+
'etag': 'd41d8cd98f00b204e9800998ecf8427e',
|
|
131
|
+
'sequencer': '0068A2D7B1F3D12345',
|
|
132
|
+
},
|
|
133
|
+
'request-id': 'ABCDEFG123456',
|
|
134
|
+
'requester': 'AIDA...',
|
|
135
|
+
'source-ip-address': '1.2.3.4',
|
|
136
|
+
'reason': 'PutObject',
|
|
137
|
+
},
|
|
138
|
+
}
|
|
139
|
+
sqs_record = {
|
|
140
|
+
'messageId': 'sqs-message-id',
|
|
141
|
+
'eventSource': 'aws:sqs',
|
|
142
|
+
'body': json.dumps(eventbridge_record),
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
uows = from_sqs_eventbridge_s3({'Records': [sqs_record]})
|
|
146
|
+
|
|
147
|
+
expect(len(uows)).to(equal(1))
|
|
148
|
+
expect(uows[0]['event']).to(equal({
|
|
149
|
+
'id': 'uploads/document.pdf',
|
|
150
|
+
'type': 'object-created',
|
|
151
|
+
's3': eventbridge_record['detail'],
|
|
152
|
+
}))
|
|
153
|
+
expect(uows[0]['record']).to(equal({
|
|
154
|
+
'sqs': sqs_record,
|
|
155
|
+
'eventbridge': eventbridge_record,
|
|
156
|
+
's3': {
|
|
157
|
+
**eventbridge_record,
|
|
158
|
+
'eventName': 'ObjectCreated:Put',
|
|
159
|
+
's3': eventbridge_record['detail'],
|
|
160
|
+
},
|
|
161
|
+
}))
|
|
@@ -13,8 +13,10 @@ from modmex_lambda.stream.sources import (
|
|
|
13
13
|
dynamodb_source,
|
|
14
14
|
kinesis_source,
|
|
15
15
|
s3_source,
|
|
16
|
+
sqs_eventbridge_s3_source,
|
|
16
17
|
sns_source,
|
|
17
18
|
sqs_source,
|
|
19
|
+
sqs_sns_s3_source,
|
|
18
20
|
)
|
|
19
21
|
from modmex_lambda.stream.rules_registry import RulesRegistry
|
|
20
22
|
|
|
@@ -35,6 +37,30 @@ class BindablePipeline(DummyPipeline):
|
|
|
35
37
|
return self
|
|
36
38
|
|
|
37
39
|
|
|
40
|
+
def _sqs_sns_s3_event():
|
|
41
|
+
s3_event = to_s3_records([
|
|
42
|
+
{'bucket': {'name': 'bucket'}, 'object': {'key': 'sns-object-key'}},
|
|
43
|
+
])
|
|
44
|
+
return to_sqs_records([{
|
|
45
|
+
'body': json.dumps({'Message': json.dumps(s3_event)}),
|
|
46
|
+
}])
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
def _sqs_eventbridge_s3_event():
|
|
50
|
+
return to_sqs_records([{
|
|
51
|
+
'body': json.dumps({
|
|
52
|
+
'version': '0',
|
|
53
|
+
'id': 'eventbridge-id',
|
|
54
|
+
'detail-type': 'Object Created',
|
|
55
|
+
'source': 'aws.s3',
|
|
56
|
+
'detail': {
|
|
57
|
+
'bucket': {'name': 'bucket'},
|
|
58
|
+
'object': {'key': 'eventbridge-object-key'},
|
|
59
|
+
},
|
|
60
|
+
}),
|
|
61
|
+
}])
|
|
62
|
+
|
|
63
|
+
|
|
38
64
|
@pytest.mark.parametrize(
|
|
39
65
|
"factory,raw_event,expected_id",
|
|
40
66
|
[
|
|
@@ -106,6 +132,12 @@ class BindablePipeline(DummyPipeline):
|
|
|
106
132
|
]),
|
|
107
133
|
"00000000-0000-0000-0000-000000000000",
|
|
108
134
|
),
|
|
135
|
+
(sqs_sns_s3_source, _sqs_sns_s3_event(), "sns-object-key"),
|
|
136
|
+
(
|
|
137
|
+
sqs_eventbridge_s3_source,
|
|
138
|
+
_sqs_eventbridge_s3_event(),
|
|
139
|
+
"eventbridge-object-key",
|
|
140
|
+
),
|
|
109
141
|
],
|
|
110
142
|
)
|
|
111
143
|
def test_source_handler_runs_parsed_events(monkeypatch, factory, raw_event, expected_id):
|
|
@@ -313,3 +345,19 @@ def test_source_handler_binds_dependency_resolver(monkeypatch):
|
|
|
313
345
|
)
|
|
314
346
|
|
|
315
347
|
assert pipeline.dependency_resolver is dependency_resolver
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
def test_sqs_sns_s3_source_uses_sns_parser():
|
|
351
|
+
from modmex_lambda.stream.events.s3 import from_sqs_sns_s3
|
|
352
|
+
|
|
353
|
+
source = sqs_sns_s3_source(RulesRegistry().registry(DummyPipeline()))
|
|
354
|
+
|
|
355
|
+
assert source.parser is from_sqs_sns_s3
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
def test_sqs_eventbridge_s3_source_uses_eventbridge_parser():
|
|
359
|
+
from modmex_lambda.stream.events.s3 import from_sqs_eventbridge_s3
|
|
360
|
+
|
|
361
|
+
source = sqs_eventbridge_s3_source(RulesRegistry().registry(DummyPipeline()))
|
|
362
|
+
|
|
363
|
+
assert source.parser is from_sqs_eventbridge_s3
|
|
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.6.1 → modmex_lambda-0.6.3}/modmex_lambda/connectors/eventbridge_scheduler.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/connectors/ieventbridge_scheduler.py
RENAMED
|
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.6.1 → modmex_lambda-0.6.3}/modmex_lambda/data_classes/api_gateway_proxy_event.py
RENAMED
|
File without changes
|
|
File without changes
|
{modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/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
|
|
File without changes
|
{modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/event_handler/dependencies/__init__.py
RENAMED
|
File without changes
|
{modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/event_handler/dependencies/compat.py
RENAMED
|
File without changes
|
{modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/event_handler/dependencies/dependant.py
RENAMED
|
File without changes
|
|
File without changes
|
{modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/event_handler/dependencies/depends.py
RENAMED
|
File without changes
|
{modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/event_handler/dependencies/params.py
RENAMED
|
File without changes
|
{modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/event_handler/dependencies/types.py
RENAMED
|
File without changes
|
{modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/event_handler/exception_handler.py
RENAMED
|
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.6.1 → modmex_lambda-0.6.3}/modmex_lambda/event_handler/routing_fallbacks.py
RENAMED
|
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.6.1 → modmex_lambda-0.6.3}/modmex_lambda/persistence/dynamodb/expressions.py
RENAMED
|
File without changes
|
|
File without changes
|
{modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/persistence/dynamodb/materialized_views.py
RENAMED
|
File without changes
|
{modmex_lambda-0.6.1 → modmex_lambda-0.6.3}/modmex_lambda/persistence/dynamodb/stream_fields.py
RENAMED
|
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
|
|
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
|
|
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
|