Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Mutations #720

Merged
merged 26 commits into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
1c0f43a
feat: Adding a storage option to the KeyStore
seebees Sep 11, 2024
a4750cb
Latest 4.8 polymorph
seebees Sep 12, 2024
5ae24c7
feat(KeyStore): Safely Mutating Branch Keys
texastony Sep 13, 2024
c6b8d33
Merge branch 'tony/the-big-squash' into tony/main
texastony Sep 14, 2024
d98d697
refactor: pull changes from Storage
texastony Sep 15, 2024
740945c
refactor(KS): bump verification resources
texastony Sep 15, 2024
e5c98be
refactor(Mutations): clean up bad ideas
texastony Sep 15, 2024
65800c8
Merge remote-tracking branch 'public_aws/seebees/add-storage-interfac…
texastony Sep 15, 2024
0603ba9
refactor(Mutations): Clean up
texastony Sep 15, 2024
994a60f
refactor(KS): clean up test Fixtures
texastony Sep 15, 2024
b0b75a0
test(Mutations): Testing mixed states
texastony Sep 16, 2024
c949607
test(Mutations): Testing mixed states
texastony Sep 16, 2024
ff5e52d
test(KeyStore): show modified EC is usable
texastony Sep 16, 2024
64eb402
fix(KeyStoreAdmin): Mutations
texastony Sep 18, 2024
60dee70
tests: Dafny .NET bug worked-around
texastony Sep 18, 2024
a93f0cd
fix: format
texastony Sep 18, 2024
3b88f0c
feat(KeyStoreAdmin): Last Rebase
texastony Sep 18, 2024
8c26a27
fix(MPL-Dafny): Polymorphy typo
texastony Sep 18, 2024
9fe31de
fix(MPL-Test): ddbTableName is optional
texastony Sep 18, 2024
e9bc774
fix(MPL-Dafny): Polymorphy typo
texastony Sep 18, 2024
ed2e7b5
refactor(KSAdmin): testing
texastony Sep 18, 2024
32eb537
refactor(KSAdmin): testing
texastony Sep 18, 2024
aa3ffc9
refactor(KeyStore): polymorph and formatting nits
texastony Sep 18, 2024
3d03afd
refactor(KeyStore): polymorph
texastony Sep 18, 2024
8615f2e
chore(Mutations): remove dev prints
texastony Sep 18, 2024
7844d96
test(KeyStore): .NET DDB result maybe empty map
texastony Sep 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions .github/workflows/block_main.yml

This file was deleted.

