clear-skies-aws 1.9.12__tar.gz → 1.9.14__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.
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/PKG-INFO +1 -1
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/pyproject.toml +1 -1
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/input_outputs/lambda_invocation.py +3 -1
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/input_outputs/lambda_sns.py +3 -3
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/input_outputs/lambda_sqs_standard.py +3 -3
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/LICENSE +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/README.md +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/__init__.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/actions/__init__.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/actions/action_aws.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/actions/assume_role.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/actions/assume_role_test.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/actions/ses.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/actions/ses_test.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/actions/sns.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/actions/sns_test.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/actions/sqs.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/actions/sqs_test.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/actions/step_function.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/actions/step_function_test.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/backends/__init__.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/backends/dynamo_db_backend.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/backends/dynamo_db_backend_test.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/backends/sqs_backend.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/backends/sqs_backend_test.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/contexts/__init__.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/contexts/__pycache__/aws_http_api_gateway.cpython-38.pyc +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/contexts/__pycache__/aws_lambda_api_gateway.cpython-38.pyc +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/contexts/__pycache__/aws_lambda_elb.cpython-38.pyc +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/contexts/cli.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/contexts/cli_websocket_mock.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/contexts/lambda_api_gateway.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/contexts/lambda_api_gateway_web_socket.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/contexts/lambda_elb.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/contexts/lambda_http_gateway.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/contexts/lambda_invocation.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/contexts/lambda_sns.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/contexts/lambda_sqs_standard_partial_batch.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/contexts/lambda_sqs_standard_partial_batch_test.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/contexts/wsgi.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/di/__init__.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/di/standard_dependencies.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/handlers/__init__.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/handlers/secrets_manager_rotation.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/handlers/simple_body_routing.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/input_outputs/__init__.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/input_outputs/__pycache__/aws_http_api_gateway.cpython-38.pyc +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/input_outputs/__pycache__/aws_lambda_api_gateway.cpython-38.pyc +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/input_outputs/__pycache__/aws_lambda_api_gateway_test.cpython-38.pyc +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/input_outputs/__pycache__/aws_lambda_elb.cpython-38.pyc +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/input_outputs/cli_websocket_mock.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/input_outputs/lambda_api_gateway.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/input_outputs/lambda_api_gateway_test.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/input_outputs/lambda_api_gateway_web_socket.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/input_outputs/lambda_elb.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/input_outputs/lambda_http_gateway.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/mocks/__init__.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/mocks/actions/__init__.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/mocks/actions/ses.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/mocks/actions/sns.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/mocks/actions/sqs.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/mocks/actions/step_function.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/secrets/__init__.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/secrets/additional_configs/__init__.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/secrets/additional_configs/iam_db_auth.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/secrets/additional_configs/iam_db_auth_with_ssm.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/secrets/additional_configs/mysql_connection_dynamic_producer_via_ssh_cert_bastion.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/secrets/additional_configs/mysql_connection_dynamic_producer_via_ssm_bastion.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/secrets/akeyless_with_ssm_cache.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/secrets/parameter_store.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/secrets/parameter_store_test.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/secrets/secrets_manager.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/secrets/secrets_manager_test.py +0 -0
- {clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/web_socket_connection_model.py +0 -0
|
@@ -23,7 +23,9 @@ class LambdaInvocation(LambdaAPIGateway):
|
|
|
23
23
|
def get_body(self):
|
|
24
24
|
return self._event
|
|
25
25
|
|
|
26
|
-
def json_body(self, required=True):
|
|
26
|
+
def json_body(self, required=True, allow_non_json_bodies=False):
|
|
27
|
+
# we ignore the allow_non_json_bodies flag here because with the way invoking lambdas works,
|
|
28
|
+
# the event already is an object, so it's a moot point.
|
|
27
29
|
if required and not self._event:
|
|
28
30
|
raise ClientError("Request body was not valid JSON")
|
|
29
31
|
return self._event
|
{clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/input_outputs/lambda_sns.py
RENAMED
|
@@ -17,10 +17,10 @@ class LambdaSns(LambdaAPIGateway):
|
|
|
17
17
|
def get_body(self):
|
|
18
18
|
return self._record
|
|
19
19
|
|
|
20
|
-
def request_data(self, required=True):
|
|
21
|
-
return self.json_body(required=required)
|
|
20
|
+
def request_data(self, required=True, allow_non_json_bodies=False):
|
|
21
|
+
return self.json_body(required=required, allow_non_json_bodies=allow_non_json_bodies)
|
|
22
22
|
|
|
23
|
-
def json_body(self, required=True):
|
|
23
|
+
def json_body(self, required=True, allow_non_json_bodies=False):
|
|
24
24
|
if not self._record:
|
|
25
25
|
if required:
|
|
26
26
|
raise ClientError("No SNS message found")
|
|
@@ -16,10 +16,10 @@ class LambdaSqsStandard(LambdaAPIGateway):
|
|
|
16
16
|
def has_body(self):
|
|
17
17
|
return True
|
|
18
18
|
|
|
19
|
-
def request_data(self, required=True):
|
|
20
|
-
return self.json_body(required=required)
|
|
19
|
+
def request_data(self, required=True, allow_non_json_bodies=False):
|
|
20
|
+
return self.json_body(required=required, allow_non_json_bodies=allow_non_json_bodies)
|
|
21
21
|
|
|
22
|
-
def json_body(self, required=True):
|
|
22
|
+
def json_body(self, required=True, allow_non_json_bodies=False):
|
|
23
23
|
if not self._record:
|
|
24
24
|
if required:
|
|
25
25
|
raise ClientError("SQS message was not valid JSON")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/actions/assume_role_test.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/actions/step_function.py
RENAMED
|
File without changes
|
{clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/actions/step_function_test.py
RENAMED
|
File without changes
|
|
File without changes
|
{clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/backends/dynamo_db_backend.py
RENAMED
|
File without changes
|
|
File without changes
|
{clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/backends/sqs_backend.py
RENAMED
|
File without changes
|
{clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/backends/sqs_backend_test.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/contexts/cli_websocket_mock.py
RENAMED
|
File without changes
|
{clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/contexts/lambda_api_gateway.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/contexts/lambda_http_gateway.py
RENAMED
|
File without changes
|
{clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/contexts/lambda_invocation.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/di/standard_dependencies.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/handlers/simple_body_routing.py
RENAMED
|
File without changes
|
{clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/input_outputs/__init__.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
|
{clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/input_outputs/lambda_elb.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/mocks/actions/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/mocks/actions/step_function.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
|
{clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/secrets/parameter_store.py
RENAMED
|
File without changes
|
{clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/secrets/parameter_store_test.py
RENAMED
|
File without changes
|
{clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/secrets/secrets_manager.py
RENAMED
|
File without changes
|
{clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/secrets/secrets_manager_test.py
RENAMED
|
File without changes
|
{clear_skies_aws-1.9.12 → clear_skies_aws-1.9.14}/src/clearskies_aws/web_socket_connection_model.py
RENAMED
|
File without changes
|