File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Examples/runtimes/python/DynamoDBEncryption/src Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 91
91
92
92
# "Main"
93
93
94
- client = boto3 .client ("dynamodb" )
94
+ boto3_client = boto3 .client ("dynamodb" )
95
95
96
96
from aws_database_encryption_sdk .encryptor .interceptor import (
97
97
register_encryption_interceptor
98
98
)
99
99
100
100
register_encryption_interceptor (
101
- client = client ,
101
+ client = boto3_client ,
102
102
encryption_configs = tables_config ,
103
103
expect_standard_dictionaries = True
104
104
)
108
108
"Item" : item_to_encrypt ,
109
109
}
110
110
111
- put_item_output = client .put_item (** put_item )
111
+ put_item_output = boto3_client .put_item (** put_item )
112
112
113
113
get_item_key = {
114
114
"partition_key" : "LucasPythonTesting" ,
120
120
"Key" : get_item_key
121
121
}
122
122
123
- get_item_output = client .get_item (** get_item )
123
+ get_item_output = boto3_client .get_item (** get_item )
124
124
125
125
assert get_item_output ["Item" ] == item_to_encrypt
You can’t perform that action at this time.
0 commit comments