13 changes: 3 additions & 10 deletions .github/workflows/library_interop_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@ jobs:
ubuntu-latest,
macos-12,
]
# language: [java, net]
# Cutting .NET tests for rc-1.7.0
# We MUST restore these before going GA
language: [java]
language: [java, net]
# https://taskei.amazon.dev/tasks/CrypTool-5284
dotnet-version: ["6.0.x"]
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -131,12 +128,8 @@ jobs:
ubuntu-latest,
macos-12,
]
# Cutting .NET tests for rc-1.7.0
# We MUST restore these before going GA
# encrypting_language: [java, net]
# decrypting_language: [java, net]
encrypting_language: [java]
decrypting_language: [java]
encrypting_language: [java, net]
decrypting_language: [java, net]
dotnet-version: ["6.0.x"]
runs-on: ${{ matrix.os }}
permissions:
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/library_net_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,14 @@ jobs:
strategy:
fail-fast: false
matrix:
library: [
library:
[
StandardLibrary,
AwsCryptographyPrimitives,
ComAmazonawsKms,
ComAmazonawsDynamodb,
# Cutting .NET tests for rc-1.7.0
# We MUST restore these before going GA
# AwsCryptographicMaterialProviders,
# TestVectorsAwsCryptographicMaterialProviders,
AwsCryptographicMaterialProviders,
TestVectorsAwsCryptographicMaterialProviders,
]
dotnet-version: ["6.0.x"]
os: [windows-latest, ubuntu-latest, macos-12]
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ build/*
test/**/Output/*
/package-lock.json
/node_modules
*.log

# Duvet output
specification_compliance_report.html
Expand Down
8 changes: 8 additions & 0 deletions AwsCryptographicMaterialProviders/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ include ../SharedMakefileV2.mk
PROJECT_SERVICES := \
AwsCryptographicMaterialProviders \
AwsCryptographyKeyStore \
AwsCryptographyKeyStoreAdmin \

SERVICE_NAMESPACE_AwsCryptographicMaterialProviders=aws.cryptography.materialProviders
SERVICE_NAMESPACE_AwsCryptographyKeyStore=aws.cryptography.keyStore
SERVICE_NAMESPACE_AwsCryptographyKeyStoreAdmin=aws.cryptography.keyStoreAdmin

MAX_RESOURCE_COUNT=90000000
# Order is important
Expand Down Expand Up @@ -44,3 +46,9 @@ SERVICE_DEPS_AwsCryptographyKeyStore := \
ComAmazonawsDynamodb \
AwsCryptographicMaterialProviders/dafny/AwsCryptographicMaterialProviders \

SERVICE_DEPS_AwsCryptographyKeyStoreAdmin := \
AwsCryptographyPrimitives \
ComAmazonawsKms \
ComAmazonawsDynamodb \
AwsCryptographicMaterialProviders/dafny/AwsCryptographicMaterialProviders \
AwsCryptographicMaterialProviders/dafny/AwsCryptographyKeyStore \
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
diff --git b/AwsCryptographicMaterialProviders/dafny/AwsCryptographicMaterialProviders/Model/AwsCryptographyMaterialProvidersTypes.dfy a/AwsCryptographicMaterialProviders/dafny/AwsCryptographicMaterialProviders/Model/AwsCryptographyMaterialProvidersTypes.dfy
index ba2a2324..39a4a4e7 100644
--- b/AwsCryptographicMaterialProviders/dafny/AwsCryptographicMaterialProviders/Model/AwsCryptographyMaterialProvidersTypes.dfy
+++ a/AwsCryptographicMaterialProviders/dafny/AwsCryptographicMaterialProviders/Model/AwsCryptographyMaterialProvidersTypes.dfy
@@ -1,11 +1,11 @@
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
-include "../../../../../../../../Volumes/workplace/aws-cryptographic-material-providers-library/StandardLibrary/src/Index.dfy"
-include "../../../../../../../../Volumes/workplace/aws-cryptographic-material-providers-library/AwsCryptographicMaterialProviders/dafny/AwsCryptographyKeyStore/src/Index.dfy"
-include "../../../../../../../../Volumes/workplace/aws-cryptographic-material-providers-library/AwsCryptographyPrimitives/src/Index.dfy"
-include "../../../../../../../../Volumes/workplace/aws-cryptographic-material-providers-library/ComAmazonawsDynamodb/src/Index.dfy"
-include "../../../../../../../../Volumes/workplace/aws-cryptographic-material-providers-library/ComAmazonawsKms/src/Index.dfy"
+include "../../../../StandardLibrary/src/Index.dfy"
+include "../../../../AwsCryptographicMaterialProviders/dafny/AwsCryptographyKeyStore/src/Index.dfy"
+include "../../../../AwsCryptographyPrimitives/src/Index.dfy"
+include "../../../../ComAmazonawsDynamodb/src/Index.dfy"
+include "../../../../ComAmazonawsKms/src/Index.dfy"
module {:extern "software.amazon.cryptography.materialproviders.internaldafny.types" } AwsCryptographyMaterialProvidersTypes
{
import opened Wrappers
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git b/AwsCryptographicMaterialProviders/runtimes/net/Generated/AwsCryptographicMaterialProviders/TypeConversion.cs a/AwsCryptographicMaterialProviders/runtimes/net/Generated/AwsCryptographicMaterialProviders/TypeConversion.cs
index 0b153802..56aef9ec 100644
--- b/AwsCryptographicMaterialProviders/runtimes/net/Generated/AwsCryptographicMaterialProviders/TypeConversion.cs
+++ a/AwsCryptographicMaterialProviders/runtimes/net/Generated/AwsCryptographicMaterialProviders/TypeConversion.cs
@@ -3903,7 +3903,9 @@ namespace AWS.Cryptography.MaterialProviders
dafnyVal._ComAmazonawsDynamodb
);
case software.amazon.cryptography.materialproviders.internaldafny.types.Error_ComAmazonawsKms dafnyVal:
- return Com.Amazonaws.KMS.TypeConversion.FromDafny_CommonError(
+ // BEGIN MANUAL EDIT
+ return Com.Amazonaws.Kms.TypeConversion.FromDafny_CommonError(
+ // END MANUAL EDIT
dafnyVal._ComAmazonawsKms
);
case software.amazon.cryptography.materialproviders.internaldafny.types.Error_AwsCryptographicMaterialProvidersException dafnyVal:
Original file line number Diff line number Diff line change
@@ -1,26 +1,22 @@
diff --git b/AwsCryptographicMaterialProviders/runtimes/net/Generated/AwsCryptographyKeyStore/TypeConversion.cs a/AwsCryptographicMaterialProviders/runtimes/net/Generated/AwsCryptographyKeyStore/TypeConversion.cs
index f5ef0458..f846a946 100644
--- b/AwsCryptographicMaterialProviders/runtimes/net/Generated/AwsCryptographyKeyStore/TypeConversion.cs
+++ a/AwsCryptographicMaterialProviders/runtimes/net/Generated/AwsCryptographyKeyStore/TypeConversion.cs
@@ -629,7 +629,9 @@ namespace AWS.Cryptography.KeyStore
diff --git a/AwsCryptographicMaterialProviders/runtimes/net/Generated/AwsCryptographyKeyStore/TypeConversion.cs b/AwsCryptographicMaterialProviders/runtimes/net/Generated/AwsCryptographyKeyStore/TypeConversion.cs
index c10f4e45..8e563bf5 100644
--- a/AwsCryptographicMaterialProviders/runtimes/net/Generated/AwsCryptographyKeyStore/TypeConversion.cs
+++ b/AwsCryptographicMaterialProviders/runtimes/net/Generated/AwsCryptographyKeyStore/TypeConversion.cs
@@ -1773,7 +1773,7 @@ namespace AWS.Cryptography.KeyStore
dafnyVal._ComAmazonawsDynamodb
);
case software.amazon.cryptography.keystore.internaldafny.types.Error_ComAmazonawsKms dafnyVal:
- return Com.Amazonaws.KMS.TypeConversion.FromDafny_CommonError(
+ // BEGIN MANUAL EDIT
+ return Com.Amazonaws.Kms.TypeConversion.FromDafny_CommonError(
+ // END MANUAL EDIT
+ return Com.Amazonaws.Kms.TypeConversion.FromDafny_CommonError( // Manual edit KMS. -> Kms.
dafnyVal._ComAmazonawsKms
);
case software.amazon.cryptography.keystore.internaldafny.types.Error_KeyStoreException dafnyVal:
@@ -652,7 +654,9 @@ namespace AWS.Cryptography.KeyStore
case software.amazon.cryptography.keystore.internaldafny.types.Error_KeyStorageException dafnyVal:
@@ -1800,7 +1800,7 @@ namespace AWS.Cryptography.KeyStore
{
case "Com.Amazonaws.KMS":
return software.amazon.cryptography.keystore.internaldafny.types.Error.create_ComAmazonawsKms(
- Com.Amazonaws.KMS.TypeConversion.ToDafny_CommonError(value)
+ // BEGIN MANUAL EDIT
+ Com.Amazonaws.Kms.TypeConversion.ToDafny_CommonError(value)
+ // END MANUAL EDIT
+ Com.Amazonaws.Kms.TypeConversion.ToDafny_CommonError(value) // Manual edit KMS. -> Kms.
);
case "Com.Amazonaws.Dynamodb":
return software.amazon.cryptography.keystore.internaldafny.types.Error.create_ComAmazonawsDynamodb(
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
diff --git b/AwsCryptographicMaterialProviders/dafny/AwsCryptographyKeyStore/Model/AwsCryptographyKeyStoreTypes.dfy a/AwsCryptographicMaterialProviders/dafny/AwsCryptographyKeyStore/Model/AwsCryptographyKeyStoreTypes.dfy
index 5764797e..4310b660 100644
--- b/AwsCryptographicMaterialProviders/dafny/AwsCryptographyKeyStore/Model/AwsCryptographyKeyStoreTypes.dfy
+++ a/AwsCryptographicMaterialProviders/dafny/AwsCryptographyKeyStore/Model/AwsCryptographyKeyStoreTypes.dfy
@@ -1,9 +1,9 @@
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
-include "../../../../../../../../Volumes/workplace/aws-cryptographic-material-providers-library/StandardLibrary/src/Index.dfy"
-include "../../../../../../../../Volumes/workplace/aws-cryptographic-material-providers-library/ComAmazonawsDynamodb/src/Index.dfy"
-include "../../../../../../../../Volumes/workplace/aws-cryptographic-material-providers-library/ComAmazonawsKms/src/Index.dfy"
+include "../../../../StandardLibrary/src/Index.dfy"
+include "../../../../ComAmazonawsDynamodb/src/Index.dfy"
+include "../../../../ComAmazonawsKms/src/Index.dfy"
module {:extern "software.amazon.cryptography.keystore.internaldafny.types" } AwsCryptographyKeyStoreTypes
{
import opened Wrappers
@@ -785,7 +785,7 @@ abstract module AbstractAwsCryptographyKeyStoreService
import opened Types = AwsCryptographyKeyStoreTypes
import Operations : AbstractAwsCryptographyKeyStoreOperations
function method DefaultKeyStoreConfig(): KeyStoreConfig
- method KeyStore(config: KeyStoreConfig := DefaultKeyStoreConfig())
+ method {:vcs_split_on_every_assert} {:rlimit 90500000} KeyStore(config: KeyStoreConfig := DefaultKeyStoreConfig())
returns (res: Result<KeyStoreClient, Error>)
requires config.ddbClient.Some? ==>
config.ddbClient.value.ValidState()
Original file line number Diff line number Diff line change
@@ -1,26 +1,35 @@
diff --git b/AwsCryptographicMaterialProviders/runtimes/net/Generated/AwsCryptographyKeyStore/TypeConversion.cs a/AwsCryptographicMaterialProviders/runtimes/net/Generated/AwsCryptographyKeyStore/TypeConversion.cs
index 95c9eba1..bcd537fb 100644
index cc3dc4cd..63100b40 100644
--- b/AwsCryptographicMaterialProviders/runtimes/net/Generated/AwsCryptographyKeyStore/TypeConversion.cs
+++ a/AwsCryptographicMaterialProviders/runtimes/net/Generated/AwsCryptographyKeyStore/TypeConversion.cs
@@ -732,7 +732,9 @@ namespace AWS.Cryptography.KeyStore
@@ -1727,7 +1727,7 @@ namespace AWS.Cryptography.KeyStore
dafnyVal._ComAmazonawsDynamodb
);
case software.amazon.cryptography.keystore.internaldafny.types.Error_ComAmazonawsKms dafnyVal:
- return Com.Amazonaws.KMS.TypeConversion.FromDafny_CommonError(
+ // BEGIN MANUAL EDIT
+ return Com.Amazonaws.Kms.TypeConversion.FromDafny_CommonError(
+ // END MANUAL EDIT
+ return Com.Amazonaws.Kms.TypeConversion.FromDafny_CommonError( // Manual edit KMS. -> Kms.
dafnyVal._ComAmazonawsKms
);
case software.amazon.cryptography.keystore.internaldafny.types.Error_KeyStoreException dafnyVal:
@@ -755,7 +757,9 @@ namespace AWS.Cryptography.KeyStore
case software.amazon.cryptography.keystore.internaldafny.types.Error_KeyStorageException dafnyVal:
@@ -1754,7 +1754,7 @@ namespace AWS.Cryptography.KeyStore
{
case "Com.Amazonaws.KMS":
return software.amazon.cryptography.keystore.internaldafny.types.Error.create_ComAmazonawsKms(
- Com.Amazonaws.KMS.TypeConversion.ToDafny_CommonError(value)
+ // BEGIN MANUAL EDIT
+ Com.Amazonaws.Kms.TypeConversion.ToDafny_CommonError(value)
+ // END MANUAL EDIT
+ Com.Amazonaws.Kms.TypeConversion.ToDafny_CommonError(value) // Manual edit KMS. -> Kms.
);
case "Com.Amazonaws.Dynamodb":
return software.amazon.cryptography.keystore.internaldafny.types.Error.create_ComAmazonawsDynamodb(
diff --git b/AwsCryptographicMaterialProviders/runtimes/net/Generated/AwsCryptographyKeyStore/WriteMutatedVersionsInput.cs a/AwsCryptographicMaterialProviders/runtimes/net/Generated/AwsCryptographyKeyStore/WriteMutatedVersionsInput.cs
index 16da0962..9607f4a4 100644
--- b/AwsCryptographicMaterialProviders/runtimes/net/Generated/AwsCryptographyKeyStore/WriteMutatedVersionsInput.cs
+++ a/AwsCryptographicMaterialProviders/runtimes/net/Generated/AwsCryptographyKeyStore/WriteMutatedVersionsInput.cs
@@ -11,7 +11,7 @@ namespace AWS.Cryptography.KeyStore
private string _identifier;
private System.IO.MemoryStream _original;
private System.IO.MemoryStream _terminal;
- private bool? _completeMutation;
+ private bool? _completeMutation = false; // Manual edit to default false
public System.Collections.Generic.List<AWS.Cryptography.KeyStore.EncryptedHierarchicalKey> Items
{
get { return this._items; }
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git b/AwsCryptographicMaterialProviders/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/keystore/model/WriteMutatedVersionsInput.java a/AwsCryptographicMaterialProviders/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/keystore/model/WriteMutatedVersionsInput.java
index 16acf434..d72c36c3 100644
--- b/AwsCryptographicMaterialProviders/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/keystore/model/WriteMutatedVersionsInput.java
+++ a/AwsCryptographicMaterialProviders/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/keystore/model/WriteMutatedVersionsInput.java
@@ -149,7 +149,7 @@ public class WriteMutatedVersionsInput {

protected ByteBuffer Terminal;

- protected Boolean CompleteMutation;
+ protected Boolean CompleteMutation = false; // Manual Edit to default to false

protected BuilderImpl() {}

Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
diff --git b/AwsCryptographicMaterialProviders/dafny/AwsCryptographyKeyStoreAdmin/Model/AwsCryptographyKeyStoreAdminTypes.dfy a/AwsCryptographicMaterialProviders/dafny/AwsCryptographyKeyStoreAdmin/Model/AwsCryptographyKeyStoreAdminTypes.dfy
index 75dcc28b..455a38f8 100644
--- b/AwsCryptographicMaterialProviders/dafny/AwsCryptographyKeyStoreAdmin/Model/AwsCryptographyKeyStoreAdminTypes.dfy
+++ a/AwsCryptographicMaterialProviders/dafny/AwsCryptographyKeyStoreAdmin/Model/AwsCryptographyKeyStoreAdminTypes.dfy
@@ -1,10 +1,10 @@
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
-include "../../../../../../../../Volumes/workplace/aws-cryptographic-material-providers-library/StandardLibrary/src/Index.dfy"
-include "../../../../../../../../Volumes/workplace/aws-cryptographic-material-providers-library/AwsCryptographicMaterialProviders/dafny/AwsCryptographyKeyStore/src/Index.dfy"
-include "../../../../../../../../Volumes/workplace/aws-cryptographic-material-providers-library/ComAmazonawsDynamodb/src/Index.dfy"
-include "../../../../../../../../Volumes/workplace/aws-cryptographic-material-providers-library/ComAmazonawsKms/src/Index.dfy"
+include "../../../../StandardLibrary/src/Index.dfy"
+include "../../../../AwsCryptographicMaterialProviders/dafny/AwsCryptographyKeyStore/src/Index.dfy"
+include "../../../../ComAmazonawsDynamodb/src/Index.dfy"
+include "../../../../ComAmazonawsKms/src/Index.dfy"
module {:extern "software.amazon.cryptography.keystoreadmin.internaldafny.types" } AwsCryptographyKeyStoreAdminTypes
{
import opened Wrappers
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
diff --git b/AwsCryptographicMaterialProviders/runtimes/net/Generated/AwsCryptographyKeyStoreAdmin/TypeConversion.cs a/AwsCryptographicMaterialProviders/runtimes/net/Generated/AwsCryptographyKeyStoreAdmin/TypeConversion.cs
index 2122e39c..2d12b29f 100644
--- b/AwsCryptographicMaterialProviders/runtimes/net/Generated/AwsCryptographyKeyStoreAdmin/TypeConversion.cs
+++ a/AwsCryptographicMaterialProviders/runtimes/net/Generated/AwsCryptographyKeyStoreAdmin/TypeConversion.cs
@@ -833,7 +833,8 @@ namespace AWS.Cryptography.KeyStoreAdmin
dafnyVal._ComAmazonawsDynamodb
);
case software.amazon.cryptography.keystoreadmin.internaldafny.types.Error_ComAmazonawsKms dafnyVal:
- return Com.Amazonaws.KMS.TypeConversion.FromDafny_CommonError(
+ // MANUAL EDIT KMS -> Kms
+ return Com.Amazonaws.Kms.TypeConversion.FromDafny_CommonError(
dafnyVal._ComAmazonawsKms
);
case software.amazon.cryptography.keystoreadmin.internaldafny.types.Error_KeyStoreAdminException dafnyVal:
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
diff --git b/AwsCryptographicMaterialProviders/runtimes/net/Generated/AwsCryptographyKeyStoreAdmin/TypeConversion.cs a/AwsCryptographicMaterialProviders/runtimes/net/Generated/AwsCryptographyKeyStoreAdmin/TypeConversion.cs
index b8ad30a5..4904d73b 100644
--- b/AwsCryptographicMaterialProviders/runtimes/net/Generated/AwsCryptographyKeyStoreAdmin/TypeConversion.cs
+++ a/AwsCryptographicMaterialProviders/runtimes/net/Generated/AwsCryptographyKeyStoreAdmin/TypeConversion.cs
@@ -1056,7 +1056,8 @@ namespace AWS.Cryptography.KeyStoreAdmin
dafnyVal._ComAmazonawsDynamodb
);
case software.amazon.cryptography.keystoreadmin.internaldafny.types.Error_ComAmazonawsKms dafnyVal:
- return Com.Amazonaws.KMS.TypeConversion.FromDafny_CommonError(
+ // MANUAL EDIT KMS -> Kms
+ return Com.Amazonaws.Kms.TypeConversion.FromDafny_CommonError(
dafnyVal._ComAmazonawsKms
);
case software.amazon.cryptography.keystoreadmin.internaldafny.types.Error_KeyStoreAdminException dafnyVal:
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
include "../../../../StandardLibrary/src/Index.dfy"
include "../../AwsCryptographyKeyStore/src/Index.dfy"
include "../../../../AwsCryptographicMaterialProviders/dafny/AwsCryptographyKeyStore/src/Index.dfy"
josecorella marked this conversation as resolved.
Show resolved Hide resolved
include "../../../../AwsCryptographyPrimitives/src/Index.dfy"
include "../../../../ComAmazonawsDynamodb/src/Index.dfy"
include "../../../../ComAmazonawsKms/src/Index.dfy"
Expand Down
Loading
Loading