Skip to content

Commit cbc9e7d

Browse files
lucasmcdonald3josecorella
authored andcommitted
m
1 parent 9db601a commit cbc9e7d

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

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/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)