@@ -780,6 +780,10 @@ include "../../private-aws-encryption-sdk-dafny-staging/StandardLibrary/src/Inde
780
780
type NonSensitivePartsList = x: seq < NonSensitivePart> | IsValid_NonSensitivePartsList (x) witness *
781
781
predicate method IsValid_NonSensitivePartsList (x: seq <NonSensitivePart >) {
782
782
( 1 <= |x| )
783
+ }
784
+ type NumberList = x: seq < int32> | IsValid_NumberList (x) witness *
785
+ predicate method IsValid_NumberList (x: seq <int32 >) {
786
+ ( 1 <= |x| )
783
787
}
784
788
type Prefix = x: string | IsValid_Prefix (x) witness *
785
789
predicate method IsValid_Prefix (x: string ) {
@@ -846,6 +850,10 @@ include "../../private-aws-encryption-sdk-dafny-staging/StandardLibrary/src/Inde
846
850
type StandardBeaconList = x: seq < StandardBeacon> | IsValid_StandardBeaconList (x) witness *
847
851
predicate method IsValid_StandardBeaconList (x: seq <StandardBeacon >) {
848
852
( 1 <= |x| )
853
+ }
854
+ type StringList = x: seq < string > | IsValid_StringList (x) witness *
855
+ predicate method IsValid_StringList (x: seq <string >) {
856
+ ( 1 <= |x| )
849
857
}
850
858
type TerminalLocation = x: string | IsValid_TerminalLocation (x) witness *
851
859
predicate method IsValid_TerminalLocation (x: string ) {
@@ -877,6 +885,14 @@ include "../../private-aws-encryption-sdk-dafny-staging/StandardLibrary/src/Inde
877
885
datatype TransactWriteItemsOutputTransformOutput = | TransactWriteItemsOutputTransformOutput (
878
886
nameonly transformedOutput: ComAmazonawsDynamodbTypes .TransactWriteItemsOutput
879
887
)
888
+ datatype Transform =
889
+ | LOWER
890
+ | UPPER
891
+ | INSERT
892
+ | PREFIX
893
+ | SUFFIX
894
+ | SUBSTRING
895
+ | SEGMENT
880
896
datatype UpdateItemInputTransformInput = | UpdateItemInputTransformInput (
881
897
nameonly sdkInput: ComAmazonawsDynamodbTypes .UpdateItemInput
882
898
)
@@ -906,6 +922,31 @@ include "../../private-aws-encryption-sdk-dafny-staging/StandardLibrary/src/Inde
906
922
type VersionNumber = x: int32 | IsValid_VersionNumber (x) witness *
907
923
predicate method IsValid_VersionNumber (x: int32 ) {
908
924
( 1 <= x )
925
+ }
926
+ datatype VirtualField = | VirtualField (
927
+ nameonly name: string ,
928
+ nameonly parts: VirtualPartList
929
+ )
930
+ type VirtualFieldList = x: seq < VirtualField> | IsValid_VirtualFieldList (x) witness *
931
+ predicate method IsValid_VirtualFieldList (x: seq <VirtualField >) {
932
+ ( 1 <= |x| )
933
+ }
934
+ datatype VirtualPart = | VirtualPart (
935
+ nameonly loc: TerminalLocation ,
936
+ nameonly trans: Option <VirtualTransformList >
937
+ )
938
+ type VirtualPartList = x: seq < VirtualPart> | IsValid_VirtualPartList (x) witness *
939
+ predicate method IsValid_VirtualPartList (x: seq <VirtualPart >) {
940
+ ( 1 <= |x| )
941
+ }
942
+ datatype VirtualTransform = | VirtualTransform (
943
+ nameonly transform: Transform ,
944
+ nameonly numbers: Option <NumberList > ,
945
+ nameonly strings: Option <StringList >
946
+ )
947
+ type VirtualTransformList = x: seq < VirtualTransform> | IsValid_VirtualTransformList (x) witness *
948
+ predicate method IsValid_VirtualTransformList (x: seq <VirtualTransform >) {
949
+ ( 1 <= |x| )
909
950
}
910
951
datatype Error =
911
952
// Local Error structures are listed here
0 commit comments