boto3-assist 0.9.3__py3-none-any.whl → 0.9.5__py3-none-any.whl
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.
- boto3_assist/aws_lambda/mock_context.py +2 -1
- boto3_assist/boto3session.py +3 -0
- boto3_assist/cognito/cognito_utility.py +1 -1
- boto3_assist/errors/custom_exceptions.py +12 -0
- boto3_assist/s3/s3_object.py +24 -16
- boto3_assist/ssm/connection.py +57 -0
- boto3_assist/ssm/parameter_store/parameter_store.py +116 -0
- boto3_assist/utilities/datetime_utility.py +6 -0
- boto3_assist/utilities/{dictionaroy_utility.py → dictionary_utility.py} +6 -0
- boto3_assist/utilities/file_operations.py +26 -6
- boto3_assist/utilities/http_utility.py +6 -0
- boto3_assist/utilities/numbers_utility.py +6 -0
- boto3_assist/utilities/serialization_utility.py +114 -2
- boto3_assist/version.py +1 -1
- {boto3_assist-0.9.3.dist-info → boto3_assist-0.9.5.dist-info}/METADATA +1 -1
- {boto3_assist-0.9.3.dist-info → boto3_assist-0.9.5.dist-info}/RECORD +19 -17
- {boto3_assist-0.9.3.dist-info → boto3_assist-0.9.5.dist-info}/WHEEL +0 -0
- {boto3_assist-0.9.3.dist-info → boto3_assist-0.9.5.dist-info}/licenses/LICENSE-EXPLAINED.txt +0 -0
- {boto3_assist-0.9.3.dist-info → boto3_assist-0.9.5.dist-info}/licenses/LICENSE.txt +0 -0
boto3_assist/boto3session.py
CHANGED
|
@@ -63,6 +63,9 @@ class Boto3SessionManager:
|
|
|
63
63
|
logger.debug("Connecting without assuming a role.")
|
|
64
64
|
self.__session = self.__get_aws_session(profile, region)
|
|
65
65
|
|
|
66
|
+
if profile:
|
|
67
|
+
print(f"Connecting with a profile: {profile}")
|
|
68
|
+
|
|
66
69
|
def __assume_role(self):
|
|
67
70
|
"""Assume an AWS IAM role."""
|
|
68
71
|
try:
|
|
@@ -12,7 +12,7 @@ from aws_lambda_powertools import Logger
|
|
|
12
12
|
|
|
13
13
|
from boto3_assist.cognito.user import CognitoUser
|
|
14
14
|
from boto3_assist.utilities.string_utility import StringUtility
|
|
15
|
-
from boto3_assist.utilities.
|
|
15
|
+
from boto3_assist.utilities.dictionary_utility import DictionaryUtilitiy
|
|
16
16
|
from boto3_assist.cognito.cognito_connection import CognitoConnection
|
|
17
17
|
|
|
18
18
|
logger = Logger()
|
|
@@ -32,3 +32,15 @@ class InvalidRoutePath(Exception):
|
|
|
32
32
|
"message": message,
|
|
33
33
|
}
|
|
34
34
|
super().__init__(self.message)
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class FileNotFound(Exception):
|
|
38
|
+
"""File Not Found Error"""
|
|
39
|
+
|
|
40
|
+
def __init__(self, message="File Not Found"):
|
|
41
|
+
"""Invalid Route"""
|
|
42
|
+
self.message = {
|
|
43
|
+
"status_code": 404,
|
|
44
|
+
"message": message,
|
|
45
|
+
}
|
|
46
|
+
super().__init__(self.message)
|
boto3_assist/s3/s3_object.py
CHANGED
|
@@ -18,7 +18,7 @@ from boto3_assist.s3.s3_connection import S3Connection
|
|
|
18
18
|
from boto3_assist.utilities.datetime_utility import DatetimeUtility
|
|
19
19
|
from boto3_assist.utilities.file_operations import FileOperations
|
|
20
20
|
from boto3_assist.utilities.http_utility import HttpUtility
|
|
21
|
-
|
|
21
|
+
from boto3_assist.errors.custom_exceptions import FileNotFound
|
|
22
22
|
|
|
23
23
|
logger = Logger(child=True)
|
|
24
24
|
|
|
@@ -462,15 +462,28 @@ class S3Object:
|
|
|
462
462
|
|
|
463
463
|
except Exception as e: # pylint: disable=W0718
|
|
464
464
|
error = str(e)
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
465
|
+
error_info = {
|
|
466
|
+
"metric_filter": "s3_download_error",
|
|
467
|
+
"error": str(e),
|
|
468
|
+
"bucket": bucket_name,
|
|
469
|
+
"key": key,
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
logger.error(error_info)
|
|
473
|
+
# https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3/client/get_object.html
|
|
474
|
+
error = str(e)
|
|
475
|
+
if "An error occurred (AccessDenied)" in error:
|
|
476
|
+
if (
|
|
477
|
+
"is not authorized to perform: s3:ListBucket on resource" in error
|
|
478
|
+
and "because no identity-based policy allows the s3:ListBucket action"
|
|
479
|
+
in error
|
|
480
|
+
):
|
|
481
|
+
# the file is not found but you're getting a access error since you don't
|
|
482
|
+
# have s3:ListBucket. To make life easier, we're just going to return a 404 error
|
|
483
|
+
raise FileNotFound("File Not Found") from e
|
|
484
|
+
|
|
485
|
+
# last ditch
|
|
486
|
+
raise RuntimeError(error_info) from e
|
|
474
487
|
|
|
475
488
|
finally:
|
|
476
489
|
logger.debug(
|
|
@@ -580,12 +593,7 @@ class S3Object:
|
|
|
580
593
|
If running in AWS Lambda, returns '/tmp'.
|
|
581
594
|
Otherwise, returns the system's standard temp directory.
|
|
582
595
|
"""
|
|
583
|
-
|
|
584
|
-
# In AWS Lambda environment
|
|
585
|
-
return "/tmp"
|
|
586
|
-
else:
|
|
587
|
-
# Not in AWS Lambda, use the system's default temp directory
|
|
588
|
-
return tempfile.gettempdir()
|
|
596
|
+
return FileOperations.get_tmp_directory()
|
|
589
597
|
|
|
590
598
|
def encode(
|
|
591
599
|
self, text: str, encoding: str = "utf-8", errors: str = "strict"
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Geek Cafe, LLC
|
|
3
|
+
Maintainers: Eric Wilson
|
|
4
|
+
MIT License. See Project Root for the license information.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
from typing import Optional
|
|
8
|
+
from typing import TYPE_CHECKING
|
|
9
|
+
|
|
10
|
+
from aws_lambda_powertools import Logger
|
|
11
|
+
|
|
12
|
+
from boto3_assist.connection import Connection
|
|
13
|
+
|
|
14
|
+
if TYPE_CHECKING:
|
|
15
|
+
from mypy_boto3_ssm import Client
|
|
16
|
+
else:
|
|
17
|
+
Client = object
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
logger = Logger()
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class SSMConnection(Connection):
|
|
24
|
+
"""Connection"""
|
|
25
|
+
|
|
26
|
+
def __init__(
|
|
27
|
+
self,
|
|
28
|
+
*,
|
|
29
|
+
aws_profile: Optional[str] = None,
|
|
30
|
+
aws_region: Optional[str] = None,
|
|
31
|
+
aws_end_point_url: Optional[str] = None,
|
|
32
|
+
aws_access_key_id: Optional[str] = None,
|
|
33
|
+
aws_secret_access_key: Optional[str] = None,
|
|
34
|
+
) -> None:
|
|
35
|
+
super().__init__(
|
|
36
|
+
service_name="ssm",
|
|
37
|
+
aws_profile=aws_profile,
|
|
38
|
+
aws_region=aws_region,
|
|
39
|
+
aws_access_key_id=aws_access_key_id,
|
|
40
|
+
aws_secret_access_key=aws_secret_access_key,
|
|
41
|
+
aws_end_point_url=aws_end_point_url,
|
|
42
|
+
)
|
|
43
|
+
|
|
44
|
+
self.__client: Client | None = None
|
|
45
|
+
|
|
46
|
+
@property
|
|
47
|
+
def client(self) -> Client:
|
|
48
|
+
"""Client Connection"""
|
|
49
|
+
if self.__client is None:
|
|
50
|
+
self.__client = self.session.client
|
|
51
|
+
|
|
52
|
+
return self.__client
|
|
53
|
+
|
|
54
|
+
@client.setter
|
|
55
|
+
def client(self, value: Client):
|
|
56
|
+
logger.info("Setting Client")
|
|
57
|
+
self.__client = value
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Geek Cafe, LLC
|
|
3
|
+
Maintainers: Eric Wilson
|
|
4
|
+
MIT License. See Project Root for the license information.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
from typing import Optional, Literal
|
|
8
|
+
|
|
9
|
+
from botocore.exceptions import ClientError
|
|
10
|
+
from boto3_assist.ssm.connection import SSMConnection
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class ParameterStore(SSMConnection):
|
|
14
|
+
"""Parameter Store"""
|
|
15
|
+
|
|
16
|
+
def get_parameter(self, name: str, with_decryption=True):
|
|
17
|
+
"""
|
|
18
|
+
Retrieve a parameter from Parameter Store.
|
|
19
|
+
|
|
20
|
+
:param name: The full name of the parameter.
|
|
21
|
+
:param with_decryption: If True, decrypt secure strings.
|
|
22
|
+
:return: The parameter value or None if an error occurs.
|
|
23
|
+
"""
|
|
24
|
+
try:
|
|
25
|
+
response = self.client.get_parameter(
|
|
26
|
+
Name=name, WithDecryption=with_decryption
|
|
27
|
+
)
|
|
28
|
+
return response["Parameter"]["Value"]
|
|
29
|
+
except ClientError as e:
|
|
30
|
+
print(f"Error getting parameter {name}: {e}")
|
|
31
|
+
raise
|
|
32
|
+
|
|
33
|
+
def put_parameter(
|
|
34
|
+
self,
|
|
35
|
+
name: str,
|
|
36
|
+
value: str,
|
|
37
|
+
type: Literal["String", "StringList", "SecureString"] = "String", # pylint: disable=redefined-builtin
|
|
38
|
+
overwrite=True,
|
|
39
|
+
):
|
|
40
|
+
"""
|
|
41
|
+
Create or update a parameter in Parameter Store.
|
|
42
|
+
|
|
43
|
+
:param name: The full name of the parameter.
|
|
44
|
+
:param value: The value to store.
|
|
45
|
+
:param type: Parameter type ('String', 'StringList', or 'SecureString').
|
|
46
|
+
:param overwrite: If True, overwrite an existing parameter.
|
|
47
|
+
:return: The response from the put_parameter call or None on error.
|
|
48
|
+
"""
|
|
49
|
+
try:
|
|
50
|
+
response = self.client.put_parameter(
|
|
51
|
+
Name=name, Value=value, Type=type, Overwrite=overwrite
|
|
52
|
+
)
|
|
53
|
+
return response
|
|
54
|
+
except ClientError as e:
|
|
55
|
+
print(f"Error putting parameter {name}: {e}")
|
|
56
|
+
raise
|
|
57
|
+
|
|
58
|
+
def delete_parameter(self, name: str):
|
|
59
|
+
"""
|
|
60
|
+
Delete a parameter from Parameter Store.
|
|
61
|
+
|
|
62
|
+
:param name: The full name of the parameter.
|
|
63
|
+
:return: The response from the delete_parameter call or None on error.
|
|
64
|
+
"""
|
|
65
|
+
try:
|
|
66
|
+
response = self.client.delete_parameter(Name=name)
|
|
67
|
+
return response
|
|
68
|
+
except ClientError as e:
|
|
69
|
+
print(f"Error deleting parameter {name}: {e}")
|
|
70
|
+
raise
|
|
71
|
+
|
|
72
|
+
def list_parameters(self, path: str = "/", recursive=True):
|
|
73
|
+
"""
|
|
74
|
+
List parameters in a given path.
|
|
75
|
+
|
|
76
|
+
:param path: The hierarchical path for the parameters.
|
|
77
|
+
:param recursive: If True, retrieve parameters recursively.
|
|
78
|
+
:return: A list of parameter metadata dictionaries.
|
|
79
|
+
"""
|
|
80
|
+
try:
|
|
81
|
+
paginator = self.client.get_paginator("describe_parameters")
|
|
82
|
+
parameters = []
|
|
83
|
+
filters = [
|
|
84
|
+
{
|
|
85
|
+
"Key": "Path",
|
|
86
|
+
"Option": "Recursive" if recursive else "OneLevel",
|
|
87
|
+
"Values": [path],
|
|
88
|
+
}
|
|
89
|
+
]
|
|
90
|
+
for page in paginator.paginate(ParameterFilters=filters):
|
|
91
|
+
parameters.extend(page.get("Parameters", []))
|
|
92
|
+
return parameters
|
|
93
|
+
except ClientError as e:
|
|
94
|
+
print(f"Error listing parameters for path {path}: {e}")
|
|
95
|
+
raise
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
# Example usage:
|
|
99
|
+
if __name__ == "__main__":
|
|
100
|
+
# Initialize the ParameterStore class.
|
|
101
|
+
ssm = ParameterStore()
|
|
102
|
+
# Example: Put a parameter.
|
|
103
|
+
put_response = ssm.put_parameter("/myapp/AccountNumber", "123456789012")
|
|
104
|
+
print("Put parameter response:", put_response)
|
|
105
|
+
|
|
106
|
+
# Example: Get a parameter.
|
|
107
|
+
account_number = ssm.get_parameter("/myapp/AccountNumber")
|
|
108
|
+
print("Account Number:", account_number)
|
|
109
|
+
|
|
110
|
+
# Example: List parameters under /myapp.
|
|
111
|
+
params = ssm.list_parameters(path="/myapp")
|
|
112
|
+
print("Parameters under /myapp:", params)
|
|
113
|
+
|
|
114
|
+
# Example: Delete a parameter.
|
|
115
|
+
delete_response = ssm.delete_parameter("/myapp/AccountNumber")
|
|
116
|
+
print("Delete parameter response:", delete_response)
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Geek Cafe, LLC
|
|
3
|
+
Maintainers: Eric Wilson
|
|
4
|
+
MIT License. See Project Root for the license information.
|
|
5
|
+
"""
|
|
6
|
+
|
|
1
7
|
import os
|
|
8
|
+
|
|
2
9
|
import shutil
|
|
3
|
-
import
|
|
4
|
-
import zipfile
|
|
5
|
-
from typing import List, Any, Dict
|
|
6
|
-
from pathlib import Path
|
|
7
|
-
import re
|
|
10
|
+
import tempfile
|
|
8
11
|
|
|
9
|
-
from aws_lambda_powertools import Logger
|
|
10
12
|
|
|
13
|
+
from aws_lambda_powertools import Logger
|
|
11
14
|
|
|
12
15
|
logger = Logger()
|
|
13
16
|
|
|
@@ -113,3 +116,20 @@ class FileOperations:
|
|
|
113
116
|
logger.debug(f"extension after prefix removal: {extention}")
|
|
114
117
|
|
|
115
118
|
return extention
|
|
119
|
+
|
|
120
|
+
@staticmethod
|
|
121
|
+
def get_tmp_directory() -> str:
|
|
122
|
+
"""
|
|
123
|
+
Get the temp directory
|
|
124
|
+
"""
|
|
125
|
+
# are we in an aws lambda function?
|
|
126
|
+
if os.environ.get("AWS_LAMBDA_FUNCTION_NAME"):
|
|
127
|
+
# we are in a lambda function /tmp is the only place
|
|
128
|
+
# we can write to
|
|
129
|
+
if not os.path.exists("/tmp"):
|
|
130
|
+
raise ValueError("Temp directory does not exist.")
|
|
131
|
+
|
|
132
|
+
tmp_dir = "/tmp"
|
|
133
|
+
return tmp_dir
|
|
134
|
+
|
|
135
|
+
return tempfile.gettempdir()
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
"""
|
|
1
|
+
"""
|
|
2
|
+
Geek Cafe, LLC
|
|
3
|
+
Maintainers: Eric Wilson
|
|
4
|
+
MIT License. See Project Root for the license information.
|
|
5
|
+
"""
|
|
2
6
|
|
|
3
7
|
import datetime as dt
|
|
4
8
|
import decimal
|
|
@@ -8,7 +12,7 @@ import uuid
|
|
|
8
12
|
from datetime import datetime
|
|
9
13
|
from decimal import Decimal
|
|
10
14
|
from typing import Any, Dict, List, TypeVar
|
|
11
|
-
|
|
15
|
+
import re
|
|
12
16
|
from aws_lambda_powertools import Logger
|
|
13
17
|
|
|
14
18
|
T = TypeVar("T")
|
|
@@ -99,6 +103,114 @@ class JsonEncoder(json.JSONEncoder):
|
|
|
99
103
|
) # Or any other way you wish to serialize objects without __dict__
|
|
100
104
|
|
|
101
105
|
|
|
106
|
+
class JsonConversions:
|
|
107
|
+
"""
|
|
108
|
+
Json Conversion Utility
|
|
109
|
+
Used for snake_case to camelCase and vice versa
|
|
110
|
+
"""
|
|
111
|
+
|
|
112
|
+
@staticmethod
|
|
113
|
+
def _camel_to_snake(value: str) -> str:
|
|
114
|
+
"""Converts a camelCase to a snake_case"""
|
|
115
|
+
# Insert underscores before uppercase letters, then convert to lowercase.
|
|
116
|
+
s1 = re.sub(r"(.)([A-Z][a-z]+)", r"\1_\2", value)
|
|
117
|
+
return re.sub(r"([a-z0-9])([A-Z])", r"\1_\2", s1).lower()
|
|
118
|
+
|
|
119
|
+
@staticmethod
|
|
120
|
+
def _snake_to_camel(value: str) -> str:
|
|
121
|
+
"""Converts a value from snake_case to camelCase"""
|
|
122
|
+
# Split the value by underscores and capitalize each component except the first.
|
|
123
|
+
components = value.split("_")
|
|
124
|
+
return components[0] + "".join(x.title() for x in components[1:])
|
|
125
|
+
|
|
126
|
+
@staticmethod
|
|
127
|
+
def _convert_keys(data, convert_func, deep: bool = True):
|
|
128
|
+
"""
|
|
129
|
+
Recursively converts dictionary keys using the provided convert_func.
|
|
130
|
+
|
|
131
|
+
Parameters:
|
|
132
|
+
data: The input data (dict, list, or other) to process.
|
|
133
|
+
convert_func: Function to convert the keys (e.g. camel_to_snake or snake_to_camel).
|
|
134
|
+
deep (bool): If True (default), convert keys in all nested dictionaries.
|
|
135
|
+
If False, only convert the keys at the current level.
|
|
136
|
+
"""
|
|
137
|
+
if isinstance(data, dict):
|
|
138
|
+
new_dict = {}
|
|
139
|
+
for key, value in data.items():
|
|
140
|
+
new_key = convert_func(key)
|
|
141
|
+
# Only process nested structures if deep is True.
|
|
142
|
+
new_dict[new_key] = (
|
|
143
|
+
JsonConversions._convert_keys(value, convert_func, deep)
|
|
144
|
+
if deep
|
|
145
|
+
else value
|
|
146
|
+
)
|
|
147
|
+
return new_dict
|
|
148
|
+
elif isinstance(data, list):
|
|
149
|
+
# For lists, if deep conversion is enabled, process each element.
|
|
150
|
+
return [
|
|
151
|
+
JsonConversions._convert_keys(item, convert_func, deep)
|
|
152
|
+
if deep
|
|
153
|
+
else item
|
|
154
|
+
for item in data
|
|
155
|
+
]
|
|
156
|
+
else:
|
|
157
|
+
return data
|
|
158
|
+
|
|
159
|
+
@staticmethod
|
|
160
|
+
def json_camel_to_snake(data, deep: bool = True):
|
|
161
|
+
"""Converts all keys in the JSON structure from camelCase to snake_case.
|
|
162
|
+
|
|
163
|
+
Parameters:
|
|
164
|
+
data: The JSON-like structure (dict or list) to process.
|
|
165
|
+
deep (bool): If True, process keys in all nested dictionaries; if False, only at the first level.
|
|
166
|
+
"""
|
|
167
|
+
return JsonConversions._convert_keys(
|
|
168
|
+
data, JsonConversions._camel_to_snake, deep
|
|
169
|
+
)
|
|
170
|
+
|
|
171
|
+
@staticmethod
|
|
172
|
+
def json_snake_to_camel(data, deep: bool = True):
|
|
173
|
+
"""Converts all keys in the JSON structure from snake_case to camelCase.
|
|
174
|
+
|
|
175
|
+
Parameters:
|
|
176
|
+
data: The JSON-like structure (dict or list) to process.
|
|
177
|
+
deep (bool): If True, process keys in all nested dictionaries; if False, only at the first level.
|
|
178
|
+
"""
|
|
179
|
+
return JsonConversions._convert_keys(
|
|
180
|
+
data, JsonConversions._snake_to_camel, deep
|
|
181
|
+
)
|
|
182
|
+
|
|
183
|
+
# # Example usage:
|
|
184
|
+
# if __name__ == "__main__":
|
|
185
|
+
# sample_json = {
|
|
186
|
+
# "firstName": "John",
|
|
187
|
+
# "lastName": "Doe",
|
|
188
|
+
# "address": {"streetAddress": "21 2nd Street", "city": "New York"},
|
|
189
|
+
# "phoneNumbers": [
|
|
190
|
+
# {"phoneType": "home", "phoneNumber": "2125551234"},
|
|
191
|
+
# {"phoneType": "fax", "phoneNumber": "6465554567"},
|
|
192
|
+
# ],
|
|
193
|
+
# }
|
|
194
|
+
|
|
195
|
+
# print("Original JSON:")
|
|
196
|
+
# print(sample_json)
|
|
197
|
+
|
|
198
|
+
# # Convert from camelCase to snake_case on all levels.
|
|
199
|
+
# snake_json_deep = json_camel_to_snake(sample_json, deep=True)
|
|
200
|
+
# print("\nConverted to snake_case (deep conversion):")
|
|
201
|
+
# print(snake_json_deep)
|
|
202
|
+
|
|
203
|
+
# # Convert from camelCase to snake_case only at the first level.
|
|
204
|
+
# snake_json_shallow = json_camel_to_snake(sample_json, deep=False)
|
|
205
|
+
# print("\nConverted to snake_case (first-level only):")
|
|
206
|
+
# print(snake_json_shallow)
|
|
207
|
+
|
|
208
|
+
# # Convert back from snake_case to camelCase on all levels.
|
|
209
|
+
# camel_json_deep = json_snake_to_camel(snake_json_deep, deep=True)
|
|
210
|
+
# print("\nConverted back to camelCase (deep conversion):")
|
|
211
|
+
# print(camel_json_deep)
|
|
212
|
+
|
|
213
|
+
|
|
102
214
|
class Serialization:
|
|
103
215
|
"""
|
|
104
216
|
Serialization Class
|
boto3_assist/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '0.9.
|
|
1
|
+
__version__ = '0.9.5'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
boto3_assist/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
boto3_assist/boto3session.py,sha256=
|
|
2
|
+
boto3_assist/boto3session.py,sha256=JnZIRbut5R_C_r50bY2xiF6CjR93jQSOeVmhdK97mDg,6712
|
|
3
3
|
boto3_assist/connection.py,sha256=-z_OZtZmSVjSSECpoqx1FnqW7B9A_LovfN_cJ_nhHgg,4361
|
|
4
4
|
boto3_assist/connection_tracker.py,sha256=UgfR9RlvXf3A4ssMr3gDMpw89ka8mSRvJn4M34SzhbU,4378
|
|
5
5
|
boto3_assist/http_status_codes.py,sha256=G0zRSWenwavYKETvDF9tNVUXQz3Ae2gXdBETYbjvJe8,3284
|
|
6
|
-
boto3_assist/version.py,sha256=
|
|
6
|
+
boto3_assist/version.py,sha256=KdjdLD2Ih8isiZGr12GUg7fDzQKGgS2c2XOqkmiFJOM,22
|
|
7
7
|
boto3_assist/aws_lambda/event_info.py,sha256=OkZ4WzuGaHEu_T8sB188KBgShAJhZpWASALKRGBOhMg,14648
|
|
8
|
-
boto3_assist/aws_lambda/mock_context.py,sha256=
|
|
8
|
+
boto3_assist/aws_lambda/mock_context.py,sha256=LPjHP-3YSoY6iPl1kPqJDwSVf1zLNTcukUunDtYcbK0,116
|
|
9
9
|
boto3_assist/cloudwatch/cloudwatch_connection.py,sha256=mnGWaLSQpHh5EeY7Ek_2o9JKHJxOELIYtQVMX1IaHn4,2480
|
|
10
10
|
boto3_assist/cloudwatch/cloudwatch_connection_tracker.py,sha256=mzRtO1uHrcfJNh1XrGEiXdTqxwEP8d1RqJkraMNkgK0,410
|
|
11
11
|
boto3_assist/cloudwatch/cloudwatch_log_connection.py,sha256=qQMZHjUJ6gA8wU9utjQhOURXNSPH2RjxSoAy83bvoCs,1737
|
|
@@ -13,7 +13,7 @@ boto3_assist/cloudwatch/cloudwatch_logs.py,sha256=VtI0OnFjX1l4RYVvA8tvveGkPwAogt
|
|
|
13
13
|
boto3_assist/cloudwatch/cloudwatch_query.py,sha256=uNhSb1Gfp99v8BaHmCnCKs63j4MMU4WveqBavCJyhGY,6409
|
|
14
14
|
boto3_assist/cognito/cognito_authorizer.py,sha256=ONcxzjTACgVYl6qI9kJAQ5SoRMtVHYGDeuKi5QqJvOY,5837
|
|
15
15
|
boto3_assist/cognito/cognito_connection.py,sha256=deuXR3cNHz0mCYff2k0LfAvK--9OkqehWp0Bl--lDuw,1607
|
|
16
|
-
boto3_assist/cognito/cognito_utility.py,sha256=
|
|
16
|
+
boto3_assist/cognito/cognito_utility.py,sha256=Vd9Fy_URJsG5IC87a19h0J7RE_bcrrTz1_80LzAZfvY,18237
|
|
17
17
|
boto3_assist/cognito/jwks_cache.py,sha256=1Y9r-YfQ8qrgZN5xYPvjUEEV0vthbdcPdAIaPbZP7kU,373
|
|
18
18
|
boto3_assist/cognito/user.py,sha256=qc44qLx3gwq6q2zMxcPQze1EjeZwy5Kuav93vbe-4WU,820
|
|
19
19
|
boto3_assist/dynamodb/dynamodb.py,sha256=q3U4uYqnKX1_u5TXv8Iq94JrBad16q0rL_vKxQyR_3k,15772
|
|
@@ -34,25 +34,27 @@ boto3_assist/ec2/ec2_connection.py,sha256=IrtaidH6_SF5l3OeNehRsTlC-sX7EURVqcO-U6
|
|
|
34
34
|
boto3_assist/environment_services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
35
35
|
boto3_assist/environment_services/environment_loader.py,sha256=1uVLqSPQriUWazGXpxPJBLveGL8rLZaT5ZsciqqjVek,3979
|
|
36
36
|
boto3_assist/environment_services/environment_variables.py,sha256=4ccBKdPt6O7hcRT3zBHd8vqu8yQU8udmoD5RLAT3iMs,6801
|
|
37
|
-
boto3_assist/errors/custom_exceptions.py,sha256=
|
|
37
|
+
boto3_assist/errors/custom_exceptions.py,sha256=QAMW49NbClELVnRd00u4NHfzVtRS3Tc1TrsIMUP9wLw,1041
|
|
38
38
|
boto3_assist/models/serializable_model.py,sha256=ZMrRJRvJWLY8PBSKK_nPCgYKv1qUxDPEVdcADKbIHsI,266
|
|
39
39
|
boto3_assist/s3/s3.py,sha256=ESTPXtyDi8mrwHaYNWjQLNGTuTUV4CxKDqw-O_KGzKs,2052
|
|
40
40
|
boto3_assist/s3/s3_bucket.py,sha256=GfyBbuI5BWz_ybwU_nDqUZiC0wt24PNt49GKZmb05OY,2018
|
|
41
41
|
boto3_assist/s3/s3_connection.py,sha256=0JgEDNoDFPQTo5hQe-lS8mWnFBJ2S8MDSl0LPG__lZo,2008
|
|
42
42
|
boto3_assist/s3/s3_event_data.py,sha256=vwty34zDgTeSLNCLAWVxvhSQKT7hIpM7fZrWm5w6znM,4063
|
|
43
|
-
boto3_assist/s3/s3_object.py,sha256=
|
|
43
|
+
boto3_assist/s3/s3_object.py,sha256=MsDjp-TlAHjONNZznGT_VT_ls_z9OSSovxBUxFimLus,22519
|
|
44
44
|
boto3_assist/securityhub/securityhub.py,sha256=nGmHd_R3awDeB_QRzPfNAtQauLdVA1hlRlkaZA4oZjg,5409
|
|
45
45
|
boto3_assist/securityhub/securityhub_connection.py,sha256=hWfcj9gjS2lNXUObyw4cShtveoqJPIp8kKFuz-fz1J4,1449
|
|
46
|
-
boto3_assist/
|
|
47
|
-
boto3_assist/
|
|
48
|
-
boto3_assist/utilities/
|
|
49
|
-
boto3_assist/utilities/
|
|
46
|
+
boto3_assist/ssm/connection.py,sha256=gYpKn5HsUR3hcRUqJzF5QcTITCk0DReq9KhoE_8-Htg,1370
|
|
47
|
+
boto3_assist/ssm/parameter_store/parameter_store.py,sha256=2ISi-SmR29mESHFH-onJkxPX1aThIgBRojA3ZoNcP9s,3949
|
|
48
|
+
boto3_assist/utilities/datetime_utility.py,sha256=o4k_0tTQmgBty5tnJRCG5j_SH_XQIrX-iLc6w0rbWVI,11221
|
|
49
|
+
boto3_assist/utilities/dictionary_utility.py,sha256=IrN5Q3gJ_KWQ_3KCjyXEJyV8oLk2n3tQOO52dVbY6sk,1002
|
|
50
|
+
boto3_assist/utilities/file_operations.py,sha256=IYhJkh8wUPMvGnyDRRa9yOCDdHN9wR3N6m_xpJS51TM,3949
|
|
51
|
+
boto3_assist/utilities/http_utility.py,sha256=_K39Fq0V4QcgklAWctUktuMjqXDTwgMld77IOUfR2zc,1282
|
|
50
52
|
boto3_assist/utilities/logging_utility.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
51
|
-
boto3_assist/utilities/numbers_utility.py,sha256=
|
|
52
|
-
boto3_assist/utilities/serialization_utility.py,sha256=
|
|
53
|
+
boto3_assist/utilities/numbers_utility.py,sha256=wzv9d0uXT_2_ZHHio7LBzibwxPqhGpvbq9HinrVn_4A,10160
|
|
54
|
+
boto3_assist/utilities/serialization_utility.py,sha256=dP93TrMQzCbJXXMI7O1HNQOfKZuHyBLwdtuDQyvnlA8,21519
|
|
53
55
|
boto3_assist/utilities/string_utility.py,sha256=5BpDaqGZI8cSM-3YFQLU1fKcWcqG9r1_GPgDstCWFIs,10318
|
|
54
|
-
boto3_assist-0.9.
|
|
55
|
-
boto3_assist-0.9.
|
|
56
|
-
boto3_assist-0.9.
|
|
57
|
-
boto3_assist-0.9.
|
|
58
|
-
boto3_assist-0.9.
|
|
56
|
+
boto3_assist-0.9.5.dist-info/METADATA,sha256=oSBjbWCQpAQMGiII6jHNGcE4OCOS-MvXXpqWIGp9CbY,1728
|
|
57
|
+
boto3_assist-0.9.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
58
|
+
boto3_assist-0.9.5.dist-info/licenses/LICENSE-EXPLAINED.txt,sha256=WFREvTpfTjPjDHpOLADxJpCKpIla3Ht87RUUGii4ODU,606
|
|
59
|
+
boto3_assist-0.9.5.dist-info/licenses/LICENSE.txt,sha256=PXDhFWS5L5aOTkVhNvoitHKbAkgxqMI2uUPQyrnXGiI,1105
|
|
60
|
+
boto3_assist-0.9.5.dist-info/RECORD,,
|
|
File without changes
|
{boto3_assist-0.9.3.dist-info → boto3_assist-0.9.5.dist-info}/licenses/LICENSE-EXPLAINED.txt
RENAMED
|
File without changes
|
|
File without changes
|