Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1810c1d

Browse files
committedMar 28, 2024
Fix example
1 parent 6b4a324 commit 1810c1d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎Examples/runtimes/net/src/GetEncryptedDataKeyDescriptionExample.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
using Amazon.DynamoDBv2.Model;
77
using Amazon.DynamoDBv2;
88
using AWS.Cryptography.DbEncryptionSDK.DynamoDb;
9+
using Amazon.Runtime;
910

1011
public class GetEncryptedDataKeyDescriptionExample
1112
{
@@ -62,7 +63,7 @@ public static async Task GetEncryptedDataKeyDescription()
6263
var encryptedDataKeyDescriptions = output.EncryptedDataKeyDescriptionOutput;
6364

6465
Debug.Assert(encryptedDataKeyDescriptions[0].KeyProviderId == "aws-kms");
65-
Debug.Assert(encryptedDataKeyDescriptions[0].KeyProviderId == kmsKeyId);
66+
Debug.Assert(encryptedDataKeyDescriptions[0].KeyProviderInfo == kmsKeyId);
6667
}
6768
}
6869

0 commit comments

Comments
 (0)
Please sign in to comment.