Skip to content

Commit 3c4aef8

Browse files
author
Lucas McDonald
committed
m
1 parent 26e40a8 commit 3c4aef8

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

DynamoDbEncryption/runtimes/python/docs/index.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ Modules
1515
aws_dbesdk_dynamodb.encrypted.item
1616
aws_dbesdk_dynamodb.encrypted.resource
1717
aws_dbesdk_dynamodb.encrypted.paginator
18+
aws_dbesdk_dynamodb.smithygenerated.aws_cryptography_dbencryptionsdk_dynamodb.models
19+
aws_dbesdk_dynamodb.smithygenerated.aws_cryptography_dbencryptionsdk_structuredencryption.models
20+
1821

1922
.. include:: ../../../../CHANGELOG.md
2023
:parser: myst_parser.docutils_

DynamoDbEncryption/runtimes/python/src/aws_dbesdk_dynamodb/__init__.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@
77
from .internaldafny.generated import module_
88
from .internaldafny import extern
99

10+
# Export user-friendly access paths
11+
import aws_dbesdk_dynamodb.smithygenerated.aws_cryptography_dbencryptionsdk_dynamodb as dynamodb
12+
import aws_dbesdk_dynamodb.smithygenerated.aws_cryptography_dbencryptionsdk_structuredencryption as structured_encryption
13+
14+
__all__ = [
15+
dynamodb,
16+
structured_encryption,
17+
]
18+
1019
"""
1120
boto3 uses Python's decimal library to deserialize numbers retrieved by resources
1221
(Tables, etc.) from strings to `decimal.Decimal`s.

Examples/runtimes/python/DynamoDBEncryption/src/basic_put_get_example/with_encrypted_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
)
2121
from aws_cryptographic_material_providers.mpl.references import IKeyring
2222
from aws_dbesdk_dynamodb.encrypted.client import EncryptedClient
23-
from aws_dbesdk_dynamodb.smithygenerated.aws_cryptography_dbencryptionsdk_dynamodb.models import (
23+
from aws_dbesdk_dynamodb.models.dynamodb import (
2424
DynamoDbTableEncryptionConfig,
2525
DynamoDbTablesEncryptionConfig,
2626
)
27-
from aws_dbesdk_dynamodb.smithygenerated.aws_cryptography_dbencryptionsdk_structuredencryption.models import (
27+
from aws_dbesdk_dynamodb.models.structured_encryption import (
2828
CryptoAction,
2929
)
3030

0 commit comments

Comments
 (0)