@@ -573,8 +573,6 @@ public static software.amazon.cryptography.materialproviders.internaldafny.types
573
573
// Therefore it defers to the dependant module for conversion
574
574
return AWS . Cryptography . MaterialProviders . TypeConversion . ToDafny_N3_aws__N12_cryptography__N17_materialProviders__S28_BranchKeyIdSupplierReference ( value ) ;
575
575
}
576
-
577
- [ Obsolete ]
578
576
public static string FromDafny_N6_smithy__N3_api__S6_String ( Dafny . ISequence < char > value )
579
577
{
580
578
return new string ( value . Elements ) ;
@@ -593,8 +591,6 @@ public static Dafny.ISequence<char> ToDafny_N6_smithy__N3_api__S6_String(string
593
591
new Dafny . Pair < Dafny . ISequence < char > , software . amazon . cryptography . services . dynamodb . internaldafny . types . _IAttributeValue > ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key__M3_key ( pair . Key ) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key__M5_value ( pair . Value ) )
594
592
) ) ;
595
593
}
596
-
597
- [ Obsolete ]
598
594
public static System . Collections . Generic . List < AWS . Cryptography . DbEncryptionSDK . DynamoDb . EncryptedDataKeyDescription > FromDafny_N3_aws__N12_cryptography__N15_dbEncryptionSdk__N8_dynamoDb__S31_EncryptedDataKeyDescriptionList ( Dafny . ISequence < software . amazon . cryptography . dbencryptionsdk . dynamodb . internaldafny . types . _IEncryptedDataKeyDescription > value )
599
595
{
600
596
return new System . Collections . Generic . List < AWS . Cryptography . DbEncryptionSDK . DynamoDb . EncryptedDataKeyDescription > ( value . Elements . Select ( FromDafny_N3_aws__N12_cryptography__N15_dbEncryptionSdk__N8_dynamoDb__S31_EncryptedDataKeyDescriptionList__M6_member ) ) ;
@@ -603,8 +599,6 @@ public static Dafny.ISequence<char> ToDafny_N6_smithy__N3_api__S6_String(string
603
599
{
604
600
return Dafny . Sequence < software . amazon . cryptography . dbencryptionsdk . dynamodb . internaldafny . types . _IEncryptedDataKeyDescription > . FromArray ( value . Select ( ToDafny_N3_aws__N12_cryptography__N15_dbEncryptionSdk__N8_dynamoDb__S31_EncryptedDataKeyDescriptionList__M6_member ) . ToArray ( ) ) ;
605
601
}
606
-
607
- [ Obsolete ]
608
602
public static System . IO . MemoryStream FromDafny_N6_smithy__N3_api__S4_Blob ( Dafny . ISequence < byte > value )
609
603
{
610
604
return new System . IO . MemoryStream ( value . Elements ) ;
@@ -924,11 +918,6 @@ public static AWS.Cryptography.MaterialProviders.CacheType FromDafny_N3_aws__N12
924
918
converted . StormTracking = FromDafny_N3_aws__N12_cryptography__N17_materialProviders__S9_CacheType__M13_StormTracking ( concrete . dtor_StormTracking ) ;
925
919
return converted ;
926
920
}
927
- if ( value . is_Shared )
928
- {
929
- converted . Shared = FromDafny_N3_aws__N12_cryptography__N17_materialProviders__S9_CacheType__M6_Shared ( concrete . dtor_Shared ) ;
930
- return converted ;
931
- }
932
921
throw new System . ArgumentException ( "Invalid AWS.Cryptography.MaterialProviders.CacheType state" ) ;
933
922
}
934
923
public static software . amazon . cryptography . materialproviders . internaldafny . types . _ICacheType ToDafny_N3_aws__N12_cryptography__N17_materialProviders__S9_CacheType ( AWS . Cryptography . MaterialProviders . CacheType value )
@@ -953,14 +942,8 @@ public static software.amazon.cryptography.materialproviders.internaldafny.types
953
942
{
954
943
return software . amazon . cryptography . materialproviders . internaldafny . types . CacheType . create_StormTracking ( ToDafny_N3_aws__N12_cryptography__N17_materialProviders__S9_CacheType__M13_StormTracking ( value . StormTracking ) ) ;
955
944
}
956
- if ( value . IsSetShared ( ) )
957
- {
958
- return software . amazon . cryptography . materialproviders . internaldafny . types . CacheType . create_Shared ( ToDafny_N3_aws__N12_cryptography__N17_materialProviders__S9_CacheType__M6_Shared ( value . Shared ) ) ;
959
- }
960
945
throw new System . ArgumentException ( "Invalid AWS.Cryptography.MaterialProviders.CacheType state" ) ;
961
946
}
962
-
963
- [ Obsolete ]
964
947
public static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_AttributeName ( Dafny . ISequence < char > value )
965
948
{
966
949
return new string ( value . Elements ) ;
@@ -1083,8 +1066,6 @@ public static software.amazon.cryptography.dbencryptionsdk.dynamodb.internaldafn
1083
1066
string var_branchKeyVersion = value . IsSetBranchKeyVersion ( ) ? value . BranchKeyVersion : ( string ) null ;
1084
1067
return new software . amazon . cryptography . dbencryptionsdk . dynamodb . internaldafny . types . EncryptedDataKeyDescription ( ToDafny_N3_aws__N12_cryptography__N15_dbEncryptionSdk__N8_dynamoDb__S27_EncryptedDataKeyDescription__M13_keyProviderId ( value . KeyProviderId ) , ToDafny_N3_aws__N12_cryptography__N15_dbEncryptionSdk__N8_dynamoDb__S27_EncryptedDataKeyDescription__M15_keyProviderInfo ( var_keyProviderInfo ) , ToDafny_N3_aws__N12_cryptography__N15_dbEncryptionSdk__N8_dynamoDb__S27_EncryptedDataKeyDescription__M11_branchKeyId ( var_branchKeyId ) , ToDafny_N3_aws__N12_cryptography__N15_dbEncryptionSdk__N8_dynamoDb__S27_EncryptedDataKeyDescription__M16_branchKeyVersion ( var_branchKeyVersion ) ) ;
1085
1068
}
1086
-
1087
- [ Obsolete ]
1088
1069
public static string FromDafny_N3_aws__N12_cryptography__N15_dbEncryptionSdk__N8_dynamoDb__S4_Char ( Dafny . ISequence < char > value )
1089
1070
{
1090
1071
return new string ( value . Elements ) ;
@@ -1133,14 +1114,6 @@ public static software.amazon.cryptography.materialproviders.internaldafny.types
1133
1114
{
1134
1115
return ToDafny_N3_aws__N12_cryptography__N17_materialProviders__S18_StormTrackingCache ( value ) ;
1135
1116
}
1136
- public static AWS . Cryptography . MaterialProviders . ICryptographicMaterialsCache FromDafny_N3_aws__N12_cryptography__N17_materialProviders__S9_CacheType__M6_Shared ( software . amazon . cryptography . materialproviders . internaldafny . types . ICryptographicMaterialsCache value )
1137
- {
1138
- return FromDafny_N3_aws__N12_cryptography__N17_materialProviders__S36_CryptographicMaterialsCacheReference ( value ) ;
1139
- }
1140
- public static software . amazon . cryptography . materialproviders . internaldafny . types . ICryptographicMaterialsCache ToDafny_N3_aws__N12_cryptography__N17_materialProviders__S9_CacheType__M6_Shared ( AWS . Cryptography . MaterialProviders . ICryptographicMaterialsCache value )
1141
- {
1142
- return ToDafny_N3_aws__N12_cryptography__N17_materialProviders__S36_CryptographicMaterialsCacheReference ( value ) ;
1143
- }
1144
1117
public static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M1_S ( Dafny . ISequence < char > value )
1145
1118
{
1146
1119
return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_StringAttributeValue ( value ) ;
@@ -1311,20 +1284,6 @@ public static software.amazon.cryptography.materialproviders.internaldafny.types
1311
1284
int ? var_entryPruningTailSize = value . IsSetEntryPruningTailSize ( ) ? value . EntryPruningTailSize : ( int ? ) null ;
1312
1285
return new software . amazon . cryptography . materialproviders . internaldafny . types . StormTrackingCache ( ToDafny_N3_aws__N12_cryptography__N17_materialProviders__S18_StormTrackingCache__M13_entryCapacity ( value . EntryCapacity ) , ToDafny_N3_aws__N12_cryptography__N17_materialProviders__S18_StormTrackingCache__M20_entryPruningTailSize ( var_entryPruningTailSize ) , ToDafny_N3_aws__N12_cryptography__N17_materialProviders__S18_StormTrackingCache__M11_gracePeriod ( value . GracePeriod ) , ToDafny_N3_aws__N12_cryptography__N17_materialProviders__S18_StormTrackingCache__M13_graceInterval ( value . GraceInterval ) , ToDafny_N3_aws__N12_cryptography__N17_materialProviders__S18_StormTrackingCache__M6_fanOut ( value . FanOut ) , ToDafny_N3_aws__N12_cryptography__N17_materialProviders__S18_StormTrackingCache__M11_inFlightTTL ( value . InFlightTTL ) , ToDafny_N3_aws__N12_cryptography__N17_materialProviders__S18_StormTrackingCache__M10_sleepMilli ( value . SleepMilli ) ) ;
1313
1286
}
1314
- public static AWS . Cryptography . MaterialProviders . ICryptographicMaterialsCache FromDafny_N3_aws__N12_cryptography__N17_materialProviders__S36_CryptographicMaterialsCacheReference ( software . amazon . cryptography . materialproviders . internaldafny . types . ICryptographicMaterialsCache value )
1315
- {
1316
- // This is converting a reference type in a dependant module.
1317
- // Therefore it defers to the dependant module for conversion
1318
- return AWS . Cryptography . MaterialProviders . TypeConversion . FromDafny_N3_aws__N12_cryptography__N17_materialProviders__S36_CryptographicMaterialsCacheReference ( value ) ;
1319
- }
1320
- public static software . amazon . cryptography . materialproviders . internaldafny . types . ICryptographicMaterialsCache ToDafny_N3_aws__N12_cryptography__N17_materialProviders__S36_CryptographicMaterialsCacheReference ( AWS . Cryptography . MaterialProviders . ICryptographicMaterialsCache value )
1321
- {
1322
- // This is converting a reference type in a dependant module.
1323
- // Therefore it defers to the dependant module for conversion
1324
- return AWS . Cryptography . MaterialProviders . TypeConversion . ToDafny_N3_aws__N12_cryptography__N17_materialProviders__S36_CryptographicMaterialsCacheReference ( value ) ;
1325
- }
1326
-
1327
- [ Obsolete ]
1328
1287
public static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_StringAttributeValue ( Dafny . ISequence < char > value )
1329
1288
{
1330
1289
return new string ( value . Elements ) ;
@@ -1333,8 +1292,6 @@ public static Dafny.ISequence<char> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S
1333
1292
{
1334
1293
return Dafny . Sequence < char > . FromString ( value ) ;
1335
1294
}
1336
-
1337
- [ Obsolete ]
1338
1295
public static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_NumberAttributeValue ( Dafny . ISequence < char > value )
1339
1296
{
1340
1297
return new string ( value . Elements ) ;
@@ -1343,8 +1300,6 @@ public static Dafny.ISequence<char> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S
1343
1300
{
1344
1301
return Dafny . Sequence < char > . FromString ( value ) ;
1345
1302
}
1346
-
1347
- [ Obsolete ]
1348
1303
public static System . IO . MemoryStream FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_BinaryAttributeValue ( Dafny . ISequence < byte > value )
1349
1304
{
1350
1305
return new System . IO . MemoryStream ( value . Elements ) ;
@@ -1358,8 +1313,6 @@ public static Dafny.ISequence<byte> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S
1358
1313
return Dafny . Sequence < byte > . FromArray ( value . ToArray ( ) ) ;
1359
1314
1360
1315
}
1361
-
1362
- [ Obsolete ]
1363
1316
public static System . Collections . Generic . List < string > FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_StringSetAttributeValue ( Dafny . ISequence < Dafny . ISequence < char > > value )
1364
1317
{
1365
1318
return new System . Collections . Generic . List < string > ( value . Elements . Select ( FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_StringSetAttributeValue__M6_member ) ) ;
@@ -1368,8 +1321,6 @@ public static System.Collections.Generic.List<string> FromDafny_N3_com__N9_amazo
1368
1321
{
1369
1322
return Dafny . Sequence < Dafny . ISequence < char > > . FromArray ( value . Select ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_StringSetAttributeValue__M6_member ) . ToArray ( ) ) ;
1370
1323
}
1371
-
1372
- [ Obsolete ]
1373
1324
public static System . Collections . Generic . List < string > FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_NumberSetAttributeValue ( Dafny . ISequence < Dafny . ISequence < char > > value )
1374
1325
{
1375
1326
return new System . Collections . Generic . List < string > ( value . Elements . Select ( FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_NumberSetAttributeValue__M6_member ) ) ;
@@ -1378,8 +1329,6 @@ public static System.Collections.Generic.List<string> FromDafny_N3_com__N9_amazo
1378
1329
{
1379
1330
return Dafny . Sequence < Dafny . ISequence < char > > . FromArray ( value . Select ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_NumberSetAttributeValue__M6_member ) . ToArray ( ) ) ;
1380
1331
}
1381
-
1382
- [ Obsolete ]
1383
1332
public static System . Collections . Generic . List < System . IO . MemoryStream > FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_BinarySetAttributeValue ( Dafny . ISequence < Dafny . ISequence < byte > > value )
1384
1333
{
1385
1334
return new System . Collections . Generic . List < System . IO . MemoryStream > ( value . Elements . Select ( FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_BinarySetAttributeValue__M6_member ) ) ;
@@ -1398,8 +1347,6 @@ public static System.Collections.Generic.List<string> FromDafny_N3_com__N9_amazo
1398
1347
new Dafny . Pair < Dafny . ISequence < char > , software . amazon . cryptography . services . dynamodb . internaldafny . types . _IAttributeValue > ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_MapAttributeValue__M3_key ( pair . Key ) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_MapAttributeValue__M5_value ( pair . Value ) )
1399
1348
) ) ;
1400
1349
}
1401
-
1402
- [ Obsolete ]
1403
1350
public static System . Collections . Generic . List < Amazon . DynamoDBv2 . Model . AttributeValue > FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ListAttributeValue ( Dafny . ISequence < software . amazon . cryptography . services . dynamodb . internaldafny . types . _IAttributeValue > value )
1404
1351
{
1405
1352
return new System . Collections . Generic . List < Amazon . DynamoDBv2 . Model . AttributeValue > ( value . Elements . Select ( FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ListAttributeValue__M6_member ) ) ;
0 commit comments