We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b79b76 commit 535b8dcCopy full SHA for 535b8dc
awswrangler/athena/_utils.py
@@ -98,9 +98,9 @@ def _start_query_execution(
98
99
# encryption
100
if wg_config.enforced is True:
101
- if "ResultConfiguration" not in args:
102
- args["ResultConfiguration"] = {}
103
if wg_config.encryption is not None:
+ if "ResultConfiguration" not in args:
+ args["ResultConfiguration"] = {}
104
args["ResultConfiguration"]["EncryptionConfiguration"] = {"EncryptionOption": wg_config.encryption}
105
if wg_config.kms_key is not None:
106
args["ResultConfiguration"]["EncryptionConfiguration"]["KmsKey"] = wg_config.kms_key
0 commit comments