File tree 7 files changed +25
-8
lines changed
aws_lambda_powertools/utilities/data_masking
docs/api_doc/data_masking
7 files changed +25
-8
lines changed Original file line number Diff line number Diff line change
1
+ """
2
+ Base class for Data Masking
3
+ !!! abstract "Usage Documentation"
4
+ [`Data masking`](../../utilities/data_masking.md)
5
+ """
6
+
1
7
from __future__ import annotations
2
8
3
9
import functools
@@ -24,8 +30,9 @@ class DataMasking:
24
30
The DataMasking class orchestrates erasing, encrypting, and decrypting
25
31
for the base provider.
26
32
27
- Example:
28
- ```
33
+ Example
34
+ -------
35
+ ```python
29
36
from aws_lambda_powertools.utilities.data_masking.base import DataMasking
30
37
31
38
def lambda_handler(event, context):
Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ class BaseProvider:
11
11
"""
12
12
The BaseProvider class serves as an abstract base class for data masking providers.
13
13
14
- Examples
14
+ Example
15
15
--------
16
- ```
16
+ ```python
17
17
from aws_lambda_powertools.utilities._data_masking.provider import BaseProvider
18
18
from aws_lambda_powertools.utilities.data_masking import DataMasking
19
19
Original file line number Diff line number Diff line change @@ -48,9 +48,9 @@ class AWSEncryptionSDKProvider(BaseProvider):
48
48
"""
49
49
The AWSEncryptionSDKProvider is used as a provider for the DataMasking class.
50
50
51
- Usage
51
+ Example
52
52
-------
53
- ```
53
+ ```python
54
54
from aws_lambda_powertools.utilities.data_masking import DataMasking
55
55
from aws_lambda_powertools.utilities.data_masking.providers.kms.aws_encryption_sdk import (
56
56
AWSEncryptionSDKProvider,
Original file line number Diff line number Diff line change
1
+ <!-- markdownlint-disable MD043 MD041 -->
2
+ ::: aws_lambda_powertools.utilities.data_masking.base
Original file line number Diff line number Diff line change
1
+ <!-- markdownlint-disable MD043 MD041 -->
2
+ ::: aws_lambda_powertools.utilities.data_masking.exceptions
Original file line number Diff line number Diff line change
1
+ <!-- markdownlint-disable MD043 MD041 -->
2
+ ::: aws_lambda_powertools.utilities.data_masking.provider
Original file line number Diff line number Diff line change 63
63
# - Casual to regular contributor: contributing/tracks/casual_regular_contributor.md
64
64
# - Customer to advocate: contributing/tracks/customer_advocate.md
65
65
- API Documentation :
66
- - Feature Flags :
66
+ - Data Masking :
67
+ - Base : api_doc/data_masking/base.md
68
+ - Exception : api_doc/data_masking/exceptions.md
69
+ - Provider : api_doc/data_masking/provider.md
70
+ - Feature Flags :
67
71
- AppConfig : api_doc/feature_flags/appconfig.md
68
72
- Base : api_doc/feature_flags/base.md
69
73
- Comparators : api_doc/feature_flags/comparators.md
70
74
- Exceptions : api_doc/feature_flags/exceptions.md
71
75
- Feature flags : api_doc/feature_flags/feature_flags.md
72
76
- Schema : api_doc/feature_flags/schema.md
73
- - Idempotency :
77
+ - Idempotency :
74
78
- Base : api_doc/idempotency/base.md
75
79
- Config : api_doc/idempotency/config.md
76
80
- Exceptions : api_doc/idempotency/exceptions.md
You can’t perform that action at this time.
0 commit comments