Skip to content

Commit 563c444

Browse files
donghanigorborgest
authored andcommitted
KMY -> KMS
1 parent 6c34c7a commit 563c444

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

awswrangler/db.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ def copy_to_redshift( # pylint: disable=too-many-arguments
747747
s3_additional_kwargs:
748748
Forward to botocore requests. Valid parameters: "ACL", "Metadata", "ServerSideEncryption", "StorageClass",
749749
"SSECustomerAlgorithm", "SSECustomerKey", "SSEKMSKeyId", "SSEKMSEncryptionContext", "Tagging".
750-
e.g. s3_additional_kwargs={'ServerSideEncryption': 'aws:kms', 'SSEKMSKeyId': 'YOUR_KMY_KEY_ARN'}
750+
e.g. s3_additional_kwargs={'ServerSideEncryption': 'aws:kms', 'SSEKMSKeyId': 'YOUR_KMS_KEY_ARN'}
751751
max_rows_by_file : int
752752
Max number of rows in each file.
753753
Default is None i.e. dont split the files.
@@ -897,7 +897,7 @@ def copy_files_to_redshift( # pylint: disable=too-many-locals,too-many-argument
897897
s3_additional_kwargs:
898898
Forward to botocore requests. Valid parameters: "ACL", "Metadata", "ServerSideEncryption", "StorageClass",
899899
"SSECustomerAlgorithm", "SSECustomerKey", "SSEKMSKeyId", "SSEKMSEncryptionContext", "Tagging".
900-
e.g. s3_additional_kwargs={'ServerSideEncryption': 'aws:kms', 'SSEKMSKeyId': 'YOUR_KMY_KEY_ARN'}
900+
e.g. s3_additional_kwargs={'ServerSideEncryption': 'aws:kms', 'SSEKMSKeyId': 'YOUR_KMS_KEY_ARN'}
901901
902902
Returns
903903
-------
@@ -993,7 +993,7 @@ def write_redshift_copy_manifest(
993993
s3_additional_kwargs:
994994
Forward to botocore requests. Valid parameters: "ACL", "Metadata", "ServerSideEncryption", "StorageClass",
995995
"SSECustomerAlgorithm", "SSECustomerKey", "SSEKMSKeyId", "SSEKMSEncryptionContext", "Tagging".
996-
e.g. s3_additional_kwargs={'ServerSideEncryption': 'aws:kms', 'SSEKMSKeyId': 'YOUR_KMY_KEY_ARN'}
996+
e.g. s3_additional_kwargs={'ServerSideEncryption': 'aws:kms', 'SSEKMSKeyId': 'YOUR_KMS_KEY_ARN'}
997997
998998
Returns
999999
-------

awswrangler/s3/_copy.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def merge_datasets(
8282
s3_additional_kwargs : Optional[Dict[str, Any]]
8383
Forward to botocore requests. Valid parameters: "ACL", "Metadata", "ServerSideEncryption", "StorageClass",
8484
"SSECustomerAlgorithm", "SSECustomerKey", "SSEKMSKeyId", "SSEKMSEncryptionContext", "Tagging".
85-
e.g. s3_additional_kwargs={'ServerSideEncryption': 'aws:kms', 'SSEKMSKeyId': 'YOUR_KMY_KEY_ARN'}
85+
e.g. s3_additional_kwargs={'ServerSideEncryption': 'aws:kms', 'SSEKMSKeyId': 'YOUR_KMS_KEY_ARN'}
8686
8787
Returns
8888
-------
@@ -110,7 +110,7 @@ def merge_datasets(
110110
... mode="append",
111111
... s3_additional_kwargs={
112112
... 'ServerSideEncryption': 'aws:kms',
113-
... 'SSEKMSKeyId': 'YOUR_KMY_KEY_ARN'
113+
... 'SSEKMSKeyId': 'YOUR_KMS_KEY_ARN'
114114
... }
115115
... )
116116
["s3://bucket1/dir1/key0", "s3://bucket1/dir1/key1"]
@@ -185,7 +185,7 @@ def copy_objects(
185185
s3_additional_kwargs : Optional[Dict[str, Any]]
186186
Forward to botocore requests. Valid parameters: "ACL", "Metadata", "ServerSideEncryption", "StorageClass",
187187
"SSECustomerAlgorithm", "SSECustomerKey", "SSEKMSKeyId", "SSEKMSEncryptionContext", "Tagging".
188-
e.g. s3_additional_kwargs={'ServerSideEncryption': 'aws:kms', 'SSEKMSKeyId': 'YOUR_KMY_KEY_ARN'}
188+
e.g. s3_additional_kwargs={'ServerSideEncryption': 'aws:kms', 'SSEKMSKeyId': 'YOUR_KMS_KEY_ARN'}
189189
190190
Returns
191191
-------
@@ -213,7 +213,7 @@ def copy_objects(
213213
... target_path="s3://bucket1/dir1/",
214214
... s3_additional_kwargs={
215215
... 'ServerSideEncryption': 'aws:kms',
216-
... 'SSEKMSKeyId': 'YOUR_KMY_KEY_ARN'
216+
... 'SSEKMSKeyId': 'YOUR_KMS_KEY_ARN'
217217
... }
218218
... )
219219
["s3://bucket1/dir1/key0", "s3://bucket1/dir1/key1"]

awswrangler/s3/_read_parquet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ def read_parquet_table(
677677
... table='...'
678678
... s3_additional_kwargs={
679679
... 'ServerSideEncryption': 'aws:kms',
680-
... 'SSEKMSKeyId': 'YOUR_KMY_KEY_ARN'
680+
... 'SSEKMSKeyId': 'YOUR_KMS_KEY_ARN'
681681
... }
682682
... )
683683

awswrangler/s3/_write_parquet.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ def to_parquet( # pylint: disable=too-many-arguments,too-many-locals
266266
s3_additional_kwargs : Optional[Dict[str, Any]]
267267
Forward to botocore requests. Valid parameters: "ACL", "Metadata", "ServerSideEncryption", "StorageClass",
268268
"SSECustomerAlgorithm", "SSECustomerKey", "SSEKMSKeyId", "SSEKMSEncryptionContext", "Tagging".
269-
e.g. s3_additional_kwargs={'ServerSideEncryption': 'aws:kms', 'SSEKMSKeyId': 'YOUR_KMY_KEY_ARN'}
269+
e.g. s3_additional_kwargs={'ServerSideEncryption': 'aws:kms', 'SSEKMSKeyId': 'YOUR_KMS_KEY_ARN'}
270270
sanitize_columns : bool
271271
True to sanitize columns names (using `wr.catalog.sanitize_table_name` and `wr.catalog.sanitize_column_name`)
272272
or False to keep it as is.
@@ -373,7 +373,7 @@ def to_parquet( # pylint: disable=too-many-arguments,too-many-locals
373373
... path='s3://bucket/prefix/my_file.parquet',
374374
... s3_additional_kwargs={
375375
... 'ServerSideEncryption': 'aws:kms',
376-
... 'SSEKMSKeyId': 'YOUR_KMY_KEY_ARN'
376+
... 'SSEKMSKeyId': 'YOUR_KMS_KEY_ARN'
377377
... }
378378
... )
379379
{
@@ -699,7 +699,7 @@ def store_parquet_metadata( # pylint: disable=too-many-arguments
699699
s3_additional_kwargs : Optional[Dict[str, Any]]
700700
Forward to botocore requests. Valid parameters: "ACL", "Metadata", "ServerSideEncryption", "StorageClass",
701701
"SSECustomerAlgorithm", "SSECustomerKey", "SSEKMSKeyId", "SSEKMSEncryptionContext", "Tagging".
702-
e.g. s3_additional_kwargs={'ServerSideEncryption': 'aws:kms', 'SSEKMSKeyId': 'YOUR_KMY_KEY_ARN'}
702+
e.g. s3_additional_kwargs={'ServerSideEncryption': 'aws:kms', 'SSEKMSKeyId': 'YOUR_KMS_KEY_ARN'}
703703
boto3_session : boto3.Session(), optional
704704
Boto3 Session. The default boto3 session will be used if boto3_session receive None.
705705

awswrangler/s3/_write_text.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def to_csv( # pylint: disable=too-many-arguments,too-many-locals
137137
s3_additional_kwargs : Optional[Dict[str, Any]]
138138
Forward to botocore requests. Valid parameters: "ACL", "Metadata", "ServerSideEncryption", "StorageClass",
139139
"SSECustomerAlgorithm", "SSECustomerKey", "SSEKMSKeyId", "SSEKMSEncryptionContext", "Tagging".
140-
e.g. s3_additional_kwargs={'ServerSideEncryption': 'aws:kms', 'SSEKMSKeyId': 'YOUR_KMY_KEY_ARN'}
140+
e.g. s3_additional_kwargs={'ServerSideEncryption': 'aws:kms', 'SSEKMSKeyId': 'YOUR_KMS_KEY_ARN'}
141141
sanitize_columns : bool
142142
True to sanitize columns names or False to keep it as is.
143143
True value is forced if `dataset=True`.
@@ -259,7 +259,7 @@ def to_csv( # pylint: disable=too-many-arguments,too-many-locals
259259
... path='s3://bucket/prefix/my_file.csv',
260260
... s3_additional_kwargs={
261261
... 'ServerSideEncryption': 'aws:kms',
262-
... 'SSEKMSKeyId': 'YOUR_KMY_KEY_ARN'
262+
... 'SSEKMSKeyId': 'YOUR_KMS_KEY_ARN'
263263
... }
264264
... )
265265
{
@@ -478,7 +478,7 @@ def to_json(
478478
s3_additional_kwargs : Optional[Dict[str, Any]]
479479
Forward to botocore requests. Valid parameters: "ACL", "Metadata", "ServerSideEncryption", "StorageClass",
480480
"SSECustomerAlgorithm", "SSECustomerKey", "SSEKMSKeyId", "SSEKMSEncryptionContext", "Tagging".
481-
e.g. s3_additional_kwargs={'ServerSideEncryption': 'aws:kms', 'SSEKMSKeyId': 'YOUR_KMY_KEY_ARN'}
481+
e.g. s3_additional_kwargs={'ServerSideEncryption': 'aws:kms', 'SSEKMSKeyId': 'YOUR_KMS_KEY_ARN'}
482482
use_threads : bool
483483
True to enable concurrent requests, False to disable multiple threads.
484484
If enabled os.cpu_count() will be used as the max number of threads.
@@ -524,7 +524,7 @@ def to_json(
524524
... path='s3://bucket/filename.json',
525525
... s3_additional_kwargs={
526526
... 'ServerSideEncryption': 'aws:kms',
527-
... 'SSEKMSKeyId': 'YOUR_KMY_KEY_ARN'
527+
... 'SSEKMSKeyId': 'YOUR_KMS_KEY_ARN'
528528
... }
529529
... )
530530

0 commit comments

Comments
 (0)