@@ -31,7 +31,7 @@ def __init__(
31
31
item_encryptor_config : DynamoDbItemEncryptorConfig ,
32
32
):
33
33
"""
34
- Create an `ItemEncryptor`.
34
+ Create an `` ItemEncryptor` `.
35
35
36
36
Args:
37
37
item_encryptor_config (DynamoDbItemEncryptorConfig): Encryption configuration object.
@@ -58,8 +58,8 @@ def encrypt_python_item(
58
58
boto3 DynamoDB Tables and Resources expect items formatted as native Python dictionaries.
59
59
Use this method to encrypt an item if you intend to pass the encrypted item
60
60
to a boto3 DynamoDB Table or Resource interface to store it.
61
- (Alternatively, you can use this library's `EncryptedTable` or `EncryptedResource` interfaces
62
- to transparently encrypt items without an intermediary `ItemEncryptor`.)
61
+ (Alternatively, you can use this library's `` EncryptedTable`` or `` EncryptedResource` ` interfaces
62
+ to transparently encrypt items without an intermediary `` ItemEncryptor` `.)
63
63
64
64
Args:
65
65
plaintext_dict_item (dict[str, Any]): A standard Python dictionary.
@@ -70,7 +70,7 @@ def encrypt_python_item(
70
70
- **encrypted_item** (*dict[str, Any]*): The encrypted Python dictionary.
71
71
**Note:** The item was encrypted as DynamoDB JSON, then transformed to a Python dictionary.
72
72
- **parsed_header** (*Optional[ParsedHeader]*): The encrypted DynamoDB item's header
73
- (parsed `aws_dbe_head` value).
73
+ (parsed `` aws_dbe_head` ` value).
74
74
75
75
Example:
76
76
>>> plaintext_item = {
@@ -100,8 +100,8 @@ def encrypt_dynamodb_item(
100
100
101
101
Use this method to encrypt an item if you intend to pass the encrypted item
102
102
to a boto3 DynamoDB client to store it.
103
- (Alternatively, you can use this library's `EncryptedClient` interface
104
- to transparently encrypt items without an intermediary `ItemEncryptor`.)
103
+ (Alternatively, you can use this library's `` EncryptedClient` ` interface
104
+ to transparently encrypt items without an intermediary `` ItemEncryptor` `.)
105
105
106
106
Args:
107
107
plaintext_dynamodb_item (dict[str, dict[str, Any]]): The item to encrypt formatted as DynamoDB JSON.
@@ -112,7 +112,7 @@ def encrypt_dynamodb_item(
112
112
- **encrypted_item** (*dict[str, Any]*): A dictionary containing the encrypted DynamoDB item
113
113
formatted as DynamoDB JSON.
114
114
- **parsed_header** (*Optional[ParsedHeader]*): The encrypted DynamoDB item's header
115
- (`aws_dbe_head` value).
115
+ (`` aws_dbe_head` ` value).
116
116
117
117
Example:
118
118
>>> plaintext_item = {
@@ -147,7 +147,7 @@ def encrypt_item(
147
147
148
148
- **encrypted_item** (*dict[str, Any]*): The encrypted DynamoDB item formatted as DynamoDB JSON.
149
149
- **parsed_header** (*Optional[ParsedHeader]*): The encrypted DynamoDB item's header
150
- (`aws_dbe_head` value).
150
+ (`` aws_dbe_head` ` value).
151
151
152
152
Example:
153
153
>>> plaintext_item = {
@@ -184,8 +184,8 @@ def decrypt_python_item(
184
184
boto3 DynamoDB Tables and Resources return items formatted as native Python dictionaries.
185
185
Use this method to decrypt an item if you retrieve the encrypted item
186
186
from a boto3 DynamoDB Table or Resource interface.
187
- (Alternatively, you can use this library's `EncryptedTable` or `EncryptedResource` interfaces
188
- to transparently decrypt items without an intermediary `ItemEncryptor`.)
187
+ (Alternatively, you can use this library's `` EncryptedTable`` or `` EncryptedResource` ` interfaces
188
+ to transparently decrypt items without an intermediary `` ItemEncryptor` `.)
189
189
190
190
Args:
191
191
encrypted_dict_item (dict[str, Any]): A standard Python dictionary with encrypted values.
@@ -196,7 +196,7 @@ def decrypt_python_item(
196
196
- **plaintext_item** (*dict[str, Any]*): The decrypted Python dictionary.
197
197
**Note:** The item was decrypted as DynamoDB JSON, then transformed to a Python dictionary.
198
198
- **parsed_header** (*Optional[ParsedHeader]*): The encrypted DynamoDB item's header
199
- (parsed `aws_dbe_head` value).
199
+ (parsed `` aws_dbe_head` ` value).
200
200
201
201
Example:
202
202
>>> encrypted_item = {
@@ -226,8 +226,8 @@ def decrypt_dynamodb_item(
226
226
227
227
Use this method to decrypt an item if you retrieved the encrypted item
228
228
from a boto3 DynamoDB client.
229
- (Alternatively, you can use this library's `EncryptedClient` interface
230
- to transparently decrypt items without an intermediary `ItemEncryptor`.)
229
+ (Alternatively, you can use this library's `` EncryptedClient` ` interface
230
+ to transparently decrypt items without an intermediary `` ItemEncryptor` `.)
231
231
232
232
Args:
233
233
encrypted_dynamodb_item (dict[str, dict[str, Any]]): The item to decrypt formatted as DynamoDB JSON.
@@ -237,7 +237,7 @@ def decrypt_dynamodb_item(
237
237
238
238
- **plaintext_item** (*dict[str, Any]*): The plaintext DynamoDB item formatted as DynamoDB JSON.
239
239
- **parsed_header** (*Optional[ParsedHeader]*): The decrypted DynamoDB item's header
240
- (`aws_dbe_head` value).
240
+ (`` aws_dbe_head` ` value).
241
241
242
242
Example:
243
243
>>> encrypted_item = {
@@ -272,7 +272,7 @@ def decrypt_item(
272
272
273
273
- **plaintext_item** (*dict[str, Any]*): The decrypted DynamoDB item formatted as DynamoDB JSON.
274
274
- **parsed_header** (*Optional[ParsedHeader]*): The decrypted DynamoDB item's header
275
- (`aws_dbe_head` value).
275
+ (`` aws_dbe_head` ` value).
276
276
277
277
Example:
278
278
>>> encrypted_item = {
0 commit comments