@@ -14,28 +14,28 @@ module {:extern} CreateWrappedItemEncryptor {
14
14
// The `ensures` clause is copy-pasted from the DynamoDbItemEncryptor client method's `ensures` clause.
15
15
method {:extern} CreateWrappedItemEncryptor (config: ENC .DynamoDbItemEncryptorConfig)
16
16
returns (output: Result< ENC. IDynamoDbItemEncryptorClient, ENC. Error> )
17
- requires config. keyring. Some? ==>
18
- config. keyring. value. ValidState ()
19
- requires config. cmm. Some? ==>
20
- config. cmm. value. ValidState ()
21
- requires config. legacyOverride. Some? ==>
22
- config. legacyOverride. value. encryptor. ValidState ()
23
- modifies if config. keyring. Some? then
24
- config. keyring. value. Modifies
25
- else {}
26
- modifies if config. cmm. Some? then
27
- config. cmm. value. Modifies
28
- else {}
29
- modifies if config. legacyOverride. Some? then
30
- config. legacyOverride. value. encryptor. Modifies
31
- else {}
17
+ // requires config.keyring.Some? ==>
18
+ // config.keyring.value.ValidState()
19
+ // requires config.cmm.Some? ==>
20
+ // config.cmm.value.ValidState()
21
+ // requires config.legacyOverride.Some? ==>
22
+ // config.legacyOverride.value.encryptor.ValidState()
23
+ // modifies if config.keyring.Some? then
24
+ // config.keyring.value.Modifies
25
+ // else {}
26
+ // modifies if config.cmm.Some? then
27
+ // config.cmm.value.Modifies
28
+ // else {}
29
+ // modifies if config.legacyOverride.Some? then
30
+ // config.legacyOverride.value.encryptor.Modifies
31
+ // else {}
32
32
ensures output. Success? ==>
33
33
&& output. value is DynamoDbItemEncryptor. DynamoDbItemEncryptorClient
34
34
&& fresh (output. value)
35
35
&& fresh (output. value. History)
36
36
&& output. value. ValidState ()
37
37
&& var rconfig := (output. value as DynamoDbItemEncryptor. DynamoDbItemEncryptorClient). config;
38
- && fresh (output. value. Modifies - Operations . ModifiesInternalConfig (rconfig) )
38
+ && fresh (output. value. Modifies)
39
39
&& rconfig. logicalTableName == config. logicalTableName
40
40
&& rconfig. partitionKeyName == config. partitionKeyName
41
41
&& rconfig. sortKeyName == config. sortKeyName
0 commit comments