Skip to content

Commit 0e41bed

Browse files
m
1 parent 0ef759b commit 0e41bed

File tree

1 file changed

+6
-0
lines changed
  • DynamoDbEncryption/runtimes/python/src/aws_database_encryption_sdk/encryptor

1 file changed

+6
-0
lines changed

DynamoDbEncryption/runtimes/python/src/aws_database_encryption_sdk/encryptor/item.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ def encrypt_python_item(
4949
transform the encrypted DynamoDB JSON into an encrypted Python dictionary,
5050
then return the encrypted Python dictionary.
5151
52+
See the boto3 documentation for details on Python/DynamoDB type transfomations:
53+
https://boto3.amazonaws.com/v1/documentation/api/latest/_modules/boto3/dynamodb/types.html
54+
5255
boto3 DynamoDB Tables and Resources expect items formatted as native Python dictionaries.
5356
Use this method to encrypt an item if you intend to pass the encrypted item
5457
to a boto3 DynamoDB Table or Resource interface to store it.
@@ -162,6 +165,9 @@ def decrypt_python_item(
162165
transform the plaintext DynamoDB JSON into a plaintext Python dictionary,
163166
then return the plaintext Python dictionary.
164167
168+
See the boto3 documentation for details on Python/DynamoDB type transfomations:
169+
https://boto3.amazonaws.com/v1/documentation/api/latest/_modules/boto3/dynamodb/types.html
170+
165171
boto3 DynamoDB Tables and Resources return items formatted as native Python dictionaries.
166172
Use this method to decrypt an item if you retrieve the encrypted item
167173
from a boto3 DynamoDB Table or Resource interface.

0 commit comments

Comments
 (0)