Skip to content

Commit 9db601a

Browse files
lucasmcdonald3josecorella
authored andcommitted
m
1 parent 6805e2c commit 9db601a

File tree

5 files changed

+10
-23
lines changed

5 files changed

+10
-23
lines changed

AwsEncryptionSDK/runtimes/python/src/aws_encryption_sdk/smithygenerated/aws_cryptography_encryptionsdk/dafnyImplInterface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-License-Identifier: Apache-2.0
33
# Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
44

5-
from aws_encryption_sdk.internaldafny.generated.EncryptionSdk import ESDKClient
5+
from aws_encryption_sdk.internaldafny.generated.ESDK import ESDKClient
66
from .dafny_protocol import DafnyRequest
77

88

AwsEncryptionSDK/runtimes/python/src/aws_encryption_sdk/smithygenerated/aws_cryptography_encryptionsdk/dafny_to_smithy.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
import aws_cryptographic_material_providers.smithygenerated.aws_cryptography_materialproviders.dafny_to_smithy
66
from aws_encryption_sdk.internaldafny.generated.AwsCryptographyEncryptionSdkTypes import (
7-
NetV4__0__0__RetryPolicy_ALLOW__RETRY,
8-
NetV4__0__0__RetryPolicy_FORBID__RETRY,
7+
NetV4_0_0_RetryPolicy_ALLOW__RETRY,
8+
NetV4_0_0_RetryPolicy_FORBID__RETRY,
99
)
1010
import aws_encryption_sdk.internaldafny.generated.module_
1111
import aws_encryption_sdk.smithygenerated.aws_cryptography_encryptionsdk.dafny_to_smithy
@@ -125,10 +125,10 @@ def aws_cryptography_encryptionsdk_DecryptOutput(dafny_input):
125125

126126

127127
def aws_cryptography_encryptionsdk_NetV4_0_0_RetryPolicy(dafny_input):
128-
if isinstance(dafny_input, NetV4__0__0__RetryPolicy_FORBID__RETRY):
128+
if isinstance(dafny_input, NetV4_0_0_RetryPolicy_FORBID__RETRY):
129129
return "FORBID_RETRY"
130130

131-
elif isinstance(dafny_input, NetV4__0__0__RetryPolicy_ALLOW__RETRY):
131+
elif isinstance(dafny_input, NetV4_0_0_RetryPolicy_ALLOW__RETRY):
132132
return "ALLOW_RETRY"
133133

134134
else:

AwsEncryptionSDK/runtimes/python/src/aws_encryption_sdk/smithygenerated/aws_cryptography_encryptionsdk/models.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -354,18 +354,5 @@ def __eq__(self, other: Any) -> bool:
354354
return all(getattr(self, a) == getattr(other, a) for a in attributes)
355355

356356

357-
class NetV4_0_0_RetryPolicy:
358-
"""During Decryption, Allow or Forbid ESDK-NET v4.0.0 Behavior if the ESDK
359-
Message Header fails the Header Authentication check."""
360-
361-
FORBID_RETRY = "FORBID_RETRY"
362-
363-
ALLOW_RETRY = "ALLOW_RETRY"
364-
365-
# This set contains every possible value known at the time this was generated. New
366-
# values may be added in the future.
367-
values = frozenset({"FORBID_RETRY", "ALLOW_RETRY"})
368-
369-
370357
class Unit:
371358
pass

AwsEncryptionSDK/runtimes/python/src/aws_encryption_sdk/smithygenerated/aws_cryptography_encryptionsdk/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def set_config_impl(config: Config):
2020
"""
2121
config.dafnyImplInterface = DafnyImplInterface()
2222
if isinstance(config, AwsEncryptionSdkConfig):
23-
from aws_encryption_sdk.internaldafny.generated.EncryptionSdk import default__
23+
from aws_encryption_sdk.internaldafny.generated.ESDK import default__
2424

2525
config.dafnyImplInterface.impl = default__.ESDK(
2626
smithy_config_to_dafny_config(config)

AwsEncryptionSDK/runtimes/python/src/aws_encryption_sdk/smithygenerated/aws_cryptography_encryptionsdk/smithy_to_dafny.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
DecryptOutput_DecryptOutput as DafnyDecryptOutput,
1111
EncryptInput_EncryptInput as DafnyEncryptInput,
1212
EncryptOutput_EncryptOutput as DafnyEncryptOutput,
13-
NetV4__0__0__RetryPolicy_ALLOW__RETRY,
14-
NetV4__0__0__RetryPolicy_FORBID__RETRY,
13+
NetV4_0_0_RetryPolicy_ALLOW__RETRY,
14+
NetV4_0_0_RetryPolicy_FORBID__RETRY,
1515
)
1616
import aws_encryption_sdk.internaldafny.generated.module_
1717
import aws_encryption_sdk.smithygenerated.aws_cryptography_encryptionsdk.smithy_to_dafny
@@ -217,10 +217,10 @@ def aws_cryptography_encryptionsdk_AwsEncryptionSdkConfig(native_input):
217217

218218
def aws_cryptography_encryptionsdk_NetV4_0_0_RetryPolicy(native_input):
219219
if native_input == "FORBID_RETRY":
220-
return NetV4__0__0__RetryPolicy_FORBID__RETRY()
220+
return NetV4_0_0_RetryPolicy_FORBID__RETRY()
221221

222222
elif native_input == "ALLOW_RETRY":
223-
return NetV4__0__0__RetryPolicy_ALLOW__RETRY()
223+
return NetV4_0_0_RetryPolicy_ALLOW__RETRY()
224224

225225
else:
226226
raise ValueError(f"No recognized enum value in enum type: {native_input=}")

0 commit comments

Comments
 (0)